'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
'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
20170427-06:00:39: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter20171162303923; FilePart:object = /tmp/mmp.output.6202993745428733664.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5974814449803128544.tmp (1092 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)
20170427-06:00:39: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
20170427-06:00:39: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
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)
20170427-06:00:39: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
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
20170427-06:00:39: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:39: [INFO]: certificate filename: testRightsHolder [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:39: [INFO]: client setup as Subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:39: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711623039469 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:39: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711623039469
1testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711623039469eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-04-27T06:00:39.475+00:002017-04-27T06:00:39.475+00:00urn:node:mnTestARCTICurn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:41: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711623039469; FilePart:object = /tmp/mmp.output.6998987946423316069.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6786676003650869121.tmp (1097 bytes); [org.dataone.client.rest.RestClient]
20170427-06:00:41: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711623039469 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711623039469 [org.dataone.client.rest.RestClient]
20170427-06:00:42: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711623039469; FilePart:sysmeta = /tmp/mmp.output.2786081773324870508.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170427-06:00:42: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:42: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:42: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:42: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:42: [INFO]: certificate filename: testRightsHolder [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:42: [INFO]: client setup as Subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:42: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711623042640 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:42: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711623042640
1testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711623042640eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-04-27T06:00:42.645+00:002017-04-27T06:00:42.645+00:00urn:node:mnTestCLOEBIRDurn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [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_ModifiedSubmitter201711623042640; FilePart:object = /tmp/mmp.output.5736967575617618183.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8026354722917764877.tmp (1101 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
20170427-06:00:43: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]: certificate filename: testRightsHolder [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]: client setup as Subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711623043100 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711623043100
1testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711623043100eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-04-27T06:00:43.105+00:002017-04-27T06:00:43.105+00:00urn:node:mnTestRWurn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711623043100; FilePart:object = /tmp/mmp.output.532520281469542602.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.799216035763776934.tmp (1089 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
20170427-06:00:43: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]: certificate filename: testRightsHolder [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]: client setup as Subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711623043523 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711623043523
1testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711623043523eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-04-27T06:00:43.530+00:002017-04-27T06:00:43.530+00:00urn:node:mnTestEDIurn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711623043523; FilePart:object = /tmp/mmp.output.8464701950216073521.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5592792568994705962.tmp (1091 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
20170427-06:00:43: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7efc788e2090>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
20170427-06:00:43: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711623043711 on https://ncei.nceas.ucsb.edu/mn/v2 [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
20170427-06:00:43: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711623043711; FilePart:object = /tmp/mmp.output.8957338936795639608.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7409534380392752102.tmp (1093 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
20170427-06:00:43: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170427-06:00:43: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [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]
20170427-06:00:43: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:43: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:44: [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]
20170427-06:00:44: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:44: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:44: [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]
20170427-06:00:44: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:44: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:00:44: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:44: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:00:45: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:45: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:00:45: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:45: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:00:45: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:45: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:00:46: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:46: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:00:46: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:46: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:00:46: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:46: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:00:46: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:46: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:00:46: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:46: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:46: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:47: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623046825 [org.dataone.client.rest.RestClient]
20170427-06:00:47: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:47: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:47: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:47: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:00:47: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:47: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623046825 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:47: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623046825
1testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623046825eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-04-27T06:00:47.210+00:002017-04-27T06:00:47.210+00:00urn:node:mnStageUCSB2urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:48: [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_201711623046825; FilePart:object = /tmp/mmp.output.1507194702410272166.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8325819698843782467.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170427-06:00:48: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623046825 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:48: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:00:48: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623046825 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623046825 [org.dataone.client.rest.RestClient]
20170427-06:00:49: [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_201711623046825; FilePart:sysmeta = /tmp/mmp.output.693244914331481168.tmp (1132 bytes); [org.dataone.client.rest.RestClient]
20170427-06:00:49: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:49: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623049216 [org.dataone.client.rest.RestClient]
20170427-06:00:49: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:49: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:49: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:49: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:00:49: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:49: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623049216 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:49: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623049216
1testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623049216eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-04-27T06:00:49.501+00:002017-04-27T06:00:49.501+00:00urn:node:mnDemo11urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:50: [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_201711623049216; FilePart:object = /tmp/mmp.output.2548943929942465935.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3947512650615183675.tmp (1097 bytes); [org.dataone.client.rest.RestClient]
20170427-06:00:50: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623049216 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:50: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:00:50: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623049216 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623049216 [org.dataone.client.rest.RestClient]
20170427-06:00:51: [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_201711623049216; FilePart:sysmeta = /tmp/mmp.output.8059312729522104028.tmp (1124 bytes); [org.dataone.client.rest.RestClient]
20170427-06:00:51: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:51: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623051386 [org.dataone.client.rest.RestClient]
20170427-06:00:51: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:51: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623051575 [org.dataone.client.rest.RestClient]
20170427-06:00:51: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:51: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:51: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:51: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:00:51: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:51: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623051575 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:51: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623051575
1testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623051575eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-04-27T06:00:51.773+00:002017-04-27T06:00:51.773+00:00urn:node:mnTestNEONurn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:51: [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_201711623051575; FilePart:object = /tmp/mmp.output.389506836405771338.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7348590662641010266.tmp (1101 bytes); [org.dataone.client.rest.RestClient]
20170427-06:00:51: [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
20170427-06:00:51: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:51: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623051997 [org.dataone.client.rest.RestClient]
20170427-06:00:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:52: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:52: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:52: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:00:52: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:52: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623051997 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:52: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623051997
1testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623051997eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-04-27T06:00:52.816+00:002017-04-27T06:00:52.816+00:00urn:node:mnTestARCTICurn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:54: [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_201711623051997; FilePart:object = /tmp/mmp.output.2128081838964476779.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6458794418419270909.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170427-06:00:54: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623051997 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:54: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:00:54: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623051997 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623051997 [org.dataone.client.rest.RestClient]
20170427-06:00:55: [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_201711623051997; FilePart:sysmeta = /tmp/mmp.output.1648015869661085891.tmp (1132 bytes); [org.dataone.client.rest.RestClient]
20170427-06:00:55: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:55: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623055817 [org.dataone.client.rest.RestClient]
20170427-06:00:56: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:56: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:56: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:56: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:00:56: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:56: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623055817 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:56: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623055817
1testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623055817eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-04-27T06:00:56.027+00:002017-04-27T06:00:56.027+00:00urn:node:mnTestCLOEBIRDurn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:56: [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_201711623055817; FilePart:object = /tmp/mmp.output.9139068691891622913.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5867129850800792777.tmp (1109 bytes); [org.dataone.client.rest.RestClient]
20170427-06:00:56: [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
20170427-06:00:56: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:56: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623056344 [org.dataone.client.rest.RestClient]
20170427-06:00:56: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:56: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623056502 [org.dataone.client.rest.RestClient]
20170427-06:00:56: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:56: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711623056872 [org.dataone.client.rest.RestClient]
20170427-06:00:57: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:57: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:57: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:57: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170427-06:00:57: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:57: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:57: [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]
20170427-06:00:57: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:57: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:57: [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]
20170427-06:00:57: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:57: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:57: [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]
20170427-06:00:57: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:57: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:00:57: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:57: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:00:58: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:58: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:00:58: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:58: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:00:58: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:58: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:00:58: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:58: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:00:59: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:59: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:00:59: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:59: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:00:59: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:59: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:00:59: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:59: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:00:59: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201711623059674 [org.dataone.client.rest.RestClient]
20170427-06:01:00: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:00: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:00: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:00: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:01:00: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:00: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201711623059674 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:00: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201711623059674
1testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201711623059674eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-04-27T06:01:00.108+00:002017-04-27T06:01:00.108+00:00urn:node:mnStageUCSB2urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:01: [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_201711623059674; FilePart:object = /tmp/mmp.output.1372299664860670532.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5872053330138551896.tmp (1101 bytes); [org.dataone.client.rest.RestClient]
20170427-06:01:01: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201711623059674 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:01: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:01:01: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201711623059674 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:01: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201711623059674 [org.dataone.client.rest.RestClient]
20170427-06:01:02: [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_201711623059674; FilePart:sysmeta = /tmp/mmp.output.3015653468678142313.tmp (1116 bytes); [org.dataone.client.rest.RestClient]
20170427-06:01:02: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:02: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_20171162312187 [org.dataone.client.rest.RestClient]
20170427-06:01:02: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:02: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:02: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:02: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:01:02: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:02: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_20171162312187 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:02: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_20171162312187
1testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_20171162312187eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-04-27T06:01:02.451+00:002017-04-27T06:01:02.451+00:00urn:node:mnDemo11urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:03: [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_20171162312187; FilePart:object = /tmp/mmp.output.2346579636390699851.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.9220147576202345696.tmp (1092 bytes); [org.dataone.client.rest.RestClient]
20170427-06:01:03: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_20171162312187 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:03: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:01:03: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_20171162312187 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_20171162312187 [org.dataone.client.rest.RestClient]
20170427-06:01:03: [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_20171162312187; FilePart:sysmeta = /tmp/mmp.output.7853319139432467059.tmp (1111 bytes); [org.dataone.client.rest.RestClient]
20170427-06:01:03: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:03: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:04: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_20171162313869 [org.dataone.client.rest.RestClient]
20170427-06:01:04: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:04: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:04: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017116231448 [org.dataone.client.rest.RestClient]
20170427-06:01:04: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:04: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:04: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:04: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:01:04: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:04: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017116231448 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:04: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017116231448
1testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017116231448eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-04-27T06:01:04.244+00:002017-04-27T06:01:04.244+00:00urn:node:mnTestNEONurn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:04: [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_2017116231448; FilePart:object = /tmp/mmp.output.6774550932359458681.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1598729218436426880.tmp (1095 bytes); [org.dataone.client.rest.RestClient]
20170427-06:01: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
20170427-06:01:04: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:04: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_20171162314466 [org.dataone.client.rest.RestClient]
20170427-06:01:05: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:05: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:05: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:05: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:01:05: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:05: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_20171162314466 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:05: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_20171162314466
1testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_20171162314466eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-04-27T06:01:05.154+00:002017-04-27T06:01:05.154+00:00urn:node:mnTestARCTICurn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:07: [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_20171162314466; FilePart:object = /tmp/mmp.output.2669593176095650017.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.88045261332332357.tmp (1100 bytes); [org.dataone.client.rest.RestClient]
20170427-06:01:07: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_20171162314466 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:07: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:01:07: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_20171162314466 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_20171162314466 [org.dataone.client.rest.RestClient]
20170427-06:01:08: [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_20171162314466; FilePart:sysmeta = /tmp/mmp.output.2482145612723021694.tmp (1115 bytes); [org.dataone.client.rest.RestClient]
20170427-06:01:08: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:08: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_20171162318616 [org.dataone.client.rest.RestClient]
20170427-06:01:08: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:08: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:08: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:08: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:01:08: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:08: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_20171162318616 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:08: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_20171162318616
1testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_20171162318616eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-04-27T06:01:08.847+00:002017-04-27T06:01:08.847+00:00urn:node:mnTestCLOEBIRDurn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:09: [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_20171162318616; FilePart:object = /tmp/mmp.output.5957889949520395909.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.9046893605141276736.tmp (1104 bytes); [org.dataone.client.rest.RestClient]
20170427-06:01:09: [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
20170427-06:01:09: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:09: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:09: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_20171162319158 [org.dataone.client.rest.RestClient]
20170427-06:01:09: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:09: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:09: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_20171162319313 [org.dataone.client.rest.RestClient]
20170427-06:01:09: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:09: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:09: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_20171162319487 [org.dataone.client.rest.RestClient]
20170427-06:01:09: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:09: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:09: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:09: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170427-06:01:09: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:09: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:09: [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]
20170427-06:01:09: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:09: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:09: [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]
20170427-06:01:09: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:09: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:10: [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]
20170427-06:01:10: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:10: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:10: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:01:10: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:10: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:01:11: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:11: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:01:11: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:11: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:01:11: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:11: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:01:12: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:12: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:01:12: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:12: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:01:12: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:12: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:01:12: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:12: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:01:12: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:12: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:12: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:13: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623112826 [org.dataone.client.rest.RestClient]
20170427-06:01:13: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:13: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:13: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:13: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:01:13: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:13: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623112826 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:13: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623112826
1testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623112826eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-04-27T06:01:13.113+00:002017-04-27T06:01:13.113+00:00urn:node:mnStageUCSB2urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:14: [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_NullOriginMN201711623112826; FilePart:object = /tmp/mmp.output.6255209215432227069.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.317282154357744394.tmp (1096 bytes); [org.dataone.client.rest.RestClient]
20170427-06:01:14: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623112826 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:14: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:01:14: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623112826 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:15: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623112826 [org.dataone.client.rest.RestClient]
20170427-06:01:15: [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_NullOriginMN201711623112826; FilePart:sysmeta = /tmp/mmp.output.229239641668361007.tmp (1060 bytes); [org.dataone.client.rest.RestClient]
20170427-06:01:15: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:15: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:15: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623115436 [org.dataone.client.rest.RestClient]
20170427-06:01:15: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:15: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:15: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:15: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:01:15: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:15: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623115436 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:15: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623115436
1testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623115436eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-04-27T06:01:15.862+00:002017-04-27T06:01:15.862+00:00urn:node:mnDemo11urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:16: [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_NullOriginMN201711623115436; FilePart:object = /tmp/mmp.output.721294085626806186.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1775188785234668055.tmp (1088 bytes); [org.dataone.client.rest.RestClient]
20170427-06:01:16: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623115436 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:16: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:01:16: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623115436 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623115436 [org.dataone.client.rest.RestClient]
20170427-06:01:17: [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_NullOriginMN201711623115436; FilePart:sysmeta = /tmp/mmp.output.2175097466726478241.tmp (1056 bytes); [org.dataone.client.rest.RestClient]
20170427-06:01:17: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:17: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623117456 [org.dataone.client.rest.RestClient]
20170427-06:01:17: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:17: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623117620 [org.dataone.client.rest.RestClient]
20170427-06:01:17: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:17: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:17: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:17: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:01:17: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:17: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623117620 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:17: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623117620
1testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623117620eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-04-27T06:01:17.815+00:002017-04-27T06:01:17.815+00:00urn:node:mnTestNEONurn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:18: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623117620; FilePart:object = /tmp/mmp.output.2982722331737699559.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8727835428226561851.tmp (1092 bytes); [org.dataone.client.rest.RestClient]
20170427-06:01:18: [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
20170427-06:01:18: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:18: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:18: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN20171162311829 [org.dataone.client.rest.RestClient]
20170427-06:01:18: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:18: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:18: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:18: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:01:18: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:18: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN20171162311829 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:18: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_NullOriginMN20171162311829
1testUpdateSystemMetadata_InvalidRequest_NullOriginMN20171162311829eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-04-27T06:01:18.764+00:002017-04-27T06:01:18.764+00:00urn:node:mnTestARCTICurn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:20: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN20171162311829; FilePart:object = /tmp/mmp.output.4934644697908942357.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6580657425826864457.tmp (1095 bytes); [org.dataone.client.rest.RestClient]
20170427-06:01:20: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN20171162311829 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:20: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:01:20: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_NullOriginMN20171162311829 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN20171162311829 [org.dataone.client.rest.RestClient]
20170427-06:01:21: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN20171162311829; FilePart:sysmeta = /tmp/mmp.output.4234843817634503858.tmp (1059 bytes); [org.dataone.client.rest.RestClient]
20170427-06:01:21: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:21: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623121572 [org.dataone.client.rest.RestClient]
20170427-06:01:21: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:21: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:21: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:21: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:01:21: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:21: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623121572 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:21: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623121572
1testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623121572eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-04-27T06:01:21.871+00:002017-04-27T06:01:21.871+00:00urn:node:mnTestCLOEBIRDurn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:22: [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_NullOriginMN201711623121572; FilePart:object = /tmp/mmp.output.9026279553177312814.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4538331488012823637.tmp (1100 bytes); [org.dataone.client.rest.RestClient]
20170427-06:01:22: [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
20170427-06:01:22: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:22: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623122200 [org.dataone.client.rest.RestClient]
20170427-06:01:22: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:22: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623122532 [org.dataone.client.rest.RestClient]
20170427-06:01:22: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:22: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711623122708 [org.dataone.client.rest.RestClient]
20170427-06:01:22: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:22: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:22: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:22: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170427-06:01:22: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:22: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:22: [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]
20170427-06:01:22: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:22: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:23: [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]
20170427-06:01:23: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:23: [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]
20170427-06:01:23: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:01:23: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:01:24: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:01:24: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:01:24: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:01:24: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:01:25: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:25: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:01:25: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:25: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:01:25: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:25: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170427-06:01:25: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:25: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:25: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:25: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:25: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:25: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:01:25: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:25: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711623125749 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:25: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711623125749
1testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711623125749eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-04-27T06:01:25.759+00:002017-04-27T06:01:25.759+00:00urn:node:mnStageUCSB2urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:26: [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_201711623125749; FilePart:object = /tmp/mmp.output.7577761552226862182.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.745168509152207335.tmp (1101 bytes); [org.dataone.client.rest.RestClient]
20170427-06:01:26: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711623125749 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:26: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:01:27: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711623125749 [org.dataone.client.rest.RestClient]
20170427-06:01:28: [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_201711623125749; FilePart:sysmeta = /tmp/mmp.output.1608851212529818466.tmp (1182 bytes); [org.dataone.client.rest.RestClient]
20170427-06:01:28: [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_201711623125749; FilePart:sysmeta = /tmp/mmp.output.5460352973441902156.tmp (1182 bytes); [org.dataone.client.rest.RestClient]
20170427-06:01:28: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:28: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:28: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:28: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:28: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:01:28: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:28: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711623128548 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:28: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711623128548
1testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711623128548eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-04-27T06:01:28.558+00:002017-04-27T06:01:28.558+00:00urn:node:mnDemo11urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:29: [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_201711623128548; FilePart:object = /tmp/mmp.output.928774182418821858.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3266841181876544421.tmp (1093 bytes); [org.dataone.client.rest.RestClient]
20170427-06:01:29: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711623128548 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:29: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:01:29: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711623128548 [org.dataone.client.rest.RestClient]
20170427-06:01:30: [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_201711623128548; FilePart:sysmeta = /tmp/mmp.output.3366741376900490822.tmp (1174 bytes); [org.dataone.client.rest.RestClient]
20170427-06:01:30: [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_201711623128548; FilePart:sysmeta = /tmp/mmp.output.678043007567161509.tmp (1174 bytes); [org.dataone.client.rest.RestClient]
20170427-06:01:30: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:30: [INFO]:
***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:30: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:30: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:30: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170427-06:01:30: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:30: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711623130685 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:30: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711623130685
1testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711623130685eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgtestRightsHolderchangePermission2017-04-27T06:01:30.699+00:002017-04-27T06:01:30.699+00:00urn:node:mnTestLTERurn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170427-06:01:30: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711623130685; FilePart:object = /tmp/mmp.output.6567025960138965140.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4591876561492747289.tmp (1097 bytes); [org.dataone.client.rest.RestClient]
20170427-06:01:30: [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