Established TCP socket on 48722
<===[JENKINS REMOTING CAPACITY]===> channel started
Executing Maven: -B -f /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/pom.xml -Dit.test=MNUpdateSystemMetadataIT,MNSystemMetadataMutabilityIt -Dtest=TestDefaultSettings -Dcontext.label=STAGE verify
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.dataone:d1_integration:war:2.4-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 201, column 15
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:buildnumber-maven-plugin is missing. @ line 225, column 15
[WARNING] 'build.plugins.plugin.version' for com.mycila.maven-license-plugin:maven-license-plugin is missing. @ line 218, column 15
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ line 241, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building DataONE Integration Testing Package 2.4-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ d1_integration ---
[INFO] Executing: /bin/sh -c cd '/var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace' && 'svn' '--non-interactive' 'info'
[INFO] Working directory: /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace
[INFO] Storing buildNumber: 18815 at timestamp: 1493798847978
[INFO] Executing: /bin/sh -c cd '/var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace' && 'svn' '--non-interactive' 'info'
[INFO] Working directory: /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace
[INFO] Storing buildScmBranch: trunk
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ d1_integration ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 14 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ d1_integration ---
[INFO] Compiling 23 source files to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) @ d1_integration ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 61 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ d1_integration ---
[INFO] Compiling 147 source files to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ d1_integration ---
[INFO] Surefire report directory: /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.dataone.integration.contextTests.TestDefaultSettings
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.088 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[JENKINS] Recording test results
[INFO]
[INFO] --- maven-antrun-plugin:1.3:run (execution1) @ d1_integration ---
[INFO] Executing tasks
[copy] Copying 241 files to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/classes
[copy] Copying 3 files to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT/org/dataone/integration/webTest
[INFO] Executed tasks
[INFO]
[INFO] --- maven-dependency-plugin:2.3:unpack-dependencies (jetty-classpath) @ d1_integration ---
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/org.apache.jasper.glassfish/2.2.2.v201112011158/org.apache.jasper.glassfish-2.2.2.v201112011158.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/slf4j/slf4j-simple/1.6.4/slf4j-simple-1.6.4.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/javax/servlet/javax.servlet-api/3.0.1/javax.servlet-api-3.0.1.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/jetty-websocket/8.1.15.v20140411/jetty-websocket-8.1.15.v20140411.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/javax.security.auth.message/1.0.0.v201108011116/javax.security.auth.message-1.0.0.v201108011116.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/javax.servlet.jsp.jstl/1.2.0.v201105211821/javax.servlet.jsp.jstl-1.2.0.v201105211821.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/com.sun.el/2.2.0.v201108011116/com.sun.el-2.2.0.v201108011116.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/javax.mail.glassfish/1.4.1.v201005082020/javax.mail.glassfish-1.4.1.v201005082020.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/jetty-io/8.1.15.v20140411/jetty-io-8.1.15.v20140411.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/javax.servlet.jsp/2.2.0.v201112011158/javax.servlet.jsp-2.2.0.v201112011158.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/aggregate/jetty-all-server/8.1.15.v20140411/jetty-all-server-8.1.15.v20140411.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/jetty-jsp/8.1.15.v20140411/jetty-jsp-8.1.15.v20140411.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/org.apache.taglibs.standard.glassfish/1.2.0.v201112081803/org.apache.taglibs.standard.glassfish-1.2.0.v201112081803.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/javax.activation/1.1.0.v201105071233/javax.activation-1.1.0.v201105071233.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/javax.annotation/1.1.0.v201108011116/javax.annotation-1.1.0.v201108011116.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/jetty-http/8.1.15.v20140411/jetty-http-8.1.15.v20140411.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/jetty-util/8.1.15.v20140411/jetty-util-8.1.15.v20140411.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/org.eclipse.jdt.core/3.7.1/org.eclipse.jdt.core-3.7.1.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/javax.el/2.2.0.v201108011116/javax.el-2.2.0.v201108011116.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO]
[INFO] --- maven-war-plugin:2.1.1:war (default-war) @ d1_integration ---
[INFO] Packaging webapp
[INFO] Assembling webapp [d1_integration] in [/var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [/var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/src/main/webapp]
[INFO] Processing overlay [ id edu.uiuc.ncsa.myproxy:oa4mp-client-oauth1]
[INFO] Webapp assembled in [794 msecs]
[INFO] Building war: /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO]
[INFO] --- maven-antrun-plugin:1.3:run (execution2) @ d1_integration ---
[INFO] Executing tasks
[move] Moving 1 file to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target
[INFO] Executed tasks
[INFO]
[INFO] --- maven-failsafe-plugin:2.8.1:integration-test (integration-test) @ d1_integration ---
[INFO] Failsafe report directory: /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/failsafe-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.dataone.integration.it.apiTests.MNSystemMetadataMutabilityIt
20170503-08:07:56: [WARN]: Starting monitor thread [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-08:07:56: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-08:07:56: [WARN]: Starting monitoring... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-08:07:56: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:07:56: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:07:56: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
~~~ Context is from d1client.properties: https://cn-stage.test.dataone.org/cn
20170503-08:07:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage.test.dataone.org/cn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:07:58: [INFO]: isNodeAlive for Node: https://cn-stage.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:07:58: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:07:59: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:07:59: [INFO]: *** Adding CN to list: cn-stage [ https://cn-stage.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:07:59: [INFO]: isNodeAlive for Node: https://cn-stage-orc-1.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:07:59: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:07:59: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:07:59: [INFO]: *** Adding CN to list: cn-stage-orc-1 [ https://cn-stage-orc-1.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:07:59: [INFO]: isNodeAlive for Node: https://mn-stage-unm-1.test.dataone.org/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:07:59: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:08: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:09: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:09: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:09: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:09: [WARN]: *** Failed to add MN to list: mn-stage-unm-1 [ https://mn-stage-unm-1.test.dataone.org/mn ]. Could not reach the node:GET https://cn-stage.test.dataone.org/cn/v1/node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:09: [INFO]: isNodeAlive for Node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:09: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:10: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:10: [INFO]: *** Adding MN to list: mn-stage-ucsb-2 [ https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:10: [INFO]: isNodeAlive for Node: https://cn-stage-ucsb-1.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:10: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:10: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:10: [INFO]: *** Adding CN to list: cn-stage-ucsb-1 [ https://cn-stage-ucsb-1.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:10: [INFO]: isNodeAlive for Node: https://cn-stage-unm-1.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:10: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:11: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:11: [INFO]: *** Adding CN to list: cn-stage-unm-1 [ https://cn-stage-unm-1.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:11: [INFO]: isNodeAlive for Node: http://test.piscoweb.org/catalog/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:11: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:11: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:11: [WARN]: *** Failed to add MN to list: PISCO Test MN [ http://test.piscoweb.org/catalog/d1/mn ]. Could not reach the node:GET https://cn-stage.test.dataone.org/cn/v1/node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:11: [INFO]: isNodeAlive for Node: http://seadva-test.d2i.indiana.edu/sead/rest/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:11: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:12: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:12: [INFO]: *** Adding MN to list: SEAD Virtual Archive [ http://seadva-test.d2i.indiana.edu/sead/rest/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:12: [INFO]: isNodeAlive for Node: https://mn-demo-11.test.dataone.org/knb/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:12: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:12: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:12: [INFO]: *** Adding MN to list: mn-demo-11 [ https://mn-demo-11.test.dataone.org/knb/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:12: [INFO]: isNodeAlive for Node: https://gmn-s.lternet.edu/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:12: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:13: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:13: [INFO]: *** Adding MN to list: Stage test for PASTA-GMN [ https://gmn-s.lternet.edu/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:13: [INFO]: isNodeAlive for Node: https://dataone-test.pop.umn.edu/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:13: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:19: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:20: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:20: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:21: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:21: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:22: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:22: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:23: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:23: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:23: [WARN]: *** Failed to add MN to list: mn Test MPC [ https://dataone-test.pop.umn.edu/mn ]. Could not reach the node:GET https://cn-stage.test.dataone.org/cn/v1/node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:23: [INFO]: isNodeAlive for Node: https://dataone-dev.ecoinformatics.org.au/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:23: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:24: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:24: [INFO]: *** Adding MN to list: TERN Australia DEV [ https://dataone-dev.ecoinformatics.org.au/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:24: [INFO]: isNodeAlive for Node: https://dataonetest.tamucc.edu/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:24: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:24: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:24: [WARN]: *** Failed to add MN to list: GRIIDC Test DataONE member node [ https://dataonetest.tamucc.edu/mn ]. Could not reach the node:GET https://cn-stage.test.dataone.org/cn/v1/node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:24: [INFO]: isNodeAlive for Node: http://dataone.neonscience.org/metacat/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:24: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:25: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:25: [INFO]: *** Adding MN to list: NEON Test Member Node [ http://dataone.neonscience.org/metacat/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:25: [INFO]: isNodeAlive for Node: https://test.arcticdata.io/metacat/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:25: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:25: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:25: [INFO]: *** Adding MN to list: NSF Arctic Data Center Test Repository [ https://test.arcticdata.io/metacat/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:25: [INFO]: isNodeAlive for Node: http://dataone.ornith.cornell.edu/metacat/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:25: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:26: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:26: [INFO]: *** Adding MN to list: Cornell Lab of Ornithology - eBird [ http://dataone.ornith.cornell.edu/metacat/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:26: [INFO]: isNodeAlive for Node: https://dataone-test.researchworkspace.com/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:26: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:26: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:26: [INFO]: *** Adding MN to list: Research Workspace Testing [ https://dataone-test.researchworkspace.com/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:26: [INFO]: isNodeAlive for Node: https://r2r-node.test.dataone.org/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:26: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:27: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:27: [WARN]: *** Failed to add MN to list: Rolling Deck to Repository (R2R) [ https://r2r-node.test.dataone.org/mn ]. Could not reach the node:GET https://cn-stage.test.dataone.org/cn/v1/node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:27: [INFO]: isNodeAlive for Node: https://dataone.lib.uic.edu/metacat/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:27: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:27: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:27: [INFO]: *** Adding MN to list: UIC DataONE Member Node [ https://dataone.lib.uic.edu/metacat/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:27: [INFO]: isNodeAlive for Node: https://gmn-s.edirepository.org/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:27: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [INFO]: *** Adding MN to list: Environmental Data Initiative Member Node [ https://gmn-s.edirepository.org/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [INFO]: isNodeAlive for Node: https://ncei.nceas.ucsb.edu/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [INFO]: *** Adding MN to list: NCEI Test Member Node at NCEAS [ https://ncei.nceas.ucsb.edu/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [INFO]: trying to filter CN list for the round robin CN... original size: 4, includes nodes: [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [INFO]: CN: https://cn-stage.test.dataone.org/cn "Round Robin staging router of Coordinating Nodes" [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [INFO]: CN: https://cn-stage-orc-1.test.dataone.org/cn "Oak Ridge National Laboratory Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [INFO]: CN: https://cn-stage-ucsb-1.test.dataone.org/cn "UCSB Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [INFO]: CN: https://cn-stage-unm-1.test.dataone.org/cn "UNM Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [INFO]: excluding round robin CN: https://cn-stage.test.dataone.org/cn "Round Robin staging router of Coordinating Nodes" [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [INFO]: including CN: https://cn-stage-orc-1.test.dataone.org/cn "Oak Ridge National Laboratory Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [INFO]: including CN: https://cn-stage-ucsb-1.test.dataone.org/cn "UCSB Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [INFO]: including CN: https://cn-stage-unm-1.test.dataone.org/cn "UNM Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [INFO]: filtered CN list without round robin CN. size: 3, including nodes: [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [INFO]: CN: https://cn-stage-orc-1.test.dataone.org/cn "Oak Ridge National Laboratory Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [INFO]: CN: https://cn-stage-ucsb-1.test.dataone.org/cn "UCSB Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [INFO]: CN: https://cn-stage-unm-1.test.dataone.org/cn "UNM Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170503-08:08:28: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-08:08:28: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:28: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:29: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:08:29: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:29: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:33: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:34: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:34: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:35: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:35: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:36: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:36: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:37: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:37: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:38: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:08:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-unm-1.test.dataone.org/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:08:59: [INFO]: Unable to assess v1 capabilities for MN : https://mn-stage-unm-1.test.dataone.org/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Connect to mn-stage-unm-1.test.dataone.org:443 [mn-stage-unm-1.test.dataone.org/64.106.40.13] failed: connect timed out [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:09:29: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-unm-1.test.dataone.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:09:29: [INFO]: Unable to assess v2 capabilities for MN: https://mn-stage-unm-1.test.dataone.org/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Connect to mn-stage-unm-1.test.dataone.org:443 [mn-stage-unm-1.test.dataone.org/64.106.40.13] failed: connect timed out [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:09:29: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:09:29: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:09:30: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:09:30: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:09:30: [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]
20170503-08:09:30: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:09:30: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:09:30: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:09:31: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://test.piscoweb.org/catalog/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:09:31: [INFO]: Unable to assess v1 capabilities for MN : http://test.piscoweb.org/catalog/d1/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:09:31: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://test.piscoweb.org/catalog/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:09:31: [INFO]: Unable to assess v2 capabilities for MN: http://test.piscoweb.org/catalog/d1/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:09:31: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:09:31: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:09:32: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:09:32: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:09:32: [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]
20170503-08:09:32: [INFO]: Unable to assess v2 capabilities for MN: http://seadva-test.d2i.indiana.edu/sead/rest/mn/v2 : ServiceFailure : 404: Not Found: parser for deserializing HTML not written yet. Providing message body:
Apache Tomcat/7.0.57 - Error report HTTP Status 404 - Not Found type Status report
message Not Found
description The requested resource is not available.
Apache Tomcat/7.0.57 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:09:32: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:09:32: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:09:32: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:09:33: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:09:33: [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]
20170503-08:09:33: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:09:33: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:09:33: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:09:33: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:09:33: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:09:33: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:09:33: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:09:33: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:09:33: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:04: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.pop.umn.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:10:04: [INFO]: Unable to assess v1 capabilities for MN : https://dataone-test.pop.umn.edu/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Connect to dataone-test.pop.umn.edu:443 [dataone-test.pop.umn.edu/134.84.88.240] failed: connect timed out [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:34: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.pop.umn.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:10:34: [INFO]: Unable to assess v2 capabilities for MN: https://dataone-test.pop.umn.edu/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Connect to dataone-test.pop.umn.edu:443 [dataone-test.pop.umn.edu/134.84.88.240] failed: connect timed out [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:34: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:34: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:35: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:10:36: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:10:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:10:37: [INFO]: Unable to assess v2 capabilities for MN: https://dataone-dev.ecoinformatics.org.au/mn/v2 : ServiceFailure : 404: NOT FOUND: parser for deserializing HTML not written yet. Providing message body:
404 Not Found
404 Not Found
Home
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:37: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:37: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataonetest.tamucc.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:10:37: [INFO]: Unable to assess v1 capabilities for MN : https://dataonetest.tamucc.edu/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /dataonetest.tamucc.edu: Name or service not known [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataonetest.tamucc.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:10:37: [INFO]: Unable to assess v2 capabilities for MN: https://dataonetest.tamucc.edu/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /dataonetest.tamucc.edu [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:37: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:37: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:10:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:10:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:10:38: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:10:38: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:38: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:38: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:10:39: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:10:39: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:10:39: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:10:39: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:39: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:10:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:10:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:10:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:10:40: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:40: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:41: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:10:41: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:10:41: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:10:41: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:10:41: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:41: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://r2r-node.test.dataone.org/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:10:42: [INFO]: Unable to assess v1 capabilities for MN : https://r2r-node.test.dataone.org/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /r2r-node.test.dataone.org: Name or service not known [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://r2r-node.test.dataone.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:10:42: [INFO]: Unable to assess v2 capabilities for MN: https://r2r-node.test.dataone.org/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /r2r-node.test.dataone.org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:42: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:42: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:10:42: [INFO]: Unable to assess v1 capabilities for MN : https://dataone.lib.uic.edu/metacat/d1/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Received fatal alert: unknown_ca [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:10:43: [INFO]: Unable to assess v2 capabilities for MN: https://dataone.lib.uic.edu/metacat/d1/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Received fatal alert: unknown_ca [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:43: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:43: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:10:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:10:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:10:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:10:43: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:43: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:10:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:10:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:10:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:10:44: [INFO]: v1-ONLY MNs available: 0 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:44: [INFO]: v2 MNs available: 9 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:44: [INFO]: available MNs: 9 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:44: [INFO]: v2 MN : https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:44: [INFO]: v2 MN : https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:44: [INFO]: v2 MN : https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:44: [INFO]: v2 MN : http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:44: [INFO]: v2 MN : https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:44: [INFO]: v2 MN : http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:44: [INFO]: v2 MN : https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:44: [INFO]: v2 MN : https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:44: [INFO]: v2 MN : https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:44: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:44: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:44: [INFO]: attempting to create test object on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 with pid testRegisterSystemMetadata_dateModified_201712311044614 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:44: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:44: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:44: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:44: [INFO]: entering refreshCache()... [org.dataone.client.v2.formats.ObjectFormatCache]
20170503-08:10:44: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-08:10:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:10:45: [INFO]: refreshing objectFormatCache from cn: null [org.dataone.client.v2.formats.ObjectFormatCache]
20170503-08:10:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage.test.dataone.org/cn/v2/formats [org.dataone.client.rest.RestClient]
20170503-08:10:46: [INFO]: successfully refreshed cache from cn.listFormats() [org.dataone.client.v2.formats.ObjectFormatCache]
20170503-08:10:46: [INFO]: creating a test object. pid = testRegisterSystemMetadata_dateModified_201712311044614 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:46: [INFO]: SystemMetadata for pid: testRegisterSystemMetadata_dateModified_201712311044614
1
testRegisterSystemMetadata_dateModified_201712311044614
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
public
changePermission
2017-05-03T08:10:46.034+00:00
2017-05-03T08:10:46.034+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:47: [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 = testRegisterSystemMetadata_dateModified_201712311044614; FilePart:object = /tmp/mmp.output.86731097373505885.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5913046588226676568.tmp (1144 bytes); [org.dataone.client.rest.RestClient]
20170503-08:10:47: [INFO]: object created. pid = testRegisterSystemMetadata_dateModified_201712311044614 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testRegisterSystemMetadata_dateModified_201712311044614 [org.dataone.client.rest.RestClient]
20170503-08:10:57: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:10:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testRegisterSystemMetadata_dateModified_201712311044614 [org.dataone.client.rest.RestClient]
20170503-08:11:29: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:11:30: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testRegisterSystemMetadata_dateModified_201712311044614 [org.dataone.client.rest.RestClient]
20170503-08:12:00: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:12:01: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testRegisterSystemMetadata_dateModified_201712311044614 [org.dataone.client.rest.RestClient]
20170503-08:12:31: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:12:32: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testRegisterSystemMetadata_dateModified_201712311044614 [org.dataone.client.rest.RestClient]
20170503-08:12:32: [INFO]: cnSysmetaDateModified=1493799046499mnSysmetaDateModified=1493799046499 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:12:32: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:12:32: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:12:32: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:12:32: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170503-08:12:32: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:12:32: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:12:32: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:12:32: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:12:32: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:13:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-unm-1.test.dataone.org/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:13:03: [INFO]: Unable to assess v1 capabilities for MN : https://mn-stage-unm-1.test.dataone.org/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Connect to mn-stage-unm-1.test.dataone.org:443 [mn-stage-unm-1.test.dataone.org/64.106.40.13] failed: connect timed out [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:13:33: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-unm-1.test.dataone.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:13:33: [INFO]: Unable to assess v2 capabilities for MN: https://mn-stage-unm-1.test.dataone.org/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Connect to mn-stage-unm-1.test.dataone.org:443 [mn-stage-unm-1.test.dataone.org/64.106.40.13] failed: connect timed out [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:13:33: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:13:33: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:13:33: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:13:33: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:13:33: [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]
20170503-08:13:34: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:13:34: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:13:34: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:13:34: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://test.piscoweb.org/catalog/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:13:34: [INFO]: Unable to assess v1 capabilities for MN : http://test.piscoweb.org/catalog/d1/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:13:35: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://test.piscoweb.org/catalog/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:13:35: [INFO]: Unable to assess v2 capabilities for MN: http://test.piscoweb.org/catalog/d1/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:13:35: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:13:35: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:13:35: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:13:35: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:13:35: [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]
20170503-08:13:35: [INFO]: Unable to assess v2 capabilities for MN: http://seadva-test.d2i.indiana.edu/sead/rest/mn/v2 : ServiceFailure : 404: Not Found: parser for deserializing HTML not written yet. Providing message body:
Apache Tomcat/7.0.57 - Error report HTTP Status 404 - Not Found type Status report
message Not Found
description The requested resource is not available.
Apache Tomcat/7.0.57 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:13:35: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:13:35: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:13:36: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:13:36: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:13:36: [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]
20170503-08:13:36: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:13:36: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:13:36: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:13:36: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:13:36: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:13:36: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:13:36: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:13:36: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:13:36: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.pop.umn.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:14:07: [INFO]: Unable to assess v1 capabilities for MN : https://dataone-test.pop.umn.edu/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Connect to dataone-test.pop.umn.edu:443 [dataone-test.pop.umn.edu/134.84.88.240] failed: connect timed out [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.pop.umn.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:14:37: [INFO]: Unable to assess v2 capabilities for MN: https://dataone-test.pop.umn.edu/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Connect to dataone-test.pop.umn.edu:443 [dataone-test.pop.umn.edu/134.84.88.240] failed: connect timed out [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:37: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:37: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:38: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:14:39: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:14:39: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:14:39: [INFO]: Unable to assess v2 capabilities for MN: https://dataone-dev.ecoinformatics.org.au/mn/v2 : ServiceFailure : 404: NOT FOUND: parser for deserializing HTML not written yet. Providing message body:
404 Not Found
404 Not Found
Home
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:39: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:39: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataonetest.tamucc.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:14:40: [INFO]: Unable to assess v1 capabilities for MN : https://dataonetest.tamucc.edu/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /dataonetest.tamucc.edu: Name or service not known [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataonetest.tamucc.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:14:40: [INFO]: Unable to assess v2 capabilities for MN: https://dataonetest.tamucc.edu/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /dataonetest.tamucc.edu [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:40: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:40: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:14:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:14:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:14:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:14:40: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:40: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:41: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:14:41: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:14:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:14:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:14:42: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:42: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:14:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:14:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:14:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:14:43: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:43: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:14:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:14:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:14:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:14:44: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:44: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://r2r-node.test.dataone.org/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:14:44: [INFO]: Unable to assess v1 capabilities for MN : https://r2r-node.test.dataone.org/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /r2r-node.test.dataone.org: Name or service not known [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://r2r-node.test.dataone.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:14:44: [INFO]: Unable to assess v2 capabilities for MN: https://r2r-node.test.dataone.org/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /r2r-node.test.dataone.org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:44: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:44: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:14:45: [INFO]: Unable to assess v1 capabilities for MN : https://dataone.lib.uic.edu/metacat/d1/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Received fatal alert: unknown_ca [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:14:45: [INFO]: Unable to assess v2 capabilities for MN: https://dataone.lib.uic.edu/metacat/d1/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Received fatal alert: unknown_ca [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:45: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:45: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:14:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:14:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:14:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:14:46: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:46: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:14:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:14:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:14:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:14:46: [INFO]: v1-ONLY MNs available: 0 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:46: [INFO]: v2 MNs available: 9 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:46: [INFO]: available MNs: 9 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:46: [INFO]: v2 MN : https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:46: [INFO]: v2 MN : https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:46: [INFO]: v2 MN : https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:46: [INFO]: v2 MN : http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:46: [INFO]: v2 MN : https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:46: [INFO]: v2 MN : http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:46: [INFO]: v2 MN : https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:46: [INFO]: v2 MN : https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:46: [INFO]: v2 MN : https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:46: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:46: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:46: [INFO]: attempting to create test object on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 with pid testRegisterSystemMetadata_dateModified_obj7 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:47: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testRegisterSystemMetadata_dateModified_obj7 [org.dataone.client.rest.RestClient]
20170503-08:14:47: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:47: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:47: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:47: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170503-08:14:47: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:47: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:14:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:14:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:15:18: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-unm-1.test.dataone.org/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:15:18: [INFO]: Unable to assess v1 capabilities for MN : https://mn-stage-unm-1.test.dataone.org/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Connect to mn-stage-unm-1.test.dataone.org:443 [mn-stage-unm-1.test.dataone.org/64.106.40.13] failed: connect timed out [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:15:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-unm-1.test.dataone.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:15:48: [INFO]: Unable to assess v2 capabilities for MN: https://mn-stage-unm-1.test.dataone.org/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Connect to mn-stage-unm-1.test.dataone.org:443 [mn-stage-unm-1.test.dataone.org/64.106.40.13] failed: connect timed out [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:15:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:15:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:15:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:15:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:15:49: [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]
20170503-08:15:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:15:49: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:15:49: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:15:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://test.piscoweb.org/catalog/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:15:50: [INFO]: Unable to assess v1 capabilities for MN : http://test.piscoweb.org/catalog/d1/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:15:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://test.piscoweb.org/catalog/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:15:50: [INFO]: Unable to assess v2 capabilities for MN: http://test.piscoweb.org/catalog/d1/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:15:50: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:15:50: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:15:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:15:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:15:51: [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]
20170503-08:15:51: [INFO]: Unable to assess v2 capabilities for MN: http://seadva-test.d2i.indiana.edu/sead/rest/mn/v2 : ServiceFailure : 404: Not Found: parser for deserializing HTML not written yet. Providing message body:
Apache Tomcat/7.0.57 - Error report HTTP Status 404 - Not Found type Status report
message Not Found
description The requested resource is not available.
Apache Tomcat/7.0.57 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:15:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:15:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:15:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:15:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:15:52: [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]
20170503-08:15:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:15:52: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:15:52: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:15:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:15:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:15:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:15:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:15:52: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:15:52: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:16:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.pop.umn.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:16:22: [INFO]: Unable to assess v1 capabilities for MN : https://dataone-test.pop.umn.edu/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Connect to dataone-test.pop.umn.edu:443 [dataone-test.pop.umn.edu/134.84.88.240] failed: connect timed out [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:16:53: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.pop.umn.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:16:53: [INFO]: Unable to assess v2 capabilities for MN: https://dataone-test.pop.umn.edu/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Connect to dataone-test.pop.umn.edu:443 [dataone-test.pop.umn.edu/134.84.88.240] failed: connect timed out [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:16:53: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:16:53: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:16:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:16:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:16:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:16:56: [INFO]: Unable to assess v2 capabilities for MN: https://dataone-dev.ecoinformatics.org.au/mn/v2 : ServiceFailure : 404: NOT FOUND: parser for deserializing HTML not written yet. Providing message body:
404 Not Found
404 Not Found
Home
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:16:56: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:16:56: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:16:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataonetest.tamucc.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:16:56: [INFO]: Unable to assess v1 capabilities for MN : https://dataonetest.tamucc.edu/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /dataonetest.tamucc.edu: Name or service not known [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:16:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataonetest.tamucc.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:16:56: [INFO]: Unable to assess v2 capabilities for MN: https://dataonetest.tamucc.edu/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /dataonetest.tamucc.edu [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:16:56: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:16:56: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:16:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:16:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:16:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:16:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:16:57: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:16:57: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:16:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:16:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:16:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:16:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:16:58: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:16:58: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:16:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:16:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:16:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:16:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:16:59: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:16:59: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:17:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:17:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:17:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:17:00: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:00: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://r2r-node.test.dataone.org/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:17:00: [INFO]: Unable to assess v1 capabilities for MN : https://r2r-node.test.dataone.org/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /r2r-node.test.dataone.org: Name or service not known [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://r2r-node.test.dataone.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:17:00: [INFO]: Unable to assess v2 capabilities for MN: https://r2r-node.test.dataone.org/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /r2r-node.test.dataone.org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:00: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:00: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:01: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:17:01: [INFO]: Unable to assess v1 capabilities for MN : https://dataone.lib.uic.edu/metacat/d1/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Received fatal alert: unknown_ca [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:01: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:17:01: [INFO]: Unable to assess v2 capabilities for MN: https://dataone.lib.uic.edu/metacat/d1/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Received fatal alert: unknown_ca [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:01: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:01: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:17:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:17:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:17:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:17:02: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:02: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:17:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:17:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:17:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:17:03: [INFO]: v1-ONLY MNs available: 0 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:03: [INFO]: v2 MNs available: 9 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:03: [INFO]: available MNs: 9 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:03: [INFO]: v2 MN : https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:03: [INFO]: v2 MN : https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:03: [INFO]: v2 MN : https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:03: [INFO]: v2 MN : http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:03: [INFO]: v2 MN : https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:03: [INFO]: v2 MN : http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:03: [INFO]: v2 MN : https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:03: [INFO]: v2 MN : https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:03: [INFO]: v2 MN : https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:03: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:03: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:03: [INFO]: attempting to create test object on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 with pid testUpdateReplicationMetadata_dateModified_obj7 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateReplicationMetadata_dateModified_obj7 [org.dataone.client.rest.RestClient]
20170503-08:17:03: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:03: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:03: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:03: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170503-08:17:03: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:03: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:04: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:17:04: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:04: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:17:34: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-unm-1.test.dataone.org/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:17:34: [INFO]: Unable to assess v1 capabilities for MN : https://mn-stage-unm-1.test.dataone.org/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Connect to mn-stage-unm-1.test.dataone.org:443 [mn-stage-unm-1.test.dataone.org/64.106.40.13] failed: connect timed out [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:18:04: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-unm-1.test.dataone.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:18:04: [INFO]: Unable to assess v2 capabilities for MN: https://mn-stage-unm-1.test.dataone.org/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Connect to mn-stage-unm-1.test.dataone.org:443 [mn-stage-unm-1.test.dataone.org/64.106.40.13] failed: connect timed out [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:18:04: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:18:04: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:18:04: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:18:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:18:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:18:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:18:05: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:18:05: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:18:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://test.piscoweb.org/catalog/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:18:05: [INFO]: Unable to assess v1 capabilities for MN : http://test.piscoweb.org/catalog/d1/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:18:06: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://test.piscoweb.org/catalog/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:18:06: [INFO]: Unable to assess v2 capabilities for MN: http://test.piscoweb.org/catalog/d1/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:18:06: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:18:06: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:18:06: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:18:06: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:18:06: [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]
20170503-08:18:06: [INFO]: Unable to assess v2 capabilities for MN: http://seadva-test.d2i.indiana.edu/sead/rest/mn/v2 : ServiceFailure : 404: Not Found: parser for deserializing HTML not written yet. Providing message body:
Apache Tomcat/7.0.57 - Error report HTTP Status 404 - Not Found type Status report
message Not Found
description The requested resource is not available.
Apache Tomcat/7.0.57 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:18:06: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:18:06: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:18:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:18:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:18:07: [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]
20170503-08:18:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:18:07: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:18:07: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:18:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:18:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:18:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:18:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:18:07: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:18:07: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:18:38: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.pop.umn.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:18:38: [INFO]: Unable to assess v1 capabilities for MN : https://dataone-test.pop.umn.edu/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Connect to dataone-test.pop.umn.edu:443 [dataone-test.pop.umn.edu/134.84.88.240] failed: connect timed out [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.pop.umn.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:19:08: [INFO]: Unable to assess v2 capabilities for MN: https://dataone-test.pop.umn.edu/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Connect to dataone-test.pop.umn.edu:443 [dataone-test.pop.umn.edu/134.84.88.240] failed: connect timed out [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:08: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:08: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:09: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:19:10: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:19:10: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:19:10: [INFO]: Unable to assess v2 capabilities for MN: https://dataone-dev.ecoinformatics.org.au/mn/v2 : ServiceFailure : 404: NOT FOUND: parser for deserializing HTML not written yet. Providing message body:
404 Not Found
404 Not Found
Home
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:10: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:10: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataonetest.tamucc.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:19:11: [INFO]: Unable to assess v1 capabilities for MN : https://dataonetest.tamucc.edu/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /dataonetest.tamucc.edu: Name or service not known [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataonetest.tamucc.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:19:11: [INFO]: Unable to assess v2 capabilities for MN: https://dataonetest.tamucc.edu/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /dataonetest.tamucc.edu [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:11: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:11: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:19:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:19:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:19:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:19:11: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:11: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:19:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:19:13: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:19:13: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:19:13: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:13: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:13: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:19:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:19:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:19:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:19:14: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:14: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:19:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:19:15: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:19:15: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:19:15: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:15: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:15: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://r2r-node.test.dataone.org/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:19:15: [INFO]: Unable to assess v1 capabilities for MN : https://r2r-node.test.dataone.org/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /r2r-node.test.dataone.org: Name or service not known [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:15: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://r2r-node.test.dataone.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:19:15: [INFO]: Unable to assess v2 capabilities for MN: https://r2r-node.test.dataone.org/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /r2r-node.test.dataone.org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:15: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:15: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:16: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:19:16: [INFO]: Unable to assess v1 capabilities for MN : https://dataone.lib.uic.edu/metacat/d1/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Received fatal alert: unknown_ca [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:16: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:19:16: [INFO]: Unable to assess v2 capabilities for MN: https://dataone.lib.uic.edu/metacat/d1/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Received fatal alert: unknown_ca [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:16: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:16: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:16: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:19:16: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:19:16: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:19:16: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:19:16: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:16: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:19:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v1/node [org.dataone.client.rest.RestClient]
20170503-08:19:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-08:19:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-08:19:17: [INFO]: v1-ONLY MNs available: 0 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:17: [INFO]: v2 MNs available: 9 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:17: [INFO]: available MNs: 9 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:17: [INFO]: v2 MN : https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:17: [INFO]: v2 MN : https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:17: [INFO]: v2 MN : https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:17: [INFO]: v2 MN : http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:17: [INFO]: v2 MN : https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:17: [INFO]: v2 MN : http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:17: [INFO]: v2 MN : https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:17: [INFO]: v2 MN : https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:17: [INFO]: v2 MN : https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:17: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:17: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:17: [INFO]: attempting to create test object on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 with pid testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:19:17: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:17: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:17: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:17: [INFO]: creating a test object. pid = testDeleteReplicationMetadata_dateModified_201712311917405 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:17: [INFO]: SystemMetadata for pid: testDeleteReplicationMetadata_dateModified_201712311917405
1
testDeleteReplicationMetadata_dateModified_201712311917405
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
public
public
changePermission
2017-05-03T08:19:17.969+00:00
2017-05-03T08:19:17.969+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:19: [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 = testDeleteReplicationMetadata_dateModified_201712311917405; FilePart:object = /tmp/mmp.output.193632528210787330.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5095310659692994212.tmp (1116 bytes); [org.dataone.client.rest.RestClient]
20170503-08:19:19: [INFO]: object created. pid = testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:19: [INFO]: ====>>>>> pid of procured test Object: testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:29: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:19:29: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:19:30: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:20:00: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:20:01: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:20:31: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:20:33: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:21:03: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:21:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:21:33: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:21:34: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:21:34: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:22:04: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:22:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:22:05: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:22:35: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:22:36: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:22:36: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:23:06: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:23:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:23:07: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:23:37: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:23:38: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:23:38: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:24:08: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:24:09: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:24:09: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:24:39: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:24:41: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:24:41: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:25:11: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:25:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:25:12: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:25:42: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:25:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:25:43: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:26:13: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:26:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:26:14: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:26:44: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:26:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:26:46: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:27:16: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:27:16: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:27:16: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:27:46: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:27:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:27:48: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:28:18: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:28:19: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:28:19: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:28:49: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:28:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:28:50: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:29:20: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:29:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:29:21: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:29:51: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:29:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:29:52: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:30:22: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:30:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:30:23: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:30:53: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:30:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:30:55: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:31:25: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:31:26: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:31:26: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:31:56: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:31:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:31:58: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:32:28: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:32:28: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:32:28: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:32:58: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:33:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:33:00: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:33:30: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:33:31: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:33:31: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:34:01: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:34:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:34:03: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:34:33: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:34:34: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:34:34: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:35:04: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:35:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:35:05: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:35:35: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:35:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:35:37: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:36:07: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:36:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:36:08: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:36:38: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:36:39: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:36:39: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:37:09: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:37:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:37:11: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:37:41: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:37:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:37:42: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:38:12: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:38:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:38:14: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:38:44: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:38:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:38:45: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:39:15: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:39:16: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:39:16: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:39:46: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:39:47: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:39:47: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:40:17: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:40:19: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:40:19: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:40:49: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:40:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:40:51: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:41:21: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:41:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:41:22: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:41:52: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:41:53: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:41:53: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:42:23: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:42:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:42:25: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:42:55: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:42:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:42:56: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:43:26: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:43:27: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:43:27: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:43:57: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:43:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:43:58: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:44:28: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:44:30: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:44:30: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:45:00: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:45:01: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:45:01: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:45:31: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:45:33: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:45:33: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:46:03: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:46:04: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:46:04: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:46:34: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:46:36: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:46:36: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:47:06: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:47:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:47:07: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:47:37: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:47:38: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:47:38: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:48:08: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:48:09: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:48:09: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:48:39: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:48:41: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:48:41: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:49:11: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:49:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:49:12: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:49:42: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:49:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:49:44: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:50:14: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:50:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:50:14: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:50:44: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:50:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:50:46: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:51:16: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:51:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:51:17: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:51:47: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:51:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:51:49: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:52:19: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:52:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:52:20: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:52:50: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:52:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:52:52: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:53:22: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:53:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:53:23: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:53:53: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:53:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:53:55: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:54:25: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:54:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:54:25: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:54:55: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:54:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:54:57: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:55:27: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:55:28: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:55:28: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:55:58: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:56:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:56:00: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:56:30: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:56:31: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:56:31: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:57:01: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:57:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:57:02: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:57:32: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:57:33: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:57:33: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:58:03: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:58:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:58:05: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:58:35: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:58:36: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:58:36: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:59:06: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:59:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:59:08: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:59:38: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-08:59:39: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-08:59:39: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:00:09: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:00:10: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-09:00:10: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:00:40: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:00:41: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-09:00:41: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:01:11: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:01:13: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-09:01:13: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:01:43: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:01:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-09:01:44: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:02:14: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:02:16: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-09:02:16: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:02:46: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:02:47: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-09:02:47: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:03:17: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:03:19: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-09:03:19: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:03:49: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:03:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-09:03:49: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:04:19: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:04:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-09:04:21: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:04:51: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:04:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-09:04:52: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:05:22: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:05:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-09:05:24: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:05:54: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:05:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-09:05:55: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:06:25: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:06:26: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 [org.dataone.client.rest.RestClient]
20170503-09:06:26: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
Tests run: 4, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 3,541.842 sec <<< FAILURE!
Running org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT
20170503-09:06:56: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:06:56: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:06:56: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:06:56: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170503-09:06:56: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:06:56: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:06: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]
20170503-09:06:57: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:06:57: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:06: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]
20170503-09:06:57: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:06:57: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:06:58: [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]
20170503-09:06:58: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:06:58: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:06:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:06:58: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:06:58: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:07:00: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:00: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:07:00: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:00: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:01: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:07:01: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:01: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:01: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:07:01: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:01: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:07:02: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:02: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:07:03: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:03: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:07:03: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:03: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:04: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:07:04: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:04: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:04: [INFO]: certificate filename: testRightsHolder [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:04: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:07:04: [INFO]: client setup as Subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:04: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:07:04: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:04: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableFormat(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:04: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:04: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:04: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:04: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:07:04: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:04: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_2017123274116 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:04: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_2017123274116
1
testUpdateSystemMetadata_MutableFormat_2017123274116
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:07:04.135+00:00
2017-05-03T09:07:04.135+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:05: [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_MutableFormat_2017123274116; FilePart:object = /tmp/mmp.output.7629864758053137181.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7593780362162036392.tmp (1102 bytes); [org.dataone.client.rest.RestClient]
20170503-09:07:05: [INFO]: object created. pid = testUpdateSystemMetadata_MutableFormat_2017123274116 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:05: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:07:06: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableFormat_2017123274116 [org.dataone.client.rest.RestClient]
20170503-09:07:06: [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_MutableFormat_2017123274116; FilePart:sysmeta = /tmp/mmp.output.99321793344221453.tmp (1104 bytes); [org.dataone.client.rest.RestClient]
20170503-09:07:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableFormat_2017123274116 [org.dataone.client.rest.RestClient]
20170503-09:07:17: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:17: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableFormat(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:17: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:17: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:17: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:17: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:07:17: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:17: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_2017123271793 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:17: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_2017123271793
1
testUpdateSystemMetadata_MutableFormat_2017123271793
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:07:17.112+00:00
2017-05-03T09:07:17.112+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:18: [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_MutableFormat_2017123271793; FilePart:object = /tmp/mmp.output.9147737979227208527.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5300391020686387074.tmp (1094 bytes); [org.dataone.client.rest.RestClient]
20170503-09:07:18: [INFO]: object created. pid = testUpdateSystemMetadata_MutableFormat_2017123271793 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:18: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:07:18: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableFormat_2017123271793 [org.dataone.client.rest.RestClient]
20170503-09:07:19: [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_MutableFormat_2017123271793; FilePart:sysmeta = /tmp/mmp.output.6570585444235008046.tmp (1096 bytes); [org.dataone.client.rest.RestClient]
20170503-09:07:30: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableFormat_2017123271793 [org.dataone.client.rest.RestClient]
20170503-09:07:30: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:30: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableFormat(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:30: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:30: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:30: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:30: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:07:30: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:30: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_2017123273020 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:30: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_2017123273020
1
testUpdateSystemMetadata_MutableFormat_2017123273020
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:07:30.038+00:00
2017-05-03T09:07:30.038+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:30: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_2017123273020; FilePart:object = /tmp/mmp.output.2713142823042296545.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5473185864050189105.tmp (1098 bytes); [org.dataone.client.rest.RestClient]
20170503-09:07: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]"
"
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7fbddeb48590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7fbddd0fe758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(view_func.func_name, request.method, view_args, view_kwargs,
request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd0fe758>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
if 'HTTP_VENDOR_INCLUDE_CERTIFICATE' in request.META:
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request) ...
jwt_subject_list = session_jwt.validate_jwt_and_get_subject_list(request)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str} | set(jwt_subject_list)
if len(jwt_subject_list) == 1:
jwt_primary_str = jwt_subject_list[0]
if jwt_primary_str != cert_primary_str:
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableFormat_2017123273020'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.5473185864050189105.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.2713142823042296545.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18946'
CONTENT_TYPE
'multipart/form-data; boundary=3axDVKXrzBM6trga6o_waUE9aebGK9aW'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.lternet.edu'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'40942'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.173'
SERVER_ADMIN
'webmaster@localhost'
SERVER_NAME
'gmn-s.lternet.edu'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.7 (Ubuntu) Server at gmn-s.lternet.edu Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.7 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ/zMSGAS2UN3OfmwImsGOJTabIJ1g\nr0Yza+M1dlg4U9w4sw2AKymWRKhwWB5kcbGwqaU799a7+p3whBsy90ymw5wnxaWd\nXrPYU237PE3t3GoDUMm5ksMotcx7zyWD7X6ULTpK0mCUcts/P5Nyz9a5MY8ONyX9\n79iEza7yY8h2WUlPUcAiWC8mNmtWKnkbDMj3J8hftPsHVvQZS/sUV3qZXY+0sTc1\nnfyI3Ki+SVq4pbfXYC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xXMMr6TT0F/pGc/GJSx1icNsR91P50FYN\nglU2kNul1FX5FffrIDnYT1PLmmon63zzoKgcA89H/mzb2eWN46ud6BvoaYI96+nA\nvFdhSzHKeFXzpQeKCG07BRuHqcU=\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.lternet.edu'
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802386652814'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbdcf2000b0>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbdcf249e30>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
BASE_DIR
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set(['gmn_test_subject_trusted'])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log'
MANAGERS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.lternet.edu/mn'
NODE_CONTACT_SUBJECT
'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.'
NODE_IDENTIFIER
'urn:node:mnTestLTER'
NODE_NAME
'Stage test for PASTA-GMN'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestLTER,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'23'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
False
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
True
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:245)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:229)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataIT.java:65)
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.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]"
"
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7fbddeb48590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7fbddd0fe758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(view_func.func_name, request.method, view_args, view_kwargs,
request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
20170503-09:07:30: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:30: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableFormat(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
Variable
Value
20170503-09:07:30: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd0fe758>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
if 'HTTP_VENDOR_INCLUDE_CERTIFICATE' in request.META:
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request) ...
jwt_subject_list = session_jwt.validate_jwt_and_get_subject_list(request)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str} | set(jwt_subject_list)
if len(jwt_subject_list) == 1:
jwt_primary_str = jwt_subject_list[0]
if jwt_primary_str != cert_primary_str:
Variable
Value
20170503-09:07:30: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
request
<D1WSGIRequest: POST '/mn/v2/object'>
20170503-09:07:30: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.lternet.edu/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.6
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
46. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
67. cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
65. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableFormat_2017123273020'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.5473185864050189105.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.2713142823042296545.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18946'
CONTENT_TYPE
'multipart/form-data; boundary=3axDVKXrzBM6trga6o_waUE9aebGK9aW'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.lternet.edu'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'40942'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.173'
SERVER_ADMIN
'webmaster@localhost'
SERVER_NAME
'gmn-s.lternet.edu'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.7 (Ubuntu) Server at gmn-s.lternet.edu Port 443</address>\n'
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Hdvcmtzb2x1dGlvbnMuY29tL2xlZ2FsL1NTTC1s\nZWdhbC1yZXBvc2l0b3J5LWNwcy5qc3AwCAYGZ4EMAQICMEkGA1UdHwRCMEAwPqA8\noDqGOGh0dHA6Ly9jcmwubmV0c29sc3NsLmNvbS9OZXR3b3JrU29sdXRpb25zT1ZT\nZXJ2ZXJDQTIuY3JsMHsGCCsGAQUFBwEBBG8wbTBEBggrBgEFBQcwAoY4aHR0cDov\nL2NydC5uZXRzb2xzc2wuY29tL05ldHdvcmtTb2x1dGlvbnNPVlNlcnZlckNBMi5j\ncnQwJQYIKwYBBQUHMAGGGWh0dHA6Ly9vY3NwLm5ldHNvbHNzbC5jb20wJQYDVR0R\nBB4wHIINKi5sdGVybmV0LmVkdYILbHRlcm5ldC5lZHUwDQYJKoZIhvcNAQELBQAD\nggEBAHtmSxZVSFBGRzfRuEkZmEKK0Cs2wpIg+Rr6vboVix//H4ZAlc6Mz/WF0ffu\nkrgX4cdpD1y+WcnNj8KsOoNYooZTQhIAx5DwDB+2FSlq7wDLB1kpKt8wtlVpjDA5\nk6mI0Yfs2HFm/HgxFmVblUfFEoWRJDXL1vm0aZv/pQyDhZW15Wh5HjZIJSFbqtsb\n3wI2a4rzmjUAEwUXNfdb8Z7NPKBzMyqxXMMr6TT0F/pGc/GJSx1icNsR91P50FYN\nglU2kNul1FX5FffrIDnYT1PLmmon63zzoKgcA89H/mzb2eWN46ud6BvoaYI96+nA\nvFdhSzHKeFXzpQeKCG07BRuHqcU=\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.lternet.edu'
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802386652814'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbdcf2000b0>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbdcf249e30>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
BASE_DIR
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
20170503-09:07:30: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set(['gmn_test_subject_trusted'])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
20170503-09:07:30: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log'
MANAGERS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.lternet.edu/mn'
NODE_CONTACT_SUBJECT
'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.'
NODE_IDENTIFIER
'urn:node:mnTestLTER'
NODE_NAME
'Stage test for PASTA-GMN'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestLTER,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'23'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
False
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
20170503-09:07:30: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_20171232730708 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
True
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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)
... 37 more
20170503-09:07:30: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_20171232730708
1
testUpdateSystemMetadata_MutableFormat_20171232730708
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:07:30.727+00:00
2017-05-03T09:07:30.727+00:00
urn:node:mnTestNEON
urn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:31: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_20171232730708; FilePart:object = /tmp/mmp.output.4064944404295415938.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3227338031595860834.tmp (1099 bytes); [org.dataone.client.rest.RestClient]
20170503-09:07:31: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:245)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:229)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataIT.java:65)
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.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)
... 37 more
20170503-09:07:31: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:31: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableFormat(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:31: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:31: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:31: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:31: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:07:31: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:31: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_20171232731316 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:31: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_20171232731316
1
testUpdateSystemMetadata_MutableFormat_20171232731316
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:07:31.334+00:00
2017-05-03T09:07:31.334+00:00
urn:node:mnTestARCTIC
urn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:33: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_20171232731316; FilePart:object = /tmp/mmp.output.2087722121465036393.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4214994881590189468.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170503-09:07:33: [INFO]: object created. pid = testUpdateSystemMetadata_MutableFormat_20171232731316 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:33: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:07:34: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableFormat_20171232731316 [org.dataone.client.rest.RestClient]
20170503-09:07:34: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_20171232731316; FilePart:sysmeta = /tmp/mmp.output.7540096015807427194.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170503-09:07:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableFormat_20171232731316 [org.dataone.client.rest.RestClient]
20170503-09:07:45: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:45: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableFormat(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:45: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:45: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:45: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:45: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:07:45: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:45: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_20171232745863 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:45: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_20171232745863
1
testUpdateSystemMetadata_MutableFormat_20171232745863
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:07:45.882+00:00
2017-05-03T09:07:45.882+00:00
urn:node:mnTestCLOEBIRD
urn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:46: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_20171232745863; FilePart:object = /tmp/mmp.output.6294820356244199242.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1822647830569097164.tmp (1107 bytes); [org.dataone.client.rest.RestClient]
20170503-09:07:46: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:245)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:229)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataIT.java:65)
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.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)
... 37 more
20170503-09:07:46: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:46: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableFormat(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:46: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:46: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:46: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:47: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:07:47: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:47: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_20171232746996 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:47: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_20171232746996
1
testUpdateSystemMetadata_MutableFormat_20171232746996
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:07:47.013+00:00
2017-05-03T09:07:47.013+00:00
urn:node:mnTestRW
urn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:47: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_20171232746996; FilePart:object = /tmp/mmp.output.3405291579283990606.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.11509782239149825.tmp (1095 bytes); [org.dataone.client.rest.RestClient]
20170503-09:07:47: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:245)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:229)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataIT.java:65)
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.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
500 Internal server error
Please notify the administrator.
Home
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)
20170503-09:07:47: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170503-09:07:47: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableFormat(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:47: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:47: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:47: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:47: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:07:47: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:47: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_20171232747632 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:47: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_20171232747632
1
testUpdateSystemMetadata_MutableFormat_20171232747632
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:07:47.650+00:00
2017-05-03T09:07:47.650+00:00
urn:node:mnTestEDI
urn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:48: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_20171232747632; FilePart:object = /tmp/mmp.output.4717570012529779754.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8030952698144122509.tmp (1097 bytes); [org.dataone.client.rest.RestClient]
20170503-09:07:48: [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]"
"
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7efc78b28c10>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7efc72a7f6e0>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=dispatch_object_list, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(
view_func.func_name, request.method, view_args, view_kwargs, request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
view_args
()
view_func
<function dispatch_object_list at 0x7efc72a7f6e0>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = app.middleware.session_cert.get_subjects(
request ...
)
jwt_subject_list = app.middleware.session_jwt.validate_jwt_and_get_subject_list(
request
)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.edirepository.org/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.12
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
51. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
73. request
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
69. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableFormat_20171232747632'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.8030952698144122509.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.4717570012529779754.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18962'
CONTENT_TYPE
'multipart/form-data; boundary=jVSxwrp3ETzQFVBMQtoND26GqQtbhdt6stYX'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.edirepository.org'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'42539'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.94'
SERVER_ADMIN
'admin@edirepository.org'
SERVER_NAME
'gmn-s.edirepository.org'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.18 (Ubuntu) Server at gmn-s.edirepository.org Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.18 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ/zMSGAS2UN3OfmwImsGOJTabIJ1g\nr0Yza+M1dlg4U9w4sw2AKymWRKhwWB5kcbGwqaU799a7+p3whBsy90ymw5wnxaWd\nXrPYU237PE3t3GoDUMm5ksMotcx7zyWD7X6ULTpK0mCUcts/P5Nyz9a5MY8ONyX9\n79iEza7yY8h2WUlPUcAiWC8mNmtWKnkbDMj3J8hftPsHVvQZS/sUV3qZXY+0sTc1\nnfyI3Ki+SVq4pbfXYC67mwCHfEAQkSvDsNHp20R9d53h3DI8iXtkElz1JQKUhYeB\nIRVqcgOsBXCJ3WmabhlOPPr3TQiGGEoT2PnbJ2rzRv9L+U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GF0IGh0dHBzOi8vbGV0c2VuY3J5cHQub3JnL3JlcG9zaXRvcnkvMA0GCSqGSIb3\nDQEBCwUAA4IBAQCHlFhrmXEQ6Iybwvaz1r8Q8swry25a2WxBEqA8tX8hKYIudkiB\nKDmMxa88IsrctccF9XfcbInaOJumZioDoGih9PdCeA0Jqc/i+vi7U5Tl6aqwbcit\nOCLKfKGf/oyn1TEWT/6PvbAJPaQoe79fugfT93xjZOSt/t093aDrCeH7fVWmUbAh\nuXrTFoT4FwT0RgSwhVZTIBTi1R02WF5rFIJiy6qme8qZqcTb+3ixMj0R2dZpdtqg\nLrdfuRVFhznuHGLcOMu/mFBcc8C4sfX1BJHqqYPsyUkgXXyPUN6cuxlBB6WbS3V2\nJ9Vbdd01kKVByUusX8rMF3pfiyVge/gK8ut7\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.edirepository.org'
apache.version
(2, 4, 18)
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.daemon_connects
'1'
mod_wsgi.daemon_restarts
'0'
mod_wsgi.daemon_start
'1493802468067081'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802468066861'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493802468066617'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493802468067115'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc729789c0>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc8fd3b770>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set([])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log'
MANAGERS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.edirepository.org/mn'
NODE_CONTACT_SUBJECT
'UID=http://orcid.org/0000-0002-3192-7306,DC=dataone,DC=org'
NODE_DESCRIPTION
'Environmental Data Initiative Member Node'
NODE_IDENTIFIER
'urn:node:mnTestEDI'
NODE_NAME
'Environmental Data Initiative Member Node'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestEDI,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'0/3'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
True
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
False
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:245)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:229)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataIT.java:65)
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.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]"
"
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7efc78b28c10>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7efc72a7f6e0>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=dispatch_object_list, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(
view_func.func_name, request.method, view_args, view_kwargs, request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
20170503-09:07:48: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
▶ Local vars
20170503-09:07:48: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableFormat(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
Variable
Value
request
20170503-09:07:48: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
view_args
()
view_func
<function dispatch_object_list at 0x7efc72a7f6e0>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = app.middleware.session_cert.get_subjects(
request ...
)
jwt_subject_list = app.middleware.session_jwt.validate_jwt_and_get_subject_list(
request
)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
▶ Local vars
20170503-09:07:48: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
Variable
Value
20170503-09:07:48: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.edirepository.org/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.12
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
51. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
73. request
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
69. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableFormat_20171232747632'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.8030952698144122509.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.4717570012529779754.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18962'
CONTENT_TYPE
'multipart/form-data; boundary=jVSxwrp3ETzQFVBMQtoND26GqQtbhdt6stYX'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.edirepository.org'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'42539'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.94'
SERVER_ADMIN
'admin@edirepository.org'
SERVER_NAME
'gmn-s.edirepository.org'
SERVER_PORT
'443'
SERVER_PROTOCOL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/6PvbAJPaQoe79fugfT93xjZOSt/t093aDrCeH7fVWmUbAh\nuXrTFoT4FwT0RgSwhVZTIBTi1R02WF5rFIJiy6qme8qZqcTb+3ixMj0R2dZpdtqg\nLrdfuRVFhznuHGLcOMu/mFBcc8C4sfX1BJHqqYPsyUkgXXyPUN6cuxlBB6WbS3V2\nJ9Vbdd01kKVByUusX8rMF3pfiyVge/gK8ut7\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.edirepository.org'
apache.version
(2, 4, 18)
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.daemon_connects
'1'
mod_wsgi.daemon_restarts
'0'
mod_wsgi.daemon_start
'1493802468067081'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802468066861'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493802468066617'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493802468067115'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc729789c0>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc8fd3b770>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set([])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
20170503-09:07:48: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
20170503-09:07:48: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log'
MANAGERS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.edirepository.org/mn'
NODE_CONTACT_SUBJECT
'UID=http://orcid.org/0000-0002-3192-7306,DC=dataone,DC=org'
NODE_DESCRIPTION
'Environmental Data Initiative Member Node'
NODE_IDENTIFIER
'urn:node:mnTestEDI'
NODE_NAME
'Environmental Data Initiative Member Node'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestEDI,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'0/3'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
20170503-09:07:48: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_20171232748241 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
True
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
20170503-09:07:48: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_20171232748241
24
1
testUpdateSystemMetadata_MutableFormat_20171232748241
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././app/templates'],
CN=testRightsHolder,DC=dataone,DC=org
changePermission
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
2017-05-03T09:07:48.258+00:00
2017-05-03T09:07:48.258+00:00
'django.template.context_processors.i18n',
urn:node:mnTestNCEI
urn:node:mnTestNCEI
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
[org.dataone.integration.ContextAwareTestCaseDataone]
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
False
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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)
... 37 more
20170503-09:07:48: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_20171232748241; FilePart:object = /tmp/mmp.output.8349248327413942384.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1082038647074141630.tmp (1099 bytes); [org.dataone.client.rest.RestClient]
20170503-09:07:48: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:245)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:229)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataIT.java:65)
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.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
500 Internal server error
Please notify the administrator.
Home
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)
... 37 more
20170503-09:07:48: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:48: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:48: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:48: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170503-09:07:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:49: [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]
20170503-09:07:49: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:49: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:49: [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]
20170503-09:07:49: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:49: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:49: [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]
20170503-09:07:49: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:49: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:07:49: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:49: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:07:50: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:50: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:07:50: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:50: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:07:51: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:07:51: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:07:51: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:07:51: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:07:51: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:07:52: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:52: [INFO]:
***************** running test for testUpdateSystemMetadata_RightsHolder(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:52: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:52: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:52: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:07:52: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:52: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_2017123275226 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:52: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_2017123275226
1
testUpdateSystemMetadata_RightsHolder_2017123275226
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:07:52.043+00:00
2017-05-03T09:07:52.043+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:53: [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_RightsHolder_2017123275226; FilePart:object = /tmp/mmp.output.131861065428303636.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2136876900062257867.tmp (1101 bytes); [org.dataone.client.rest.RestClient]
20170503-09:07:53: [INFO]: object created. pid = testUpdateSystemMetadata_RightsHolder_2017123275226 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:07:53: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:07:53: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_RightsHolder_2017123275226 [org.dataone.client.rest.RestClient]
20170503-09:07:54: [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_RightsHolder_2017123275226; FilePart:sysmeta = /tmp/mmp.output.1583078809987011911.tmp (1128 bytes); [org.dataone.client.rest.RestClient]
20170503-09:08:04: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_RightsHolder_2017123275226 [org.dataone.client.rest.RestClient]
20170503-09:08:04: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:04: [INFO]:
***************** running test for testUpdateSystemMetadata_RightsHolder(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:04: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:04: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:04: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:04: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:08:04: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:04: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_2017123284917 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:04: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_2017123284917
1
testUpdateSystemMetadata_RightsHolder_2017123284917
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:08:04.933+00:00
2017-05-03T09:08:04.933+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:06: [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_RightsHolder_2017123284917; FilePart:object = /tmp/mmp.output.3365542168702945358.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6193055829354249189.tmp (1093 bytes); [org.dataone.client.rest.RestClient]
20170503-09:08:06: [INFO]: object created. pid = testUpdateSystemMetadata_RightsHolder_2017123284917 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:06: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:08:06: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_RightsHolder_2017123284917 [org.dataone.client.rest.RestClient]
20170503-09:08:07: [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_RightsHolder_2017123284917; FilePart:sysmeta = /tmp/mmp.output.8772672198573333896.tmp (1120 bytes); [org.dataone.client.rest.RestClient]
20170503-09:08:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_RightsHolder_2017123284917 [org.dataone.client.rest.RestClient]
20170503-09:08:17: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:17: [INFO]:
***************** running test for testUpdateSystemMetadata_RightsHolder(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:17: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:17: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:17: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:17: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:08:17: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:17: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_20171232817381 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:17: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_20171232817381
1
testUpdateSystemMetadata_RightsHolder_20171232817381
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:08:17.397+00:00
2017-05-03T09:08:17.397+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:17: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_RightsHolder_20171232817381; FilePart:object = /tmp/mmp.output.2638694096526708630.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8761480701065938529.tmp (1098 bytes); [org.dataone.client.rest.RestClient]
20170503-09:08:17: [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]"
"
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7fbddeb48590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7fbddd0fe758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(view_func.func_name, request.method, view_args, view_kwargs,
request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd0fe758>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
if 'HTTP_VENDOR_INCLUDE_CERTIFICATE' in request.META:
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request) ...
jwt_subject_list = session_jwt.validate_jwt_and_get_subject_list(request)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str} | set(jwt_subject_list)
if len(jwt_subject_list) == 1:
jwt_primary_str = jwt_subject_list[0]
if jwt_primary_str != cert_primary_str:
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.lternet.edu/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.6
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
46. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
67. cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
65. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_RightsHolder_20171232817381'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.8761480701065938529.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.2638694096526708630.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18962'
CONTENT_TYPE
'multipart/form-data; boundary=0C1ld_LxFYJAxQYbqnIjgoRqyXYHuObBW1cZ'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.lternet.edu'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'41024'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.173'
SERVER_ADMIN
'webmaster@localhost'
SERVER_NAME
'gmn-s.lternet.edu'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache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ATBQME4GCCsGAQUF\nBwIBFkJodHRwOi8vd3d3Lm5ldHdvcmtzb2x1dGlvbnMuY29tL2xlZ2FsL1NTTC1s\nZWdhbC1yZXBvc2l0b3J5LWNwcy5qc3AwCAYGZ4EMAQICMEkGA1UdHwRCMEAwPqA8\noDqGOGh0dHA6Ly9jcmwubmV0c29sc3NsLmNvbS9OZXR3b3JrU29sdXRpb25zT1ZT\nZXJ2ZXJDQTIuY3JsMHsGCCsGAQUFBwEBBG8wbTBEBggrBgEFBQcwAoY4aHR0cDov\nL2NydC5uZXRzb2xzc2wuY29tL05ldHdvcmtTb2x1dGlvbnNPVlNlcnZlckNBMi5j\ncnQwJQYIKwYBBQUHMAGGGWh0dHA6Ly9vY3NwLm5ldHNvbHNzbC5jb20wJQYDVR0R\nBB4wHIINKi5sdGVybmV0LmVkdYILbHRlcm5ldC5lZHUwDQYJKoZIhvcNAQELBQAD\nggEBAHtmSxZVSFBGRzfRuEkZmEKK0Cs2wpIg+Rr6vboVix//H4ZAlc6Mz/WF0ffu\nkrgX4cdpD1y+WcnNj8KsOoNYooZTQhIAx5DwDB+2FSlq7wDLB1kpKt8wtlVpjDA5\nk6mI0Yfs2HFm/HgxFmVblUfFEoWRJDXL1vm0aZv/pQyDhZW15Wh5HjZIJSFbqtsb\n3wI2a4rzmjUAEwUXNfdb8Z7NPKBzMyqxXMMr6TT0F/pGc/GJSx1icNsR91P50FYN\nglU2kNul1FX5FffrIDnYT1PLmmon63zzoKgcA89H/mzb2eWN46ud6BvoaYI96+nA\nvFdhSzHKeFXzpQeKCG07BRuHqcU=\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.lternet.edu'
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802429025062'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbdcf0614f0>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbdcf0612b0>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
BASE_DIR
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set(['gmn_test_subject_trusted'])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log'
MANAGERS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.lternet.edu/mn'
NODE_CONTACT_SUBJECT
'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.'
NODE_IDENTIFIER
'urn:node:mnTestLTER'
NODE_NAME
'Stage test for PASTA-GMN'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestLTER,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'23'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
False
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
True
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:136)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:120)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataIT.java:55)
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.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]"
"
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7fbddeb48590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7fbddd0fe758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(view_func.func_name, request.method, view_args, view_kwargs,
request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd0fe758>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
if 'HTTP_VENDOR_INCLUDE_CERTIFICATE' in request.META:
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request) ...
jwt_subject_list = session_jwt.validate_jwt_and_get_subject_list(request)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str} | set(jwt_subject_list)
if len(jwt_subject_list) == 1:
jwt_primary_str = jwt_subject_list[0]
if jwt_primary_str != cert_primary_str:
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.lternet.edu/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.6
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
46. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
67. cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
65. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_RightsHolder_20171232817381'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.8761480701065938529.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.2638694096526708630.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18962'
CONTENT_TYPE
'multipart/form-data; boundary=0C1ld_LxFYJAxQYbqnIjgoRqyXYHuObBW1cZ'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.lternet.edu'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'41024'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.173'
SERVER_ADMIN
'webmaster@localhost'
SERVER_NAME
'gmn-s.lternet.edu'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.7 (Ubuntu) Server at gmn-s.lternet.edu Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.7 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ/zMSGAS2UN3OfmwImsGOJTabIJ1g\nr0Yza+M1dlg4U9w4sw2AKymWRKhwWB5kcbGwqaU799a7+p3whBsy90ymw5wnxaWd\nXrPYU237PE3t3GoDUMm5ksMotcx7zyWD7X6ULTpK0mCUcts/P5Nyz9a5MY8ONyX9\n79iEza7yY8h2WUlPUcAiWC8mNmtWKnkbDMj3J8hftPsHVvQZS/sUV3qZXY+0sTc1\nnfyI3Ki+SVq4pbfXYC67mwCHfEAQkSvDsNHp20R9d53h3DI8iXtkElz1JQKUhYeB\nIRVqcgOsBX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mon63zzoKgcA89H/mzb2eWN46ud6BvoaYI96+nA\nvFdhSzHKeFXzpQeKCG07BRuHqcU=\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.lternet.edu'
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802429025062'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbdcf0614f0>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbdcf0612b0>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
BASE_DIR
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set(['gmn_test_subject_trusted'])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
20170503-09:08:17: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:17: [INFO]:
***************** running test for testUpdateSystemMetadata_RightsHolder(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
EMAIL_SSL_CERTFILE
None
20170503-09:08:17: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log'
MANAGERS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.lternet.edu/mn'
NODE_CONTACT_SUBJECT
'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.'
NODE_IDENTIFIER
'urn:node:mnTestLTER'
NODE_NAME
'Stage test for PASTA-GMN'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestLTER,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'23'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
20170503-09:08:17: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
NODE_SYNC_SCHEDULE_WEEKDAY
20170503-09:08:17: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
False
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
True
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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)
... 37 more
20170503-09:08:17: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:08:17: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:17: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_20171232817773 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:17: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_20171232817773
1
testUpdateSystemMetadata_RightsHolder_20171232817773
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:08:17.790+00:00
2017-05-03T09:08:17.790+00:00
urn:node:mnTestNEON
urn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:18: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_RightsHolder_20171232817773; FilePart:object = /tmp/mmp.output.5255717623653100454.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4161858531533512764.tmp (1098 bytes); [org.dataone.client.rest.RestClient]
20170503-09:08:18: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:136)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:120)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataIT.java:55)
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.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)
... 37 more
20170503-09:08:18: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:18: [INFO]:
***************** running test for testUpdateSystemMetadata_RightsHolder(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:18: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:18: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:18: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:18: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:08:18: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:18: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_20171232818271 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:18: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_20171232818271
1
testUpdateSystemMetadata_RightsHolder_20171232818271
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:08:18.288+00:00
2017-05-03T09:08:18.288+00:00
urn:node:mnTestARCTIC
urn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:20: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_RightsHolder_20171232818271; FilePart:object = /tmp/mmp.output.3700218379960614418.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4160652856399034317.tmp (1102 bytes); [org.dataone.client.rest.RestClient]
20170503-09:08:20: [INFO]: object created. pid = testUpdateSystemMetadata_RightsHolder_20171232818271 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:20: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:08:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_RightsHolder_20171232818271 [org.dataone.client.rest.RestClient]
20170503-09:08:21: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_RightsHolder_20171232818271; FilePart:sysmeta = /tmp/mmp.output.7122251189890997285.tmp (1129 bytes); [org.dataone.client.rest.RestClient]
20170503-09:08:33: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_RightsHolder_20171232818271 [org.dataone.client.rest.RestClient]
20170503-09:08:33: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:33: [INFO]:
***************** running test for testUpdateSystemMetadata_RightsHolder(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:33: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:33: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:33: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:33: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:08:33: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:33: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_20171232833284 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:33: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_20171232833284
1
testUpdateSystemMetadata_RightsHolder_20171232833284
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:08:33.299+00:00
2017-05-03T09:08:33.299+00:00
urn:node:mnTestCLOEBIRD
urn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:33: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_RightsHolder_20171232833284; FilePart:object = /tmp/mmp.output.8675686609038349560.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8835775499401112119.tmp (1106 bytes); [org.dataone.client.rest.RestClient]
20170503-09:08:33: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:136)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:120)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataIT.java:55)
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.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)
... 37 more
20170503-09:08:33: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:33: [INFO]:
***************** running test for testUpdateSystemMetadata_RightsHolder(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:33: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:33: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:33: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:33: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:08:33: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:33: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_20171232833819 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:33: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_20171232833819
1
testUpdateSystemMetadata_RightsHolder_20171232833819
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:08:33.834+00:00
2017-05-03T09:08:33.834+00:00
urn:node:mnTestRW
urn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:34: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_RightsHolder_20171232833819; FilePart:object = /tmp/mmp.output.2028342214056192903.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8444916995666507794.tmp (1094 bytes); [org.dataone.client.rest.RestClient]
20170503-09:08:34: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:136)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:120)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataIT.java:55)
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.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
500 Internal server error
Please notify the administrator.
Home
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)
... 37 more
20170503-09:08:34: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:34: [INFO]:
***************** running test for testUpdateSystemMetadata_RightsHolder(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:34: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:34: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:34: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:34: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:08:34: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:34: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_20171232834230 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:34: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_20171232834230
1
testUpdateSystemMetadata_RightsHolder_20171232834230
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:08:34.246+00:00
2017-05-03T09:08:34.246+00:00
urn:node:mnTestEDI
urn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:34: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_RightsHolder_20171232834230; FilePart:object = /tmp/mmp.output.6485027869655958117.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7911230490334270649.tmp (1096 bytes); [org.dataone.client.rest.RestClient]
20170503-09:08:34: [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]"
"
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7efc78b28c10>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7efc72a7f6e0>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=dispatch_object_list, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(
view_func.func_name, request.method, view_args, view_kwargs, request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
view_args
()
view_func
<function dispatch_object_list at 0x7efc72a7f6e0>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = app.middleware.session_cert.get_subjects(
request ...
)
jwt_subject_list = app.middleware.session_jwt.validate_jwt_and_get_subject_list(
request
)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.edirepository.org/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.12
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
51. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
73. request
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
69. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_RightsHolder_20171232834230'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.7911230490334270649.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.6485027869655958117.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18948'
CONTENT_TYPE
'multipart/form-data; boundary=P2XOZGTP161O3cfFqlQwvJ-WJHrGQNle1'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.edirepository.org'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'42626'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.94'
SERVER_ADMIN
'admin@edirepository.org'
SERVER_NAME
'gmn-s.edirepository.org'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.18 (Ubuntu) Server at gmn-s.edirepository.org Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.18 (Ubuntu)'
SSL_CL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RVFhznuHGLcOMu/mFBcc8C4sfX1BJHqqYPsyUkgXXyPUN6cuxlBB6WbS3V2\nJ9Vbdd01kKVByUusX8rMF3pfiyVge/gK8ut7\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.edirepository.org'
apache.version
(2, 4, 18)
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.daemon_connects
'1'
mod_wsgi.daemon_restarts
'0'
mod_wsgi.daemon_start
'1493802514409875'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802514409673'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493802514409329'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493802514409976'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc729e1468>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc729381b0>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set([])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log'
MANAGERS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.edirepository.org/mn'
NODE_CONTACT_SUBJECT
'UID=http://orcid.org/0000-0002-3192-7306,DC=dataone,DC=org'
NODE_DESCRIPTION
'Environmental Data Initiative Member Node'
NODE_IDENTIFIER
'urn:node:mnTestEDI'
NODE_NAME
'Environmental Data Initiative Member Node'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestEDI,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'0/3'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
True
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
False
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:136)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:120)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataIT.java:55)
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.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]"
"
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7efc78b28c10>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7efc72a7f6e0>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=dispatch_object_list, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(
view_func.func_name, request.method, view_args, view_kwargs, request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
view_args
()
view_func
<function dispatch_object_list at 0x7efc72a7f6e0>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = app.middleware.session_cert.get_subjects(
request ...
)
jwt_subject_list = app.middleware.session_jwt.validate_jwt_and_get_subject_list(
request
)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.edirepository.org/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.12
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
20170503-09:08:34: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
20170503-09:08:34: [INFO]:
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
***************** running test for testUpdateSystemMetadata_RightsHolder(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:34: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
51. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
73. request
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
69. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_RightsHolder_20171232834230'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.7911230490334270649.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.6485027869655958117.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18948'
CONTENT_TYPE
'multipart/form-data; boundary=P2XOZGTP161O3cfFqlQwvJ-WJHrGQNle1'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.edirepository.org'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'42626'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.94'
SERVER_ADMIN
'admin@edirepository.org'
SERVER_NAME
'gmn-s.edirepository.org'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.18 (Ubuntu) Server at gmn-s.edirepository.org Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.18 (Ubuntu)'
SSL_CLIENT_CERT
20170503-09:08:34: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8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YjaHR0cDovL2NlcnQuaW50LXgzLmxldHNl\nbmNyeXB0Lm9yZy8wOQYDVR0RBDIwMIIXZ21uLXMuZWRpcmVwb3NpdG9yeS5vcmeC\nFWpvZS5lZGlyZXBvc2l0b3J5Lm9yZzCB/gYDVR0gBIH2MIHzMAgGBmeBDAECATCB\n5gYLKwYBBAGC3xMBAQEwgdYwJgYIKwYBBQUHAgEWGmh0dHA6Ly9jcHMubGV0c2Vu\nY3J5cHQub3JnMIGrBggrBgEFBQcCAjCBngyBm1RoaXMgQ2VydGlmaWNhdGUgbWF5\nIG9ubHkgYmUgcmVsaWVkIHVwb24gYnkgUmVseWluZyBQYXJ0aWVzIGFuZCBvbmx5\nIGluIGFjY29yZGFuY2Ugd2l0aCB0aGUgQ2VydGlmaWNhdGUgUG9saWN5IGZvdW5k\nIGF0IGh0dHBzOi8vbGV0c2VuY3J5cHQub3JnL3JlcG9zaXRvcnkvMA0GCSqGSIb3\nDQEBCwUAA4IBAQCHlFhrmXEQ6Iybwvaz1r8Q8swry25a2WxBEqA8tX8hKYIudkiB\nKDmMxa88IsrctccF9XfcbInaOJumZioDoGih9PdCeA0Jqc/i+vi7U5Tl6aqwbcit\nOCLKfKGf/oyn1TEWT/6PvbAJPaQoe79fugfT93xjZOSt/t093aDrCeH7fVWmUbAh\nuXrTFoT4FwT0RgSwhVZTIBTi1R02WF5rFIJiy6qme8qZqcTb+3ixMj0R2dZpdtqg\nLrdfuRVFhznuHGLcOMu/mFBcc8C4sfX1BJHqqYPsyUkgXXyPUN6cuxlBB6WbS3V2\nJ9Vbdd01kKVByUusX8rMF3pfiyVge/gK8ut7\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.edirepository.org'
apache.version
(2, 4, 18)
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.daemon_connects
'1'
mod_wsgi.daemon_restarts
'0'
mod_wsgi.daemon_start
'1493802514409875'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
20170503-09:08:34: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802514409673'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493802514409329'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493802514409976'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc729e1468>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc729381b0>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set([])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log'
MANAGERS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.edirepository.org/mn'
NODE_CONTACT_SUBJECT
'UID=http://orcid.org/0000-0002-3192-7306,DC=dataone,DC=org'
NODE_DESCRIPTION
'Environmental Data Initiative Member Node'
NODE_IDENTIFIER
'urn:node:mnTestEDI'
NODE_NAME
'Environmental Data Initiative Member Node'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestEDI,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'0/3'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
True
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
False
TRUST_CLIENT_ORIGINMEMBERNODE
False
20170503-09:08:34: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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)
... 37 more
20170503-09:08:34: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:34: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_20171232834676 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:34: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_20171232834676
1
testUpdateSystemMetadata_RightsHolder_20171232834676
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:08:34.695+00:00
2017-05-03T09:08:34.695+00:00
urn:node:mnTestNCEI
urn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:34: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_RightsHolder_20171232834676; FilePart:object = /tmp/mmp.output.2034822706919209087.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3373712783613358176.tmp (1098 bytes); [org.dataone.client.rest.RestClient]
20170503-09:08:35: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:136)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:120)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataIT.java:55)
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.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
500 Internal server error
Please notify the administrator.
Home
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)
... 37 more
20170503-09:08:35: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:35: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:35: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:35: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170503-09:08:35: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:35: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:35: [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]
20170503-09:08:35: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:35: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:35: [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]
20170503-09:08:35: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:35: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:35: [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]
20170503-09:08:35: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:35: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:36: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:08:36: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:36: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:36: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:08:36: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:36: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:08:37: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:37: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:08:37: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:37: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:08:37: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:37: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:08:37: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:37: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:38: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:08:38: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:38: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:38: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:08:38: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:38: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:38: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:08:38: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:38: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:38: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:38: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:38: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:38: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:38: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:08:38: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:38: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_20171232838498 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:38: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_20171232838498
1
testUpdateSystemMetadata_MutableRightsHolder_20171232838498
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:08:38.511+00:00
2017-05-03T09:08:38.511+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:39: [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_MutableRightsHolder_20171232838498; FilePart:object = /tmp/mmp.output.722809662405248389.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.396629239283156409.tmp (1109 bytes); [org.dataone.client.rest.RestClient]
20170503-09:08:39: [INFO]: object created. pid = testUpdateSystemMetadata_MutableRightsHolder_20171232838498 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:39: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:08:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableRightsHolder_20171232838498 [org.dataone.client.rest.RestClient]
20170503-09:08:40: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:40: [INFO]: certificate filename: testPerson [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:40: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:08:40: [INFO]: client setup as Subject: CN=testPerson,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:40: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:08:40: [INFO]: created client for certificate file: testPerson with subject: CN=testPerson,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:40: [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_MutableRightsHolder_20171232838498; FilePart:sysmeta = /tmp/mmp.output.2535606568670086623.tmp (1130 bytes); [org.dataone.client.rest.RestClient]
20170503-09:08:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableRightsHolder_20171232838498 [org.dataone.client.rest.RestClient]
20170503-09:08:51: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:51: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:51: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:51: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:51: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:51: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:08:51: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:51: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_20171232851838 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:51: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_20171232851838
1
testUpdateSystemMetadata_MutableRightsHolder_20171232851838
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:08:51.857+00:00
2017-05-03T09:08:51.857+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:52: [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_MutableRightsHolder_20171232851838; FilePart:object = /tmp/mmp.output.7978556673916121511.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.249723614802940924.tmp (1101 bytes); [org.dataone.client.rest.RestClient]
20170503-09:08:52: [INFO]: object created. pid = testUpdateSystemMetadata_MutableRightsHolder_20171232851838 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:52: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:08:53: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableRightsHolder_20171232851838 [org.dataone.client.rest.RestClient]
20170503-09:08:53: [INFO]: created client for certificate file: testPerson with subject: CN=testPerson,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:08:53: [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_MutableRightsHolder_20171232851838; FilePart:sysmeta = /tmp/mmp.output.5449941839135555332.tmp (1122 bytes); [org.dataone.client.rest.RestClient]
20170503-09:09:04: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableRightsHolder_20171232851838 [org.dataone.client.rest.RestClient]
20170503-09:09:04: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:04: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:04: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:04: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:04: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:04: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:09:04: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:04: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_201712329490 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:04: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_201712329490
1
testUpdateSystemMetadata_MutableRightsHolder_201712329490
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:09:04.103+00:00
2017-05-03T09:09:04.103+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:04: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_201712329490; FilePart:object = /tmp/mmp.output.6397038889100976431.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8464120098592900683.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170503-09:09:04: [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]"
"
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7fbddeb48590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7fbddd0fe758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(view_func.func_name, request.method, view_args, view_kwargs,
request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd0fe758>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
if 'HTTP_VENDOR_INCLUDE_CERTIFICATE' in request.META:
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request) ...
jwt_subject_list = session_jwt.validate_jwt_and_get_subject_list(request)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str} | set(jwt_subject_list)
if len(jwt_subject_list) == 1:
jwt_primary_str = jwt_subject_list[0]
if jwt_primary_str != cert_primary_str:
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.lternet.edu/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.6
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
46. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
67. cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
65. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableRightsHolder_201712329490'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.8464120098592900683.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.6397038889100976431.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18964'
CONTENT_TYPE
'multipart/form-data; boundary=nW9-SRXOYFIjwfcZGj_sdM7N87DvLTIBnx'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.lternet.edu'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'41080'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.173'
SERVER_ADMIN
'webmaster@localhost'
SERVER_NAME
'gmn-s.lternet.edu'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.7 (Ubuntu) Server at gmn-s.lternet.edu Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.7 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ/zMSGAS2UN3OfmwImsGOJTabIJ1g\nr0Yza+M1dlg4U9w4sw2AKymWRKhwWB5kcbGwqaU799a7+p3whBsy90ymw5wnxaWd\nXrPYU237PE3t3GoDUMm5ksMotcx7zyWD7X6ULTpK0mCUcts/P5Nyz9a5MY8ONyX9\n79iEza7yY8h2WUlPUcAiWC8mNmtWKnkbDMj3J8hftPsHVvQZS/sUV3qZXY+0sTc1\nnfyI3Ki+SVq4pbfXYC67mwCHfEAQkSvDsNHp20R9d53h3DI8iXtkElz1JQKUhYeB\nIRVqcgOsBXCJ3WmabhlOPPr3TQiGGEoT2PnbJ2rzRv9L+UEOgJs10FuBAgMBAAGj\nggLJMIICxTAJBgNVHRMEAjAAMCwGCWCGSAGG+EIBDQQfFh1PcGVuU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'
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802471027774'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbdcf0123f0>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbdcf0123b0>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
BASE_DIR
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set(['gmn_test_subject_trusted'])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log'
MANAGERS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.lternet.edu/mn'
NODE_CONTACT_SUBJECT
'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.'
NODE_IDENTIFIER
'urn:node:mnTestLTER'
NODE_NAME
'Stage test for PASTA-GMN'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestLTER,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'23'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
False
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
True
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:190)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:174)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataIT.java:60)
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.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]"
"
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7fbddeb48590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7fbddd0fe758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(view_func.func_name, request.method, view_args, view_kwargs,
request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd0fe758>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
if 'HTTP_VENDOR_INCLUDE_CERTIFICATE' in request.META:
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request) ...
jwt_subject_list = session_jwt.validate_jwt_and_get_subject_list(request)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str} | set(jwt_subject_list)
if len(jwt_subject_list) == 1:
jwt_primary_str = jwt_subject_list[0]
if jwt_primary_str != cert_primary_str:
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.lternet.edu/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.6
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
46. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
67. cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
65. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableRightsHolder_201712329490'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.8464120098592900683.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.6397038889100976431.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18964'
CONTENT_TYPE
'multipart/form-data; boundary=nW9-SRXOYFIjwfcZGj_sdM7N87DvLTIBnx'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.lternet.edu'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'41080'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.173'
SERVER_ADMIN
'webmaster@localhost'
SERVER_NAME
'gmn-s.lternet.edu'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.7 (Ubuntu) Server at gmn-s.lternet.edu Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.7 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ/zMSGAS2UN3OfmwImsGOJTabIJ1g\nr0Yza+M1dlg4U9w4sw2AKymWRKhwWB5kcbGwqaU799a7+p3whBsy90ymw5wnxaWd\nXrPYU237PE3t3GoDUMm5ksMotcx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q7wDLB1kpKt8wtlVpjDA5\nk6mI0Yfs2HFm/HgxFmVblUfFEoWRJDXL1vm0aZv/pQyDhZW15Wh5HjZIJSFbqtsb\n3wI2a4rzmjUAEwUXNfdb8Z7NPKBzMyqxXMMr6TT0F/pGc/GJSx1icNsR91P50FYN\nglU2kNul1FX5FffrIDnYT1PLmmon63zzoKgcA89H/mzb2eWN46ud6BvoaYI96+nA\nvFdhSzHKeFXzpQeKCG07BRuHqcU=\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.lternet.edu'
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802471027774'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbdcf0123f0>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbdcf0123b0>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
BASE_DIR
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set(['gmn_test_subject_trusted'])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log'
MANAGERS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.lternet.edu/mn'
NODE_CONTACT_SUBJECT
'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.'
NODE_IDENTIFIER
'urn:node:mnTestLTER'
NODE_NAME
'Stage test for PASTA-GMN'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestLTER,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'23'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
False
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
20170503-09:09:04: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
True
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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)
... 37 more
20170503-09:09:04: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:04: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:04: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:04: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:04: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:09:04: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:04: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_2017123294480 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:04: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_2017123294480
1
testUpdateSystemMetadata_MutableRightsHolder_2017123294480
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:09:04.494+00:00
2017-05-03T09:09:04.494+00:00
urn:node:mnTestNEON
urn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:04: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_2017123294480; FilePart:object = /tmp/mmp.output.3232502868997706320.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2902172455054276359.tmp (1104 bytes); [org.dataone.client.rest.RestClient]
20170503-09:09:04: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:190)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:174)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataIT.java:60)
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.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)
... 37 more
20170503-09:09:04: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:04: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:04: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:04: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:04: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:04: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:09:04: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:04: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_2017123294934 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:04: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_2017123294934
1
testUpdateSystemMetadata_MutableRightsHolder_2017123294934
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:09:04.948+00:00
2017-05-03T09:09:04.948+00:00
urn:node:mnTestARCTIC
urn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:07: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_2017123294934; FilePart:object = /tmp/mmp.output.9167717269260637463.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.575710049351111728.tmp (1108 bytes); [org.dataone.client.rest.RestClient]
20170503-09:09:07: [INFO]: object created. pid = testUpdateSystemMetadata_MutableRightsHolder_2017123294934 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:07: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:09:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableRightsHolder_2017123294934 [org.dataone.client.rest.RestClient]
20170503-09:09:08: [INFO]: created client for certificate file: testPerson with subject: CN=testPerson,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:09: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_2017123294934; FilePart:sysmeta = /tmp/mmp.output.6740284139759357945.tmp (1129 bytes); [org.dataone.client.rest.RestClient]
20170503-09:09:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableRightsHolder_2017123294934 [org.dataone.client.rest.RestClient]
20170503-09:09:20: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:20: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:20: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:20: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:20: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:20: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:09:20: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:20: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_20171232920703 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:20: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_20171232920703
1
testUpdateSystemMetadata_MutableRightsHolder_20171232920703
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:09:20.716+00:00
2017-05-03T09:09:20.716+00:00
urn:node:mnTestCLOEBIRD
urn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:21: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_20171232920703; FilePart:object = /tmp/mmp.output.4081678929526643564.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5134712595343845558.tmp (1113 bytes); [org.dataone.client.rest.RestClient]
20170503-09:09:21: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:190)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:174)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataIT.java:60)
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.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)
... 37 more
20170503-09:09:21: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:21: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:21: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:21: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:21: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:21: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:09:21: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:21: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_2017123292197 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:21: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_2017123292197
1
testUpdateSystemMetadata_MutableRightsHolder_2017123292197
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:09:21.110+00:00
2017-05-03T09:09:21.110+00:00
urn:node:mnTestRW
urn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:21: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_2017123292197; FilePart:object = /tmp/mmp.output.2249538729820861818.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2818770766789773708.tmp (1100 bytes); [org.dataone.client.rest.RestClient]
20170503-09:09:21: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:190)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:174)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataIT.java:60)
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.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
500 Internal server error
Please notify the administrator.
Home
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)
... 37 more
20170503-09:09:21: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:21: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:21: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:21: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:21: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:21: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:09:21: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:21: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_20171232921505 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:21: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_20171232921505
1
testUpdateSystemMetadata_MutableRightsHolder_20171232921505
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:09:21.519+00:00
2017-05-03T09:09:21.519+00:00
urn:node:mnTestEDI
urn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:21: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_20171232921505; FilePart:object = /tmp/mmp.output.3650522401733819834.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.344620163192663673.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170503-09:09:21: [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]"
"
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7efc78b28c10>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7efc72a7f6e0>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=dispatch_object_list, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(
view_func.func_name, request.method, view_args, view_kwargs, request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
view_args
()
view_func
<function dispatch_object_list at 0x7efc72a7f6e0>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = app.middleware.session_cert.get_subjects(
request ...
)
jwt_subject_list = app.middleware.session_jwt.validate_jwt_and_get_subject_list(
request
)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.edirepository.org/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.12
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
51. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
73. request
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
69. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableRightsHolder_20171232921505'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.344620163192663673.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.3650522401733819834.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18953'
CONTENT_TYPE
'multipart/form-data; boundary=NrZZWGA199jdpCU6ZCQGD3-5aCnGosw'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.edirepository.org'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'42696'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.94'
SERVER_ADMIN
'admin@edirepository.org'
SERVER_NAME
'gmn-s.edirepository.org'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.18 (Ubuntu) Server at gmn-s.edirepository.org Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.18 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ/zMSGAS2UN3OfmwImsGOJTabIJ1g\nr0Yza+M1dlg4U9w4sw2AKymWRKhwWB5kcbGwqaU799a7+p3whBsy90ymw5wnxaWd\nXrPYU237PE3t3GoDUMm5ksMotcx7zyWD7X6ULTpK0mCUcts/P5Nyz9a5MY8ONyX9\n79iEza7yY8h2WUlPUcAiWC8mNmtWKnkbDMj3J8hftPsHVvQZS/sUV3qZXY+0sTc1\nnfyI3Ki+SVq4pbfXYC67mwCHfEAQkSvDsNHp20R9d53h3DI8iXtkElz1JQKUhYeB\nI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d2l0aCB0aGUgQ2VydGlmaWNhdGUgUG9saWN5IGZvdW5k\nIGF0IGh0dHBzOi8vbGV0c2VuY3J5cHQub3JnL3JlcG9zaXRvcnkvMA0GCSqGSIb3\nDQEBCwUAA4IBAQCHlFhrmXEQ6Iybwvaz1r8Q8swry25a2WxBEqA8tX8hKYIudkiB\nKDmMxa88IsrctccF9XfcbInaOJumZioDoGih9PdCeA0Jqc/i+vi7U5Tl6aqwbcit\nOCLKfKGf/oyn1TEWT/6PvbAJPaQoe79fugfT93xjZOSt/t093aDrCeH7fVWmUbAh\nuXrTFoT4FwT0RgSwhVZTIBTi1R02WF5rFIJiy6qme8qZqcTb+3ixMj0R2dZpdtqg\nLrdfuRVFhznuHGLcOMu/mFBcc8C4sfX1BJHqqYPsyUkgXXyPUN6cuxlBB6WbS3V2\nJ9Vbdd01kKVByUusX8rMF3pfiyVge/gK8ut7\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.edirepository.org'
apache.version
(2, 4, 18)
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.daemon_connects
'1'
mod_wsgi.daemon_restarts
'0'
mod_wsgi.daemon_start
'1493802561749988'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802561749786'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493802561749532'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493802561750031'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc72a43d68>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc78149df0>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set([])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log'
MANAGERS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.edirepository.org/mn'
NODE_CONTACT_SUBJECT
'UID=http://orcid.org/0000-0002-3192-7306,DC=dataone,DC=org'
NODE_DESCRIPTION
'Environmental Data Initiative Member Node'
NODE_IDENTIFIER
'urn:node:mnTestEDI'
NODE_NAME
'Environmental Data Initiative Member Node'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestEDI,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'0/3'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
True
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
False
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:190)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:174)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataIT.java:60)
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.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]"
"
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7efc78b28c10>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7efc72a7f6e0>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=dispatch_object_list, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(
view_func.func_name, request.method, view_args, view_kwargs, request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
view_args
()
view_func
<function dispatch_object_list at 0x7efc72a7f6e0>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = app.middleware.session_cert.get_subjects(
request ...
)
jwt_subject_list = app.middleware.session_jwt.validate_jwt_and_get_subject_list(
request
)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.edirepository.org/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.12
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
51. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
73. request
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
69. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableRightsHolder_20171232921505'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.344620163192663673.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.3650522401733819834.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18953'
CONTENT_TYPE
'multipart/form-data; boundary=NrZZWGA199jdpCU6ZCQGD3-5aCnGosw'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.edirepository.org'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'42696'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.94'
SERVER_ADMIN
'admin@edirepository.org'
SERVER_NAME
'gmn-s.edirepository.org'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.18 (Ubuntu) Server at gmn-s.edirepository.org Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.18 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlow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teDMubGV0c2Vu\nY3J5cHQub3JnLzAvBggrBgEFBQcwAoYjaHR0cDovL2NlcnQuaW50LXgzLmxldHNl\nbmNyeXB0Lm9yZy8wOQYDVR0RBDIwMIIXZ21uLXMuZWRpcmVwb3NpdG9yeS5vcmeC\nFWpvZS5lZGlyZXBvc2l0b3J5Lm9yZzCB/gYDVR0gBIH2MIHzMAgGBmeBDAECATCB\n5gYLKwYBBAGC3xMBAQEwgdYwJgYIKwYBBQUHAgEWGmh0dHA6Ly9jcHMubGV0c2Vu\nY3J5cHQub3JnMIGrBggrBgEFBQcCAjCBngyBm1RoaXMgQ2VydGlmaWNhdGUgbWF5\nIG9ubHkgYmUgcmVsaWVkIHVwb24gYnkgUmVseWluZyBQYXJ0aWVzIGFuZCBvbmx5\nIGluIGFjY29yZGFuY2Ugd2l0aCB0aGUgQ2VydGlmaWNhdGUgUG9saWN5IGZvdW5k\nIGF0IGh0dHBzOi8vbGV0c2VuY3J5cHQub3JnL3JlcG9zaXRvcnkvMA0GCSqGSIb3\nDQEBCwUAA4IBAQCHlFhrmXEQ6Iybwvaz1r8Q8swry25a2WxBEqA8tX8hKYIudkiB\nKDmMxa88IsrctccF9XfcbInaOJumZioDoGih9PdCeA0Jqc/i+vi7U5Tl6aqwbcit\nOCLKfKGf/oyn1TEWT/6PvbAJPaQoe79fugfT93xjZOSt/t093aDrCeH7fVWmUbAh\nuXrTFoT4FwT0RgSwhVZTIBTi1R02WF5rFIJiy6qme8qZqcTb+3ixMj0R2dZpdtqg\nLrdfuRVFhznuHGLcOMu/mFBcc8C4sfX1BJHqqYPsyUkgXXyPUN6cuxlBB6WbS3V2\nJ9Vbdd01kKVByUusX8rMF3pfiyVge/gK8ut7\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.edirepository.org'
apache.version
(2, 4, 18)
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.daemon_connects
'1'
mod_wsgi.daemon_restarts
'0'
mod_wsgi.daemon_start
'1493802561749988'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802561749786'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493802561749532'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493802561750031'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc72a43d68>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc78149df0>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
20170503-09:09:21: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
20170503-09:09:21: [INFO]:
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:21: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set([])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
20170503-09:09:21: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
20170503-09:09:21: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log'
MANAGERS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.edirepository.org/mn'
NODE_CONTACT_SUBJECT
'UID=http://orcid.org/0000-0002-3192-7306,DC=dataone,DC=org'
NODE_DESCRIPTION
'Environmental Data Initiative Member Node'
NODE_IDENTIFIER
'urn:node:mnTestEDI'
NODE_NAME
'Environmental Data Initiative Member Node'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestEDI,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'0/3'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
True
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
False
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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)
... 37 more
20170503-09:09:21: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:09:21: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:21: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_20171232921919 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:21: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_20171232921919
1
testUpdateSystemMetadata_MutableRightsHolder_20171232921919
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:09:21.931+00:00
2017-05-03T09:09:21.931+00:00
urn:node:mnTestNCEI
urn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:22: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_20171232921919; FilePart:object = /tmp/mmp.output.1247218404420598362.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5474631589440136598.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170503-09:09:22: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:190)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:174)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataIT.java:60)
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.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
500 Internal server error
Please notify the administrator.
Home
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)
... 37 more
20170503-09:09:22: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:22: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:22: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:22: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170503-09:09:22: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:22: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09: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]
20170503-09:09:22: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:22: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:22: [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]
20170503-09:09:22: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:22: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09: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]
20170503-09:09:23: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:09:23: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:09:24: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:09:24: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:09:24: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09: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]
20170503-09:09:24: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:09:25: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:25: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09: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]
20170503-09:09:25: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:25: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:09:25: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:25: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:09:25: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:25: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:25: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAccessPolicy(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:25: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:25: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:25: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:25: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:09:25: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:25: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171232925741 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:25: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_20171232925741
1
testUpdateSystemMetadata_MutableAccessPolicy_20171232925741
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:09:25.753+00:00
2017-05-03T09:09:25.753+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09: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_MutableAccessPolicy_20171232925741; FilePart:object = /tmp/mmp.output.2409824279675366074.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5663524456123631297.tmp (1109 bytes); [org.dataone.client.rest.RestClient]
20170503-09:09:26: [INFO]: object created. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171232925741 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:26: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:09:27: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAccessPolicy_20171232925741 [org.dataone.client.rest.RestClient]
20170503-09:09:27: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:27: [INFO]: certificate filename: testGroup [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:27: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:09:27: [INFO]: client setup as Subject: public [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:27: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:09:27: [INFO]: created client for certificate file: testGroup with subject: public [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:27: [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_MutableAccessPolicy_20171232925741; FilePart:sysmeta = /tmp/mmp.output.4834141119996649383.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170503-09:09:38: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAccessPolicy_20171232925741 [org.dataone.client.rest.RestClient]
20170503-09:09:38: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:38: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAccessPolicy(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:38: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:38: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:38: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:38: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:09:38: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:38: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171232938941 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:38: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_20171232938941
1
testUpdateSystemMetadata_MutableAccessPolicy_20171232938941
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:09:38.952+00:00
2017-05-03T09:09:38.952+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:40: [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_MutableAccessPolicy_20171232938941; FilePart:object = /tmp/mmp.output.7718054454273995468.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3577336491423378831.tmp (1101 bytes); [org.dataone.client.rest.RestClient]
20170503-09:09:40: [INFO]: object created. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171232938941 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:40: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:09:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAccessPolicy_20171232938941 [org.dataone.client.rest.RestClient]
20170503-09:09:40: [INFO]: created client for certificate file: testGroup with subject: public [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:40: [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_MutableAccessPolicy_20171232938941; FilePart:sysmeta = /tmp/mmp.output.7178586407772553011.tmp (1097 bytes); [org.dataone.client.rest.RestClient]
20170503-09:09:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAccessPolicy_20171232938941 [org.dataone.client.rest.RestClient]
20170503-09:09:51: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:51: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAccessPolicy(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:51: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:51: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:51: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:51: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:09:51: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:51: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171232951138 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:51: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_20171232951138
1
testUpdateSystemMetadata_MutableAccessPolicy_20171232951138
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:09:51.150+00:00
2017-05-03T09:09:51.150+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:51: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_20171232951138; FilePart:object = /tmp/mmp.output.504672586996303186.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3015255352954258855.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170503-09:09:51: [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]"
"
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7fbddeb48590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7fbddd0fe758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(view_func.func_name, request.method, view_args, view_kwargs,
request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd0fe758>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
if 'HTTP_VENDOR_INCLUDE_CERTIFICATE' in request.META:
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request) ...
jwt_subject_list = session_jwt.validate_jwt_and_get_subject_list(request)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str} | set(jwt_subject_list)
if len(jwt_subject_list) == 1:
jwt_primary_str = jwt_subject_list[0]
if jwt_primary_str != cert_primary_str:
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.lternet.edu/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.6
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
46. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
67. cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
65. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableAccessPolicy_20171232951138'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.3015255352954258855.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.504672586996303186.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18971'
CONTENT_TYPE
'multipart/form-data; boundary=oERTvKUPUAL2zf4sgpKq6uX9msPzb3LrOhX'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.lternet.edu'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'41145'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.173'
SERVER_ADMIN
'webmaster@localhost'
SERVER_NAME
'gmn-s.lternet.edu'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.7 (Ubuntu) Server at gmn-s.lternet.edu Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.7 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ/zMSGAS2UN3OfmwImsGOJT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RzfRuEkZmEKK0Cs2wpIg+Rr6vboVix//H4ZAlc6Mz/WF0ffu\nkrgX4cdpD1y+WcnNj8KsOoNYooZTQhIAx5DwDB+2FSlq7wDLB1kpKt8wtlVpjDA5\nk6mI0Yfs2HFm/HgxFmVblUfFEoWRJDXL1vm0aZv/pQyDhZW15Wh5HjZIJSFbqtsb\n3wI2a4rzmjUAEwUXNfdb8Z7NPKBzMyqxXMMr6TT0F/pGc/GJSx1icNsR91P50FYN\nglU2kNul1FX5FffrIDnYT1PLmmon63zzoKgcA89H/mzb2eWN46ud6BvoaYI96+nA\nvFdhSzHKeFXzpQeKCG07BRuHqcU=\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.lternet.edu'
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802513356552'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbdcf25f430>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbdcf25f4b0>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
BASE_DIR
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set(['gmn_test_subject_trusted'])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log'
MANAGERS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.lternet.edu/mn'
NODE_CONTACT_SUBJECT
'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.'
NODE_IDENTIFIER
'urn:node:mnTestLTER'
NODE_NAME
'Stage test for PASTA-GMN'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestLTER,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'23'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
False
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
True
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:298)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:282)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataIT.java:70)
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.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]"
"
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7fbddeb48590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7fbddd0fe758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(view_func.func_name, request.method, view_args, view_kwargs,
request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd0fe758>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
if 'HTTP_VENDOR_INCLUDE_CERTIFICATE' in request.META:
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request) ...
jwt_subject_list = session_jwt.validate_jwt_and_get_subject_list(request)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str} | set(jwt_subject_list)
if len(jwt_subject_list) == 1:
jwt_primary_str = jwt_subject_list[0]
if jwt_primary_str != cert_primary_str:
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.lternet.edu/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.6
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
46. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
67. cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
65. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableAccessPolicy_20171232951138'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.3015255352954258855.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.504672586996303186.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18971'
CONTENT_TYPE
'multipart/form-data; boundary=oERTvKUPUAL2zf4sgpKq6uX9msPzb3LrOhX'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.lternet.edu'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'41145'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.173'
SERVER_ADMIN
'webmaster@localhost'
SERVER_NAME
'gmn-s.lternet.edu'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.7 (Ubuntu) Server at gmn-s.lternet.edu Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.7 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFz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sdXRpb25zT1ZT\nZXJ2ZXJDQTIuY3JsMHsGCCsGAQUFBwEBBG8wbTBEBggrBgEFBQcwAoY4aHR0cDov\nL2NydC5uZXRzb2xzc2wuY29tL05ldHdvcmtTb2x1dGlvbnNPVlNlcnZlckNBMi5j\ncnQwJQYIKwYBBQUHMAGGGWh0dHA6Ly9vY3NwLm5ldHNvbHNzbC5jb20wJQYDVR0R\nBB4wHIINKi5sdGVybmV0LmVkdYILbHRlcm5ldC5lZHUwDQYJKoZIhvcNAQELBQAD\nggEBAHtmSxZVSFBGRzfRuEkZmEKK0Cs2wpIg+Rr6vboVix//H4ZAlc6Mz/WF0ffu\nkrgX4cdpD1y+WcnNj8KsOoNYooZTQhIAx5DwDB+2FSlq7wDLB1kpKt8wtlVpjDA5\nk6mI0Yfs2HFm/HgxFmVblUfFEoWRJDXL1vm0aZv/pQyDhZW15Wh5HjZIJSFbqtsb\n3wI2a4rzmjUAEwUXNfdb8Z7NPKBzMyqxXMMr6TT0F/pGc/GJSx1icNsR91P50FYN\nglU2kNul1FX5FffrIDnYT1PLmmon63zzoKgcA89H/mzb2eWN46ud6BvoaYI96+nA\nvFdhSzHKeFXzpQeKCG07BRuHqcU=\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.lternet.edu'
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802513356552'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbdcf25f430>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbdcf25f4b0>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
BASE_DIR
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set(['gmn_test_subject_trusted'])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
20170503-09:09:51: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
20170503-09:09:51: [INFO]:
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
***************** running test for testUpdateSystemMetadata_MutableAccessPolicy(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
20170503-09:09:51: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
20170503-09:09:51: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
20170503-09:09:51: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log'
MANAGERS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.lternet.edu/mn'
NODE_CONTACT_SUBJECT
'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.'
NODE_IDENTIFIER
'urn:node:mnTestLTER'
NODE_NAME
'Stage test for PASTA-GMN'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestLTER,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'23'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
False
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
True
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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)
20170503-09:09:51: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170503-09:09:51: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:51: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171232951518 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:51: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_20171232951518
1
testUpdateSystemMetadata_MutableAccessPolicy_20171232951518
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:09:51.527+00:00
2017-05-03T09:09:51.527+00:00
urn:node:mnTestNEON
urn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:51: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_20171232951518; FilePart:object = /tmp/mmp.output.7387147805675112475.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6913351933111401453.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170503-09:09:51: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:298)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:282)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataIT.java:70)
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.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)
... 37 more
20170503-09:09:51: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:51: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAccessPolicy(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:51: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:51: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:51: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:51: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:09:51: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:51: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171232951969 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:51: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_20171232951969
1
testUpdateSystemMetadata_MutableAccessPolicy_20171232951969
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:09:51.978+00:00
2017-05-03T09:09:51.978+00:00
urn:node:mnTestARCTIC
urn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:53: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_20171232951969; FilePart:object = /tmp/mmp.output.4353668434046892704.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2603919617674183711.tmp (1109 bytes); [org.dataone.client.rest.RestClient]
20170503-09:09:53: [INFO]: object created. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171232951969 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:53: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:09:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAccessPolicy_20171232951969 [org.dataone.client.rest.RestClient]
20170503-09:09:54: [INFO]: created client for certificate file: testGroup with subject: public [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:09:55: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_20171232951969; FilePart:sysmeta = /tmp/mmp.output.6498889879198246775.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170503-09:10:06: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAccessPolicy_20171232951969 [org.dataone.client.rest.RestClient]
20170503-09:10:06: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:06: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAccessPolicy(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:06: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:06: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:06: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:06: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:10:06: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:06: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171232106301 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:06: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_20171232106301
1
testUpdateSystemMetadata_MutableAccessPolicy_20171232106301
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:10:06.310+00:00
2017-05-03T09:10:06.310+00:00
urn:node:mnTestCLOEBIRD
urn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:06: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_20171232106301; FilePart:object = /tmp/mmp.output.2181874511306761875.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8933606687373576306.tmp (1113 bytes); [org.dataone.client.rest.RestClient]
20170503-09:10:06: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:298)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:282)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataIT.java:70)
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.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)
... 37 more
20170503-09:10:06: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:06: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAccessPolicy(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:06: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:06: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:06: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:06: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:10:06: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:06: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171232106802 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:06: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_20171232106802
1
testUpdateSystemMetadata_MutableAccessPolicy_20171232106802
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:10:06.810+00:00
2017-05-03T09:10:06.810+00:00
urn:node:mnTestRW
urn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:07: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_20171232106802; FilePart:object = /tmp/mmp.output.8422995970753689173.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3025886214550204632.tmp (1101 bytes); [org.dataone.client.rest.RestClient]
20170503-09:10:07: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:298)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:282)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataIT.java:70)
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.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
500 Internal server error
Please notify the administrator.
Home
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)
... 37 more
20170503-09:10:07: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:07: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAccessPolicy(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:07: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:07: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:07: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:07: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:10:07: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:07: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171232107197 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:07: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_20171232107197
1
testUpdateSystemMetadata_MutableAccessPolicy_20171232107197
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:10:07.205+00:00
2017-05-03T09:10:07.205+00:00
urn:node:mnTestEDI
urn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:07: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_20171232107197; FilePart:object = /tmp/mmp.output.8504795895813678320.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3364803924343416276.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170503-09:10:07: [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]"
"
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7efc78b28c10>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7efc72a7f6e0>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=dispatch_object_list, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(
view_func.func_name, request.method, view_args, view_kwargs, request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
view_args
()
view_func
<function dispatch_object_list at 0x7efc72a7f6e0>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = app.middleware.session_cert.get_subjects(
request ...
)
jwt_subject_list = app.middleware.session_jwt.validate_jwt_and_get_subject_list(
request
)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.edirepository.org/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.12
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
51. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
73. request
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
69. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableAccessPolicy_20171232107197'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.3364803924343416276.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.8504795895813678320.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18950'
CONTENT_TYPE
'multipart/form-data; boundary=JHjBky6X2M-Ddwm11RCbU7bYt9-UZb'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.edirepository.org'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'42742'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.94'
SERVER_ADMIN
'admin@edirepository.org'
SERVER_NAME
'gmn-s.edirepository.org'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.18 (Ubuntu) Server at gmn-s.edirepository.org Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.18 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ix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5cHQub3JnLzAvBggrBgEFBQcwAoYjaHR0cDovL2NlcnQuaW50LXgzLmxldHNl\nbmNyeXB0Lm9yZy8wOQYDVR0RBDIwMIIXZ21uLXMuZWRpcmVwb3NpdG9yeS5vcmeC\nFWpvZS5lZGlyZXBvc2l0b3J5Lm9yZzCB/gYDVR0gBIH2MIHzMAgGBmeBDAECATCB\n5gYLKwYBBAGC3xMBAQEwgdYwJgYIKwYBBQUHAgEWGmh0dHA6Ly9jcHMubGV0c2Vu\nY3J5cHQub3JnMIGrBggrBgEFBQcCAjCBngyBm1RoaXMgQ2VydGlmaWNhdGUgbWF5\nIG9ubHkgYmUgcmVsaWVkIHVwb24gYnkgUmVseWluZyBQYXJ0aWVzIGFuZCBvbmx5\nIGluIGFjY29yZGFuY2Ugd2l0aCB0aGUgQ2VydGlmaWNhdGUgUG9saWN5IGZvdW5k\nIGF0IGh0dHBzOi8vbGV0c2VuY3J5cHQub3JnL3JlcG9zaXRvcnkvMA0GCSqGSIb3\nDQEBCwUAA4IBAQCHlFhrmXEQ6Iybwvaz1r8Q8swry25a2WxBEqA8tX8hKYIudkiB\nKDmMxa88IsrctccF9XfcbInaOJumZioDoGih9PdCeA0Jqc/i+vi7U5Tl6aqwbcit\nOCLKfKGf/oyn1TEWT/6PvbAJPaQoe79fugfT93xjZOSt/t093aDrCeH7fVWmUbAh\nuXrTFoT4FwT0RgSwhVZTIBTi1R02WF5rFIJiy6qme8qZqcTb+3ixMj0R2dZpdtqg\nLrdfuRVFhznuHGLcOMu/mFBcc8C4sfX1BJHqqYPsyUkgXXyPUN6cuxlBB6WbS3V2\nJ9Vbdd01kKVByUusX8rMF3pfiyVge/gK8ut7\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.edirepository.org'
apache.version
(2, 4, 18)
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.daemon_connects
'1'
mod_wsgi.daemon_restarts
'0'
mod_wsgi.daemon_start
'1493802607397964'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802607397764'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493802607397471'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493802607398052'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc78553cd8>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc724e6130>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set([])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log'
MANAGERS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.edirepository.org/mn'
NODE_CONTACT_SUBJECT
'UID=http://orcid.org/0000-0002-3192-7306,DC=dataone,DC=org'
NODE_DESCRIPTION
'Environmental Data Initiative Member Node'
NODE_IDENTIFIER
'urn:node:mnTestEDI'
NODE_NAME
'Environmental Data Initiative Member Node'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestEDI,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'0/3'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
True
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
False
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:298)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:282)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataIT.java:70)
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.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]"
"
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7efc78b28c10>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7efc72a7f6e0>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=dispatch_object_list, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(
view_func.func_name, request.method, view_args, view_kwargs, request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
view_args
()
view_func
<function dispatch_object_list at 0x7efc72a7f6e0>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = app.middleware.session_cert.get_subjects(
request ...
)
jwt_subject_list = app.middleware.session_jwt.validate_jwt_and_get_subject_list(
request
)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.edirepository.org/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.12
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
51. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
73. request
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
69. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableAccessPolicy_20171232107197'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.3364803924343416276.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.8504795895813678320.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18950'
CONTENT_TYPE
'multipart/form-data; boundary=JHjBky6X2M-Ddwm11RCbU7bYt9-UZb'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.edirepository.org'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'42742'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.94'
SERVER_ADMIN
'admin@edirepository.org'
SERVER_NAME
'gmn-s.edirepository.org'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.18 (Ubuntu) Server at gmn-s.edirepository.org Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.18 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ/zMSGAS2UN3OfmwImsGOJTabIJ1g\nr0Yza+M1dlg4U9w4sw2AKymWRKhwWB5kcbGwqaU799a7+p3whBsy90ymw5wnxaWd\nXrPYU237PE3t3GoDUMm5ksMotcx7zyWD7X6ULTpK0mCUcts/P5Nyz9a5MY8ONyX9\n79iEza7yY8h2WUlPUcAiWC8mNmtWKnkbDMj3J8hftPsHVvQZS/sUV3qZXY+0sTc1\nnfyI3Ki+SVq4pbfXYC67mwCHfEAQkSvDsNHp20R9d53h3DI8iXtkElz1JQKUhYeB\nIRVqcgOsBXCJ3WmabhlOPPr3TQiGGEoT2PnbJ2rzRv9L+UEOgJs10FuBAgMBAAGj\nggLJMIICxTAJBgNVHRMEAjAAMCwGCWCGSAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVy\nYXRlZCBDZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQUXWYvIzSx6xMxPwx6yADxN5TQNXsw\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umZioDoGih9PdCeA0Jqc/i+vi7U5Tl6aqwbcit\nOCLKfKGf/oyn1TEWT/6PvbAJPaQoe79fugfT93xjZOSt/t093aDrCeH7fVWmUbAh\nuXrTFoT4FwT0RgSwhVZTIBTi1R02WF5rFIJiy6qme8qZqcTb+3ixMj0R2dZpdtqg\nLrdfuRVFhznuHGLcOMu/mFBcc8C4sfX1BJHqqYPsyUkgXXyPUN6cuxlBB6WbS3V2\nJ9Vbdd01kKVByUusX8rMF3pfiyVge/gK8ut7\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.edirepository.org'
apache.version
(2, 4, 18)
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.daemon_connects
'1'
mod_wsgi.daemon_restarts
'0'
mod_wsgi.daemon_start
'1493802607397964'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802607397764'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493802607397471'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493802607398052'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc78553cd8>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc724e6130>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
20170503-09:10:07: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
20170503-09:10:07: [INFO]:
CSRF_FAILURE_VIEW
***************** running test for testUpdateSystemMetadata_MutableAccessPolicy(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
u'django.views.csrf.csrf_failure'
20170503-09:10:07: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:07: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:07: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set([])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log'
MANAGERS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.edirepository.org/mn'
NODE_CONTACT_SUBJECT
'UID=http://orcid.org/0000-0002-3192-7306,DC=dataone,DC=org'
NODE_DESCRIPTION
'Environmental Data Initiative Member Node'
NODE_IDENTIFIER
'urn:node:mnTestEDI'
NODE_NAME
'Environmental Data Initiative Member Node'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestEDI,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'0/3'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
True
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
False
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
20170503-09:10:07: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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)
... 37 more
20170503-09:10:07: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:07: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171232107549 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:07: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_20171232107549
1
testUpdateSystemMetadata_MutableAccessPolicy_20171232107549
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:10:07.559+00:00
2017-05-03T09:10:07.559+00:00
urn:node:mnTestNCEI
urn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:07: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_20171232107549; FilePart:object = /tmp/mmp.output.5166021763145474028.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.606535251109438881.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170503-09:10:07: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:298)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:282)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataIT.java:70)
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.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
500 Internal server error
Please notify the administrator.
Home
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)
... 37 more
20170503-09:10:07: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:07: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:07: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:07: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170503-09:10:07: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:07: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:08: [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]
20170503-09:10:08: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:08: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:08: [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]
20170503-09:10:08: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:08: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:08: [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]
20170503-09:10:08: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:08: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:10:08: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:08: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:09: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:10:09: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:09: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:09: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:10:09: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:09: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:10: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:10:10: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:10: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:10: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:10:10: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:10: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:10: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:10:10: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:10: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:10: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:10:10: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:10: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:10:11: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:11: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:10:11: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:11: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:11: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:11: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:11: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:11: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:11: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:10:11: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:11: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_201712321011112 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:11: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableReplPolicy_201712321011112
1
testUpdateSystemMetadata_MutableReplPolicy_201712321011112
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:10:11.121+00:00
2017-05-03T09:10:11.121+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:12: [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_MutableReplPolicy_201712321011112; FilePart:object = /tmp/mmp.output.2157416270250848435.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7517804529270736464.tmp (1108 bytes); [org.dataone.client.rest.RestClient]
20170503-09:10:12: [INFO]: object created. pid = testUpdateSystemMetadata_MutableReplPolicy_201712321011112 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:12: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:10:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableReplPolicy_201712321011112 [org.dataone.client.rest.RestClient]
20170503-09:10:13: [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_MutableReplPolicy_201712321011112; FilePart:sysmeta = /tmp/mmp.output.4390761080476705417.tmp (1207 bytes); [org.dataone.client.rest.RestClient]
20170503-09:10:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableReplPolicy_201712321011112 [org.dataone.client.rest.RestClient]
20170503-09:10:23: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:23: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:23: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:23: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:23: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:23: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:10:23: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:23: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_201712321023918 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:23: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableReplPolicy_201712321023918
1
testUpdateSystemMetadata_MutableReplPolicy_201712321023918
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:10:23.928+00:00
2017-05-03T09:10:23.928+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:25: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_201712321023918; FilePart:object = /tmp/mmp.output.748510587384503174.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1194700363090339902.tmp (1100 bytes); [org.dataone.client.rest.RestClient]
20170503-09:10:25: [INFO]: object created. pid = testUpdateSystemMetadata_MutableReplPolicy_201712321023918 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:25: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:10:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableReplPolicy_201712321023918 [org.dataone.client.rest.RestClient]
20170503-09:10:26: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_201712321023918; FilePart:sysmeta = /tmp/mmp.output.5841383555059340173.tmp (1199 bytes); [org.dataone.client.rest.RestClient]
20170503-09:10:36: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableReplPolicy_201712321023918 [org.dataone.client.rest.RestClient]
20170503-09:10:36: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:36: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:36: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:36: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:36: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:36: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:10:36: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:36: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_201712321036338 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:36: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableReplPolicy_201712321036338
1
testUpdateSystemMetadata_MutableReplPolicy_201712321036338
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:10:36.347+00:00
2017-05-03T09:10:36.347+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:36: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_201712321036338; FilePart:object = /tmp/mmp.output.4051124264701795203.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6402458825179699044.tmp (1104 bytes); [org.dataone.client.rest.RestClient]
20170503-09:10:36: [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]"
"
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7fbddeb48590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7fbddd0fd758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(view_func.func_name, request.method, view_args, view_kwargs,
request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd0fd758>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
if 'HTTP_VENDOR_INCLUDE_CERTIFICATE' in request.META:
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request) ...
jwt_subject_list = session_jwt.validate_jwt_and_get_subject_list(request)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str} | set(jwt_subject_list)
if len(jwt_subject_list) == 1:
jwt_primary_str = jwt_subject_list[0]
if jwt_primary_str != cert_primary_str:
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.lternet.edu/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.6
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
46. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
67. cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
65. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableReplPolicy_201712321036338'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.6402458825179699044.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.4051124264701795203.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18982'
CONTENT_TYPE
'multipart/form-data; boundary=-mgv45_b3bicwHqHl8QWimNrmDaTtAkvN-JglA'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.lternet.edu'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'41221'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.173'
SERVER_ADMIN
'webmaster@localhost'
SERVER_NAME
'gmn-s.lternet.edu'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.7 (Ubuntu) Server at gmn-s.lternet.edu Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.7 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ/zMSGAS2UN3OfmwImsGO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BGRzfRuEkZmEKK0Cs2wpIg+Rr6vboVix//H4ZAlc6Mz/WF0ffu\nkrgX4cdpD1y+WcnNj8KsOoNYooZTQhIAx5DwDB+2FSlq7wDLB1kpKt8wtlVpjDA5\nk6mI0Yfs2HFm/HgxFmVblUfFEoWRJDXL1vm0aZv/pQyDhZW15Wh5HjZIJSFbqtsb\n3wI2a4rzmjUAEwUXNfdb8Z7NPKBzMyqxXMMr6TT0F/pGc/GJSx1icNsR91P50FYN\nglU2kNul1FX5FffrIDnYT1PLmmon63zzoKgcA89H/mzb2eWN46ud6BvoaYI96+nA\nvFdhSzHKeFXzpQeKCG07BRuHqcU=\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.lternet.edu'
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802554017645'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbddc86c730>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbddc86cf30>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
BASE_DIR
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set(['gmn_test_subject_trusted'])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log'
MANAGERS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.lternet.edu/mn'
NODE_CONTACT_SUBJECT
'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.'
NODE_IDENTIFIER
'urn:node:mnTestLTER'
NODE_NAME
'Stage test for PASTA-GMN'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestLTER,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'23'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
False
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
True
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:366)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:350)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataIT.java:75)
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.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]"
"
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7fbddeb48590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7fbddd0fd758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(view_func.func_name, request.method, view_args, view_kwargs,
request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd0fd758>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
if 'HTTP_VENDOR_INCLUDE_CERTIFICATE' in request.META:
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request) ...
jwt_subject_list = session_jwt.validate_jwt_and_get_subject_list(request)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str} | set(jwt_subject_list)
if len(jwt_subject_list) == 1:
jwt_primary_str = jwt_subject_list[0]
if jwt_primary_str != cert_primary_str:
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.lternet.edu/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.6
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
46. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
67. cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
65. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableReplPolicy_201712321036338'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.6402458825179699044.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.4051124264701795203.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18982'
CONTENT_TYPE
'multipart/form-data; boundary=-mgv45_b3bicwHqHl8QWimNrmDaTtAkvN-JglA'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.lternet.edu'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'41221'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.173'
SERVER_ADMIN
'webmaster@localhost'
SERVER_NAME
'gmn-s.lternet.edu'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.7 (Ubuntu) Server at gmn-s.lternet.edu Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.7 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVB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Rpb25zT1ZT\nZXJ2ZXJDQTIuY3JsMHsGCCsGAQUFBwEBBG8wbTBEBggrBgEFBQcwAoY4aHR0cDov\nL2NydC5uZXRzb2xzc2wuY29tL05ldHdvcmtTb2x1dGlvbnNPVlNlcnZlckNBMi5j\ncnQwJQYIKwYBBQUHMAGGGWh0dHA6Ly9vY3NwLm5ldHNvbHNzbC5jb20wJQYDVR0R\nBB4wHIINKi5sdGVybmV0LmVkdYILbHRlcm5ldC5lZHUwDQYJKoZIhvcNAQELBQAD\nggEBAHtmSxZVSFBGRzfRuEkZmEKK0Cs2wpIg+Rr6vboVix//H4ZAlc6Mz/WF0ffu\nkrgX4cdpD1y+WcnNj8KsOoNYooZTQhIAx5DwDB+2FSlq7wDLB1kpKt8wtlVpjDA5\nk6mI0Yfs2HFm/HgxFmVblUfFEoWRJDXL1vm0aZv/pQyDhZW15Wh5HjZIJSFbqtsb\n3wI2a4rzmjUAEwUXNfdb8Z7NPKBzMyqxXMMr6TT0F/pGc/GJSx1icNsR91P50FYN\nglU2kNul1FX5FffrIDnYT1PLmmon63zzoKgcA89H/mzb2eWN46ud6BvoaYI96+nA\nvFdhSzHKeFXzpQeKCG07BRuHqcU=\n-----END CERTIFICATE-----\n'
20170503-09:10:36: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
SSL_TLS_SNI
'gmn-s.lternet.edu'
20170503-09:10:36: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
mod_wsgi.application_group
20170503-09:10:36: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:36: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:36: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
''
mod_wsgi.callable_object
'application'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802554017645'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbddc86c730>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbddc86cf30>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
BASE_DIR
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set(['gmn_test_subject_trusted'])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log'
20170503-09:10:36: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
MANAGERS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.lternet.edu/mn'
NODE_CONTACT_SUBJECT
'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.'
NODE_IDENTIFIER
'urn:node:mnTestLTER'
NODE_NAME
'Stage test for PASTA-GMN'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestLTER,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'23'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
False
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
True
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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)
... 37 more
20170503-09:10:36: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:36: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_201712321036726 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:36: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableReplPolicy_201712321036726
1
testUpdateSystemMetadata_MutableReplPolicy_201712321036726
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:10:36.737+00:00
2017-05-03T09:10:36.737+00:00
urn:node:mnTestNEON
urn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:37: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_201712321036726; FilePart:object = /tmp/mmp.output.7315811103756275013.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6855447482541543766.tmp (1104 bytes); [org.dataone.client.rest.RestClient]
20170503-09:10:37: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:366)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:350)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataIT.java:75)
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.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)
... 37 more
20170503-09:10:37: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:37: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:37: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:37: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:37: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:37: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:10:37: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:37: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_201712321037174 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:37: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableReplPolicy_201712321037174
1
testUpdateSystemMetadata_MutableReplPolicy_201712321037174
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:10:37.183+00:00
2017-05-03T09:10:37.183+00:00
urn:node:mnTestARCTIC
urn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:39: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_201712321037174; FilePart:object = /tmp/mmp.output.5300093795193940356.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6397392501877870007.tmp (1108 bytes); [org.dataone.client.rest.RestClient]
20170503-09:10:39: [INFO]: object created. pid = testUpdateSystemMetadata_MutableReplPolicy_201712321037174 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:39: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:10:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableReplPolicy_201712321037174 [org.dataone.client.rest.RestClient]
20170503-09:10:40: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_201712321037174; FilePart:sysmeta = /tmp/mmp.output.3830216765907251157.tmp (1207 bytes); [org.dataone.client.rest.RestClient]
20170503-09:10:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableReplPolicy_201712321037174 [org.dataone.client.rest.RestClient]
20170503-09:10:51: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:51: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:51: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:51: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:51: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:51: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:10:51: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:51: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_201712321051870 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:51: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableReplPolicy_201712321051870
1
testUpdateSystemMetadata_MutableReplPolicy_201712321051870
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:10:51.879+00:00
2017-05-03T09:10:51.879+00:00
urn:node:mnTestCLOEBIRD
urn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:52: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_201712321051870; FilePart:object = /tmp/mmp.output.2109459360845604253.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4174746669137749028.tmp (1112 bytes); [org.dataone.client.rest.RestClient]
20170503-09:10:52: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:366)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:350)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataIT.java:75)
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.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)
... 37 more
20170503-09:10:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:52: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:52: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:52: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:52: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:10:52: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:52: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_201712321052319 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:52: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableReplPolicy_201712321052319
1
testUpdateSystemMetadata_MutableReplPolicy_201712321052319
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:10:52.328+00:00
2017-05-03T09:10:52.328+00:00
urn:node:mnTestRW
urn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:52: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_201712321052319; FilePart:object = /tmp/mmp.output.921824795968114629.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.912556852989142298.tmp (1100 bytes); [org.dataone.client.rest.RestClient]
20170503-09:10:52: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:366)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:350)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataIT.java:75)
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.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
500 Internal server error
Please notify the administrator.
Home
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)
... 37 more
20170503-09:10:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:52: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:52: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:52: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:52: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:10:52: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:52: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_201712321052699 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:52: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableReplPolicy_201712321052699
1
testUpdateSystemMetadata_MutableReplPolicy_201712321052699
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:10:52.708+00:00
2017-05-03T09:10:52.708+00:00
urn:node:mnTestEDI
urn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:53: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_201712321052699; FilePart:object = /tmp/mmp.output.8217396726129832708.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5199278400756658237.tmp (1102 bytes); [org.dataone.client.rest.RestClient]
20170503-09:10:53: [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]"
"
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7efc78b28c10>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7efc72a7f6e0>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=dispatch_object_list, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(
view_func.func_name, request.method, view_args, view_kwargs, request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
view_args
()
view_func
<function dispatch_object_list at 0x7efc72a7f6e0>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = app.middleware.session_cert.get_subjects(
request ...
)
jwt_subject_list = app.middleware.session_jwt.validate_jwt_and_get_subject_list(
request
)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.edirepository.org/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.12
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
51. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
73. request
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
69. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableReplPolicy_201712321052699'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.5199278400756658237.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.8217396726129832708.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18976'
CONTENT_TYPE
'multipart/form-data; boundary=0HyjkMdbKGnehD2XO_OsPGfK_mmNhVqhW9LoQ'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.edirepository.org'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'42822'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.94'
SERVER_ADMIN
'admin@edirepository.org'
SERVER_NAME
'gmn-s.edirepository.org'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.18 (Ubuntu) Server at gmn-s.edirepository.org Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.18 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\nCSqGSIb3DQE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uZWRpcmVwb3NpdG9yeS5vcmeC\nFWpvZS5lZGlyZXBvc2l0b3J5Lm9yZzCB/gYDVR0gBIH2MIHzMAgGBmeBDAECATCB\n5gYLKwYBBAGC3xMBAQEwgdYwJgYIKwYBBQUHAgEWGmh0dHA6Ly9jcHMubGV0c2Vu\nY3J5cHQub3JnMIGrBggrBgEFBQcCAjCBngyBm1RoaXMgQ2VydGlmaWNhdGUgbWF5\nIG9ubHkgYmUgcmVsaWVkIHVwb24gYnkgUmVseWluZyBQYXJ0aWVzIGFuZCBvbmx5\nIGluIGFjY29yZGFuY2Ugd2l0aCB0aGUgQ2VydGlmaWNhdGUgUG9saWN5IGZvdW5k\nIGF0IGh0dHBzOi8vbGV0c2VuY3J5cHQub3JnL3JlcG9zaXRvcnkvMA0GCSqGSIb3\nDQEBCwUAA4IBAQCHlFhrmXEQ6Iybwvaz1r8Q8swry25a2WxBEqA8tX8hKYIudkiB\nKDmMxa88IsrctccF9XfcbInaOJumZioDoGih9PdCeA0Jqc/i+vi7U5Tl6aqwbcit\nOCLKfKGf/oyn1TEWT/6PvbAJPaQoe79fugfT93xjZOSt/t093aDrCeH7fVWmUbAh\nuXrTFoT4FwT0RgSwhVZTIBTi1R02WF5rFIJiy6qme8qZqcTb+3ixMj0R2dZpdtqg\nLrdfuRVFhznuHGLcOMu/mFBcc8C4sfX1BJHqqYPsyUkgXXyPUN6cuxlBB6WbS3V2\nJ9Vbdd01kKVByUusX8rMF3pfiyVge/gK8ut7\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.edirepository.org'
apache.version
(2, 4, 18)
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.daemon_connects
'1'
mod_wsgi.daemon_restarts
'0'
mod_wsgi.daemon_start
'1493802652908576'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802652908399'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493802652908181'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493802652908611'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc71decd20>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc725a6cf0>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set([])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log'
MANAGERS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.edirepository.org/mn'
NODE_CONTACT_SUBJECT
'UID=http://orcid.org/0000-0002-3192-7306,DC=dataone,DC=org'
NODE_DESCRIPTION
'Environmental Data Initiative Member Node'
NODE_IDENTIFIER
'urn:node:mnTestEDI'
NODE_NAME
'Environmental Data Initiative Member Node'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestEDI,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'0/3'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
True
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
False
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:366)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:350)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataIT.java:75)
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.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]"
"
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7efc78b28c10>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7efc72a7f6e0>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=dispatch_object_list, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(
view_func.func_name, request.method, view_args, view_kwargs, request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
view_args
()
view_func
<function dispatch_object_list at 0x7efc72a7f6e0>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = app.middleware.session_cert.get_subjects(
request ...
)
jwt_subject_list = app.middleware.session_jwt.validate_jwt_and_get_subject_list(
request
)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.edirepository.org/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.12
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
51. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
73. request
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
69. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableReplPolicy_201712321052699'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.5199278400756658237.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.8217396726129832708.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18976'
CONTENT_TYPE
'multipart/form-data; boundary=0HyjkMdbKGnehD2XO_OsPGfK_mmNhVqhW9LoQ'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.edirepository.org'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'42822'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.94'
SERVER_ADMIN
'admin@edirepository.org'
SERVER_NAME
'gmn-s.edirepository.org'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.18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UbAh\nuXrTFoT4FwT0RgSwhVZTIBTi1R02WF5rFIJiy6qme8qZqcTb+3ixMj0R2dZpdtqg\nLrdfuRVFhznuHGLcOMu/mFBcc8C4sfX1BJHqqYPsyUkgXXyPUN6cuxlBB6WbS3V2\nJ9Vbdd01kKVByUusX8rMF3pfiyVge/gK8ut7\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.edirepository.org'
apache.version
(2, 4, 18)
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.daemon_connects
'1'
mod_wsgi.daemon_restarts
'0'
mod_wsgi.daemon_start
'1493802652908576'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802652908399'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493802652908181'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493802652908611'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc71decd20>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc725a6cf0>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set([])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
20170503-09:10:53: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
20170503-09:10:53: [INFO]:
(u'te', u'Telugu'),
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:53: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:53: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:53: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log'
MANAGERS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.edirepository.org/mn'
NODE_CONTACT_SUBJECT
'UID=http://orcid.org/0000-0002-3192-7306,DC=dataone,DC=org'
NODE_DESCRIPTION
'Environmental Data Initiative Member Node'
NODE_IDENTIFIER
'urn:node:mnTestEDI'
NODE_NAME
'Environmental Data Initiative Member Node'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestEDI,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'0/3'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
True
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
False
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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)
... 37 more
20170503-09:10:53: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:10:53: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:53: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_20171232105358 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:53: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableReplPolicy_20171232105358
1
testUpdateSystemMetadata_MutableReplPolicy_20171232105358
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:10:53.066+00:00
2017-05-03T09:10:53.066+00:00
urn:node:mnTestNCEI
urn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:53: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_20171232105358; FilePart:object = /tmp/mmp.output.468269392127384164.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5683356609019974951.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170503-09:10:53: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:366)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:350)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataIT.java:75)
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.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
500 Internal server error
Please notify the administrator.
Home
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)
... 37 more
20170503-09:10:53: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:53: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:53: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:53: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170503-09:10:53: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:53: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:53: [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]
20170503-09:10:53: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:53: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:53: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:10:53: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:53: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:54: [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]
20170503-09:10:54: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:54: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:10:54: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:54: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:10:55: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:55: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:10:55: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:55: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:10:55: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:55: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:10:55: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:55: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:10:56: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:56: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:10:56: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:56: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:10:56: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:56: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:10:56: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:56: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:56: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:56: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:56: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:56: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:56: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:10:56: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:56: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_201712321056673 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:56: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_201712321056673
1
testUpdateSystemMetadata_MutableAuthMN_201712321056673
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:10:56.683+00:00
2017-05-03T09:10:56.683+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:58: [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_MutableAuthMN_201712321056673; FilePart:object = /tmp/mmp.output.3563275526861622254.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8385056580894098037.tmp (1104 bytes); [org.dataone.client.rest.RestClient]
20170503-09:10:58: [INFO]: object created. pid = testUpdateSystemMetadata_MutableAuthMN_201712321056673 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:10:58: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:10:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAuthMN_201712321056673 [org.dataone.client.rest.RestClient]
20170503-09:10:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:10:59: [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_MutableAuthMN_201712321056673; FilePart:sysmeta = /tmp/mmp.output.1843291132751756073.tmp (1129 bytes); [org.dataone.client.rest.RestClient]
20170503-09:11:10: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAuthMN_201712321056673 [org.dataone.client.rest.RestClient]
20170503-09:11:10: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:10: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:10: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:10: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:10: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:10: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:11:10: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:10: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_201712321110799 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:10: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_201712321110799
1
testUpdateSystemMetadata_MutableAuthMN_201712321110799
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:11:10.808+00:00
2017-05-03T09:11:10.808+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:11: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_201712321110799; FilePart:object = /tmp/mmp.output.2324646815199109846.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2046425425583079223.tmp (1096 bytes); [org.dataone.client.rest.RestClient]
20170503-09:11:11: [INFO]: object created. pid = testUpdateSystemMetadata_MutableAuthMN_201712321110799 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:11: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:11:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAuthMN_201712321110799 [org.dataone.client.rest.RestClient]
20170503-09:11:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:11:13: [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_MutableAuthMN_201712321110799; FilePart:sysmeta = /tmp/mmp.output.2871170915441739211.tmp (1125 bytes); [org.dataone.client.rest.RestClient]
20170503-09:11:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAuthMN_201712321110799 [org.dataone.client.rest.RestClient]
20170503-09:11:23: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:23: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:23: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:23: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:23: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:23: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:11:23: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:23: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_201712321123265 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:23: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_201712321123265
1
testUpdateSystemMetadata_MutableAuthMN_201712321123265
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:11:23.274+00:00
2017-05-03T09:11:23.274+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:23: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_201712321123265; FilePart:object = /tmp/mmp.output.5951272632694883371.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1056118797140758201.tmp (1100 bytes); [org.dataone.client.rest.RestClient]
20170503-09:11:23: [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]"
"
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7fbddeb48590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7fbddd0fe758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(view_func.func_name, request.method, view_args, view_kwargs,
request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd0fe758>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
if 'HTTP_VENDOR_INCLUDE_CERTIFICATE' in request.META:
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request) ...
jwt_subject_list = session_jwt.validate_jwt_and_get_subject_list(request)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str} | set(jwt_subject_list)
if len(jwt_subject_list) == 1:
jwt_primary_str = jwt_subject_list[0]
if jwt_primary_str != cert_primary_str:
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.lternet.edu/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.6
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
46. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
67. cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
65. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableAuthMN_201712321123265'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.1056118797140758201.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.5951272632694883371.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18982'
CONTENT_TYPE
'multipart/form-data; boundary=kOlDykGWQSvQOewi-w3LMkUJmVrZRx5vpGZVR3ZC'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.lternet.edu'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'41313'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.173'
SERVER_ADMIN
'webmaster@localhost'
SERVER_NAME
'gmn-s.lternet.edu'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.7 (Ubuntu) Server at gmn-s.lternet.edu Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.7 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\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mVkdYILbHRlcm5ldC5lZHUwDQYJKoZIhvcNAQELBQAD\nggEBAHtmSxZVSFBGRzfRuEkZmEKK0Cs2wpIg+Rr6vboVix//H4ZAlc6Mz/WF0ffu\nkrgX4cdpD1y+WcnNj8KsOoNYooZTQhIAx5DwDB+2FSlq7wDLB1kpKt8wtlVpjDA5\nk6mI0Yfs2HFm/HgxFmVblUfFEoWRJDXL1vm0aZv/pQyDhZW15Wh5HjZIJSFbqtsb\n3wI2a4rzmjUAEwUXNfdb8Z7NPKBzMyqxXMMr6TT0F/pGc/GJSx1icNsR91P50FYN\nglU2kNul1FX5FffrIDnYT1PLmmon63zzoKgcA89H/mzb2eWN46ud6BvoaYI96+nA\nvFdhSzHKeFXzpQeKCG07BRuHqcU=\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.lternet.edu'
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802596190139'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbdcf33ae70>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbdcf33a3f0>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
BASE_DIR
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set(['gmn_test_subject_trusted'])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log'
MANAGERS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.lternet.edu/mn'
NODE_CONTACT_SUBJECT
'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.'
NODE_IDENTIFIER
'urn:node:mnTestLTER'
NODE_NAME
'Stage test for PASTA-GMN'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestLTER,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'23'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
False
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
True
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:428)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:412)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataIT.java:80)
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.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]"
"
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7fbddeb48590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7fbddd0fe758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(view_func.func_name, request.method, view_args, view_kwargs,
request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd0fe758>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
if 'HTTP_VENDOR_INCLUDE_CERTIFICATE' in request.META:
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request) ...
jwt_subject_list = session_jwt.validate_jwt_and_get_subject_list(request)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str} | set(jwt_subject_list)
if len(jwt_subject_list) == 1:
jwt_primary_str = jwt_subject_list[0]
if jwt_primary_str != cert_primary_str:
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.lternet.edu/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.6
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
46. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
67. cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
65. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableAuthMN_201712321123265'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.1056118797140758201.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.5951272632694883371.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18982'
CONTENT_TYPE
'multipart/form-data; boundary=kOlDykGWQSvQOewi-w3LMkUJmVrZRx5vpGZVR3ZC'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.lternet.edu'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'41313'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.173'
SERVER_ADMIN
'webmaster@localhost'
SERVER_NAME
'gmn-s.lternet.edu'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.7 (Ubuntu) Server at gmn-s.lternet.edu Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.7 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQ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MEAwPqA8\noDqGOGh0dHA6Ly9jcmwubmV0c29sc3NsLmNvbS9OZXR3b3JrU29sdXRpb25zT1ZT\nZXJ2ZXJDQTIuY3JsMHsGCCsGAQUFBwEBBG8wbTBEBggrBgEFBQcwAoY4aHR0cDov\nL2NydC5uZXRzb2xzc2wuY29tL05ldHdvcmtTb2x1dGlvbnNPVlNlcnZlckNBMi5j\ncnQwJQYIKwYBBQUHMAGGGWh0dHA6Ly9vY3NwLm5ldHNvbHNzbC5jb20wJQYDVR0R\nBB4wHIINKi5sdGVybmV0LmVkdYILbHRlcm5ldC5lZHUwDQYJKoZIhvcNAQELBQAD\nggEBAHtmSxZVSFBGRzfRuEkZmEKK0Cs2wpIg+Rr6vboVix//H4ZAlc6Mz/WF0ffu\nkrgX4cdpD1y+WcnNj8KsOoNYooZTQhIAx5DwDB+2FSlq7wDLB1kpKt8wtlVpjDA5\nk6mI0Yfs2HFm/HgxFmVblUfFEoWRJDXL1vm0aZv/pQyDhZW15Wh5HjZIJSFbqtsb\n3wI2a4rzmjUAEwUXNfdb8Z7NPKBzMyqxXMMr6TT0F/pGc/GJSx1icNsR91P50FYN\nglU2kNul1FX5FffrIDnYT1PLmmon63zzoKgcA89H/mzb2eWN46ud6BvoaYI96+nA\nvFdhSzHKeFXzpQeKCG07BRuHqcU=\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.lternet.edu'
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802596190139'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbdcf33ae70>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbdcf33a3f0>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
BASE_DIR
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set(['gmn_test_subject_trusted'])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
20170503-09:11:23: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
20170503-09:11:23: [INFO]:
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
20170503-09:11:23: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
20170503-09:11:23: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
20170503-09:11:23: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log'
MANAGERS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.lternet.edu/mn'
NODE_CONTACT_SUBJECT
'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.'
NODE_IDENTIFIER
'urn:node:mnTestLTER'
NODE_NAME
'Stage test for PASTA-GMN'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestLTER,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'23'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
False
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
True
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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)
20170503-09:11:23: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
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)
... 37 more
20170503-09:11:23: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:23: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_201712321123606 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:23: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_201712321123606
1
testUpdateSystemMetadata_MutableAuthMN_201712321123606
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:11:23.616+00:00
2017-05-03T09:11:23.616+00:00
urn:node:mnTestNEON
urn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:24: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_201712321123606; FilePart:object = /tmp/mmp.output.8713889714318031242.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3143344559593494686.tmp (1100 bytes); [org.dataone.client.rest.RestClient]
20170503-09:11:24: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:428)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:412)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataIT.java:80)
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.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)
... 37 more
20170503-09:11:24: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:24: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:24: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:24: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:24: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:24: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:11:24: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:24: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171232112488 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:24: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171232112488
1
testUpdateSystemMetadata_MutableAuthMN_20171232112488
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:11:24.097+00:00
2017-05-03T09:11:24.097+00:00
urn:node:mnTestARCTIC
urn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:25: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171232112488; FilePart:object = /tmp/mmp.output.5530121659664658877.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6222250921125926952.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170503-09:11:25: [INFO]: object created. pid = testUpdateSystemMetadata_MutableAuthMN_20171232112488 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:25: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:11:26: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAuthMN_20171232112488 [org.dataone.client.rest.RestClient]
20170503-09:11:26: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:11:27: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171232112488; FilePart:sysmeta = /tmp/mmp.output.5506588930708900379.tmp (1128 bytes); [org.dataone.client.rest.RestClient]
20170503-09:11:38: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAuthMN_20171232112488 [org.dataone.client.rest.RestClient]
20170503-09:11:38: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:38: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:38: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:38: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:38: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:38: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:11:38: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:38: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_201712321138532 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:38: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_201712321138532
1
testUpdateSystemMetadata_MutableAuthMN_201712321138532
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:11:38.546+00:00
2017-05-03T09:11:38.546+00:00
urn:node:mnTestCLOEBIRD
urn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:38: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_201712321138532; FilePart:object = /tmp/mmp.output.1603155142189883407.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2521593796708319407.tmp (1108 bytes); [org.dataone.client.rest.RestClient]
20170503-09:11:38: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:428)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:412)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataIT.java:80)
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.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)
... 37 more
20170503-09:11:38: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:38: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:38: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:38: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:38: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:38: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:11:38: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:38: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_201712321138978 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:38: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_201712321138978
1
testUpdateSystemMetadata_MutableAuthMN_201712321138978
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:11:38.988+00:00
2017-05-03T09:11:38.988+00:00
urn:node:mnTestRW
urn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:39: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_201712321138978; FilePart:object = /tmp/mmp.output.8458139984056937436.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4238518624947374159.tmp (1096 bytes); [org.dataone.client.rest.RestClient]
20170503-09:11:39: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:428)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:412)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataIT.java:80)
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.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
500 Internal server error
Please notify the administrator.
Home
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)
... 37 more
20170503-09:11:39: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:39: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:39: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:39: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:39: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:39: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:11:39: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:39: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_201712321139370 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:39: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_201712321139370
1
testUpdateSystemMetadata_MutableAuthMN_201712321139370
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:11:39.379+00:00
2017-05-03T09:11:39.379+00:00
urn:node:mnTestEDI
urn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:39: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_201712321139370; FilePart:object = /tmp/mmp.output.4565618351967938989.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2315823080571796618.tmp (1098 bytes); [org.dataone.client.rest.RestClient]
20170503-09:11:39: [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]"
"
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7efc78b28c10>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7efc72a7f6e0>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=dispatch_object_list, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(
view_func.func_name, request.method, view_args, view_kwargs, request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
view_args
()
view_func
<function dispatch_object_list at 0x7efc72a7f6e0>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = app.middleware.session_cert.get_subjects(
request ...
)
jwt_subject_list = app.middleware.session_jwt.validate_jwt_and_get_subject_list(
request
)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.edirepository.org/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.12
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
51. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
73. request
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
69. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableAuthMN_201712321139370'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.2315823080571796618.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.4565618351967938989.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18956'
CONTENT_TYPE
'multipart/form-data; boundary=lAosJwe_VRaCio4v_VEoUQbRfGGIO_ONno'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.edirepository.org'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'42926'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.94'
SERVER_ADMIN
'admin@edirepository.org'
SERVER_NAME
'gmn-s.edirepository.org'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.18 (Ubuntu) Server at gmn-s.edirepository.org Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.18 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBE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0c2Vu\nY3J5cHQub3JnLzAvBggrBgEFBQcwAoYjaHR0cDovL2NlcnQuaW50LXgzLmxldHNl\nbmNyeXB0Lm9yZy8wOQYDVR0RBDIwMIIXZ21uLXMuZWRpcmVwb3NpdG9yeS5vcmeC\nFWpvZS5lZGlyZXBvc2l0b3J5Lm9yZzCB/gYDVR0gBIH2MIHzMAgGBmeBDAECATCB\n5gYLKwYBBAGC3xMBAQEwgdYwJgYIKwYBBQUHAgEWGmh0dHA6Ly9jcHMubGV0c2Vu\nY3J5cHQub3JnMIGrBggrBgEFBQcCAjCBngyBm1RoaXMgQ2VydGlmaWNhdGUgbWF5\nIG9ubHkgYmUgcmVsaWVkIHVwb24gYnkgUmVseWluZyBQYXJ0aWVzIGFuZCBvbmx5\nIGluIGFjY29yZGFuY2Ugd2l0aCB0aGUgQ2VydGlmaWNhdGUgUG9saWN5IGZvdW5k\nIGF0IGh0dHBzOi8vbGV0c2VuY3J5cHQub3JnL3JlcG9zaXRvcnkvMA0GCSqGSIb3\nDQEBCwUAA4IBAQCHlFhrmXEQ6Iybwvaz1r8Q8swry25a2WxBEqA8tX8hKYIudkiB\nKDmMxa88IsrctccF9XfcbInaOJumZioDoGih9PdCeA0Jqc/i+vi7U5Tl6aqwbcit\nOCLKfKGf/oyn1TEWT/6PvbAJPaQoe79fugfT93xjZOSt/t093aDrCeH7fVWmUbAh\nuXrTFoT4FwT0RgSwhVZTIBTi1R02WF5rFIJiy6qme8qZqcTb+3ixMj0R2dZpdtqg\nLrdfuRVFhznuHGLcOMu/mFBcc8C4sfX1BJHqqYPsyUkgXXyPUN6cuxlBB6WbS3V2\nJ9Vbdd01kKVByUusX8rMF3pfiyVge/gK8ut7\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.edirepository.org'
apache.version
(2, 4, 18)
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.daemon_connects
'1'
mod_wsgi.daemon_restarts
'0'
mod_wsgi.daemon_start
'1493802699523612'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802699523375'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493802699523094'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493802699523696'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc7297b810>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc81096d70>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set([])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log'
MANAGERS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.edirepository.org/mn'
NODE_CONTACT_SUBJECT
'UID=http://orcid.org/0000-0002-3192-7306,DC=dataone,DC=org'
NODE_DESCRIPTION
'Environmental Data Initiative Member Node'
NODE_IDENTIFIER
'urn:node:mnTestEDI'
NODE_NAME
'Environmental Data Initiative Member Node'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestEDI,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'0/3'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
True
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
False
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:428)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:412)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataIT.java:80)
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.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]"
"
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7efc78b28c10>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7efc72a7f6e0>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=dispatch_object_list, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(
view_func.func_name, request.method, view_args, view_kwargs, request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
view_args
()
view_func
<function dispatch_object_list at 0x7efc72a7f6e0>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = app.middleware.session_cert.get_subjects(
request ...
)
jwt_subject_list = app.middleware.session_jwt.validate_jwt_and_get_subject_list(
request
)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.edirepository.org/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.12
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
51. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
73. request
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
69. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableAuthMN_201712321139370'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.2315823080571796618.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.4565618351967938989.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18956'
CONTENT_TYPE
'multipart/form-data; boundary=lAosJwe_VRaCio4v_VEoUQbRfGGIO_ONno'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.edirepository.org'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'42926'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.94'
SERVER_ADMIN
'admin@edirepository.org'
20170503-09:11:39: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
SERVER_NAME
'gmn-s.edirepository.org'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.18 (Ubuntu) Server at gmn-s.edirepository.org Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.18 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ/zMSGAS2UN3OfmwImsGOJTabIJ1g\nr0Yza+M1dlg4U9w4sw2AKymWRKhwWB5kcbGwqaU799a7+p3whBsy90ymw5wnxaWd\nXrPYU237PE3t3GoDUMm5ksMotcx7zyWD7X6ULTpK0mCUcts/P5Nyz9a5MY8ONyX9\n79iEza7yY8h2WUlPUcAiWC8mNmtWKnkbDMj3J8hftPsHVvQZS/sUV3qZXY+0sTc1\nnfyI3Ki+SVq4pbfXYC67mwCHfEAQkSvDsNHp20R9d53h3DI8iXtkElz1JQKUhYeB\nIRVqcgOsBXCJ3WmabhlOPPr3TQiGGEoT2PnbJ2rzRv9L+UEOgJs10FuBAgMBAAGj\nggLJMIICxTAJBgNVHRMEAjAAMCwGCWCGSAGG+EIBDQQfFh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nDQEBCwUAA4IBAQCHlFhrmXEQ6Iybwvaz1r8Q8swry25a2WxBEqA8tX8hKYIudkiB\nKDmMxa88IsrctccF9XfcbInaOJumZioDoGih9PdCeA0Jqc/i+vi7U5Tl6aqwbcit\nOCLKfKGf/oyn1TEWT/6PvbAJPaQoe79fugfT93xjZOSt/t093aDrCeH7fVWmUbAh\nuXrTFoT4FwT0RgSwhVZTIBTi1R02WF5rFIJiy6qme8qZqcTb+3ixMj0R2dZpdtqg\nLrdfuRVFhznuHGLcOMu/mFBcc8C4sfX1BJHqqYPsyUkgXXyPUN6cuxlBB6WbS3V2\nJ9Vbdd01kKVByUusX8rMF3pfiyVge/gK8ut7\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.edirepository.org'
20170503-09:11:39: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
apache.version
(2, 4, 18)
20170503-09:11:39: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:39: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:39: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.daemon_connects
'1'
mod_wsgi.daemon_restarts
'0'
mod_wsgi.daemon_start
'1493802699523612'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802699523375'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493802699523094'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493802699523696'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc7297b810>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc81096d70>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set([])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log'
MANAGERS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.edirepository.org/mn'
NODE_CONTACT_SUBJECT
'UID=http://orcid.org/0000-0002-3192-7306,DC=dataone,DC=org'
NODE_DESCRIPTION
'Environmental Data Initiative Member Node'
NODE_IDENTIFIER
'urn:node:mnTestEDI'
NODE_NAME
'Environmental Data Initiative Member Node'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestEDI,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'0/3'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
True
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
20170503-09:11:39: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
False
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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)
... 37 more
20170503-09:11:39: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:39: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_201712321139668 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:39: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_201712321139668
1
testUpdateSystemMetadata_MutableAuthMN_201712321139668
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:11:39.677+00:00
2017-05-03T09:11:39.677+00:00
urn:node:mnTestNCEI
urn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:39: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_201712321139668; FilePart:object = /tmp/mmp.output.709766736493423671.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7582356714293013804.tmp (1100 bytes); [org.dataone.client.rest.RestClient]
20170503-09:11:39: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:428)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:412)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataIT.java:80)
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.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
500 Internal server error
Please notify the administrator.
Home
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)
... 37 more
20170503-09:11:39: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:39: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:39: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:39: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170503-09:11:39: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:39: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:40: [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]
20170503-09:11:40: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:40: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:40: [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]
20170503-09:11:40: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:40: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:11:40: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:40: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:11:40: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:40: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:41: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:11:41: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:41: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:11:42: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:42: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:11:42: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:42: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:11:42: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:42: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:11:42: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:42: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:11:43: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:43: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:11:43: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:43: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:11:43: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:43: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:43: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:43: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:43: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:43: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:43: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:11:43: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:43: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_201712321143367 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:43: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_201712321143367
1
testUpdateSystemMetadata_MutableArchived_201712321143367
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:11:43.376+00:00
2017-05-03T09:11:43.376+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:44: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableArchived_201712321143367; FilePart:object = /tmp/mmp.output.4800799073258832237.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3108502895417583596.tmp (1106 bytes); [org.dataone.client.rest.RestClient]
20170503-09:11:44: [INFO]: object created. pid = testUpdateSystemMetadata_MutableArchived_201712321143367 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:44: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:11:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableArchived_201712321143367 [org.dataone.client.rest.RestClient]
20170503-09:11:46: [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_MutableArchived_201712321143367; FilePart:sysmeta = /tmp/mmp.output.5111631812136982823.tmp (1132 bytes); [org.dataone.client.rest.RestClient]
20170503-09:11:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableArchived_201712321143367 [org.dataone.client.rest.RestClient]
20170503-09:11:56: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:56: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:56: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:56: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:56: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:56: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:11:56: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:56: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_201712321156751 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:56: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_201712321156751
1
testUpdateSystemMetadata_MutableArchived_201712321156751
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:11:56.760+00:00
2017-05-03T09:11:56.760+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:57: [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_MutableArchived_201712321156751; FilePart:object = /tmp/mmp.output.7305223648735088733.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.728892181984053339.tmp (1098 bytes); [org.dataone.client.rest.RestClient]
20170503-09:11:57: [INFO]: object created. pid = testUpdateSystemMetadata_MutableArchived_201712321156751 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:57: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:11:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableArchived_201712321156751 [org.dataone.client.rest.RestClient]
20170503-09:11:58: [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_MutableArchived_201712321156751; FilePart:sysmeta = /tmp/mmp.output.6559058571153655172.tmp (1124 bytes); [org.dataone.client.rest.RestClient]
20170503-09:11:58: [WARN]: MN.updateSystemMetadata() returned a ServiceFailure. [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:11:58: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:58: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:58: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:58: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:58: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:58: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:11:58: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:58: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_201712321158454 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:58: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_201712321158454
1
testUpdateSystemMetadata_MutableArchived_201712321158454
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:11:58.464+00:00
2017-05-03T09:11:58.464+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:58: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableArchived_201712321158454; FilePart:object = /tmp/mmp.output.5820576093972316527.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3122018779041444466.tmp (1102 bytes); [org.dataone.client.rest.RestClient]
20170503-09:11:58: [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]"
"
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7fbddeb48590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7fbddd0fe758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(view_func.func_name, request.method, view_args, view_kwargs,
request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd0fe758>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
if 'HTTP_VENDOR_INCLUDE_CERTIFICATE' in request.META:
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request) ...
jwt_subject_list = session_jwt.validate_jwt_and_get_subject_list(request)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str} | set(jwt_subject_list)
if len(jwt_subject_list) == 1:
jwt_primary_str = jwt_subject_list[0]
if jwt_primary_str != cert_primary_str:
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.lternet.edu/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.6
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
46. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
67. cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
65. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableArchived_201712321158454'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.3122018779041444466.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.5820576093972316527.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18962'
CONTENT_TYPE
'multipart/form-data; boundary=OA93z3E1oKcHblcZWm_ga9b_PtMbd2APYL'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.lternet.edu'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'41377'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.173'
SERVER_ADMIN
'webmaster@localhost'
SERVER_NAME
'gmn-s.lternet.edu'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.7 (Ubuntu) Server at gmn-s.lternet.edu Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.7 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ/zMSGAS2UN3OfmwImsGOJTabIJ1g\nr0Yza+M1dlg4U9w4sw2AKymWRKhwWB5kcbGwqaU799a7+p3whBsy90ymw5wnxaWd\nXrPYU237PE3t3GoDUMm5ksMotcx7zyWD7X6ULTpK0mCUcts/P5Nyz9a5MY8ONyX9\n79iEza7yY8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EoWRJDXL1vm0aZv/pQyDhZW15Wh5HjZIJSFbqtsb\n3wI2a4rzmjUAEwUXNfdb8Z7NPKBzMyqxXMMr6TT0F/pGc/GJSx1icNsR91P50FYN\nglU2kNul1FX5FffrIDnYT1PLmmon63zzoKgcA89H/mzb2eWN46ud6BvoaYI96+nA\nvFdhSzHKeFXzpQeKCG07BRuHqcU=\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.lternet.edu'
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802627873284'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbdcf05b570>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbdcf05b5b0>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
BASE_DIR
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set(['gmn_test_subject_trusted'])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log'
MANAGERS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.lternet.edu/mn'
NODE_CONTACT_SUBJECT
'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.'
NODE_IDENTIFIER
'urn:node:mnTestLTER'
NODE_NAME
'Stage test for PASTA-GMN'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestLTER,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'23'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
False
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
True
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:492)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:476)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataIT.java:85)
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.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]"
"
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7fbddeb48590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7fbddd0fe758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(view_func.func_name, request.method, view_args, view_kwargs,
request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd0fe758>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
if 'HTTP_VENDOR_INCLUDE_CERTIFICATE' in request.META:
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request) ...
jwt_subject_list = session_jwt.validate_jwt_and_get_subject_list(request)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str} | set(jwt_subject_list)
if len(jwt_subject_list) == 1:
jwt_primary_str = jwt_subject_list[0]
if jwt_primary_str != cert_primary_str:
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.lternet.edu/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.6
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
46. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
67. cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
65. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableArchived_201712321158454'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.3122018779041444466.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.5820576093972316527.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18962'
CONTENT_TYPE
'multipart/form-data; boundary=OA93z3E1oKcHblcZWm_ga9b_PtMbd2APYL'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.lternet.edu'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'41377'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.173'
SERVER_ADMIN
'webmaster@localhost'
SERVER_NAME
'gmn-s.lternet.edu'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.7 (Ubuntu) Server at gmn-s.lternet.edu Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.7 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUG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UHMAGGGWh0dHA6Ly9vY3NwLm5ldHNvbHNzbC5jb20wJQYDVR0R\nBB4wHIINKi5sdGVybmV0LmVkdYILbHRlcm5ldC5lZHUwDQYJKoZIhvcNAQELBQAD\nggEBAHtmSxZVSFBGRzfRuEkZmEKK0Cs2wpIg+Rr6vboVix//H4ZAlc6Mz/WF0ffu\nkrgX4cdpD1y+WcnNj8KsOoNYooZTQhIAx5DwDB+2FSlq7wDLB1kpKt8wtlVpjDA5\nk6mI0Yfs2HFm/HgxFmVblUfFEoWRJDXL1vm0aZv/pQyDhZW15Wh5HjZIJSFbqtsb\n3wI2a4rzmjUAEwUXNfdb8Z7NPKBzMyqxXMMr6TT0F/pGc/GJSx1icNsR91P50FYN\nglU2kNul1FX5FffrIDnYT1PLmmon63zzoKgcA89H/mzb2eWN46ud6BvoaYI96+nA\nvFdhSzHKeFXzpQeKCG07BRuHqcU=\n-----END CERTIFICATE-----\n'
20170503-09:11:58: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
SSL_TLS_SNI
'gmn-s.lternet.edu'
mod_wsgi.application_group
20170503-09:11:58: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
''
20170503-09:11:58: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:58: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:58: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
mod_wsgi.callable_object
'application'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802627873284'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbdcf05b570>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbdcf05b5b0>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
BASE_DIR
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set(['gmn_test_subject_trusted'])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log'
MANAGERS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
20170503-09:11:58: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.lternet.edu/mn'
NODE_CONTACT_SUBJECT
'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.'
NODE_IDENTIFIER
'urn:node:mnTestLTER'
NODE_NAME
'Stage test for PASTA-GMN'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestLTER,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'23'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
False
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
20170503-09:11:58: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
True
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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)
... 37 more
20170503-09:11:58: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_201712321158833 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:58: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_201712321158833
1
testUpdateSystemMetadata_MutableArchived_201712321158833
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:11:58.842+00:00
2017-05-03T09:11:58.842+00:00
urn:node:mnTestNEON
urn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:59: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableArchived_201712321158833; FilePart:object = /tmp/mmp.output.992497740533317943.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.895376358183692775.tmp (1102 bytes); [org.dataone.client.rest.RestClient]
20170503-09:11:59: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:492)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:476)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataIT.java:85)
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.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)
... 37 more
20170503-09:11:59: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:59: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:59: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:59: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:59: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:59: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:11:59: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:59: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_201712321159299 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:11:59: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_201712321159299
1
testUpdateSystemMetadata_MutableArchived_201712321159299
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:11:59.307+00:00
2017-05-03T09:11:59.307+00:00
urn:node:mnTestARCTIC
urn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:01: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableArchived_201712321159299; FilePart:object = /tmp/mmp.output.5701813148898236159.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7751611179235152834.tmp (1106 bytes); [org.dataone.client.rest.RestClient]
20170503-09:12:01: [INFO]: object created. pid = testUpdateSystemMetadata_MutableArchived_201712321159299 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:01: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:12:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableArchived_201712321159299 [org.dataone.client.rest.RestClient]
20170503-09:12:03: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableArchived_201712321159299; FilePart:sysmeta = /tmp/mmp.output.2031313958061733552.tmp (1132 bytes); [org.dataone.client.rest.RestClient]
20170503-09:12:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableArchived_201712321159299 [org.dataone.client.rest.RestClient]
20170503-09:12:14: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:14: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:14: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:14: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:14: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:14: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:12:14: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:14: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_201712321214374 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:14: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_201712321214374
1
testUpdateSystemMetadata_MutableArchived_201712321214374
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:12:14.384+00:00
2017-05-03T09:12:14.384+00:00
urn:node:mnTestCLOEBIRD
urn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:14: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableArchived_201712321214374; FilePart:object = /tmp/mmp.output.7869943509025791534.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.473466399947669397.tmp (1110 bytes); [org.dataone.client.rest.RestClient]
20170503-09:12:14: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:492)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:476)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataIT.java:85)
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.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)
... 37 more
20170503-09:12:14: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:14: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:14: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:14: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:14: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:14: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:12:14: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:14: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_201712321214842 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:14: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_201712321214842
1
testUpdateSystemMetadata_MutableArchived_201712321214842
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:12:14.850+00:00
2017-05-03T09:12:14.850+00:00
urn:node:mnTestRW
urn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:15: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableArchived_201712321214842; FilePart:object = /tmp/mmp.output.4887252337949598863.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5289870621107316511.tmp (1098 bytes); [org.dataone.client.rest.RestClient]
20170503-09:12:15: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:492)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:476)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataIT.java:85)
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.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
500 Internal server error
Please notify the administrator.
Home
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)
... 37 more
20170503-09:12:15: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:15: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:15: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:15: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:15: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:15: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:12:15: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:15: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_201712321215250 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:15: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_201712321215250
1
testUpdateSystemMetadata_MutableArchived_201712321215250
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:12:15.259+00:00
2017-05-03T09:12:15.259+00:00
urn:node:mnTestEDI
urn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:15: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableArchived_201712321215250; FilePart:object = /tmp/mmp.output.7996637348508397623.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.222308583880273804.tmp (1100 bytes); [org.dataone.client.rest.RestClient]
20170503-09:12:15: [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]"
"
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7efc78b28c10>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7efc72a7f6e0>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=dispatch_object_list, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(
view_func.func_name, request.method, view_args, view_kwargs, request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
view_args
()
view_func
<function dispatch_object_list at 0x7efc72a7f6e0>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = app.middleware.session_cert.get_subjects(
request ...
)
jwt_subject_list = app.middleware.session_jwt.validate_jwt_and_get_subject_list(
request
)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.edirepository.org/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.12
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
51. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
73. request
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
69. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableArchived_201712321215250'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.222308583880273804.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.7996637348508397623.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18955'
CONTENT_TYPE
'multipart/form-data; boundary=8L69XA_8VNhMyWl3LD-4jWDnflI9Fk2q8'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.edirepository.org'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'42998'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.94'
SERVER_ADMIN
'admin@edirepository.org'
SERVER_NAME
'gmn-s.edirepository.org'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.18 (Ubuntu) Server at gmn-s.edirepository.org Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.18 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ/zMSGAS2UN3OfmwImsGOJTabIJ1g\nr0Yza+M1dlg4U9w4sw2AKymWRKhwWB5kcbGwqaU799a7+p3whBsy90ymw5wnxaWd\nXrPYU237PE3t3GoDUMm5ksMotcx7zyWD7X6ULTpK0mCUcts/P5Nyz9a5MY8ONyX9\n79iEza7yY8h2WUlPUcAiWC8mNmtWKnkbDMj3J8hftPsHVvQZS/sUV3qZXY+0sTc1\nnfyI3Ki+SVq4pbfXYC67mwCHfEAQkSvDsNH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ZCBvbmx5\nIGluIGFjY29yZGFuY2Ugd2l0aCB0aGUgQ2VydGlmaWNhdGUgUG9saWN5IGZvdW5k\nIGF0IGh0dHBzOi8vbGV0c2VuY3J5cHQub3JnL3JlcG9zaXRvcnkvMA0GCSqGSIb3\nDQEBCwUAA4IBAQCHlFhrmXEQ6Iybwvaz1r8Q8swry25a2WxBEqA8tX8hKYIudkiB\nKDmMxa88IsrctccF9XfcbInaOJumZioDoGih9PdCeA0Jqc/i+vi7U5Tl6aqwbcit\nOCLKfKGf/oyn1TEWT/6PvbAJPaQoe79fugfT93xjZOSt/t093aDrCeH7fVWmUbAh\nuXrTFoT4FwT0RgSwhVZTIBTi1R02WF5rFIJiy6qme8qZqcTb+3ixMj0R2dZpdtqg\nLrdfuRVFhznuHGLcOMu/mFBcc8C4sfX1BJHqqYPsyUkgXXyPUN6cuxlBB6WbS3V2\nJ9Vbdd01kKVByUusX8rMF3pfiyVge/gK8ut7\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.edirepository.org'
apache.version
(2, 4, 18)
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.daemon_connects
'1'
mod_wsgi.daemon_restarts
'0'
mod_wsgi.daemon_start
'1493802735424820'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802735424600'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493802735424278'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493802735424903'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc72653c00>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc8fcf45f0>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set([])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log'
MANAGERS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.edirepository.org/mn'
NODE_CONTACT_SUBJECT
'UID=http://orcid.org/0000-0002-3192-7306,DC=dataone,DC=org'
NODE_DESCRIPTION
'Environmental Data Initiative Member Node'
NODE_IDENTIFIER
'urn:node:mnTestEDI'
NODE_NAME
'Environmental Data Initiative Member Node'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestEDI,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'0/3'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
True
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
False
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:492)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:476)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataIT.java:85)
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.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]"
"
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7efc78b28c10>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7efc72a7f6e0>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=dispatch_object_list, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(
view_func.func_name, request.method, view_args, view_kwargs, request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
view_args
()
view_func
<function dispatch_object_list at 0x7efc72a7f6e0>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = app.middleware.session_cert.get_subjects(
request ...
)
jwt_subject_list = app.middleware.session_jwt.validate_jwt_and_get_subject_list(
request
)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.edirepository.org/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.12
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
51. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
73. request
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
69. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableArchived_201712321215250'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.222308583880273804.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.7996637348508397623.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18955'
CONTENT_TYPE
'multipart/form-data; boundary=8L69XA_8VNhMyWl3LD-4jWDnflI9Fk2q8'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.edirepository.org'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'42998'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.94'
SERVER_ADMIN
'admin@edirepository.org'
SERVER_NAME
'gmn-s.edirepository.org'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.18 (Ubuntu) Server at gmn-s.edirepository.org Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.18 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMlo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hiNodHRwOi8vb2NzcC5pbnQteDMubGV0c2Vu\nY3J5cHQub3JnLzAvBggrBgEFBQcwAoYjaHR0cDovL2NlcnQuaW50LXgzLmxldHNl\nbmNyeXB0Lm9yZy8wOQYDVR0RBDIwMIIXZ21uLXMuZWRpcmVwb3NpdG9yeS5vcmeC\nFWpvZS5lZGlyZXBvc2l0b3J5Lm9yZzCB/gYDVR0gBIH2MIHzMAgGBmeBDAECATCB\n5gYLKwYBBAGC3xMBAQEwgdYwJgYIKwYBBQUHAgEWGmh0dHA6Ly9jcHMubGV0c2Vu\nY3J5cHQub3JnMIGrBggrBgEFBQcCAjCBngyBm1RoaXMgQ2VydGlmaWNhdGUgbWF5\nIG9ubHkgYmUgcmVsaWVkIHVwb24gYnkgUmVseWluZyBQYXJ0aWVzIGFuZCBvbmx5\nIGluIGFjY29yZGFuY2Ugd2l0aCB0aGUgQ2VydGlmaWNhdGUgUG9saWN5IGZvdW5k\nIGF0IGh0dHBzOi8vbGV0c2VuY3J5cHQub3JnL3JlcG9zaXRvcnkvMA0GCSqGSIb3\nDQEBCwUAA4IBAQCHlFhrmXEQ6Iybwvaz1r8Q8swry25a2WxBEqA8tX8hKYIudkiB\nKDmMxa88IsrctccF9XfcbInaOJumZioDoGih9PdCeA0Jqc/i+vi7U5Tl6aqwbcit\nOCLKfKGf/oyn1TEWT/6PvbAJPaQoe79fugfT93xjZOSt/t093aDrCeH7fVWmUbAh\nuXrTFoT4FwT0RgSwhVZTIBTi1R02WF5rFIJiy6qme8qZqcTb+3ixMj0R2dZpdtqg\nLrdfuRVFhznuHGLcOMu/mFBcc8C4sfX1BJHqqYPsyUkgXXyPUN6cuxlBB6WbS3V2\nJ9Vbdd01kKVByUusX8rMF3pfiyVge/gK8ut7\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.edirepository.org'
apache.version
(2, 4, 18)
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.daemon_connects
'1'
mod_wsgi.daemon_restarts
'0'
mod_wsgi.daemon_start
'1493802735424820'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802735424600'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493802735424278'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493802735424903'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc72653c00>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc8fcf45f0>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set([])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
20170503-09:12:15: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
20170503-09:12:15: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:15: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
20170503-09:12:15: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log'
MANAGERS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
20170503-09:12:15: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.edirepository.org/mn'
NODE_CONTACT_SUBJECT
'UID=http://orcid.org/0000-0002-3192-7306,DC=dataone,DC=org'
NODE_DESCRIPTION
'Environmental Data Initiative Member Node'
NODE_IDENTIFIER
'urn:node:mnTestEDI'
NODE_NAME
'Environmental Data Initiative Member Node'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestEDI,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'0/3'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
True
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
False
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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)
... 37 more
20170503-09:12:15: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:12:15: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:15: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_201712321215585 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:15: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_201712321215585
1
testUpdateSystemMetadata_MutableArchived_201712321215585
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:12:15.595+00:00
2017-05-03T09:12:15.595+00:00
urn:node:mnTestNCEI
urn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:15: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableArchived_201712321215585; FilePart:object = /tmp/mmp.output.6511962333845429981.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.360490691120049050.tmp (1102 bytes); [org.dataone.client.rest.RestClient]
20170503-09:12:15: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:492)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:476)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataIT.java:85)
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.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
500 Internal server error
Please notify the administrator.
Home
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)
... 37 more
20170503-09:12:15: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:15: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:15: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:15: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170503-09:12:15: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:15: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:16: [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]
20170503-09:12:16: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:16: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:16: [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]
20170503-09:12:16: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:16: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:16: [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]
20170503-09:12:16: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:16: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:16: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:12:16: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:16: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:18: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:12:18: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:18: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:18: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:12:18: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:18: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:18: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:12:18: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:18: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:18: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:12:18: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:18: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:19: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:12:19: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:19: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:19: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:12:19: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:19: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:19: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:12:19: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:19: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:12:20: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:20: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:20: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:20: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:20: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:20: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:20: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:12:20: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:20: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171232122034 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:20: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171232122034
1
testUpdateSystemMetadata_MutableAuthMN_20171232122034
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:12:20.043+00:00
2017-05-03T09:12:20.043+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:21: [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_MutableAuthMN_20171232122034; FilePart:object = /tmp/mmp.output.3097433231825188067.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4580823428166161467.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170503-09:12:21: [INFO]: object created. pid = testUpdateSystemMetadata_MutableAuthMN_20171232122034 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:21: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:12:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAuthMN_20171232122034 [org.dataone.client.rest.RestClient]
20170503-09:12:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:12:22: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:22: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://ncei.nceas.ucsb.edu/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171232122034; FilePart:sysmeta = /tmp/mmp.output.7595458481359091136.tmp (1130 bytes); [org.dataone.client.rest.RestClient]
20170503-09:12:22: [WARN]: MN.updateSystemMetadata() returned a ServiceFailure, was expecting an InvalidRequest or NotAuthorized. [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:12:22: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:22: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:22: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:22: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:22: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:22: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:12:22: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:22: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_201712321222969 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:22: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_201712321222969
1
testUpdateSystemMetadata_MutableAuthMN_201712321222969
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:12:22.978+00:00
2017-05-03T09:12:22.978+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:24: [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_MutableAuthMN_201712321222969; FilePart:object = /tmp/mmp.output.3642470461687728979.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.884777211401041378.tmp (1096 bytes); [org.dataone.client.rest.RestClient]
20170503-09:12:24: [INFO]: object created. pid = testUpdateSystemMetadata_MutableAuthMN_201712321222969 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:24: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:12:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAuthMN_201712321222969 [org.dataone.client.rest.RestClient]
20170503-09:12:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:12:24: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:24: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://ncei.nceas.ucsb.edu/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_201712321222969; FilePart:sysmeta = /tmp/mmp.output.3572522317222845780.tmp (1123 bytes); [org.dataone.client.rest.RestClient]
20170503-09:12:24: [WARN]: MN.updateSystemMetadata() returned a ServiceFailure, was expecting an InvalidRequest or NotAuthorized. [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:12:24: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:24: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:24: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:24: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:24: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:24: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:12:24: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:24: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_201712321224699 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:24: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_201712321224699
1
testUpdateSystemMetadata_MutableAuthMN_201712321224699
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:12:24.708+00:00
2017-05-03T09:12:24.708+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:24: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_201712321224699; FilePart:object = /tmp/mmp.output.7914215994490333240.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3023425302194375250.tmp (1100 bytes); [org.dataone.client.rest.RestClient]
20170503-09:12:24: [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]"
"
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7fbddeb48590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7fbddd0fd758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(view_func.func_name, request.method, view_args, view_kwargs,
request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd0fd758>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
if 'HTTP_VENDOR_INCLUDE_CERTIFICATE' in request.META:
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request) ...
jwt_subject_list = session_jwt.validate_jwt_and_get_subject_list(request)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str} | set(jwt_subject_list)
if len(jwt_subject_list) == 1:
jwt_primary_str = jwt_subject_list[0]
if jwt_primary_str != cert_primary_str:
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.lternet.edu/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.6
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
46. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
67. cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
65. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableAuthMN_201712321224699'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.3023425302194375250.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.7914215994490333240.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18950'
CONTENT_TYPE
'multipart/form-data; boundary=WaY-hKyHY6I-ouIvAxbgpkVxmI_c_Y2G'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.lternet.edu'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'41438'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.173'
SERVER_ADMIN
'webmaster@localhost'
SERVER_NAME
'gmn-s.lternet.edu'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.7 (Ubuntu) Server at gmn-s.lternet.edu Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.7 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ/zMSGAS2UN3OfmwImsGOJTabIJ1g\nr0Yza+M1dlg4U9w4sw2AKymWRKhwWB5kcbGwqaU799a7+p3whBsy90ymw5wnxaWd\nXrPYU237PE3t3GoDUMm5ksMotcx7zyWD7X6ULTpK0mCUcts/P5Nyz9a5MY8ONyX9\n79iEza7yY8h2WUlPUcAiWC8mNmtWKnkbDMj3J8hftPsHVvQZS/sUV3qZXY+0sT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jUAEwUXNfdb8Z7NPKBzMyqxXMMr6TT0F/pGc/GJSx1icNsR91P50FYN\nglU2kNul1FX5FffrIDnYT1PLmmon63zzoKgcA89H/mzb2eWN46ud6BvoaYI96+nA\nvFdhSzHKeFXzpQeKCG07BRuHqcU=\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.lternet.edu'
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802651319069'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbddc763cf0>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbddc5a0b70>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
BASE_DIR
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set(['gmn_test_subject_trusted'])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log'
MANAGERS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.lternet.edu/mn'
NODE_CONTACT_SUBJECT
'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.'
NODE_IDENTIFIER
'urn:node:mnTestLTER'
NODE_NAME
'Stage test for PASTA-GMN'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestLTER,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'23'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
False
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
True
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:545)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:529)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataIT.java:90)
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.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]"
"
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7fbddeb48590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7fbddd0fd758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(view_func.func_name, request.method, view_args, view_kwargs,
request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd0fd758>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
if 'HTTP_VENDOR_INCLUDE_CERTIFICATE' in request.META:
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request) ...
jwt_subject_list = session_jwt.validate_jwt_and_get_subject_list(request)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str} | set(jwt_subject_list)
if len(jwt_subject_list) == 1:
jwt_primary_str = jwt_subject_list[0]
if jwt_primary_str != cert_primary_str:
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.lternet.edu/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.6
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
46. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
67. cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
65. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableAuthMN_201712321224699'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.3023425302194375250.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.7914215994490333240.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18950'
CONTENT_TYPE
'multipart/form-data; boundary=WaY-hKyHY6I-ouIvAxbgpkVxmI_c_Y2G'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.lternet.edu'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'41438'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.173'
SERVER_ADMIN
'webmaster@localhost'
SERVER_NAME
'gmn-s.lternet.edu'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.7 (Ubuntu) Server at gmn-s.lternet.edu Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.7 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmU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ldHNvbHNzbC5jb20wJQYDVR0R\nBB4wHIINKi5sdGVybmV0LmVkdYILbHRlcm5ldC5lZHUwDQYJKoZIhvcNAQELBQAD\nggEBAHtmSxZVSFBGRzfRuEkZmEKK0Cs2wpIg+Rr6vboVix//H4ZAlc6Mz/WF0ffu\nkrgX4cdpD1y+WcnNj8KsOoNYooZTQhIAx5DwDB+2FSlq7wDLB1kpKt8wtlVpjDA5\nk6mI0Yfs2HFm/HgxFmVblUfFEoWRJDXL1vm0aZv/pQyDhZW15Wh5HjZIJSFbqtsb\n3wI2a4rzmjUAEwUXNfdb8Z7NPKBzMyqxXMMr6TT0F/pGc/GJSx1icNsR91P50FYN\nglU2kNul1FX5FffrIDnYT1PLmmon63zzoKgcA89H/mzb2eWN46ud6BvoaYI96+nA\nvFdhSzHKeFXzpQeKCG07BRuHqcU=\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.lternet.edu'
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802651319069'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbddc763cf0>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbddc5a0b70>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
BASE_DIR
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set(['gmn_test_subject_trusted'])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
20170503-09:12:24: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log'
MANAGERS
(('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com'))
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.lternet.edu/mn'
NODE_CONTACT_SUBJECT
'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.'
NODE_IDENTIFIER
'urn:node:mnTestLTER'
NODE_NAME
'Stage test for PASTA-GMN'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestLTER,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'23'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
False
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
True
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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)
... 37 more
20170503-09:12:24: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:24: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:24: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:24: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:24: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:12:24: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:24: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_201712321224904 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:24: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_201712321224904
1
testUpdateSystemMetadata_MutableAuthMN_201712321224904
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:12:24.928+00:00
2017-05-03T09:12:24.928+00:00
urn:node:mnTestNEON
urn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:25: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_201712321224904; FilePart:object = /tmp/mmp.output.10224107355341804.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4460021101279587041.tmp (1100 bytes); [org.dataone.client.rest.RestClient]
20170503-09:12:25: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:545)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:529)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataIT.java:90)
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.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)
... 37 more
20170503-09:12:25: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:25: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:25: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:25: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:25: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:25: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:12:25: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:25: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_201712321225223 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:25: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_201712321225223
1
testUpdateSystemMetadata_MutableAuthMN_201712321225223
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:12:25.232+00:00
2017-05-03T09:12:25.232+00:00
urn:node:mnTestARCTIC
urn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:26: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_201712321225223; FilePart:object = /tmp/mmp.output.2276602040762386695.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1647935457932792225.tmp (1104 bytes); [org.dataone.client.rest.RestClient]
20170503-09:12:26: [INFO]: object created. pid = testUpdateSystemMetadata_MutableAuthMN_201712321225223 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:26: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:12:27: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAuthMN_201712321225223 [org.dataone.client.rest.RestClient]
20170503-09:12:27: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:12:27: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://ncei.nceas.ucsb.edu/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_201712321225223; FilePart:sysmeta = /tmp/mmp.output.7088823156889445009.tmp (1131 bytes); [org.dataone.client.rest.RestClient]
20170503-09:12:28: [WARN]: MN.updateSystemMetadata() returned a ServiceFailure, was expecting an InvalidRequest or NotAuthorized. [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:12:28: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:12:28: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171232122820 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171232122820
1
testUpdateSystemMetadata_MutableAuthMN_20171232122820
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:12:28.029+00:00
2017-05-03T09:12:28.029+00:00
urn:node:mnTestCLOEBIRD
urn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171232122820; FilePart:object = /tmp/mmp.output.2881052249354856711.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8576126033565698893.tmp (1107 bytes); [org.dataone.client.rest.RestClient]
20170503-09:12:28: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:545)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:529)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataIT.java:90)
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.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)
... 37 more
20170503-09:12:28: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:12:28: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_201712321228355 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_201712321228355
1
testUpdateSystemMetadata_MutableAuthMN_201712321228355
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:12:28.363+00:00
2017-05-03T09:12:28.363+00:00
urn:node:mnTestRW
urn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_201712321228355; FilePart:object = /tmp/mmp.output.26085019432501465.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7394069747109424509.tmp (1096 bytes); [org.dataone.client.rest.RestClient]
20170503-09:12:28: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:545)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:529)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataIT.java:90)
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.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
500 Internal server error
Please notify the administrator.
Home
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)
... 37 more
20170503-09:12:28: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:12:28: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_201712321228583 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_201712321228583
1
testUpdateSystemMetadata_MutableAuthMN_201712321228583
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:12:28.591+00:00
2017-05-03T09:12:28.591+00:00
urn:node:mnTestEDI
urn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_201712321228583; FilePart:object = /tmp/mmp.output.2632047781610889581.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2220517880010615429.tmp (1098 bytes); [org.dataone.client.rest.RestClient]
20170503-09:12:28: [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]"
"
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7efc78b28c10>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7efc72a7f6e0>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=dispatch_object_list, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(
view_func.func_name, request.method, view_args, view_kwargs, request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
view_args
()
view_func
<function dispatch_object_list at 0x7efc72a7f6e0>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = app.middleware.session_cert.get_subjects(
request ...
)
jwt_subject_list = app.middleware.session_jwt.validate_jwt_and_get_subject_list(
request
)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.edirepository.org/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.12
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
51. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
73. request
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
69. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableAuthMN_201712321228583'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.2220517880010615429.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.2632047781610889581.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18948'
CONTENT_TYPE
'multipart/form-data; boundary=n5QeaZEksGNi__27LM9kKluLLVn4s6A5'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.edirepository.org'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'43028'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.94'
SERVER_ADMIN
'admin@edirepository.org'
SERVER_NAME
'gmn-s.edirepository.org'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.18 (Ubuntu) Server at gmn-s.edirepository.org Port 443</address>\n'
SERVER_SOFTWARE
'Apache/2.4.18 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ/zMSGAS2UN3OfmwImsG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c2l0b3J5Lm9yZzCB/gYDVR0gBIH2MIHzMAgGBmeBDAECATCB\n5gYLKwYBBAGC3xMBAQEwgdYwJgYIKwYBBQUHAgEWGmh0dHA6Ly9jcHMubGV0c2Vu\nY3J5cHQub3JnMIGrBggrBgEFBQcCAjCBngyBm1RoaXMgQ2VydGlmaWNhdGUgbWF5\nIG9ubHkgYmUgcmVsaWVkIHVwb24gYnkgUmVseWluZyBQYXJ0aWVzIGFuZCBvbmx5\nIGluIGFjY29yZGFuY2Ugd2l0aCB0aGUgQ2VydGlmaWNhdGUgUG9saWN5IGZvdW5k\nIGF0IGh0dHBzOi8vbGV0c2VuY3J5cHQub3JnL3JlcG9zaXRvcnkvMA0GCSqGSIb3\nDQEBCwUAA4IBAQCHlFhrmXEQ6Iybwvaz1r8Q8swry25a2WxBEqA8tX8hKYIudkiB\nKDmMxa88IsrctccF9XfcbInaOJumZioDoGih9PdCeA0Jqc/i+vi7U5Tl6aqwbcit\nOCLKfKGf/oyn1TEWT/6PvbAJPaQoe79fugfT93xjZOSt/t093aDrCeH7fVWmUbAh\nuXrTFoT4FwT0RgSwhVZTIBTi1R02WF5rFIJiy6qme8qZqcTb+3ixMj0R2dZpdtqg\nLrdfuRVFhznuHGLcOMu/mFBcc8C4sfX1BJHqqYPsyUkgXXyPUN6cuxlBB6WbS3V2\nJ9Vbdd01kKVByUusX8rMF3pfiyVge/gK8ut7\n-----END CERTIFICATE-----\n'
SSL_TLS_SNI
'gmn-s.edirepository.org'
apache.version
(2, 4, 18)
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.daemon_connects
'1'
mod_wsgi.daemon_restarts
'0'
mod_wsgi.daemon_start
'1493802748613893'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802748613758'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493802748613529'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493802748613926'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc785c7bb8>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc72578a30>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set([])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log'
MANAGERS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.edirepository.org/mn'
NODE_CONTACT_SUBJECT
'UID=http://orcid.org/0000-0002-3192-7306,DC=dataone,DC=org'
NODE_DESCRIPTION
'Environmental Data Initiative Member Node'
NODE_IDENTIFIER
'urn:node:mnTestEDI'
NODE_NAME
'Environmental Data Initiative Member Node'
NODE_REPLICATE
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestEDI,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'0/3'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
True
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
False
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:545)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:529)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataIT.java:90)
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.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]"
"
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request) ...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable
Value
exc
InvalidToken()
get_response
<bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request) ...
return response
Variable
Value
middleware_method
<bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7efc78b28c10>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable
Value
callback
<function dispatch_object_list at 0x7efc72a7f6e0>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
resolver
<RegexURLResolver 'app.urls' (None:None) ^/>
resolver_match
ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=dispatch_object_list, app_names=[], namespaces=[])
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7efc81096950>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(
view_func.func_name, request.method, view_args, view_kwargs, request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request) ...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
view_args
()
view_func
<function dispatch_object_list at 0x7efc72a7f6e0>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = app.middleware.session_cert.get_subjects(
request ...
)
jwt_subject_list = app.middleware.session_jwt.validate_jwt_and_get_subject_list(
request
)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str
Variable
Value
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e)) ...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable
Value
e
InvalidToken()
request
<D1WSGIRequest: POST '/mn/v2/object'>
Environment:
Request Method: POST
Request URL: https://gmn-s.edirepository.org/mn/v2/object
Django Version: 1.10.1
Python Version: 2.7.12
Installed Applications:
['django.contrib.staticfiles', 'app']
Installed Middleware:
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
Traceback:
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
39. response = get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _legacy_get_response
249. response = self._get_response(request)
File "/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
178. response = middleware_method(request, callback, callback_args, callback_kwargs)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_view
51. self.process_session(request)
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py" in process_session
73. request
File "/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py" in get_subjects
69. u'Error extracting session from certificate. error="{}"'.format(str(e))
Exception Type: InvalidToken at /v2/object
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]"
"
Request information
GET
No GET data
POST
Variable
Value
pid
u'testUpdateSystemMetadata_MutableAuthMN_201712321228583'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.2220517880010615429.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.2632047781610889581.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18948'
CONTENT_TYPE
'multipart/form-data; boundary=n5QeaZEksGNi__27LM9kKluLLVn4s6A5'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_ENCODING
'gzip,deflate'
HTTP_CONNECTION
'Keep-Alive'
HTTP_HOST
'gmn-s.edirepository.org'
HTTP_USER_AGENT
'Apache-HttpClient/4.3.6 (java 1.5)'
HTTP_VIA
'1.1 localhost (Apache-HttpClient/4.3.6 (cache))'
PATH_INFO
u'/v2/object'
PATH_TRANSLATED
'/var/www/v2/object'
QUERY_STRING
''
REMOTE_ADDR
'64.106.40.19'
REMOTE_PORT
'43028'
REQUEST_METHOD
'POST'
REQUEST_SCHEME
'https'
REQUEST_URI
'/mn/v2/object'
SCRIPT_FILENAME
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py'
SCRIPT_NAME
u'/mn'
SERVER_ADDR
'129.24.124.94'
SERVER_ADMIN
'admin@edirepository.org'
SERVER_NAME
'gmn-s.edirepository.org'
SERVER_PORT
'443'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
'<address>Apache/2.4.18 (Ubuntu) Server at gmn-s.edirepository.org Port 443</address>\n'
SERVER_S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y6qme8qZqcTb+3ixMj0R2dZpdtqg\nLrdfuRVFhznuHGLcOMu/mFBcc8C4sfX1BJHqqYPsyUkgXXyPUN6cuxlBB6WbS3V2\nJ9Vbdd01kKVByUusX8rMF3pfiyVge/gK8ut7\n-----END CERTIFICATE-----\n'
20170503-09:12:28: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
SSL_TLS_SNI
'gmn-s.edirepository.org'
20170503-09:12:28: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
apache.version
20170503-09:12:28: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
(2, 4, 18)
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.daemon_connects
'1'
mod_wsgi.daemon_restarts
'0'
mod_wsgi.daemon_start
'1493802748613893'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493802748613758'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493802748613529'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493802748613926'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc785c7bb8>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc72578a30>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
ALLOWED_HOSTS
['localhost', '127.0.0.1']
ALLOW_INTEGRATION_TESTS
False
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
[u'django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
u'auth.User'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'TIMEOUT': 3600}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
CLIENT_CERT_PATH
'/var/local/dataone/certs/client/client_cert.pem'
CLIENT_CERT_PRIVATE_KEY_PATH
u'********************'
CSRF_COOKIE_AGE
31449600
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
CSRF_FAILURE_VIEW
u'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME
u'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS
[]
DATABASES
{'default': {'ATOMIC_REQUESTS': True,
'AUTOCOMMIT': True,
'CONN_MAX_AGE': 0,
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': '',
'NAME': 'gmn2',
'OPTIONS': {},
'PASSWORD': u'********************',
'PORT': '',
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': ''}}
DATABASE_ROUTERS
[]
DATAONE_ROOT
'https://cn-stage.test.dataone.org/cn'
DATAONE_TRUSTED_SUBJECTS
set([])
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
u'N j, Y, P'
DATETIME_INPUT_FORMATS
[u'%Y-%m-%d %H:%M:%S',
u'%Y-%m-%d %H:%M:%S.%f',
u'%Y-%m-%d %H:%M',
u'%Y-%m-%d',
u'%m/%d/%Y %H:%M:%S',
u'%m/%d/%Y %H:%M:%S.%f',
u'%m/%d/%Y %H:%M',
u'%m/%d/%Y',
u'%m/%d/%y %H:%M:%S',
u'%m/%d/%y %H:%M:%S.%f',
u'%m/%d/%y %H:%M',
u'%m/%d/%y']
DATE_FORMAT
u'N j, Y'
DATE_INPUT_FORMATS
[u'%Y-%m-%d',
u'%m/%d/%Y',
u'%m/%d/%y',
u'%b %d %Y',
u'%b %d, %Y',
u'%d %b %Y',
u'%d %b, %Y',
u'%B %d %Y',
u'%B %d, %Y',
u'%d %B %Y',
u'%d %B, %Y']
DEBUG
True
DEBUG_GMN
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_PYCHARM
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
u'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_TABLESPACE
u''
DISALLOWED_USER_AGENTS
[]
ECHO_REQUEST_OBJECT
False
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
u'localhost'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
u'********************'
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_TIMEOUT
None
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
[u'django.core.files.uploadhandler.MemoryFileUploadHandler',
u'django.core.files.uploadhandler.TemporaryFileUploadHandler']
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_TEMP_DIR
None
FIRST_DAY_OF_WEEK
0
FIXTURE_DIRS
[]
FORCE_SCRIPT_NAME
None
FORMAT_MODULE_PATH
None
IGNORABLE_404_URLS
[]
INSTALLED_APPS
['django.contrib.staticfiles', 'app']
INTERNAL_IPS
[]
LANGUAGES
[(u'af', u'Afrikaans'),
(u'ar', u'Arabic'),
(u'ast', u'Asturian'),
(u'az', u'Azerbaijani'),
(u'bg', u'Bulgarian'),
(u'be', u'Belarusian'),
(u'bn', u'Bengali'),
(u'br', u'Breton'),
(u'bs', u'Bosnian'),
(u'ca', u'Catalan'),
(u'cs', u'Czech'),
(u'cy', u'Welsh'),
(u'da', u'Danish'),
20170503-09:12:28: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
(u'de', u'German'),
(u'dsb', u'Lower Sorbian'),
(u'el', u'Greek'),
(u'en', u'English'),
(u'en-au', u'Australian English'),
(u'en-gb', u'British English'),
(u'eo', u'Esperanto'),
(u'es', u'Spanish'),
(u'es-ar', u'Argentinian Spanish'),
(u'es-co', u'Colombian Spanish'),
(u'es-mx', u'Mexican Spanish'),
(u'es-ni', u'Nicaraguan Spanish'),
(u'es-ve', u'Venezuelan Spanish'),
(u'et', u'Estonian'),
(u'eu', u'Basque'),
(u'fa', u'Persian'),
(u'fi', u'Finnish'),
(u'fr', u'French'),
(u'fy', u'Frisian'),
(u'ga', u'Irish'),
(u'gd', u'Scottish Gaelic'),
(u'gl', u'Galician'),
(u'he', u'Hebrew'),
(u'hi', u'Hindi'),
(u'hr', u'Croatian'),
(u'hsb', u'Upper Sorbian'),
(u'hu', u'Hungarian'),
(u'ia', u'Interlingua'),
(u'id', u'Indonesian'),
(u'io', u'Ido'),
(u'is', u'Icelandic'),
(u'it', u'Italian'),
(u'ja', u'Japanese'),
(u'ka', u'Georgian'),
(u'kk', u'Kazakh'),
(u'km', u'Khmer'),
(u'kn', u'Kannada'),
(u'ko', u'Korean'),
(u'lb', u'Luxembourgish'),
(u'lt', u'Lithuanian'),
(u'lv', u'Latvian'),
(u'mk', u'Macedonian'),
(u'ml', u'Malayalam'),
(u'mn', u'Mongolian'),
(u'mr', u'Marathi'),
(u'my', u'Burmese'),
(u'nb', u'Norwegian Bokm\xe5l'),
(u'ne', u'Nepali'),
(u'nl', u'Dutch'),
(u'nn', u'Norwegian Nynorsk'),
(u'os', u'Ossetic'),
(u'pa', u'Punjabi'),
(u'pl', u'Polish'),
(u'pt', u'Portuguese'),
(u'pt-br', u'Brazilian Portuguese'),
(u'ro', u'Romanian'),
(u'ru', u'Russian'),
(u'sk', u'Slovak'),
(u'sl', u'Slovenian'),
(u'sq', u'Albanian'),
(u'sr', u'Serbian'),
(u'sr-latn', u'Serbian Latin'),
(u'sv', u'Swedish'),
(u'sw', u'Swahili'),
(u'ta', u'Tamil'),
(u'te', u'Telugu'),
(u'th', u'Thai'),
(u'tr', u'Turkish'),
(u'tt', u'Tatar'),
(u'udm', u'Udmurt'),
(u'uk', u'Ukrainian'),
(u'ur', u'Urdu'),
(u'vi', u'Vietnamese'),
(u'zh-hans', u'Simplified Chinese'),
(u'zh-hant', u'Traditional Chinese')]
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S',
'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}},
'handlers': {'file': {'class': 'logging.FileHandler',
'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log',
'formatter': 'verbose',
'level': 'DEBUG'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}},
'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True},
'django': {'handlers': ['file'],
'level': 'DEBUG',
'propagate': False},
'django.db.backends': {'handlers': ['null'],
'level': 'WARNING',
'propagate': False}},
'version': 1}
LOGGING_CONFIG
u'logging.config.dictConfig'
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_REDIRECT_URL
None
LOG_LEVEL
'DEBUG'
LOG_PATH
'/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log'
MANAGERS
(('Mark Servilla', 'mark.servilla@gmail.com'),)
MAX_XML_DOCUMENT_SIZE
10485760
MEDIA_ROOT
u''
MEDIA_URL
''
MESSAGE_STORAGE
u'django.contrib.messages.storage.fallback.FallbackStorage'
MIDDLEWARE
None
MIDDLEWARE_CLASSES
('app.middleware.request_handler.RequestHandler',
'app.middleware.exception_handler.ExceptionHandler',
'app.middleware.response_handler.ResponseHandler',
'app.middleware.profiling_handler.ProfilingHandler',
'app.middleware.view_handler.ViewHandler',
'app.middleware.startup_handler.StartupHandler')
MIGRATION_MODULES
{}
MONITOR
True
MONTH_DAY_FORMAT
u'F j'
NODE_BASEURL
'https://gmn-s.edirepository.org/mn'
NODE_CONTACT_SUBJECT
'UID=http://orcid.org/0000-0002-3192-7306,DC=dataone,DC=org'
NODE_DESCRIPTION
'Environmental Data Initiative Member Node'
NODE_IDENTIFIER
'urn:node:mnTestEDI'
NODE_NAME
'Environmental Data Initiative Member Node'
NODE_REPLICATE
20170503-09:12:28: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
False
NODE_STATE
'up'
NODE_SUBJECT
'CN=urn:node:mnTestEDI,DC=dataone,DC=org'
NODE_SYNCHRONIZE
True
NODE_SYNC_SCHEDULE_HOUR
'*'
NODE_SYNC_SCHEDULE_MINUTE
'0/3'
NODE_SYNC_SCHEDULE_MONTH
'*'
NODE_SYNC_SCHEDULE_MONTHDAY
'*'
NODE_SYNC_SCHEDULE_SECOND
'0'
NODE_SYNC_SCHEDULE_WEEKDAY
'?'
NODE_SYNC_SCHEDULE_YEAR
'*'
NUMBER_GROUPING
0
NUM_CHUNK_BYTES
1048576
OBJECT_STORE_PATH
'/var/local/dataone/gmn_object_store'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PREPEND_WWW
False
PROXY_MODE_BASIC_AUTH_ENABLED
False
PROXY_MODE_BASIC_AUTH_PASSWORD
u'********************'
PROXY_MODE_BASIC_AUTH_USERNAME
''
PROXY_MODE_STREAM_TIMEOUT
30
PUBLIC_LOG_RECORDS
True
PUBLIC_OBJECT_LIST
True
PYCHARM_BIN
'pycharm.sh'
REPLICATION_ALLOWEDNODE
()
REPLICATION_ALLOWEDOBJECTFORMAT
()
REPLICATION_MAXOBJECTSIZE
-1
REPLICATION_MAX_ATTEMPTS
24
REPLICATION_SPACEALLOCATED
10737418240
REQUIRE_WHITELIST_FOR_UPDATE
True
ROOT_URLCONF
'app.urls'
SECRET_KEY
u'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SESSION_CACHE_ALIAS
u'default'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_HTTPONLY
True
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_PATH
u'/'
SESSION_COOKIE_SECURE
True
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SESSION_SERIALIZER
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'settings'
SHORT_DATETIME_FORMAT
u'm/d/Y P'
SHORT_DATE_FORMAT
u'm/d/Y'
SIGNING_BACKEND
u'django.core.signing.TimestampSigner'
SILENCED_SYSTEM_CHECKS
[]
STAND_ALONE
False
STATICFILES_DIRS
[]
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
None
STATIC_URL
'/static/'
SYSMETA_REFRESH_MAX_ATTEMPTS
24
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././app/templates'],
'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
False
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
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)
... 37 more
20170503-09:12:28: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_201712321228755 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_201712321228755
1
testUpdateSystemMetadata_MutableAuthMN_201712321228755
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:12:28.763+00:00
2017-05-03T09:12:28.763+00:00
urn:node:mnTestNCEI
urn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_201712321228755; FilePart:object = /tmp/mmp.output.8698797050236716102.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7563093862131587213.tmp (1100 bytes); [org.dataone.client.rest.RestClient]
20170503-09:12:28: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
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.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:545)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:529)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataIT.java:90)
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.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
500 Internal server error
Please notify the administrator.
Home
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)
... 37 more
20170503-09:12:28: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170503-09:12:28: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:28: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:29: [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]
20170503-09:12:29: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:29: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:29: [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]
20170503-09:12:29: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:29: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:29: [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]
20170503-09:12:29: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:29: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:29: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:12:29: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:29: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:30: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:12:30: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:30: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:30: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:12:30: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:30: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:31: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:12:31: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:31: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:31: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:12:31: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:31: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:31: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:12:31: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:31: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:31: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:12:31: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:31: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:31: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:12:31: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:31: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:31: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:12:31: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:31: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:31: [INFO]:
***************** running test for testUpdateSystemMetadata_ObsoletesFail(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:31: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:31: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:31: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:31: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:12:31: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:31: [INFO]: creating a test object. pid = testUpdateSystemMetadata_ObsoletesFail_201712321231852 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:31: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_ObsoletesFail_201712321231852
1
testUpdateSystemMetadata_ObsoletesFail_201712321231852
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:12:31.865+00:00
2017-05-03T09:12:31.865+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:32: [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_ObsoletesFail_201712321231852; FilePart:object = /tmp/mmp.output.8175760715114428414.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1213639445824536097.tmp (1104 bytes); [org.dataone.client.rest.RestClient]
20170503-09:12:32: [INFO]: object created. pid = testUpdateSystemMetadata_ObsoletesFail_201712321231852 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:32: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:12:45: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/object/testUpdateSystemMetadata_ObsoletesFail_201712321231852; MMP message has: ParamPart:newPid = testUpdateSystemMetadata_ObsoletesFail_201712321231854; FilePart:object = /tmp/mmp.output.8476845144230683830.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4804080674964116608.tmp (841 bytes); [org.dataone.client.rest.RestClient]
20170503-09:12:45: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:45: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:45: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:12:45: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:45: [INFO]: creating a test object. pid = testUpdateSystemMetadata_ObsoletesFail_201712321231855 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:45: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_ObsoletesFail_201712321231855
1
testUpdateSystemMetadata_ObsoletesFail_201712321231855
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:12:45.176+00:00
2017-05-03T09:12:45.176+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:46: [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_ObsoletesFail_201712321231855; FilePart:object = /tmp/mmp.output.3619395164706869379.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.902961677602650874.tmp (1104 bytes); [org.dataone.client.rest.RestClient]
20170503-09:12:46: [INFO]: object created. pid = testUpdateSystemMetadata_ObsoletesFail_201712321231855 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:46: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:12:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_ObsoletesFail_201712321231854 [org.dataone.client.rest.RestClient]
20170503-09:12:57: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_ObsoletesFail_201712321231854; FilePart:sysmeta = /tmp/mmp.output.1698650803998657123.tmp (987 bytes); [org.dataone.client.rest.RestClient]
20170503-09:12:57: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:57: [INFO]:
***************** running test for testUpdateSystemMetadata_ObsoletesFail(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:57: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:57: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:57: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:57: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:12:57: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:57: [INFO]: creating a test object. pid = testUpdateSystemMetadata_ObsoletesFail_201712321257806 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:57: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_ObsoletesFail_201712321257806
1
testUpdateSystemMetadata_ObsoletesFail_201712321257806
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:12:57.820+00:00
2017-05-03T09:12:57.820+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:58: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_ObsoletesFail_201712321257806; FilePart:object = /tmp/mmp.output.981716295877978317.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3002027899047305547.tmp (1096 bytes); [org.dataone.client.rest.RestClient]
20170503-09:12:58: [INFO]: object created. pid = testUpdateSystemMetadata_ObsoletesFail_201712321257806 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:12:58: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:13:10: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/object/testUpdateSystemMetadata_ObsoletesFail_201712321257806; MMP message has: ParamPart:newPid = testUpdateSystemMetadata_ObsoletesFail_201712321257808; FilePart:object = /tmp/mmp.output.857742969878167492.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4106476230778485906.tmp (837 bytes); [org.dataone.client.rest.RestClient]
20170503-09:13:10: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:10: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:10: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:13:10: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:10: [INFO]: creating a test object. pid = testUpdateSystemMetadata_ObsoletesFail_201712321257809 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:10: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_ObsoletesFail_201712321257809
1
testUpdateSystemMetadata_ObsoletesFail_201712321257809
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:13:10.177+00:00
2017-05-03T09:13:10.177+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:11: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_ObsoletesFail_201712321257809; FilePart:object = /tmp/mmp.output.4053075568126389766.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.668912784568699711.tmp (1096 bytes); [org.dataone.client.rest.RestClient]
20170503-09:13:11: [INFO]: object created. pid = testUpdateSystemMetadata_ObsoletesFail_201712321257809 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:11: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:13:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_ObsoletesFail_201712321257808 [org.dataone.client.rest.RestClient]
20170503-09:13:21: [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_ObsoletesFail_201712321257808; FilePart:sysmeta = /tmp/mmp.output.7824310256232950664.tmp (979 bytes); [org.dataone.client.rest.RestClient]
20170503-09:13:21: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:21: [INFO]:
***************** running test for testUpdateSystemMetadata_ObsoletesFail(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:21: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:21: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:21: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:21: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:13:21: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:21: [INFO]: creating a test object. pid = testUpdateSystemMetadata_ObsoletesFail_201712321321639 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:21: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_ObsoletesFail_201712321321639
1
testUpdateSystemMetadata_ObsoletesFail_201712321321639
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:13:21.652+00:00
2017-05-03T09:13:21.652+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:22: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_ObsoletesFail_201712321321639; FilePart:object = /tmp/mmp.output.2763704875287578155.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3120991733086722350.tmp (1100 bytes); [org.dataone.client.rest.RestClient]
20170503-09:13:22: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:13:22: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:22: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:22: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:22: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170503-09:13:22: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:22: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13: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]
20170503-09:13:22: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:22: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:22: [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]
20170503-09:13:22: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:22: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:22: [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]
20170503-09:13:22: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:22: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:13:22: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:22: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:13:23: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:13:24: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:13:24: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:13:25: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:25: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:13:25: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:25: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13: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]
20170503-09:13:25: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:25: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:13:25: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:25: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:26: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:13:26: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:26: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:26: [INFO]:
***************** running test for testUpdateSystemMetadata_ObsoletedByFail(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:26: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:26: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:26: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:26: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:13:26: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:26: [INFO]: creating a test object. pid = testUpdateSystemMetadata_ObsoletedByFail_201712321326226 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:26: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_ObsoletedByFail_201712321326226
1
testUpdateSystemMetadata_ObsoletedByFail_201712321326226
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:13:26.240+00:00
2017-05-03T09:13:26.240+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:27: [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_ObsoletedByFail_201712321326226; FilePart:object = /tmp/mmp.output.8747129533267688305.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6145864761077486945.tmp (1106 bytes); [org.dataone.client.rest.RestClient]
20170503-09:13:27: [INFO]: object created. pid = testUpdateSystemMetadata_ObsoletedByFail_201712321326226 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:27: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:13:40: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/object/testUpdateSystemMetadata_ObsoletedByFail_201712321326226; MMP message has: ParamPart:newPid = testUpdateSystemMetadata_ObsoletedByFail_201712321326228; FilePart:object = /tmp/mmp.output.2541162968722706765.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3791075250588916566.tmp (844 bytes); [org.dataone.client.rest.RestClient]
20170503-09:13:40: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:40: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:40: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:13:40: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:40: [INFO]: creating a test object. pid = testUpdateSystemMetadata_ObsoletedByFail_201712321326229 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:40: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_ObsoletedByFail_201712321326229
1
testUpdateSystemMetadata_ObsoletedByFail_201712321326229
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:13:40.168+00:00
2017-05-03T09:13:40.168+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:41: [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_ObsoletedByFail_201712321326229; FilePart:object = /tmp/mmp.output.8200469228436012423.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.961891644890729855.tmp (1106 bytes); [org.dataone.client.rest.RestClient]
20170503-09:13:41: [INFO]: object created. pid = testUpdateSystemMetadata_ObsoletedByFail_201712321326229 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:41: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:13:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_ObsoletedByFail_201712321326226 [org.dataone.client.rest.RestClient]
20170503-09:13:52: [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_ObsoletedByFail_201712321326226; FilePart:sysmeta = /tmp/mmp.output.5626258537803898949.tmp (1221 bytes); [org.dataone.client.rest.RestClient]
20170503-09:13:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:52: [INFO]:
***************** running test for testUpdateSystemMetadata_ObsoletedByFail(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:52: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:52: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:52: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:13:52: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:52: [INFO]: creating a test object. pid = testUpdateSystemMetadata_ObsoletedByFail_201712321352393 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:52: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_ObsoletedByFail_201712321352393
1
testUpdateSystemMetadata_ObsoletedByFail_201712321352393
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:13:52.406+00:00
2017-05-03T09:13:52.406+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:53: [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_ObsoletedByFail_201712321352393; FilePart:object = /tmp/mmp.output.1642205727181133644.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1966009302666446181.tmp (1098 bytes); [org.dataone.client.rest.RestClient]
20170503-09:13:53: [INFO]: object created. pid = testUpdateSystemMetadata_ObsoletedByFail_201712321352393 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:13:53: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:14:04: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/object/testUpdateSystemMetadata_ObsoletedByFail_201712321352393; MMP message has: ParamPart:newPid = testUpdateSystemMetadata_ObsoletedByFail_201712321352395; FilePart:object = /tmp/mmp.output.2484161756064665264.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1773190998194112435.tmp (844 bytes); [org.dataone.client.rest.RestClient]
20170503-09:14:04: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:04: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:04: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:14:04: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:04: [INFO]: creating a test object. pid = testUpdateSystemMetadata_ObsoletedByFail_201712321352396 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:04: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_ObsoletedByFail_201712321352396
1
testUpdateSystemMetadata_ObsoletedByFail_201712321352396
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:14:04.907+00:00
2017-05-03T09:14:04.907+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:05: [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_ObsoletedByFail_201712321352396; FilePart:object = /tmp/mmp.output.3474301836347817756.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7632358564866880898.tmp (1098 bytes); [org.dataone.client.rest.RestClient]
20170503-09:14:05: [INFO]: object created. pid = testUpdateSystemMetadata_ObsoletedByFail_201712321352396 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:05: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:14:16: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_ObsoletedByFail_201712321352393 [org.dataone.client.rest.RestClient]
20170503-09:14:16: [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_ObsoletedByFail_201712321352393; FilePart:sysmeta = /tmp/mmp.output.7645085367292357764.tmp (1213 bytes); [org.dataone.client.rest.RestClient]
20170503-09:14:16: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:16: [INFO]:
***************** running test for testUpdateSystemMetadata_ObsoletedByFail(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:16: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:16: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:16: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:16: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:14:16: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:16: [INFO]: creating a test object. pid = testUpdateSystemMetadata_ObsoletedByFail_201712321416294 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:16: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_ObsoletedByFail_201712321416294
1
testUpdateSystemMetadata_ObsoletedByFail_201712321416294
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:14:16.308+00:00
2017-05-03T09:14:16.308+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:16: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_ObsoletedByFail_201712321416294; FilePart:object = /tmp/mmp.output.6117132832337921207.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1045219787409549538.tmp (1102 bytes); [org.dataone.client.rest.RestClient]
20170503-09:14:16: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:14:16: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:16: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:16: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:16: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170503-09:14:16: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:16: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:17: [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]
20170503-09:14:17: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:17: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:17: [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]
20170503-09:14:17: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:17: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:17: [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]
20170503-09:14:17: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:17: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:14:17: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:17: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:18: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:14:18: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:18: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:18: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:14:18: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:18: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:19: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:14:19: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:19: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:19: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:14:19: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:19: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:19: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:14:19: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:19: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:14:20: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:20: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:14:20: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:20: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:14:20: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:20: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:20: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableObsoletedBy(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:20: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:20: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:20: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:20: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:14:20: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:20: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableObsoletedBy_201712321420851 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:20: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableObsoletedBy_201712321420851
1
testUpdateSystemMetadata_MutableObsoletedBy_201712321420851
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:14:20.863+00:00
2017-05-03T09:14:20.863+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:22: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableObsoletedBy_201712321420851; FilePart:object = /tmp/mmp.output.5467617314478643980.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1913270565076786274.tmp (1109 bytes); [org.dataone.client.rest.RestClient]
20170503-09:14:22: [INFO]: object created. pid = testUpdateSystemMetadata_MutableObsoletedBy_201712321420851 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:22: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:14:22: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:22: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:22: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:14:22: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:22: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableObsoletedBy_201712321420852 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:22: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableObsoletedBy_201712321420852
1
testUpdateSystemMetadata_MutableObsoletedBy_201712321420852
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:14:22.220+00:00
2017-05-03T09:14:22.220+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:23: [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_MutableObsoletedBy_201712321420852; FilePart:object = /tmp/mmp.output.812266304754386913.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8119887273454754728.tmp (1109 bytes); [org.dataone.client.rest.RestClient]
20170503-09:14:23: [INFO]: object created. pid = testUpdateSystemMetadata_MutableObsoletedBy_201712321420852 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:23: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:14:33: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableObsoletedBy_201712321420851 [org.dataone.client.rest.RestClient]
20170503-09:14:34: [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_MutableObsoletedBy_201712321420851; FilePart:sysmeta = /tmp/mmp.output.7531966038821235127.tmp (1227 bytes); [org.dataone.client.rest.RestClient]
20170503-09:14:34: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:34: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableObsoletedBy(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:34: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:34: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:34: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:34: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:14:34: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:34: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableObsoletedBy_201712321434436 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:34: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableObsoletedBy_201712321434436
1
testUpdateSystemMetadata_MutableObsoletedBy_201712321434436
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:14:34.448+00:00
2017-05-03T09:14:34.448+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:35: [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_MutableObsoletedBy_201712321434436; FilePart:object = /tmp/mmp.output.1715882243016111051.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1400932634866470351.tmp (1101 bytes); [org.dataone.client.rest.RestClient]
20170503-09:14:35: [INFO]: object created. pid = testUpdateSystemMetadata_MutableObsoletedBy_201712321434436 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:35: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:14:35: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:35: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:35: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:14:35: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:35: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableObsoletedBy_201712321434438 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:35: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableObsoletedBy_201712321434438
1
testUpdateSystemMetadata_MutableObsoletedBy_201712321434438
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:14:35.918+00:00
2017-05-03T09:14:35.918+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:36: [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_MutableObsoletedBy_201712321434438; FilePart:object = /tmp/mmp.output.828747057413771145.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3171398451224205956.tmp (1101 bytes); [org.dataone.client.rest.RestClient]
20170503-09:14:36: [INFO]: object created. pid = testUpdateSystemMetadata_MutableObsoletedBy_201712321434438 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:36: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:14:47: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableObsoletedBy_201712321434436 [org.dataone.client.rest.RestClient]
20170503-09:14:47: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableObsoletedBy_201712321434436; FilePart:sysmeta = /tmp/mmp.output.2060959508503150970.tmp (1219 bytes); [org.dataone.client.rest.RestClient]
20170503-09:14:47: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:47: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableObsoletedBy(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:47: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:47: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:47: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:47: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:14:47: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:47: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableObsoletedBy_201712321447790 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:47: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableObsoletedBy_201712321447790
1
testUpdateSystemMetadata_MutableObsoletedBy_201712321447790
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:14:47.802+00:00
2017-05-03T09:14:47.802+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:48: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableObsoletedBy_201712321447790; FilePart:object = /tmp/mmp.output.3942631477278308436.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5885327343158131776.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170503-09:14:48: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:14:48: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:48: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:48: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:48: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170503-09:14:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:48: [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]
20170503-09:14:48: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:48: [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]
20170503-09:14:48: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:48: [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]
20170503-09:14:48: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:14:48: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:14:49: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:49: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:14:50: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:50: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:14:50: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:50: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:14:50: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:50: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:14:51: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:14:51: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:14:52: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:52: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:14:52: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:52: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableObsoletes(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:52: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:52: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:52: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:14:52: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:52: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableObsoletes_201712321452362 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:52: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableObsoletes_201712321452362
1
testUpdateSystemMetadata_MutableObsoletes_201712321452362
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:14:52.374+00:00
2017-05-03T09:14:52.374+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:54: [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_MutableObsoletes_201712321452362; FilePart:object = /tmp/mmp.output.6621352174692755672.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4733975067917118366.tmp (1107 bytes); [org.dataone.client.rest.RestClient]
20170503-09:14:54: [INFO]: object created. pid = testUpdateSystemMetadata_MutableObsoletes_201712321452362 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:54: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:14:54: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:54: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:54: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:14:54: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:54: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableObsoletes_201712321452363 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:54: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableObsoletes_201712321452363
1
testUpdateSystemMetadata_MutableObsoletes_201712321452363
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:14:54.072+00:00
2017-05-03T09:14:54.072+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:55: [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_MutableObsoletes_201712321452363; FilePart:object = /tmp/mmp.output.6157136852418409327.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7885661311465047711.tmp (1107 bytes); [org.dataone.client.rest.RestClient]
20170503-09:14:55: [INFO]: object created. pid = testUpdateSystemMetadata_MutableObsoletes_201712321452363 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:14:55: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:15:06: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableObsoletes_201712321452363 [org.dataone.client.rest.RestClient]
20170503-09:15:07: [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_MutableObsoletes_201712321452363; FilePart:sysmeta = /tmp/mmp.output.2177282551686364479.tmp (1219 bytes); [org.dataone.client.rest.RestClient]
20170503-09:15:07: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:07: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableObsoletes(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:07: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:07: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:07: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:07: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:15:07: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:07: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableObsoletes_2017123215713 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:07: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableObsoletes_2017123215713
1
testUpdateSystemMetadata_MutableObsoletes_2017123215713
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:15:07.025+00:00
2017-05-03T09:15:07.025+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:08: [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_MutableObsoletes_2017123215713; FilePart:object = /tmp/mmp.output.2264717311091601725.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6988506878571219865.tmp (1097 bytes); [org.dataone.client.rest.RestClient]
20170503-09:15:08: [INFO]: object created. pid = testUpdateSystemMetadata_MutableObsoletes_2017123215713 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:08: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:15:08: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:08: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:08: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:15:08: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:08: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableObsoletes_2017123215714 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:08: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableObsoletes_2017123215714
1
testUpdateSystemMetadata_MutableObsoletes_2017123215714
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:15:08.112+00:00
2017-05-03T09:15:08.112+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:08: [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_MutableObsoletes_2017123215714; FilePart:object = /tmp/mmp.output.5836466554306802677.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3446783439050963767.tmp (1097 bytes); [org.dataone.client.rest.RestClient]
20170503-09:15:08: [INFO]: object created. pid = testUpdateSystemMetadata_MutableObsoletes_2017123215714 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:08: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:15:19: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableObsoletes_2017123215714 [org.dataone.client.rest.RestClient]
20170503-09:15:20: [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_MutableObsoletes_2017123215714; FilePart:sysmeta = /tmp/mmp.output.705132204825216179.tmp (1207 bytes); [org.dataone.client.rest.RestClient]
20170503-09:15:20: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:20: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableObsoletes(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:20: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:20: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:20: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:20: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:15:20: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:20: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableObsoletes_201712321520304 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:20: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableObsoletes_201712321520304
1
testUpdateSystemMetadata_MutableObsoletes_201712321520304
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
changePermission
2017-05-03T09:15:20.316+00:00
2017-05-03T09:15:20.316+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:20: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableObsoletes_201712321520304; FilePart:object = /tmp/mmp.output.5269722473183375547.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3522137455274157265.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170503-09:15:20: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:15:20: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:20: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:20: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:20: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170503-09:15:20: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:20: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:20: [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]
20170503-09:15:20: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:20: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:21: [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]
20170503-09:15:21: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:21: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:21: [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]
20170503-09:15:21: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:21: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:15:21: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:21: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:15:22: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:22: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:15:22: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:22: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:15:23: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:15:23: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:15:23: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:15:24: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:15:24: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170503-09:15:24: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:24: [INFO]:
***************** running test for testUpdateSystemMetadata_CNCertNonAuthMN(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:15:25: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://mn-stage-unm-1.test.dataone.org/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:15:25: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-unm-1.test.dataone.org/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:15:55: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: unable to getCapabilities() for node https://mn-stage-unm-1.test.dataone.org/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:15:55: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:15:55: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:15:56: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: found valid replica target: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:15:56: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: http://test.piscoweb.org/catalog/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:15:56: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://test.piscoweb.org/catalog/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:15:56: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: unable to getCapabilities() for node http://test.piscoweb.org/catalog/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:15:56: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:15:56: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:15:56: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: unable to getCapabilities() for node http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:15:56: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:15:56: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:15:57: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: found valid replica target: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:15:57: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://gmn-s.lternet.edu/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:15:57: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:15:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:15:57: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: found valid replica target: https://gmn-s.lternet.edu/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:15:57: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://dataone-test.pop.umn.edu/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:15:57: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:16:27: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.pop.umn.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:16:27: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: unable to getCapabilities() for node https://dataone-test.pop.umn.edu/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:27: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:27: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:16:28: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:16:28: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: unable to getCapabilities() for node https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:28: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://dataonetest.tamucc.edu/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:28: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:16:28: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataonetest.tamucc.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:16:29: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: unable to getCapabilities() for node https://dataonetest.tamucc.edu/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:29: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:29: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:16:29: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:16:29: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: found valid replica target: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:29: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:29: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:16:29: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:16:29: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: found valid replica target: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:29: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:29: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:16:30: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:16:30: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: found valid replica target: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:30: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:30: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:16:30: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:16:30: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: found valid replica target: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:30: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://r2r-node.test.dataone.org/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:30: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:16:30: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://r2r-node.test.dataone.org/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:16:30: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: unable to getCapabilities() for node https://r2r-node.test.dataone.org/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:30: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:30: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:16:31: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:16:31: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: unable to getCapabilities() for node https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:31: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://gmn-s.edirepository.org/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:31: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:16:31: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:16:31: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: found valid replica target: https://gmn-s.edirepository.org/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:31: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:31: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:16:31: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170503-09:16:31: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: found valid replica target: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:31: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:16:31: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: creating test object: testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:31: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:16:31: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:16:31: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:16:31: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:16:31: [INFO]: creating a test object. pid = testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:16:31: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767
1
testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
CN=testRightsHolder,DC=dataone,DC=org
public
changePermission
2017-05-03T09:16:31.825+00:00
2017-05-03T09:16:31.825+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:16:33: [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_CNCertNonAuthMN_201712321524767; FilePart:object = /tmp/mmp.output.7779346777817444824.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7328132439168781177.tmp (1145 bytes); [org.dataone.client.rest.RestClient]
20170503-09:16:33: [INFO]: object created. pid = testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.integration.ContextAwareTestCaseDataone]
20170503-09:16:33: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170503-09:16:33: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: waiting for replication... (up to 45.0 minutes) [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:33: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: fetching sysmeta from CN https://cn-stage-orc-1.test.dataone.org/cn/v2 [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:33: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:16:35: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:17:05: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:17:06: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:17:36: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:17:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:18:07: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:18:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:18:38: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:18:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:18:40: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:19:10: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:19:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:19:11: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:19:41: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:19:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:19:42: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:20:12: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:20:13: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:20:13: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:20:43: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:20:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:20:45: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:21:15: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:21:16: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:21:16: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:21:46: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:21:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:21:48: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:22:18: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:22:19: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:22:19: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:22:49: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:22:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:22:51: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:23:21: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:23:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:23:21: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:23:51: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:23:53: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:23:53: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:24:23: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:24:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:24:24: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:24:54: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:24:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:24:56: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:25:26: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:25:27: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:25:27: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:25:57: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:25:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:25:59: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:26:29: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:26:30: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:26:30: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:27:00: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:27:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:27:02: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:27:32: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:27:32: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:27:32: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:28:02: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:28:04: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:28:04: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:28:34: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:28:35: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:28:35: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:29:05: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:29:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:29:07: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:29:37: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:29:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:29:37: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:30:07: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:30:09: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:30:09: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:30:39: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:30:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:30:40: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:31:10: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:31:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:31:12: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:31:42: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:31:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:31:43: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:32:13: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:32:15: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:32:15: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:32:45: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:32:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:32:46: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:33:16: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:33:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:33:17: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:33:47: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:33:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:33:48: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:34:18: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:34:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:34:20: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:34:50: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:34:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:34:51: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:35:21: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:35:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:35:23: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:35:53: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:35:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:35:54: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:36:24: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:36:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:36:25: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:36:55: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:36:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:36:56: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:37:26: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:37:28: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:37:28: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:37:58: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:37:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:37:59: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:38:29: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:38:31: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:38:31: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:39:01: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:39:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:39:02: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:39:32: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:39:34: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:39:34: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:40:04: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:40:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:40:05: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:40:35: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:40:36: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:40:36: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:41:06: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:41:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:41:07: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:41:37: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:41:39: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:41:39: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:42:09: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:42:10: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:42:10: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:42:40: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:42:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:42:42: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:43:12: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:43:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:43:12: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:43:42: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:43:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:43:44: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:44:14: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:44:15: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:44:15: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:44:45: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:44:47: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:44:47: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:45:17: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:45:18: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:45:18: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:45:48: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:45:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:45:50: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:46:20: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:46:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:46:20: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:46:50: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:46:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:46:52: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:47:22: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:47:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:47:23: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:47:53: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:47:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:47:55: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:48:25: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:48:26: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:48:26: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:48:56: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:48:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:48:58: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:49:28: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:49:28: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:49:28: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:49:58: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:50:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:50:00: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:50:30: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:50:31: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:50:31: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:51:01: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:51:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:51:02: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:51:32: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:51:33: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:51:33: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:52:03: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:52:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:52:05: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:52:35: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:52:36: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:52:36: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:53:06: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:53:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:53:08: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:53:38: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:53:39: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:53:39: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:54:09: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:54:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:54:11: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:54:41: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:54:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:54:42: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:55:12: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:55:13: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:55:13: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:55:43: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:55:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:55:44: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:56:14: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:56:16: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:56:16: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:56:46: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:56:47: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:56:47: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:57:17: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:57:19: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:57:19: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:57:49: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:57:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:57:50: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:58:20: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:58:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:58:22: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:58:52: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:58:53: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:58:53: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:59:23: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:59:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:59:24: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:59:54: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-09:59:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-09:59:55: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-10:00:25: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-10:00:27: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-10:00:27: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-10:00:57: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-10:00:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-10:00:58: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-10:01:28: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-10:01:30: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-10:01:30: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-10:02:00: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-10:02:01: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-10:02:01: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-10:02:31: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-10:02:32: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-10:02:32: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-10:03:02: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-10:03:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-10:03:03: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170503-10:03:33: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170503-10:03:35: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767 [org.dataone.client.rest.RestClient]
20170503-10:03:35: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
org.dataone.service.exceptions.NotFound: CN sysmeta contained no replica for a v2 MN! GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations$1.attempt(MNUpdateSystemMetadataTestImplementations.java:708)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations$1.attempt(MNUpdateSystemMetadataTestImplementations.java:684)
at org.dataone.client.RetryHandler.execute(RetryHandler.java:48)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_CNCertNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:720)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_CNCertNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:607)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_CNCertNonAuthMN(MNUpdateSystemMetadataIT.java:115)
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.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)
Tests run: 54, Failures: 53, Errors: 0, Skipped: 1, Time elapsed: 3,428.489 sec <<< FAILURE!
Results :
Failed tests:
testSetReplicationStatus_dateModified(org.dataone.integration.it.apiTests.MNSystemMetadataMutabilityIt): testRegisterSystemMetadata_dateModified: Unable to get or create a test object with pid: testRegisterSystemMetadata_dateModified_obj7
testSetReplicationMetadata_dateModified(org.dataone.integration.it.apiTests.MNSystemMetadataMutabilityIt): testUpdateReplicationMetadata_dateModified: Unable to get or create a test object with pid: testUpdateReplicationMetadata_dateModified_obj7
testDeleteReplicationMetadata_dateModified(org.dataone.integration.it.apiTests.MNSystemMetadataMutabilityIt): GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405 testDeleteReplicationMetadata_dateModified: unable to fetch sysmeta with valid replicas from CN for pid testDeleteReplicationMetadata_dateModified_201712311917405 Got exception: NotFound : CN sysmeta contained no replica for a v2 MN! GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201712311917405
testUpdateSystemMetadata_MutableFormat(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableFormat(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableFormat(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableFormat(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableFormat(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableFormat(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_RightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_RightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_RightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_RightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_RightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_RightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableRightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableRightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableRightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableRightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableRightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableRightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableAccessPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableAccessPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableAccessPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableAccessPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableAccessPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableAccessPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableReplPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableReplPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableReplPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableReplPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableReplPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableReplPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableArchived(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableArchived(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableArchived(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableArchived(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableArchived(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableArchived(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_RightsHolderNonAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_RightsHolderNonAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_RightsHolderNonAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_RightsHolderNonAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_RightsHolderNonAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_RightsHolderNonAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_ObsoletesFail(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): https://gmn-s.lternet.edu/mn/v2 testUpdateSystemMetadata_ObsoletesFail() setup steps failed! org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_ObsoletedByFail(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): https://gmn-s.lternet.edu/mn/v2 testUpdateSystemMetadata_ObsoletedByFail() setup steps failed! org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableObsoletedBy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): https://gmn-s.lternet.edu/mn/v2 testUpdateSystemMetadata_MutableObsoletedBy() setup steps failed! org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableObsoletes(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): https://gmn-s.lternet.edu/mn/v2 testUpdateSystemMetadata_MutableObsoletes() setup steps failed! org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_CNCertNonAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): Test setup failed. Couldn't fetch sysmeta (testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767) from CN: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767, origin MN: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 : NotFound: 404: CN sysmeta contained no replica for a v2 MN! GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712321524767
Tests run: 58, Failures: 56, Errors: 0, Skipped: 1
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[JENKINS] Recording test results
[INFO]
[INFO] --- maven-failsafe-plugin:2.8.1:verify (verify) @ d1_integration ---
[INFO] Failsafe report directory: /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/failsafe-reports
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[ERROR] There are test failures.
Please refer to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/failsafe-reports for the individual test results.
[JENKINS] Recording test results
Notifying upstream projects of job completion
Join notifier requires a CauseAction
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:56:43.670s
[INFO] Finished at: Wed May 03 10:04:07 UTC 2017
[INFO] Final Memory: 59M/758M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data