'CN=Mark Servilla A6788,O=LTERN (Long Term Ecological Research Network),C=US,DC=cilogon,DC=org'
NODE_DESCRIPTION
'The U.S. Long Term Ecological Research Network (LTER) data include ecological observations from the study of pattern and control of primary production, movement of both organic and inorganic matter, disturbance patterns, and the spatial and temporal distribution of populations selected to represent trophic structure. The data originates from 27 sites across the conterminous United States of America, Alaska, Antarctica, Puerto Rico, and French Polynesia and spans a period from over 100 years ago to the present.'
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1351)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:443)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:428)
at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(MNStorageV2IT.java:259)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
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.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Request Method:
POST
Request URL:
https://gmn-s.lternet.edu/mn/v2/object
Django Version:
1.10.1
Exception Type:
InvalidToken
Exception Value:
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Exception Location:
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py in get_subjects, line 65
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7f1874045790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py in process_view
20170504-05:56:34: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:34: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
20170504-05:56:34: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225634861 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
'CN=Mark Servilla A6788,O=LTERN (Long Term Ecological Research Network),C=US,DC=cilogon,DC=org'
NODE_DESCRIPTION
'The U.S. Long Term Ecological Research Network (LTER) data include ecological observations from the study of pattern and control of primary production, movement of both organic and inorganic matter, disturbance patterns, and the spatial and temporal distribution of populations selected to represent trophic structure. The data originates from 27 sites across the conterminous United States of America, Alaska, Antarctica, Puerto Rico, and French Polynesia and spans a period from over 100 years ago to the present.'
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 38 more
20170504-05:56:35: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225634861; FilePart:object = /tmp/mmp.output.3209447193866159289.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3627173911242182245.tmp (1094 bytes); [org.dataone.client.rest.RestClient]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1351)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:443)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:428)
at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(MNStorageV2IT.java:259)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
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.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 38 more
20170504-05:56:35: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:35: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:35: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:35: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:35: [INFO]: certificate filename: testRightsHolder [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:35: [INFO]: client setup as Subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:35: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225635159 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:35: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225635159
1testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225635159eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:56:35.171+00:002017-05-04T05:56:35.171+00:00urn:node:mnTestARCTICurn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:36: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225635159; FilePart:object = /tmp/mmp.output.8721010881891987558.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6372834715471824905.tmp (1098 bytes); [org.dataone.client.rest.RestClient]
20170504-05:56:36: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225635159 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225635159 [org.dataone.client.rest.RestClient]
20170504-05:56:38: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225635159; FilePart:sysmeta = /tmp/mmp.output.1844002009171110680.tmp (1104 bytes); [org.dataone.client.rest.RestClient]
20170504-05:56:38: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:38: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:38: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:38: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:38: [INFO]: certificate filename: testRightsHolder [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:38: [INFO]: client setup as Subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:38: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225638381 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:38: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225638381
1testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225638381eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:56:38.389+00:002017-05-04T05:56:38.389+00:00urn:node:mnTestCLOEBIRDurn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:38: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225638381; FilePart:object = /tmp/mmp.output.7710482540992466588.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2997114669059192135.tmp (1102 bytes); [org.dataone.client.rest.RestClient]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1351)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:443)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:428)
at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(MNStorageV2IT.java:259)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
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.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 38 more
20170504-05:56:38: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:38: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:38: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:38: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:38: [INFO]: certificate filename: testRightsHolder [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:38: [INFO]: client setup as Subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:38: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225638805 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:38: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225638805
1testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225638805eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:56:38.815+00:002017-05-04T05:56:38.815+00:00urn:node:mnTestRWurn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:39: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225638805; FilePart:object = /tmp/mmp.output.8452974814765655772.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1903164905827496121.tmp (1090 bytes); [org.dataone.client.rest.RestClient]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1351)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:443)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:428)
at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(MNStorageV2IT.java:259)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
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.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 38 more
20170504-05:56:39: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:39: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:39: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:39: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:39: [INFO]: certificate filename: testRightsHolder [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:39: [INFO]: client setup as Subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:39: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225639222 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:39: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225639222
1testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225639222eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:56:39.230+00:002017-05-04T05:56:39.230+00:00urn:node:mnTestEDIurn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:39: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225639222; FilePart:object = /tmp/mmp.output.6515681394781721118.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6978775921523414382.tmp (1092 bytes); [org.dataone.client.rest.RestClient]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Request Method:
POST
Request URL:
https://gmn-s.edirepository.org/mn/v2/object
Django Version:
1.10.1
Exception Type:
InvalidToken
Exception Value:
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Exception Location:
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py in get_subjects, line 69
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1351)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:443)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:428)
at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(MNStorageV2IT.java:259)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
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.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Request Method:
POST
Request URL:
https://gmn-s.edirepository.org/mn/v2/object
Django Version:
1.10.1
Exception Type:
InvalidToken
Exception Value:
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Exception Location:
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py in get_subjects, line 69
20170504-05:56:39: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:39: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fa7ccba6090>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py in get_subjects
20170504-05:56:39: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e))
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 38 more
20170504-05:56:39: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225639425 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:39: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225639425
1testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225639425eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:56:39.441+00:002017-05-04T05:56:39.441+00:00urn:node:mnTestNCEIurn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:39: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017123225639425; FilePart:object = /tmp/mmp.output.1396573145953302196.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2898704199050111701.tmp (1094 bytes); [org.dataone.client.rest.RestClient]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1351)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:443)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:428)
at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(MNStorageV2IT.java:259)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
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.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 38 more
20170504-05:56:39: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:39: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:39: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:39: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170504-05:56:39: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:39: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:39: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:39: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:39: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:39: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:39: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:39: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:40: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:40: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:40: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:40: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:40: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:40: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:41: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:41: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:41: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:41: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:41: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:41: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:41: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:41: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:41: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:42: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:42: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:42: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:42: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:42: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:42: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:42: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:42: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:42: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225642955 [org.dataone.client.rest.RestClient]
20170504-05:56:43: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:43: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:43: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:43: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:56:43: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:43: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225642955 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:43: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225642955
1testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225642955eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:56:43.263+00:002017-05-04T05:56:43.263+00:00urn:node:mnStageUCSB2urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:44: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225642955; FilePart:object = /tmp/mmp.output.3445551162425296586.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5197699984486992218.tmp (1106 bytes); [org.dataone.client.rest.RestClient]
20170504-05:56:44: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225642955 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:44: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:56:44: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225642955 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225642955 [org.dataone.client.rest.RestClient]
20170504-05:56:45: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225642955; FilePart:sysmeta = /tmp/mmp.output.3650422151213067418.tmp (1133 bytes); [org.dataone.client.rest.RestClient]
20170504-05:56:45: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:45: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225645446 [org.dataone.client.rest.RestClient]
20170504-05:56:45: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:45: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:45: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:45: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:56:45: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:45: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225645446 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:45: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225645446
1testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225645446eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:56:45.723+00:002017-05-04T05:56:45.723+00:00urn:node:mnDemo11urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:46: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225645446; FilePart:object = /tmp/mmp.output.4033319850364662496.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3584647993737608549.tmp (1098 bytes); [org.dataone.client.rest.RestClient]
20170504-05:56:46: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225645446 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:46: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:56:46: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225645446 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:47: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225645446 [org.dataone.client.rest.RestClient]
20170504-05:56:47: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225645446; FilePart:sysmeta = /tmp/mmp.output.6473198814535222832.tmp (1125 bytes); [org.dataone.client.rest.RestClient]
20170504-05:56:47: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:47: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:47: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225647312 [org.dataone.client.rest.RestClient]
20170504-05:56:47: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:47: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:47: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225647554 [org.dataone.client.rest.RestClient]
20170504-05:56:47: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:47: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:47: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:47: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:56:47: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:47: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225647554 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:47: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225647554
1testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225647554eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:56:47.757+00:002017-05-04T05:56:47.757+00:00urn:node:mnTestNEONurn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:47: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225647554; FilePart:object = /tmp/mmp.output.6824214925264743491.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4628540010337160446.tmp (1102 bytes); [org.dataone.client.rest.RestClient]
20170504-05:56:47: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.integration.TestIterationEndingException: unexpected client-side exception encountered when trying to create test object : Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1080)
at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:994)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(UpdateSystemMetadataTestImplementations.java:487)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(UpdateSystemMetadataTestImplementations.java:474)
at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(MNStorageV2IT.java:265)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
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.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1077)
... 35 more
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 38 more
20170504-05:56:47: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:47: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225647981 [org.dataone.client.rest.RestClient]
20170504-05:56:48: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:48: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:48: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:48: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:56:48: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:48: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225647981 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:48: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225647981
1testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225647981eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:56:48.727+00:002017-05-04T05:56:48.727+00:00urn:node:mnTestARCTICurn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:50: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225647981; FilePart:object = /tmp/mmp.output.3206448066908313792.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2930221315129318358.tmp (1106 bytes); [org.dataone.client.rest.RestClient]
20170504-05:56:50: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225647981 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:50: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:56:50: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225647981 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225647981 [org.dataone.client.rest.RestClient]
20170504-05:56:51: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225647981; FilePart:sysmeta = /tmp/mmp.output.6442216726809744830.tmp (1133 bytes); [org.dataone.client.rest.RestClient]
20170504-05:56:51: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:51: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225651839 [org.dataone.client.rest.RestClient]
20170504-05:56:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:52: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:52: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:52: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:56:52: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:52: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225651839 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:52: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225651839
1testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225651839eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:56:52.059+00:002017-05-04T05:56:52.059+00:00urn:node:mnTestCLOEBIRDurn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:52: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225651839; FilePart:object = /tmp/mmp.output.1843113963169378599.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1291784070765113952.tmp (1110 bytes); [org.dataone.client.rest.RestClient]
20170504-05:56:52: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.integration.TestIterationEndingException: unexpected client-side exception encountered when trying to create test object : Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1080)
at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:994)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(UpdateSystemMetadataTestImplementations.java:487)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(UpdateSystemMetadataTestImplementations.java:474)
at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(MNStorageV2IT.java:265)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
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.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1077)
... 35 more
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 38 more
20170504-05:56:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:52: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225652381 [org.dataone.client.rest.RestClient]
20170504-05:56:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:52: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225652539 [org.dataone.client.rest.RestClient]
20170504-05:56:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:52: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017123225652681 [org.dataone.client.rest.RestClient]
20170504-05:56:52: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:52: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:52: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:52: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170504-05:56:52: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:52: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:52: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:52: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:53: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:53: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:53: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:53: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:53: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:53: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:53: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:53: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:53: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:53: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:53: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:53: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:54: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:54: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:54: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:54: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:54: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:54: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:54: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:54: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:55: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:55: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:55: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:55: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:56:55: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:55: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:55: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017123225655225 [org.dataone.client.rest.RestClient]
20170504-05:56:55: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:55: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:55: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:55: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:56:55: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:55: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017123225655225 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:55: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017123225655225
1testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017123225655225eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:56:55.543+00:002017-05-04T05:56:55.543+00:00urn:node:mnStageUCSB2urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:56: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017123225655225; FilePart:object = /tmp/mmp.output.9098873952173420818.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6254509428390999190.tmp (1102 bytes); [org.dataone.client.rest.RestClient]
20170504-05:56:56: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017123225655225 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:56: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:56:56: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017123225655225 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017123225655225 [org.dataone.client.rest.RestClient]
20170504-05:56:57: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017123225655225; FilePart:sysmeta = /tmp/mmp.output.924023602010205566.tmp (1117 bytes); [org.dataone.client.rest.RestClient]
20170504-05:56:57: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:57: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017123225657680 [org.dataone.client.rest.RestClient]
20170504-05:56:57: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:57: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:57: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:57: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:56:57: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:57: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017123225657680 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:57: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017123225657680
1testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017123225657680eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:56:57.959+00:002017-05-04T05:56:57.959+00:00urn:node:mnDemo11urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:58: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017123225657680; FilePart:object = /tmp/mmp.output.7199585329136756148.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7112135187617351940.tmp (1094 bytes); [org.dataone.client.rest.RestClient]
20170504-05:56:58: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017123225657680 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:58: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:56:58: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017123225657680 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017123225657680 [org.dataone.client.rest.RestClient]
20170504-05:56:59: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017123225657680; FilePart:sysmeta = /tmp/mmp.output.4360328293423200316.tmp (1113 bytes); [org.dataone.client.rest.RestClient]
20170504-05:56:59: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:56:59: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017123225659666 [org.dataone.client.rest.RestClient]
20170504-05:57:00: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:00: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201712322570165 [org.dataone.client.rest.RestClient]
20170504-05:57:00: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:00: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:00: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:00: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:00: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:00: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201712322570165 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:00: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201712322570165
1testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201712322570165eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:57:00.365+00:002017-05-04T05:57:00.365+00:00urn:node:mnTestNEONurn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:00: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201712322570165; FilePart:object = /tmp/mmp.output.1729041139659575940.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4247827247237381798.tmp (1097 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:00: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.integration.TestIterationEndingException: unexpected client-side exception encountered when trying to create test object : Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1080)
at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:994)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(UpdateSystemMetadataTestImplementations.java:530)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(UpdateSystemMetadataTestImplementations.java:517)
at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(MNStorageV2IT.java:271)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
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.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1077)
... 35 more
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 38 more
20170504-05:57:00: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:00: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:01: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201712322570582 [org.dataone.client.rest.RestClient]
20170504-05:57:01: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:01: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:01: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:01: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:01: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:01: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201712322570582 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:01: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201712322570582
1testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201712322570582eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:57:01.266+00:002017-05-04T05:57:01.266+00:00urn:node:mnTestARCTICurn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:02: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201712322570582; FilePart:object = /tmp/mmp.output.1852494935037193326.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5055321146401316751.tmp (1101 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:02: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201712322570582 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:02: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:02: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201712322570582 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201712322570582 [org.dataone.client.rest.RestClient]
20170504-05:57:04: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201712322570582; FilePart:sysmeta = /tmp/mmp.output.1242586732880620003.tmp (1116 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:04: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:04: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:04: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201712322574284 [org.dataone.client.rest.RestClient]
20170504-05:57:04: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:04: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:04: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:04: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:04: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:04: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201712322574284 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:04: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201712322574284
1testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201712322574284eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:57:04.499+00:002017-05-04T05:57:04.499+00:00urn:node:mnTestCLOEBIRDurn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:04: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201712322574284; FilePart:object = /tmp/mmp.output.6329193583737996221.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2524712570877035869.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:04: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.integration.TestIterationEndingException: unexpected client-side exception encountered when trying to create test object : Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1080)
at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:994)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(UpdateSystemMetadataTestImplementations.java:530)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(UpdateSystemMetadataTestImplementations.java:517)
at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(MNStorageV2IT.java:271)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
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.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1077)
... 35 more
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 38 more
20170504-05:57:04: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:04: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:04: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201712322574822 [org.dataone.client.rest.RestClient]
20170504-05:57:04: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:04: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201712322574982 [org.dataone.client.rest.RestClient]
20170504-05:57:05: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:05: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201712322575125 [org.dataone.client.rest.RestClient]
20170504-05:57:05: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:05: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:05: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:05: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170504-05:57:05: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:05: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:05: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:05: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:05: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:05: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:05: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:05: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:06: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:06: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:06: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:06: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:06: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:06: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:07: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:07: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:07: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:07: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:07: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:07: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:07: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:07: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:08: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:08: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:08: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:08: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:08: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:08: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:08: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN201712322578156 [org.dataone.client.rest.RestClient]
20170504-05:57:08: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:08: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:08: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:08: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:08: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:08: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN201712322578156 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:08: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_NullOriginMN201712322578156
1testUpdateSystemMetadata_InvalidRequest_NullOriginMN201712322578156eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:57:08.434+00:002017-05-04T05:57:08.434+00:00urn:node:mnStageUCSB2urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:09: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN201712322578156; FilePart:object = /tmp/mmp.output.6312653162790084369.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7155578144508366302.tmp (1096 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:09: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN201712322578156 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:09: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:09: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_NullOriginMN201712322578156 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:10: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN201712322578156 [org.dataone.client.rest.RestClient]
20170504-05:57:10: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN201712322578156; FilePart:sysmeta = /tmp/mmp.output.617209382724323205.tmp (1060 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:10: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:10: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:10: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225710527 [org.dataone.client.rest.RestClient]
20170504-05:57:10: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:10: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:10: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:10: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:10: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:10: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225710527 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:10: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225710527
1testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225710527eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:57:10.799+00:002017-05-04T05:57:10.799+00:00urn:node:mnDemo11urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:11: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225710527; FilePart:object = /tmp/mmp.output.4059845572115337281.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2856710853844007221.tmp (1089 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:11: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225710527 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:11: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:11: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225710527 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225710527 [org.dataone.client.rest.RestClient]
20170504-05:57:12: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225710527; FilePart:sysmeta = /tmp/mmp.output.6187892592641486404.tmp (1057 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:12: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:12: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225712418 [org.dataone.client.rest.RestClient]
20170504-05:57:12: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:12: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225712580 [org.dataone.client.rest.RestClient]
20170504-05:57:12: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:12: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:12: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:12: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:12: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:12: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225712580 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:12: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225712580
1testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225712580eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:57:12.956+00:002017-05-04T05:57:12.956+00:00urn:node:mnTestNEONurn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:13: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225712580; FilePart:object = /tmp/mmp.output.3067495225371913742.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5546111040651450225.tmp (1093 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:13: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.integration.TestIterationEndingException: unexpected client-side exception encountered when trying to create test object : Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1080)
at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:994)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_NullOriginMN(UpdateSystemMetadataTestImplementations.java:573)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_NullOriginMN(UpdateSystemMetadataTestImplementations.java:560)
at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_NullOriginMN(MNStorageV2IT.java:277)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
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.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1077)
... 35 more
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 38 more
20170504-05:57:13: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:13: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:13: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225713175 [org.dataone.client.rest.RestClient]
20170504-05:57:13: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:13: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:13: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:13: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:13: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:13: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225713175 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:13: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225713175
1testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225713175eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:57:13.988+00:002017-05-04T05:57:13.988+00:00urn:node:mnTestARCTICurn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:15: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225713175; FilePart:object = /tmp/mmp.output.2041768077439281345.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1393842759364508324.tmp (1097 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:15: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225713175 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:15: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:15: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225713175 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:16: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225713175 [org.dataone.client.rest.RestClient]
20170504-05:57:17: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225713175; FilePart:sysmeta = /tmp/mmp.output.4130725364621062986.tmp (1061 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:17: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:17: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN20171232257177 [org.dataone.client.rest.RestClient]
20170504-05:57:17: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:17: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:17: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:17: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:17: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:17: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN20171232257177 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:17: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_NullOriginMN20171232257177
1testUpdateSystemMetadata_InvalidRequest_NullOriginMN20171232257177eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:57:17.354+00:002017-05-04T05:57:17.354+00:00urn:node:mnTestCLOEBIRDurn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:17: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN20171232257177; FilePart:object = /tmp/mmp.output.8652249693952750844.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6778089342815196756.tmp (1099 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:17: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.integration.TestIterationEndingException: unexpected client-side exception encountered when trying to create test object : Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1080)
at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:994)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_NullOriginMN(UpdateSystemMetadataTestImplementations.java:573)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_NullOriginMN(UpdateSystemMetadataTestImplementations.java:560)
at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_NullOriginMN(MNStorageV2IT.java:277)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
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.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1077)
... 35 more
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 38 more
20170504-05:57:17: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:17: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:18: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225717705 [org.dataone.client.rest.RestClient]
20170504-05:57:18: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:18: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:18: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN20171232257186 [org.dataone.client.rest.RestClient]
20170504-05:57:18: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:18: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:18: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017123225718322 [org.dataone.client.rest.RestClient]
20170504-05:57:18: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:18: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:18: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:18: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170504-05:57:18: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:18: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:18: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:18: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:18: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:18: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:18: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:18: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:18: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:18: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:18: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:18: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:18: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:18: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:19: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:19: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:19: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:20: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:20: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:20: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:20: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:20: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:20: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:20: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:20: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:21: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:21: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:21: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:21: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170504-05:57:21: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:21: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:21: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:21: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:21: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:21: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:21: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:21: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225721342 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:21: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225721342
1testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225721342eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:57:21.353+00:002017-05-04T05:57:21.353+00:00urn:node:mnStageUCSB2urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:22: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225721342; FilePart:object = /tmp/mmp.output.5906224652148351107.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.261291394512339756.tmp (1102 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:22: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225721342 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:22: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225721342 [org.dataone.client.rest.RestClient]
20170504-05:57:23: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225721342; FilePart:sysmeta = /tmp/mmp.output.3312574254476855854.tmp (1184 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:23: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225721342; FilePart:sysmeta = /tmp/mmp.output.5054318916587776387.tmp (1184 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:23: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:23: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:23: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:23: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:23: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:23: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:23: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225723881 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:23: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225723881
1testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225723881eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:57:23.891+00:002017-05-04T05:57:23.891+00:00urn:node:mnDemo11urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:25: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225723881; FilePart:object = /tmp/mmp.output.4250066584737131389.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6293081673886730783.tmp (1094 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:25: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225723881 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:25: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225723881 [org.dataone.client.rest.RestClient]
20170504-05:57:26: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225723881; FilePart:sysmeta = /tmp/mmp.output.3982357985515569117.tmp (1176 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:26: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225723881; FilePart:sysmeta = /tmp/mmp.output.352977784904903482.tmp (1176 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:26: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:26: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:26: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:26: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:26: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:26: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:26: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225726913 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:26: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225726913
1testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225726913eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:57:26.923+00:002017-05-04T05:57:26.923+00:00urn:node:mnTestLTERurn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:27: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225726913; FilePart:object = /tmp/mmp.output.5001523750045945568.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.757172005203602077.tmp (1098 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:27: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Request Method:
POST
Request URL:
https://gmn-s.lternet.edu/mn/v2/object
Django Version:
1.10.1
Exception Type:
InvalidToken
Exception Value:
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Exception Location:
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py in get_subjects, line 65
'CN=Mark Servilla A6788,O=LTERN (Long Term Ecological Research Network),C=US,DC=cilogon,DC=org'
NODE_DESCRIPTION
'The U.S. Long Term Ecological Research Network (LTER) data include ecological observations from the study of pattern and control of primary production, movement of both organic and inorganic matter, disturbance patterns, and the spatial and temporal distribution of populations selected to represent trophic structure. The data originates from 27 sites across the conterminous United States of America, Alaska, Antarctica, Puerto Rico, and French Polynesia and spans a period from over 100 years ago to the present.'
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(UpdateSystemMetadataTestImplementations.java:616)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(UpdateSystemMetadataTestImplementations.java:603)
at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(MNStorageV2IT.java:283)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
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.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Request Method:
POST
Request URL:
https://gmn-s.lternet.edu/mn/v2/object
Django Version:
1.10.1
Exception Type:
InvalidToken
Exception Value:
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Exception Location:
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py in get_subjects, line 65
20170504-05:57:27: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
'CN=Mark Servilla A6788,O=LTERN (Long Term Ecological Research Network),C=US,DC=cilogon,DC=org'
NODE_DESCRIPTION
'The U.S. Long Term Ecological Research Network (LTER) data include ecological observations from the study of pattern and control of primary production, movement of both organic and inorganic matter, disturbance patterns, and the spatial and temporal distribution of populations selected to represent trophic structure. The data originates from 27 sites across the conterminous United States of America, Alaska, Antarctica, Puerto Rico, and French Polynesia and spans a period from over 100 years ago to the present.'
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 38 more
20170504-05:57:27: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:27: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:27: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225727107 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:27: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225727107
1testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225727107eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:57:27.117+00:002017-05-04T05:57:27.117+00:00urn:node:mnTestNEONurn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:27: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225727107; FilePart:object = /tmp/mmp.output.5305250267653520658.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.9095753415543591383.tmp (1098 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:27: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(UpdateSystemMetadataTestImplementations.java:616)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(UpdateSystemMetadataTestImplementations.java:603)
at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(MNStorageV2IT.java:283)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
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.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 38 more
20170504-05:57:27: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:27: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:27: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:27: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:27: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:27: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:27: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225727421 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:27: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225727421
1testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225727421eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:57:27.433+00:002017-05-04T05:57:27.433+00:00urn:node:mnTestARCTICurn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:29: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225727421; FilePart:object = /tmp/mmp.output.2343590773617136911.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7477857484998791713.tmp (1102 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:29: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225727421 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:29: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:30: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225727421 [org.dataone.client.rest.RestClient]
20170504-05:57:31: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225727421; FilePart:sysmeta = /tmp/mmp.output.2027311621880944718.tmp (1184 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:31: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225727421; FilePart:sysmeta = /tmp/mmp.output.3756625055820007954.tmp (1183 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:31: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:31: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:31: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:31: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:31: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:31: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:31: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225731650 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:31: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225731650
1testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225731650eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:57:31.661+00:002017-05-04T05:57:31.661+00:00urn:node:mnTestCLOEBIRDurn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:31: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225731650; FilePart:object = /tmp/mmp.output.5762013049331257591.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7186034790504982878.tmp (1106 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:31: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(UpdateSystemMetadataTestImplementations.java:616)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(UpdateSystemMetadataTestImplementations.java:603)
at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(MNStorageV2IT.java:283)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
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.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 38 more
20170504-05:57:31: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:31: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:31: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:31: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:31: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:31: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:31: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225731979 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:31: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225731979
1testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225731979eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:57:31.990+00:002017-05-04T05:57:31.990+00:00urn:node:mnTestRWurn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:32: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225731979; FilePart:object = /tmp/mmp.output.4259740886911140580.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.9207761911121854815.tmp (1094 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:32: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(UpdateSystemMetadataTestImplementations.java:616)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(UpdateSystemMetadataTestImplementations.java:603)
at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(MNStorageV2IT.java:283)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
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.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 38 more
20170504-05:57:32: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:32: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:32: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:32: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:32: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:32: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:32: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225732221 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:32: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225732221
1testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225732221eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:57:32.243+00:002017-05-04T05:57:32.243+00:00urn:node:mnTestEDIurn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:32: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225732221; FilePart:object = /tmp/mmp.output.2579004276365394441.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.9151372166525848623.tmp (1096 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:32: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Request Method:
POST
Request URL:
https://gmn-s.edirepository.org/mn/v2/object
Django Version:
1.10.1
Exception Type:
InvalidToken
Exception Value:
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Exception Location:
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py in get_subjects, line 69
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(UpdateSystemMetadataTestImplementations.java:616)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(UpdateSystemMetadataTestImplementations.java:603)
at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(MNStorageV2IT.java:283)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
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.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Request Method:
POST
Request URL:
https://gmn-s.edirepository.org/mn/v2/object
Django Version:
1.10.1
Exception Type:
InvalidToken
Exception Value:
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Exception Location:
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py in get_subjects, line 69
20170504-05:57:32: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:32: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 38 more
20170504-05:57:32: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:32: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170504-05:57:32: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:32: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225732416 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:32: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225732416
1testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225732416eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-05-04T05:57:32.426+00:002017-05-04T05:57:32.426+00:00urn:node:mnTestNCEIurn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170504-05:57:32: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017123225732416; FilePart:object = /tmp/mmp.output.3912857985706251150.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4215537828551912237.tmp (1098 bytes); [org.dataone.client.rest.RestClient]
20170504-05:57:32: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(UpdateSystemMetadataTestImplementations.java:616)
at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(UpdateSystemMetadataTestImplementations.java:603)
at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(MNStorageV2IT.java:283)
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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
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.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error