Established TCP socket on 43021
<===[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: 18814 at timestamp: 1493453151000
[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.094 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 [703 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
20170429-08:06:20: [WARN]: Starting monitor thread [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-08:06:20: [WARN]: Starting monitoring... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-08:06:20: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-08:06:20: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:20: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:20: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
~~~ Context is from d1client.properties: https://cn-stage.test.dataone.org/cn
20170429-08:06:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage.test.dataone.org/cn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:06:22: [INFO]: isNodeAlive for Node: https://cn-stage.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:22: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:22: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:22: [INFO]: *** Adding CN to list: cn-stage [ https://cn-stage.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:22: [INFO]: isNodeAlive for Node: https://cn-stage-orc-1.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:22: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:23: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:23: [INFO]: *** Adding CN to list: cn-stage-orc-1 [ https://cn-stage-orc-1.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:23: [INFO]: isNodeAlive for Node: https://mn-stage-unm-1.test.dataone.org/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:23: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:32: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:32: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:33: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:33: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:33: [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]
20170429-08:06:33: [INFO]: isNodeAlive for Node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:33: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:34: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:34: [INFO]: *** Adding MN to list: mn-stage-ucsb-2 [ https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:34: [INFO]: isNodeAlive for Node: https://cn-stage-ucsb-1.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:34: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:34: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:34: [INFO]: *** Adding CN to list: cn-stage-ucsb-1 [ https://cn-stage-ucsb-1.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:34: [INFO]: isNodeAlive for Node: https://cn-stage-unm-1.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:34: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:34: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:34: [INFO]: *** Adding CN to list: cn-stage-unm-1 [ https://cn-stage-unm-1.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:34: [INFO]: isNodeAlive for Node: http://test.piscoweb.org/catalog/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:34: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:35: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:35: [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]
20170429-08:06:35: [INFO]: isNodeAlive for Node: http://seadva-test.d2i.indiana.edu/sead/rest/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:35: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:35: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:35: [INFO]: *** Adding MN to list: SEAD Virtual Archive [ http://seadva-test.d2i.indiana.edu/sead/rest/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:35: [INFO]: isNodeAlive for Node: https://mn-demo-11.test.dataone.org/knb/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:35: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:36: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:36: [INFO]: *** Adding MN to list: mn-demo-11 [ https://mn-demo-11.test.dataone.org/knb/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:36: [INFO]: isNodeAlive for Node: https://gmn-s.lternet.edu/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:36: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:36: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:36: [INFO]: *** Adding MN to list: Stage test for PASTA-GMN [ https://gmn-s.lternet.edu/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:36: [INFO]: isNodeAlive for Node: https://dataone-test.pop.umn.edu/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:36: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:43: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:44: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:44: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:44: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:45: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:45: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:46: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:46: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:46: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:46: [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]
20170429-08:06:46: [INFO]: isNodeAlive for Node: https://dataone-dev.ecoinformatics.org.au/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:46: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:48: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:48: [INFO]: *** Adding MN to list: TERN Australia DEV [ https://dataone-dev.ecoinformatics.org.au/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:48: [INFO]: isNodeAlive for Node: https://dataonetest.tamucc.edu/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:48: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:48: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:48: [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]
20170429-08:06:48: [INFO]: isNodeAlive for Node: http://dataone.neonscience.org/metacat/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:48: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:48: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:48: [INFO]: *** Adding MN to list: NEON Test Member Node [ http://dataone.neonscience.org/metacat/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:48: [INFO]: isNodeAlive for Node: https://test.arcticdata.io/metacat/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:48: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:49: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:49: [INFO]: *** Adding MN to list: NSF Arctic Data Center Test Repository [ https://test.arcticdata.io/metacat/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:49: [INFO]: isNodeAlive for Node: http://dataone.ornith.cornell.edu/metacat/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:49: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:49: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:49: [INFO]: *** Adding MN to list: Cornell Lab of Ornithology - eBird [ http://dataone.ornith.cornell.edu/metacat/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:49: [INFO]: isNodeAlive for Node: https://dataone-test.researchworkspace.com/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:49: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:50: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:50: [INFO]: *** Adding MN to list: Research Workspace Testing [ https://dataone-test.researchworkspace.com/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:50: [INFO]: isNodeAlive for Node: https://r2r-node.test.dataone.org/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:50: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:50: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:50: [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]
20170429-08:06:50: [INFO]: isNodeAlive for Node: https://dataone.lib.uic.edu/metacat/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:50: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:51: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:51: [INFO]: *** Adding MN to list: UIC DataONE Member Node [ https://dataone.lib.uic.edu/metacat/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:51: [INFO]: isNodeAlive for Node: https://gmn-s.edirepository.org/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:51: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:51: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:51: [INFO]: *** Adding MN to list: Environmental Data Initiative Member Node [ https://gmn-s.edirepository.org/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:51: [INFO]: isNodeAlive for Node: https://ncei.nceas.ucsb.edu/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:51: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:52: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:52: [INFO]: *** Adding MN to list: NCEI Test Member Node at NCEAS [ https://ncei.nceas.ucsb.edu/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:52: [INFO]: trying to filter CN list for the round robin CN... original size: 4, includes nodes: [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:52: [INFO]: CN: https://cn-stage.test.dataone.org/cn "Round Robin staging router of Coordinating Nodes" [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:52: [INFO]: CN: https://cn-stage-orc-1.test.dataone.org/cn "Oak Ridge National Laboratory Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:52: [INFO]: CN: https://cn-stage-ucsb-1.test.dataone.org/cn "UCSB Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:52: [INFO]: CN: https://cn-stage-unm-1.test.dataone.org/cn "UNM Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:52: [INFO]: excluding round robin CN: https://cn-stage.test.dataone.org/cn "Round Robin staging router of Coordinating Nodes" [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:52: [INFO]: including CN: https://cn-stage-orc-1.test.dataone.org/cn "Oak Ridge National Laboratory Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:52: [INFO]: including CN: https://cn-stage-ucsb-1.test.dataone.org/cn "UCSB Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:52: [INFO]: including CN: https://cn-stage-unm-1.test.dataone.org/cn "UNM Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:52: [INFO]: filtered CN list without round robin CN. size: 3, including nodes: [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:52: [INFO]: CN: https://cn-stage-orc-1.test.dataone.org/cn "Oak Ridge National Laboratory Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:52: [INFO]: CN: https://cn-stage-ucsb-1.test.dataone.org/cn "UCSB Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:52: [INFO]: CN: https://cn-stage-unm-1.test.dataone.org/cn "UNM Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:52: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170429-08:06:52: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:52: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:52: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:52: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-08:06:52: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:52: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:53: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:06:53: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:53: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:56: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:58: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:58: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:58: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:59: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:06:59: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:07:00: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:07:00: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:07:01: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:07:01: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:07:23: [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]
20170429-08:07:23: [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]
20170429-08:07:53: [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]
20170429-08:07:53: [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]
20170429-08:07:53: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:07:53: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:07:53: [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]
20170429-08:07:53: [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]
20170429-08:07:54: [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]
20170429-08:07:54: [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]
20170429-08:07:54: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:07:54: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:07:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://test.piscoweb.org/catalog/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:07:55: [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]
20170429-08:07:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://test.piscoweb.org/catalog/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:07:55: [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]
20170429-08:07:55: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:07:55: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:07:56: [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]
20170429-08:07:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:07:56: [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]
20170429-08:07:56: [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]
20170429-08:07:56: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:07:56: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:07:56: [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]
20170429-08:07:56: [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]
20170429-08:07:56: [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]
20170429-08:07: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]
20170429-08:07:57: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:07:57: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:07:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:07:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:07:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:07:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:07:57: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:07:57: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:08:28: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.pop.umn.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:08:28: [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]
20170429-08:08:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.pop.umn.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:08:58: [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]
20170429-08:08:58: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:08:58: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:08:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:09:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:09:01: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:09:01: [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]
20170429-08:09:01: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:01: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:01: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataonetest.tamucc.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:09:01: [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]
20170429-08:09:01: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataonetest.tamucc.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:09:01: [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]
20170429-08:09:01: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:01: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:09:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:09:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:09:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:09:02: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:02: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:09:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:09:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:09:04: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:09:04: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:04: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:04: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:09:04: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:09:04: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:09:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:09:05: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:05: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:09:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:09:06: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:09:06: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:09:06: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:06: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:06: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://r2r-node.test.dataone.org/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:09:06: [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]
20170429-08:09:06: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://r2r-node.test.dataone.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:09:06: [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]
20170429-08:09:06: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:06: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:09:07: [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]
20170429-08:09:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:09:07: [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]
20170429-08:09:07: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:07: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:09:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:09:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:09:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:09:08: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:08: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:09:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:09:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:09:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:09:08: [INFO]: v1-ONLY MNs available: 0 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:08: [INFO]: v2 MNs available: 9 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:08: [INFO]: available MNs: 9 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:08: [INFO]: v2 MN : https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:08: [INFO]: v2 MN : https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:08: [INFO]: v2 MN : https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:08: [INFO]: v2 MN : http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:08: [INFO]: v2 MN : https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:08: [INFO]: v2 MN : http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:08: [INFO]: v2 MN : https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:08: [INFO]: v2 MN : https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:08: [INFO]: v2 MN : https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:08: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:08: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:08: [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]
20170429-08:09:09: [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]
20170429-08:09:09: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:09: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:09: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:09: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170429-08:09:09: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:09: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:10: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:09:10: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:10: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:09:40: [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]
20170429-08:09:40: [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]
20170429-08:10:10: [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]
20170429-08:10:10: [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]
20170429-08:10:10: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:10:10: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:10:11: [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]
20170429-08:10:11: [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]
20170429-08:10:11: [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]
20170429-08:10:11: [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]
20170429-08:10:11: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:10:11: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:10:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://test.piscoweb.org/catalog/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:10:12: [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]
20170429-08:10:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://test.piscoweb.org/catalog/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:10:12: [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]
20170429-08:10:12: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:10:12: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:10:13: [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]
20170429-08:10:13: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:10:13: [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]
20170429-08:10:13: [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]
20170429-08:10:13: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:10:13: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:10:13: [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]
20170429-08:10:13: [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]
20170429-08:10:13: [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]
20170429-08:10:13: [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]
20170429-08:10:13: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:10:13: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:10:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:10:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:10:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:10:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:10:14: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:10:14: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:10:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.pop.umn.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:10:44: [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]
20170429-08:11:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.pop.umn.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:11:14: [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]
20170429-08:11:14: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:14: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:15: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:11:16: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:11:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:11:17: [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]
20170429-08:11:17: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:17: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataonetest.tamucc.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:11:17: [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]
20170429-08:11:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataonetest.tamucc.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:11:17: [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]
20170429-08:11:17: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:17: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:11:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:11:18: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:11:18: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:11:18: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:18: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:18: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:11:19: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:11:19: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:11:19: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:11:19: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:19: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:11:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:11:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:11:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:11:20: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:20: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:11:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:11:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:11:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:11:21: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:21: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://r2r-node.test.dataone.org/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:11:22: [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]
20170429-08:11:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://r2r-node.test.dataone.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:11:22: [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]
20170429-08:11:22: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:22: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:11:22: [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]
20170429-08:11:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:11:23: [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]
20170429-08:11:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:11:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:11:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:11:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:11:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:11:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:11:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:11:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:11:24: [INFO]: v1-ONLY MNs available: 0 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:24: [INFO]: v2 MNs available: 9 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:24: [INFO]: available MNs: 9 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:24: [INFO]: v2 MN : https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:24: [INFO]: v2 MN : https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:24: [INFO]: v2 MN : https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:24: [INFO]: v2 MN : http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:24: [INFO]: v2 MN : https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:24: [INFO]: v2 MN : http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:24: [INFO]: v2 MN : https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:24: [INFO]: v2 MN : https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:24: [INFO]: v2 MN : https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:24: [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]
20170429-08:11:25: [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]
20170429-08:11:25: [INFO]: ====>>>>> pid of procured test Object: testUpdateReplicationMetadata_dateModified_obj7 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:35: [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]
20170429-08:11:35: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:36: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateReplicationMetadata_dateModified_obj7 [org.dataone.client.rest.RestClient]
20170429-08:11:36: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:36: [INFO]: cnSysmetaDateModified=1455954698439mnSysmetaDateModified=1455954698439 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:37: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://cn-stage-orc-1.test.dataone.org/cn/v2/replicaMetadata/testUpdateReplicationMetadata_dateModified_obj7; MMP message has: FilePart:replicaMetadata = /tmp/mmp.output.4002524243092358974.tmp (316 bytes); ParamPart:serialVersion = 241; [org.dataone.client.rest.RestClient]
20170429-08:11:38: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateReplicationMetadata_dateModified_obj7 [org.dataone.client.rest.RestClient]
20170429-08:11:38: [INFO]: cnSysmetaDateModified=1455954698439mnSysmetaDateModified=1455954698439 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:38: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:38: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:38: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:38: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170429-08:11:38: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:38: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:39: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:11:39: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:11:39: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:12:09: [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]
20170429-08:12:09: [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]
20170429-08:12:39: [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]
20170429-08:12:39: [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]
20170429-08:12:39: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:12:39: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:12:39: [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]
20170429-08:12:39: [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]
20170429-08:12:39: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:12:40: [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]
20170429-08:12:40: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:12:40: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:12:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://test.piscoweb.org/catalog/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:12:40: [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]
20170429-08:12:41: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://test.piscoweb.org/catalog/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:12:41: [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]
20170429-08:12:41: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:12:41: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:12:41: [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]
20170429-08:12:41: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:12:41: [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]
20170429-08:12:41: [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]
20170429-08:12:41: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:12:41: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:12:42: [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]
20170429-08:12:42: [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]
20170429-08:12:42: [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]
20170429-08:12:42: [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]
20170429-08:12:42: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:12:42: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:12:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:12:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:12:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:12:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:12:42: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:12:42: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:13: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.pop.umn.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:13:13: [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]
20170429-08:13:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.pop.umn.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:13:43: [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]
20170429-08:13:43: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:43: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:13:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:13:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:13:45: [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]
20170429-08:13:45: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:45: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataonetest.tamucc.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:13:46: [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]
20170429-08:13:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataonetest.tamucc.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:13:46: [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]
20170429-08:13:46: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:46: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:13:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:13:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:13:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:13:46: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:46: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:47: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:13:47: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:13:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:13:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:13:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:13:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:13:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:13:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:13:49: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:49: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:13:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:13:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:13:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:13:50: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:50: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://r2r-node.test.dataone.org/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:13:50: [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]
20170429-08:13:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://r2r-node.test.dataone.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:13:50: [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]
20170429-08:13:50: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:50: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:13:51: [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]
20170429-08:13: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]
20170429-08:13:51: [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]
20170429-08:13:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:13:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:13:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:13:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:13:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:13:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-08:13:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-08:13:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:13:52: [INFO]: v1-ONLY MNs available: 0 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:52: [INFO]: v2 MNs available: 9 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:52: [INFO]: available MNs: 9 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:52: [INFO]: v2 MN : https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:52: [INFO]: v2 MN : https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:52: [INFO]: v2 MN : https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:52: [INFO]: v2 MN : http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:52: [INFO]: v2 MN : https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:52: [INFO]: v2 MN : http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:52: [INFO]: v2 MN : https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:52: [INFO]: v2 MN : https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:52: [INFO]: v2 MN : https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:52: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:52: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:52: [INFO]: attempting to create test object on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 with pid testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:13:52: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:52: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:52: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:52: [INFO]: entering refreshCache()... [org.dataone.client.v2.formats.ObjectFormatCache]
20170429-08:13:53: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-08:13:53: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170429-08:13:53: [INFO]: refreshing objectFormatCache from cn: null [org.dataone.client.v2.formats.ObjectFormatCache]
20170429-08:13:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage.test.dataone.org/cn/v2/formats [org.dataone.client.rest.RestClient]
20170429-08:13:54: [INFO]: successfully refreshed cache from cn.listFormats() [org.dataone.client.v2.formats.ObjectFormatCache]
20170429-08:13:54: [INFO]: creating a test object. pid = testDeleteReplicationMetadata_dateModified_201711911352338 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:54: [INFO]: SystemMetadata for pid: testDeleteReplicationMetadata_dateModified_201711911352338
1
testDeleteReplicationMetadata_dateModified_201711911352338
eml://ecoinformatics.org/eml-2.0.1
17181
03ce09c6b4c3efc1681f3023402998a2
CN=urn:node:cnStageUNM1,DC=dataone,DC=org
public
public
changePermission
2017-04-29T08:13:54.342+00:00
2017-04-29T08:13:54.342+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13: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 = testDeleteReplicationMetadata_dateModified_201711911352338; FilePart:object = /tmp/mmp.output.6164202250742426708.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.55621985896566288.tmp (1116 bytes); [org.dataone.client.rest.RestClient]
20170429-08:13:55: [INFO]: object created. pid = testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:13:55: [INFO]: ====>>>>> pid of procured test Object: testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:14:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:14:05: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:14:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:14:37: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:14:38: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:15:08: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:15:09: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:15:39: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:15:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:15:40: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:16:10: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:16:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:16:11: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:16:41: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:16:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:16:42: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:17:12: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:17:13: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:17:13: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:17:43: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:17:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:17:44: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:18:14: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:18:15: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:18:15: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:18:45: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:18:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:18:46: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:19:16: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:19:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:19:17: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:19:47: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:19:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:19:48: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:20:18: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:20:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:20:20: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:20:50: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:20:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:20:51: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:21:21: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:21:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:21:22: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:21:52: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:21:53: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:21:53: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:22:23: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:22:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:22:23: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:22:53: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:22:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:22:54: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:23:24: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:23:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:23:25: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:23:55: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:23:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:23:56: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:24:26: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:24:28: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:24:28: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:24:58: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:24:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:24:59: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:25:29: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:25:30: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:25:30: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:26:00: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:26:01: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:26:01: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:26:31: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:26:32: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:26:32: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:27:02: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:27:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:27:03: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:27:33: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:27:34: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:27:34: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:28:04: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:28:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:28:05: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:28:35: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:28:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:28:37: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:29:07: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:29:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:29:08: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:29:38: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:29:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:29:40: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:30:10: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:30:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:30:11: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:30:41: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:30:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:30:43: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:31:13: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:31:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:31:14: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:31:44: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:31:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:31:46: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:32:16: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:32:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:32:17: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:32:47: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:32:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:32:49: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:33:19: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:33:19: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:33:19: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:33:49: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:33:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:33:51: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:34:21: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:34:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:34:22: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:34:52: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:34:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:34:54: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:35:24: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:35:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:35:25: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:35:55: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:35:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:35:57: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:36:27: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:36:28: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:36:28: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:36:58: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:37:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:37:00: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:37:30: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:37:31: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:37:31: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:38:01: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:38:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:38:03: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:38:33: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:38:34: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:38:34: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:39:04: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:39:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:39:05: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:39:35: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:39:36: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:39:36: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:40:06: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:40:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:40:08: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:40:38: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:40:39: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:40:39: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:41:09: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:41:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:41:11: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:41:41: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:41:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:41:42: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:42:12: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:42:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:42:14: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:42:44: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:42:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:42:45: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:43:15: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:43:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:43:17: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:43:47: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:43:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:43:48: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:44:18: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:44:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:44:20: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:44:50: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:44:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:44:51: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:45:21: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:45:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:45:23: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:45:53: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:45:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:45:54: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:46:24: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:46:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:46:25: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:46:55: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:46:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:46:57: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:47:27: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:47:28: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:47:28: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:47:58: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:47:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:47:59: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:48:29: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:48:31: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:48:31: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:49:01: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:49:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:49:02: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:49:32: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:49:34: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:49:34: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:50:04: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:50:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:50:05: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:50:35: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:50:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:50:37: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:51:07: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:51:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:51:08: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:51:38: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:51:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:51:40: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:52:10: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:52:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:52:11: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:52:41: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:52:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:52:42: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:53:12: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:53:13: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:53:13: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:53:43: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:53:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:53:45: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:54:15: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:54:16: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:54:16: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:54:46: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:54:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:54:48: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:55:18: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:55:19: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:55:19: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:55:49: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:55:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:55:51: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:56:21: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:56:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:56:22: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:56:52: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:56:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:56:54: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:57:24: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:57:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:57:25: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:57:55: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:57:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:57:57: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:58:27: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:58:27: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:58:27: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:58:57: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:58:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:58:59: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:59:29: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-08:59:30: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-08:59:30: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:00:00: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:00:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-09:00:02: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:00:32: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:00:33: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-09:00:33: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:01:03: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:01:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 [org.dataone.client.rest.RestClient]
20170429-09:01:05: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:01:35: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:01:35: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:01:35: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:01:35: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170429-09:01:35: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:01:35: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:01:35: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:01:35: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:01:35: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:02:06: [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]
20170429-09:02:06: [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]
20170429-09:02:36: [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]
20170429-09:02:36: [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]
20170429-09:02:36: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:02:36: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:02:36: [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]
20170429-09:02:37: [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]
20170429-09:02:37: [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]
20170429-09:02:37: [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]
20170429-09:02:37: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:02:37: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:02:38: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://test.piscoweb.org/catalog/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:02:38: [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]
20170429-09:02:38: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://test.piscoweb.org/catalog/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:02:38: [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]
20170429-09:02:38: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:02:38: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:02:38: [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]
20170429-09:02:39: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-09:02:39: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:02:39: [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]
20170429-09:02:39: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:02:39: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:02:39: [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]
20170429-09:02:39: [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]
20170429-09:02:39: [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]
20170429-09:02:39: [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]
20170429-09:02:39: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:02:39: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:02:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:02:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-09:02:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:02:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:02:40: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:02:40: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:10: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.pop.umn.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:03:10: [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]
20170429-09:03:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.pop.umn.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:03:40: [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]
20170429-09:03:40: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:40: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:03:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-09:03:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:03:43: [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]
20170429-09:03:43: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:43: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataonetest.tamucc.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:03:44: [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]
20170429-09:03:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataonetest.tamucc.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:03:44: [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]
20170429-09:03:44: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:44: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:03:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-09:03:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:03:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:03:44: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:44: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:03:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-09:03:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:03:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:03:46: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:46: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:03:47: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-09:03:47: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:03:47: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:03:47: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:47: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:03:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-09:03:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:03:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:03:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://r2r-node.test.dataone.org/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:03:48: [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]
20170429-09:03:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://r2r-node.test.dataone.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:03:48: [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]
20170429-09:03:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:03:49: [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]
20170429-09:03:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:03:49: [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]
20170429-09:03:49: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:49: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:03:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-09:03:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:03:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:03:50: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:50: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:03:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v1/node [org.dataone.client.rest.RestClient]
20170429-09:03:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:03:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:03:51: [INFO]: v1-ONLY MNs available: 0 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:51: [INFO]: v2 MNs available: 9 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:51: [INFO]: available MNs: 9 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:51: [INFO]: v2 MN : https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:51: [INFO]: v2 MN : https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:51: [INFO]: v2 MN : https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:51: [INFO]: v2 MN : http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:51: [INFO]: v2 MN : https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:51: [INFO]: v2 MN : http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:51: [INFO]: v2 MN : https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:51: [INFO]: v2 MN : https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:51: [INFO]: v2 MN : https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:51: [INFO]: attempting to create test object on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 with pid testRegisterSystemMetadata_dateModified_20171192351366 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:51: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:51: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:51: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:51: [INFO]: creating a test object. pid = testRegisterSystemMetadata_dateModified_20171192351366 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03:51: [INFO]: SystemMetadata for pid: testRegisterSystemMetadata_dateModified_20171192351366
1
testRegisterSystemMetadata_dateModified_20171192351366
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-04-29T09:03:51.379+00:00
2017-04-29T09:03:51.379+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:03: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 = testRegisterSystemMetadata_dateModified_20171192351366; FilePart:object = /tmp/mmp.output.8269382670167424280.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.699773291034374423.tmp (1143 bytes); [org.dataone.client.rest.RestClient]
20170429-09:03:53: [INFO]: object created. pid = testRegisterSystemMetadata_dateModified_20171192351366 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:04:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testRegisterSystemMetadata_dateModified_20171192351366 [org.dataone.client.rest.RestClient]
20170429-09:04:03: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:04:04: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testRegisterSystemMetadata_dateModified_20171192351366 [org.dataone.client.rest.RestClient]
20170429-09:04:34: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:04:35: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testRegisterSystemMetadata_dateModified_20171192351366 [org.dataone.client.rest.RestClient]
20170429-09:05:07: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:05:09: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testRegisterSystemMetadata_dateModified_20171192351366 [org.dataone.client.rest.RestClient]
20170429-09:05:39: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:05:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testRegisterSystemMetadata_dateModified_20171192351366 [org.dataone.client.rest.RestClient]
20170429-09:06:10: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testRegisterSystemMetadata_dateModified_20171192351366 [org.dataone.client.rest.RestClient]
20170429-09:06:41: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testRegisterSystemMetadata_dateModified_20171192351366 [org.dataone.client.rest.RestClient]
20170429-09:06:42: [INFO]: cnSysmetaDateModified=1493456631717mnSysmetaDateModified=1493456631717 [org.dataone.integration.ContextAwareTestCaseDataone]
Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 3,624.036 sec <<< FAILURE!
Running org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT
20170429-09:06:42: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:42: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:42: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:42: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170429-09:06:42: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:42: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:06:43: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:43: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:43: [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]
20170429-09:06:43: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:43: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:43: [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]
20170429-09:06:43: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:43: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:06:44: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:44: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:06:45: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:45: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:06:45: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:45: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:06:46: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:46: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:06:46: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:46: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:06:46: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:46: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:47: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:06:47: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:47: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:47: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:06:47: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:47: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:06:48: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:48: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:48: [INFO]: certificate filename: testRightsHolder [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:48: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:06:48: [INFO]: client setup as Subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:48: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:06:48: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:48: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAccessPolicy(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:48: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:48: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:48: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:48: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:06:48: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:48: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171192648339 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:48: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_20171192648339
1
testUpdateSystemMetadata_MutableAccessPolicy_20171192648339
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-04-29T09:06:48.357+00:00
2017-04-29T09:06:48.357+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:49: [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_20171192648339; FilePart:object = /tmp/mmp.output.1496629568515763551.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7456860967549426361.tmp (1109 bytes); [org.dataone.client.rest.RestClient]
20170429-09:06:49: [INFO]: object created. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171192648339 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:49: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:06:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAccessPolicy_20171192648339 [org.dataone.client.rest.RestClient]
20170429-09:06:50: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:50: [INFO]: certificate filename: testGroup [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:50: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:06:50: [INFO]: client setup as Subject: public [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:50: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:06:50: [INFO]: created client for certificate file: testGroup with subject: public [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:06:51: [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_20171192648339; FilePart:sysmeta = /tmp/mmp.output.3817999602537859654.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170429-09:07:01: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAccessPolicy_20171192648339 [org.dataone.client.rest.RestClient]
20170429-09:07:01: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:01: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAccessPolicy(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:01: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:01: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:01: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:01: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:07:01: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:01: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_2017119271611 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:01: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_2017119271611
1
testUpdateSystemMetadata_MutableAccessPolicy_2017119271611
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-04-29T09:07:01.628+00:00
2017-04-29T09:07:01.628+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:02: [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_2017119271611; FilePart:object = /tmp/mmp.output.8302069275489089459.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1317635648061125813.tmp (1100 bytes); [org.dataone.client.rest.RestClient]
20170429-09:07:02: [INFO]: object created. pid = testUpdateSystemMetadata_MutableAccessPolicy_2017119271611 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:02: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:07:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAccessPolicy_2017119271611 [org.dataone.client.rest.RestClient]
20170429-09:07:03: [INFO]: created client for certificate file: testGroup with subject: public [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:03: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_2017119271611; FilePart:sysmeta = /tmp/mmp.output.4445604758209417849.tmp (1096 bytes); [org.dataone.client.rest.RestClient]
20170429-09:07:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAccessPolicy_2017119271611 [org.dataone.client.rest.RestClient]
20170429-09:07:14: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:14: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAccessPolicy(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:14: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:14: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:14: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:14: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:07:14: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:14: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171192714746 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:14: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_20171192714746
1
testUpdateSystemMetadata_MutableAccessPolicy_20171192714746
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-04-29T09:07:14.763+00:00
2017-04-29T09:07:14.763+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:15: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_20171192714746; FilePart:object = /tmp/mmp.output.5278446590558500057.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5536055397902822517.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170429-09:07: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/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 0x7fbde6e8d790>>
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 0x7fbddeb88590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e8d790>
/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 0x7fbddd13d758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd7bdb50>>
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 0x7fbde6e8d790>
/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 0x7fbddd7bdb50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd13d758>
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 0x7fbddd7bdb50>
/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_MutableAccessPolicy_20171192714746'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.5536055397902822517.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.5278446590558500057.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18968'
CONTENT_TYPE
'multipart/form-data; boundary=219YeRztee1Nf6dWHRnFZypN0VKKX8U6hF'
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
'40159'
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_P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MB\nBggrBgEFBQcDAjB1BgNVHSAEbjBsMGAGDCsGAQQBhg4BAgEDATBQME4GCCsGAQUF\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
'1493456244946598'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbddc4bd5f0>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbdd7c78630>
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 0x7fbde6e8d790>>
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 0x7fbddeb88590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e8d790>
/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 0x7fbddd13d758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd7bdb50>>
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 0x7fbde6e8d790>
/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 0x7fbddd7bdb50>
view_args
()
20170429-09:07:15: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
view_func
20170429-09:07:15: [INFO]:
<function dispatch_object_list at 0x7fbddd13d758>
***************** running test for testUpdateSystemMetadata_MutableAccessPolicy(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:15: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:15: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:15: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
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 0x7fbddd7bdb50>
/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_20171192714746'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.5536055397902822517.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.5278446590558500057.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18968'
CONTENT_TYPE
'multipart/form-data; boundary=219YeRztee1Nf6dWHRnFZypN0VKKX8U6hF'
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
'40159'
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\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyM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xzc2wuY29tL05ldHdvcmtTb2x1dGlvbnNPVlNlcnZlckNBMi5j\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
'1493456244946598'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbddc4bd5f0>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbdd7c78630>
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'
20170429-09:07:15: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
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']
20170429-09:07:15: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
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
20170429-09:07:15: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171192715356 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
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}
20170429-09:07:15: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_20171192715356
1
testUpdateSystemMetadata_MutableAccessPolicy_20171192715356
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-04-29T09:07:15.375+00:00
2017-04-29T09:07:15.375+00:00
urn:node:mnTestNEON
urn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
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
20170429-09:07:15: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_20171192715356; FilePart:object = /tmp/mmp.output.1868332381342183956.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1520488616430027984.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170429-09:07:15: [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
20170429-09:07:15: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:15: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAccessPolicy(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:15: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:15: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:15: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:15: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:07:15: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:15: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171192715672 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:15: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_20171192715672
1
testUpdateSystemMetadata_MutableAccessPolicy_20171192715672
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-04-29T09:07:15.689+00:00
2017-04-29T09:07:15.689+00:00
urn:node:mnTestARCTIC
urn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:17: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_20171192715672; FilePart:object = /tmp/mmp.output.8530411056109060582.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3709277844792916559.tmp (1109 bytes); [org.dataone.client.rest.RestClient]
20170429-09:07:17: [INFO]: object created. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171192715672 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:17: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:07:18: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAccessPolicy_20171192715672 [org.dataone.client.rest.RestClient]
20170429-09:07:18: [INFO]: created client for certificate file: testGroup with subject: public [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:19: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_20171192715672; FilePart:sysmeta = /tmp/mmp.output.5784536596035753150.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170429-09:07:30: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAccessPolicy_20171192715672 [org.dataone.client.rest.RestClient]
20170429-09:07:30: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:30: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAccessPolicy(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:30: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:30: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:30: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:30: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:07:30: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:30: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171192730544 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:30: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_20171192730544
1
testUpdateSystemMetadata_MutableAccessPolicy_20171192730544
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-04-29T09:07:30.560+00:00
2017-04-29T09:07:30.560+00:00
urn:node:mnTestCLOEBIRD
urn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:31: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_20171192730544; FilePart:object = /tmp/mmp.output.5787149731596232178.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3025230863384958426.tmp (1113 bytes); [org.dataone.client.rest.RestClient]
20170429-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_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
20170429-09:07:31: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:31: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAccessPolicy(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:31: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:31: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:31: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:31: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:07:31: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:31: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_2017119273116 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:31: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_2017119273116
1
testUpdateSystemMetadata_MutableAccessPolicy_2017119273116
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-04-29T09:07:31.030+00:00
2017-04-29T09:07:31.030+00:00
urn:node:mnTestRW
urn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:31: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_2017119273116; FilePart:object = /tmp/mmp.output.7445467904435663880.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6169691011130399287.tmp (1100 bytes); [org.dataone.client.rest.RestClient]
20170429-09:07:31: [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
20170429-09:07:31: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:31: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAccessPolicy(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:31: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:31: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:31: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:31: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:07:31: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:31: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171192731553 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:31: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_20171192731553
1
testUpdateSystemMetadata_MutableAccessPolicy_20171192731553
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-04-29T09:07:31.568+00:00
2017-04-29T09:07:31.568+00:00
urn:node:mnTestEDI
urn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:31: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_20171192731553; FilePart:object = /tmp/mmp.output.8520467290759693160.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5155920531710121344.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170429-09:07:31: [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_20171192731553'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.5155920531710121344.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.8520467290759693160.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18966'
CONTENT_TYPE
'multipart/form-data; boundary=x_ABkDeFY8y9p0Y6yNzSCnaqbCbPuzttJz'
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
'41756'
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\nggLJMIICxTAJBgNVHR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3JlcG9zaXRvcnkvMA0GCSqGSIb3\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
'1493456851832767'
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
'1493456851832593'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493456851832378'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493456851832823'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc7243fdb0>
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_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
)
)
20170429-09:07:32: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
# logging.debug(request.headers)
20170429-09:07:32: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAccessPolicy(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:32: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
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
20170429-09:07:32: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:32: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
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_20171192731553'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.5155920531710121344.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.8520467290759693160.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18966'
CONTENT_TYPE
'multipart/form-data; boundary=x_ABkDeFY8y9p0Y6yNzSCnaqbCbPuzttJz'
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
'41756'
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>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CeH7fVWmUbAh\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
'1493456851832767'
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
'1493456851832593'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493456851832378'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493456851832823'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc7243fdb0>
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',
20170429-09:07:32: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
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'/'
20170429-09:07:32: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
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
20170429-09:07:32: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_201711927327 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:32: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_201711927327
1
testUpdateSystemMetadata_MutableAccessPolicy_201711927327
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-04-29T09:07:32.027+00:00
2017-04-29T09:07:32.027+00:00
urn:node:mnTestNCEI
urn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:32: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_201711927327; FilePart:object = /tmp/mmp.output.6531213787691226450.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.9172916973515606791.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170429-09:07:32: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
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
20170429-09:07:32: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:32: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:32: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:32: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170429-09:07:32: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:32: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:32: [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]
20170429-09:07:32: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:32: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:33: [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]
20170429-09:07:33: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:33: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07: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]
20170429-09:07:33: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:33: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:33: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:07:33: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:33: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:34: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:07:34: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:34: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:34: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:07:34: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:34: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:34: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:07:34: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:34: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:34: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:07:34: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:34: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:35: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:07:35: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:35: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:35: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:07:35: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:35: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:35: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:07:35: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:35: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:35: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:07:35: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:35: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:35: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:35: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:35: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:35: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:35: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:07:35: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:35: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_20171192735810 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:35: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableReplPolicy_20171192735810
1
testUpdateSystemMetadata_MutableReplPolicy_20171192735810
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-04-29T09:07:35.824+00:00
2017-04-29T09:07:35.824+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:36: [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_20171192735810; FilePart:object = /tmp/mmp.output.5549189209469933139.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2812318147834510311.tmp (1107 bytes); [org.dataone.client.rest.RestClient]
20170429-09:07:36: [INFO]: object created. pid = testUpdateSystemMetadata_MutableReplPolicy_20171192735810 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:36: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:07:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableReplPolicy_20171192735810 [org.dataone.client.rest.RestClient]
20170429-09:07:37: [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_20171192735810; FilePart:sysmeta = /tmp/mmp.output.7741252538580904252.tmp (1206 bytes); [org.dataone.client.rest.RestClient]
20170429-09:07:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableReplPolicy_20171192735810 [org.dataone.client.rest.RestClient]
20170429-09:07:48: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:48: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:48: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:48: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:48: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:48: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:07:48: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:48: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_20171192748525 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:48: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableReplPolicy_20171192748525
1
testUpdateSystemMetadata_MutableReplPolicy_20171192748525
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-04-29T09:07:48.540+00:00
2017-04-29T09:07:48.540+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:49: [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_20171192748525; FilePart:object = /tmp/mmp.output.7235789420270206441.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2958291245400930185.tmp (1099 bytes); [org.dataone.client.rest.RestClient]
20170429-09:07:49: [INFO]: object created. pid = testUpdateSystemMetadata_MutableReplPolicy_20171192748525 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:07:49: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:07:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableReplPolicy_20171192748525 [org.dataone.client.rest.RestClient]
20170429-09:07:50: [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_20171192748525; FilePart:sysmeta = /tmp/mmp.output.7187029077391344652.tmp (1198 bytes); [org.dataone.client.rest.RestClient]
20170429-09:08:01: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableReplPolicy_20171192748525 [org.dataone.client.rest.RestClient]
20170429-09:08:01: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:01: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:01: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:01: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:01: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:01: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:08:01: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:01: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_2017119281107 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:01: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableReplPolicy_2017119281107
1
testUpdateSystemMetadata_MutableReplPolicy_2017119281107
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-04-29T09:08:01.121+00:00
2017-04-29T09:08:01.121+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:01: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_2017119281107; FilePart:object = /tmp/mmp.output.4533564623845837659.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2413334906529158962.tmp (1102 bytes); [org.dataone.client.rest.RestClient]
20170429-09:08:01: [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 0x7fbde6e8d790>>
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 0x7fbddeb88590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e8d790>
/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 0x7fbddd13d758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd7bdb50>>
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 0x7fbde6e8d790>
/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 0x7fbddd7bdb50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd13d758>
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 0x7fbddd7bdb50>
/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_2017119281107'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.2413334906529158962.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.4533564623845837659.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18946'
CONTENT_TYPE
'multipart/form-data; boundary=90UuyuQ7VW1MaoZg6cfUh9cBBDoWuo'
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
'40203'
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.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MBQGCCsGAQUFBwMB\nBggrBgEFBQcDAjB1BgNVHSAEbjBsMGAGDCsGAQQBhg4BAgEDATBQME4GCCsGAQUF\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
'1493456286469025'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbdd7153770>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbddc7843b0>
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 0x7fbde6e8d790>>
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 0x7fbddeb88590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e8d790>
/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 0x7fbddd13d758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd7bdb50>>
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 0x7fbde6e8d790>
/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 0x7fbddd7bdb50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd13d758>
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 0x7fbddd7bdb50>
/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_2017119281107'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.2413334906529158962.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.4533564623845837659.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18946'
CONTENT_TYPE
'multipart/form-data; boundary=90UuyuQ7VW1MaoZg6cfUh9cBBDoWuo'
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
'40203'
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\nn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UXNfdb8Z7NPKBzMyqxXMMr6TT0F/pGc/GJSx1icNsR91P50FYN\nglU2kNul1FX5FffrIDnYT1PLmmon63zzoKgcA89H/mzb2eWN46ud6BvoaYI96+nA\nvFdhSzHKeFXzpQeKCG07BRuHqcU=\n-----END CERTIFICATE-----\n'
20170429-09:08:01: [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'
20170429-09:08:01: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
mod_wsgi.application_group
20170429-09:08:01: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
''
20170429-09:08:01: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:01: [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
'1493456286469025'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbdd7153770>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbddc7843b0>
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.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
20170429-09:08:01: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:08:01: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:01: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_2017119281486 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:01: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableReplPolicy_2017119281486
1
testUpdateSystemMetadata_MutableReplPolicy_2017119281486
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-04-29T09:08:01.504+00:00
2017-04-29T09:08:01.504+00:00
urn:node:mnTestNEON
urn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:01: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_2017119281486; FilePart:object = /tmp/mmp.output.4547830938554646382.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2289337204560920177.tmp (1102 bytes); [org.dataone.client.rest.RestClient]
20170429-09:08:01: [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
20170429-09:08:01: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:01: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:01: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:01: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:01: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:01: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:08:01: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:01: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_2017119281802 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:01: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableReplPolicy_2017119281802
1
testUpdateSystemMetadata_MutableReplPolicy_2017119281802
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-04-29T09:08:01.816+00:00
2017-04-29T09:08:01.816+00:00
urn:node:mnTestARCTIC
urn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:03: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_2017119281802; FilePart:object = /tmp/mmp.output.5598013380551639368.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.603467957211319077.tmp (1106 bytes); [org.dataone.client.rest.RestClient]
20170429-09:08:03: [INFO]: object created. pid = testUpdateSystemMetadata_MutableReplPolicy_2017119281802 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:03: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:08:04: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableReplPolicy_2017119281802 [org.dataone.client.rest.RestClient]
20170429-09:08:05: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_2017119281802; FilePart:sysmeta = /tmp/mmp.output.6723970964474354623.tmp (1205 bytes); [org.dataone.client.rest.RestClient]
20170429-09:08:16: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableReplPolicy_2017119281802 [org.dataone.client.rest.RestClient]
20170429-09:08:16: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:16: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:16: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:16: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:16: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:16: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:08:16: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:16: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_20171192816669 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:16: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableReplPolicy_20171192816669
1
testUpdateSystemMetadata_MutableReplPolicy_20171192816669
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-04-29T09:08:16.684+00:00
2017-04-29T09:08:16.684+00:00
urn:node:mnTestCLOEBIRD
urn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:17: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_20171192816669; FilePart:object = /tmp/mmp.output.5275688900384249964.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3737787190360079433.tmp (1111 bytes); [org.dataone.client.rest.RestClient]
20170429-09:08:17: [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
20170429-09:08:17: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:17: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:17: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:17: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:17: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:17: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:08:17: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:17: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_20171192817145 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:17: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableReplPolicy_20171192817145
1
testUpdateSystemMetadata_MutableReplPolicy_20171192817145
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-04-29T09:08:17.159+00:00
2017-04-29T09:08:17.159+00:00
urn:node:mnTestRW
urn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:17: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_20171192817145; FilePart:object = /tmp/mmp.output.3208848095067615062.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1067855204948657084.tmp (1099 bytes); [org.dataone.client.rest.RestClient]
20170429-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:
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
20170429-09:08:17: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:17: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:17: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:17: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:17: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:17: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:08:17: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:17: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_20171192817588 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:17: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableReplPolicy_20171192817588
1
testUpdateSystemMetadata_MutableReplPolicy_20171192817588
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-04-29T09:08:17.599+00:00
2017-04-29T09:08:17.600+00:00
urn:node:mnTestEDI
urn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:17: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_20171192817588; FilePart:object = /tmp/mmp.output.1537051407724204666.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7922511357952478845.tmp (1101 bytes); [org.dataone.client.rest.RestClient]
20170429-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/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_20171192817588'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.7922511357952478845.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.1537051407724204666.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18946'
CONTENT_TYPE
'multipart/form-data; boundary=11IdmeNGi4PsHZgz3rQtbiZBzQB7gK'
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
'41824'
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\nYXRlZCBDZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQUXWYvIzSx6xMxP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IsrctccF9XfcbInaOJumZioDoGih9PdCeA0Jqc/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
'1493456897804010'
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
'1493456897803862'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493456897803642'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493456897804080'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc725242b8>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc72957ab0>
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_20171192817588'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.7922511357952478845.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.1537051407724204666.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18946'
CONTENT_TYPE
'multipart/form-data; boundary=11IdmeNGi4PsHZgz3rQtbiZBzQB7gK'
CONTEXT_DOCUMENT_ROOT
'/var/www'
20170429-09:08:17: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
CONTEXT_PREFIX
''
DOCUMENT_ROOT
'/var/www'
20170429-09:08:17: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:17: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
GATEWAY_INTERFACE
20170429-09:08:17: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
'CGI/1.1'
20170429-09:08:17: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
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
'41824'
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-----\n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HqqYPsyUkgXXyPUN6cuxlBB6WbS3V2\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
'1493456897804010'
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
'1493456897803862'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493456897803642'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493456897804080'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc725242b8>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc72957ab0>
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
[]
20170429-09:08:17: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
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
20170429-09:08:17: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
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
20170429-09:08:17: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_20171192817955 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:17: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableReplPolicy_20171192817955
1
testUpdateSystemMetadata_MutableReplPolicy_20171192817955
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-04-29T09:08:17.967+00:00
2017-04-29T09:08:17.967+00:00
urn:node:mnTestNCEI
urn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:18: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_20171192817955; FilePart:object = /tmp/mmp.output.6076812820047259472.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4202282230928551519.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170429-09:08:18: [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
20170429-09:08:18: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:18: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:18: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:18: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170429-09:08:18: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:18: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:18: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:08:18: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:18: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:19: [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]
20170429-09:08:19: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:19: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:19: [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]
20170429-09:08:19: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:19: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:19: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:08:19: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:19: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:08:20: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:20: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:08:20: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:20: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:08:21: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:21: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:08:21: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:21: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:08:21: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:21: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:08:22: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:22: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:08:22: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:22: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:08:22: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:22: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:22: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:22: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:22: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:22: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:22: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:08:22: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:22: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171192822174 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:22: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171192822174
1
testUpdateSystemMetadata_MutableAuthMN_20171192822174
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-04-29T09:08:22.185+00:00
2017-04-29T09:08:22.185+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08: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_MutableAuthMN_20171192822174; FilePart:object = /tmp/mmp.output.5596022879447893274.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1008264539377974330.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170429-09:08:23: [INFO]: object created. pid = testUpdateSystemMetadata_MutableAuthMN_20171192822174 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:23: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:08:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAuthMN_20171192822174 [org.dataone.client.rest.RestClient]
20170429-09:08: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]
20170429-09:08:25: [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_20171192822174; FilePart:sysmeta = /tmp/mmp.output.4538939555313969767.tmp (1128 bytes); [org.dataone.client.rest.RestClient]
20170429-09:08:36: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAuthMN_20171192822174 [org.dataone.client.rest.RestClient]
20170429-09:08:36: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:36: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:36: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:36: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:36: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:36: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:08:36: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:36: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_2017119283674 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:36: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_2017119283674
1
testUpdateSystemMetadata_MutableAuthMN_2017119283674
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-04-29T09:08:36.087+00:00
2017-04-29T09:08:36.087+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08: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_MutableAuthMN_2017119283674; FilePart:object = /tmp/mmp.output.897807505547296145.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.772217843939050980.tmp (1094 bytes); [org.dataone.client.rest.RestClient]
20170429-09:08:36: [INFO]: object created. pid = testUpdateSystemMetadata_MutableAuthMN_2017119283674 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:36: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:08:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAuthMN_2017119283674 [org.dataone.client.rest.RestClient]
20170429-09:08:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:08:38: [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_2017119283674; FilePart:sysmeta = /tmp/mmp.output.4040742194629339055.tmp (1123 bytes); [org.dataone.client.rest.RestClient]
20170429-09:08:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAuthMN_2017119283674 [org.dataone.client.rest.RestClient]
20170429-09:08:48: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:48: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:48: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:48: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:48: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:48: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:08:48: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:48: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171192848305 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:48: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171192848305
1
testUpdateSystemMetadata_MutableAuthMN_20171192848305
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-04-29T09:08:48.316+00:00
2017-04-29T09:08:48.316+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:48: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171192848305; FilePart:object = /tmp/mmp.output.468255960249253895.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6818984334324844893.tmp (1099 bytes); [org.dataone.client.rest.RestClient]
20170429-09:08: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/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 0x7fbde6e8d790>>
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 0x7fbddeb88590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e8d790>
/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 0x7fbddd13d758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd7bdb50>>
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 0x7fbde6e8d790>
/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 0x7fbddd7bdb50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd13d758>
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 0x7fbddd7bdb50>
/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_20171192848305'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.6818984334324844893.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.468255960249253895.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18971'
CONTENT_TYPE
'multipart/form-data; boundary=huvMsDimR2kqGTra0PIgqGHndjHK5YLIsYAcwF'
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
'40278'
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+EIBDQQfFh1PcGVuU1NMIEdlbmVy\nYXRlZCBDZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQUXWYvIzSx6xMxPwx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
mod_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493456328950194'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbdd71df830>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbdd7a33530>
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 0x7fbde6e8d790>>
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 0x7fbddeb88590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e8d790>
/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 0x7fbddd13d758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd7bdb50>>
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 0x7fbde6e8d790>
/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 0x7fbddd7bdb50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd13d758>
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 0x7fbddd7bdb50>
/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_20171192848305'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.6818984334324844893.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.468255960249253895.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18971'
CONTENT_TYPE
'multipart/form-data; boundary=huvMsDimR2kqGTra0PIgqGHndjHK5YLIsYAcwF'
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
'40278'
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'
20170429-09:08:48: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:48: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:48: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:48: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:48: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
SERVER_SOFTWARE
'Apache/2.4.7 (Ubuntu)'
SSL_CLIENT_CERT
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FI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BEBggrBgEFBQcwAoY4aHR0cDov\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
'1493456328950194'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbdd71df830>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbdd7a33530>
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
20170429-09:08:48: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
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'
20170429-09:08:48: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
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
20170429-09:08:48: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171192848731 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:48: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171192848731
1
testUpdateSystemMetadata_MutableAuthMN_20171192848731
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-04-29T09:08:48.743+00:00
2017-04-29T09:08:48.743+00:00
urn:node:mnTestNEON
urn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:49: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171192848731; FilePart:object = /tmp/mmp.output.4412808142055626341.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8374775944481761982.tmp (1099 bytes); [org.dataone.client.rest.RestClient]
20170429-09:08:49: [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
20170429-09:08:49: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:49: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:49: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:49: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:49: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:49: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:08:49: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:49: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_2017119284938 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:49: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_2017119284938
1
testUpdateSystemMetadata_MutableAuthMN_2017119284938
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-04-29T09:08:49.049+00:00
2017-04-29T09:08:49.049+00:00
urn:node:mnTestARCTIC
urn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:50: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_2017119284938; FilePart:object = /tmp/mmp.output.4162219701145873697.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2100715929265673020.tmp (1102 bytes); [org.dataone.client.rest.RestClient]
20170429-09:08:50: [INFO]: object created. pid = testUpdateSystemMetadata_MutableAuthMN_2017119284938 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:08:50: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:08:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAuthMN_2017119284938 [org.dataone.client.rest.RestClient]
20170429-09:08:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:08:52: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_2017119284938; FilePart:sysmeta = /tmp/mmp.output.2197149378534860215.tmp (1127 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAuthMN_2017119284938 [org.dataone.client.rest.RestClient]
20170429-09:09:03: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:03: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:03: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:03: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:03: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:03: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:09:03: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:03: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_2017119293666 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:03: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_2017119293666
1
testUpdateSystemMetadata_MutableAuthMN_2017119293666
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-04-29T09:09:03.678+00:00
2017-04-29T09:09:03.678+00:00
urn:node:mnTestCLOEBIRD
urn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:04: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_2017119293666; FilePart:object = /tmp/mmp.output.3953980196614103012.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5214079684091926195.tmp (1106 bytes); [org.dataone.client.rest.RestClient]
20170429-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_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
20170429-09:09:04: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:04: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:04: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:04: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:04: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:04: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:09:04: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:04: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_2017119294128 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:04: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_2017119294128
1
testUpdateSystemMetadata_MutableAuthMN_2017119294128
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-04-29T09:09:04.139+00:00
2017-04-29T09:09:04.139+00:00
urn:node:mnTestRW
urn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:04: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_2017119294128; FilePart:object = /tmp/mmp.output.1208288558557543026.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8009607488660627581.tmp (1094 bytes); [org.dataone.client.rest.RestClient]
20170429-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:
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
20170429-09:09:04: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:04: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:04: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:04: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:04: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:04: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:09:04: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:04: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_2017119294640 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:04: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_2017119294640
1
testUpdateSystemMetadata_MutableAuthMN_2017119294640
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-04-29T09:09:04.651+00:00
2017-04-29T09:09:04.651+00:00
urn:node:mnTestEDI
urn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:04: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_2017119294640; FilePart:object = /tmp/mmp.output.6364850535617899678.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1268227457801217954.tmp (1096 bytes); [org.dataone.client.rest.RestClient]
20170429-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/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_2017119294640'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.1268227457801217954.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.6364850535617899678.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18972'
CONTENT_TYPE
'multipart/form-data; boundary=xWJTqLJO7B1j9mx1mcmwFFjsjsR2AxwftOvucQz'
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
'41881'
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\nggLJMIICxTAJBgNVHRMEAjAAMCw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RvcnkvMA0GCSqGSIb3\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
'1493456944836840'
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
'1493456944836611'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493456944836392'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493456944836898'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc8244c540>
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_2017119294640'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.1268227457801217954.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.6364850535617899678.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18972'
CONTENT_TYPE
'multipart/form-data; boundary=xWJTqLJO7B1j9mx1mcmwFFjsjsR2AxwftOvucQz'
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
'41881'
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\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHN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9yZy8wOQYDVR0RBDIwMIIXZ21uLXMuZWRpcmVwb3NpdG9yeS5vcmeC\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
20170429-09:09:05: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
'gmn-s.edirepository.org'
20170429-09:09:05: [INFO]:
apache.version
(2, 4, 18)
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:05: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:05: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:05: [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
'1493456944836840'
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
'1493456944836611'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493456944836392'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493456944836898'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc8244c540>
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
20170429-09:09:05: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
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
20170429-09:09:05: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:05: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171192950 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:05: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171192950
1
testUpdateSystemMetadata_MutableAuthMN_20171192950
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-04-29T09:09:05.026+00:00
2017-04-29T09:09:05.026+00:00
urn:node:mnTestNCEI
urn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:05: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171192950; FilePart:object = /tmp/mmp.output.8318501124180163581.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1486155689530154577.tmp (1096 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09:05: [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
20170429-09:09:05: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:05: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:05: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:05: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170429-09:09:05: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:05: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09: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]
20170429-09:09:05: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:05: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:09:05: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:05: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:06: [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]
20170429-09:09:06: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:06: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:06: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:09:06: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:06: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:09:07: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:07: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:09:08: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:08: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:09:08: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:08: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:09:08: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:08: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:09:08: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:08: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:09: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:09:09: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:09: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:09: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:09:09: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:09: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:09: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:09:09: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:09: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:09: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:09: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:09: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:09: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:09: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:09:09: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:09: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_2017119299607 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:09: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_2017119299607
1
testUpdateSystemMetadata_MutableArchived_2017119299607
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-04-29T09:09:09.620+00:00
2017-04-29T09:09:09.620+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:10: [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_2017119299607; FilePart:object = /tmp/mmp.output.6099397816429827563.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5475620427303745197.tmp (1104 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09:10: [INFO]: object created. pid = testUpdateSystemMetadata_MutableArchived_2017119299607 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:10: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:09:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableArchived_2017119299607 [org.dataone.client.rest.RestClient]
20170429-09:09:12: [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_2017119299607; FilePart:sysmeta = /tmp/mmp.output.4775363268585686624.tmp (1130 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableArchived_2017119299607 [org.dataone.client.rest.RestClient]
20170429-09:09:22: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:22: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:22: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:22: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:22: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:22: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:09:22: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:22: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_20171192922603 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:22: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_20171192922603
1
testUpdateSystemMetadata_MutableArchived_20171192922603
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-04-29T09:09:22.615+00:00
2017-04-29T09:09:22.615+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:23: [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_20171192922603; FilePart:object = /tmp/mmp.output.3514478227518544402.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8180091995278606895.tmp (1097 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09:23: [INFO]: object created. pid = testUpdateSystemMetadata_MutableArchived_20171192922603 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:23: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:09:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableArchived_20171192922603 [org.dataone.client.rest.RestClient]
20170429-09:09:24: [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_20171192922603; FilePart:sysmeta = /tmp/mmp.output.1542673436649584859.tmp (1123 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09:24: [WARN]: MN.updateSystemMetadata() returned a ServiceFailure. [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:09:24: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:24: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:24: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:24: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:24: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:24: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:09:24: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:24: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_20171192924155 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:24: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_20171192924155
1
testUpdateSystemMetadata_MutableArchived_20171192924155
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-04-29T09:09:24.166+00:00
2017-04-29T09:09:24.166+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:24: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableArchived_20171192924155; FilePart:object = /tmp/mmp.output.4812357288963571309.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1280728412995646191.tmp (1101 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09: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 0x7fbde6e8d790>>
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 0x7fbddeb88590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e8d790>
/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 0x7fbddd13d758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd7bdb50>>
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 0x7fbde6e8d790>
/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 0x7fbddd7bdb50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd13d758>
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 0x7fbddd7bdb50>
/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_20171192924155'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.1280728412995646191.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.4812357288963571309.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18948'
CONTENT_TYPE
'multipart/form-data; boundary=7rrY0HxEUyjfkp8_f7EGOK7n_jrd9x-'
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
'40350'
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
'-----BE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c2l0b3J5LWNwcy5qc3AwCAYGZ4EMAQICMEkGA1UdHwRCMEAwPqA8\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
'1493456361156878'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbddc6db130>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbddc6db570>
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 0x7fbde6e8d790>>
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 0x7fbddeb88590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e8d790>
/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 0x7fbddd13d758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd7bdb50>>
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 0x7fbde6e8d790>
/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 0x7fbddd7bdb50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd13d758>
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 0x7fbddd7bdb50>
/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_20171192924155'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.1280728412995646191.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.4812357288963571309.tmp (application/octet-stream)>
20170429-09:09:24: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:24: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:24: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:24: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18948'
CONTENT_TYPE
'multipart/form-data; boundary=7rrY0HxEUyjfkp8_f7EGOK7n_jrd9x-'
CONTEXT_DOCUMENT_ROOT
'/var/www'
CONTEXT_PREFIX
20170429-09:09:24: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
''
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
'40350'
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\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQ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AQELBQAD\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
'1493456361156878'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbddc6db130>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbddc6db570>
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
20170429-09:09:24: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
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
20170429-09:09:24: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
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
20170429-09:09:24: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_20171192924520 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:24: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_20171192924520
1
testUpdateSystemMetadata_MutableArchived_20171192924520
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-04-29T09:09:24.532+00:00
2017-04-29T09:09:24.532+00:00
urn:node:mnTestNEON
urn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:24: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableArchived_20171192924520; FilePart:object = /tmp/mmp.output.4047846806665791690.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1580241920527276895.tmp (1101 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09: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_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
20170429-09:09:24: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:24: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:24: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:24: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:24: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:24: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:09:24: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:24: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_20171192924826 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:24: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_20171192924826
1
testUpdateSystemMetadata_MutableArchived_20171192924826
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-04-29T09:09:24.837+00:00
2017-04-29T09:09:24.837+00:00
urn:node:mnTestARCTIC
urn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:45: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableArchived_20171192924826; FilePart:object = /tmp/mmp.output.3688979275411063974.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.638084070706065202.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09:45: [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
Internal Server Error
The server encountered an internal error or
misconfiguration and was unable to complete
your request.
Please contact the server administrator at
[no address given] to inform them of the time this error occurred,
and the actions you performed just before this error.
More information about this error may be available
in the server error log.
Apache/2.4.7 (Ubuntu) Server at test.arcticdata.io Port 443
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
Internal Server Error
The server encountered an internal error or
misconfiguration and was unable to complete
your request.
Please contact the server administrator at
[no address given] to inform them of the time this error occurred,
and the actions you performed just before this error.
More information about this error may be available
in the server error log.
Apache/2.4.7 (Ubuntu) Server at test.arcticdata.io Port 443
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
20170429-09:09:45: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:45: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:45: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:45: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:45: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:45: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:09:45: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:45: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_20171192945283 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:45: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_20171192945283
1
testUpdateSystemMetadata_MutableArchived_20171192945283
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-04-29T09:09:45.293+00:00
2017-04-29T09:09:45.293+00:00
urn:node:mnTestCLOEBIRD
urn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:45: [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_20171192945283; FilePart:object = /tmp/mmp.output.3708150040814981628.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3936463222648822821.tmp (1109 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09:45: [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
20170429-09:09:45: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:45: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:45: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:45: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:45: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:45: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:09:45: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:45: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_20171192945754 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:45: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_20171192945754
1
testUpdateSystemMetadata_MutableArchived_20171192945754
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-04-29T09:09:45.764+00:00
2017-04-29T09:09:45.764+00:00
urn:node:mnTestRW
urn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:46: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableArchived_20171192945754; FilePart:object = /tmp/mmp.output.3316736776506118211.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6501922966438001592.tmp (1097 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09:46: [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
20170429-09:09:46: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:46: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:46: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:46: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:46: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:46: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:09:46: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:46: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_20171192946154 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:46: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_20171192946154
1
testUpdateSystemMetadata_MutableArchived_20171192946154
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-04-29T09:09:46.164+00:00
2017-04-29T09:09:46.164+00:00
urn:node:mnTestEDI
urn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:46: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableArchived_20171192946154; FilePart:object = /tmp/mmp.output.3593807631162627717.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3088850939992448220.tmp (1099 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09:46: [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_20171192946154'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.3088850939992448220.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.3593807631162627717.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18970'
CONTENT_TYPE
'multipart/form-data; boundary=nIZ9PC3fuevTHHbv_kKTIwXSs740PjQUB-YQw'
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
'41948'
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/IsZAEZFg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ository.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
'1493456986359420'
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
'1493456986359168'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493456986358875'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493456986359482'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc7290c858>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc71a87d70>
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_20171192946154'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.3088850939992448220.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.3593807631162627717.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18970'
CONTENT_TYPE
'multipart/form-data; boundary=nIZ9PC3fuevTHHbv_kKTIwXSs740PjQUB-YQw'
CONTEXT_DOCUMENT_ROOT
'/var/www'
20170429-09:09:46: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
CONTEXT_PREFIX
20170429-09:09:46: [INFO]:
''
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:46: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:46: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
DOCUMENT_ROOT
20170429-09:09:46: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
'/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
'41948'
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
'1493456986359420'
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
'1493456986359168'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493456986358875'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493456986359482'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc7290c858>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc71a87d70>
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
[]
20170429-09:09:46: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
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
20170429-09:09:46: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
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
20170429-09:09:46: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_20171192946521 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:46: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_20171192946521
1
testUpdateSystemMetadata_MutableArchived_20171192946521
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-04-29T09:09:46.531+00:00
2017-04-29T09:09:46.531+00:00
urn:node:mnTestNCEI
urn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:46: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableArchived_20171192946521; FilePart:object = /tmp/mmp.output.864539369020435623.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.950454953194112669.tmp (1101 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09:46: [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
20170429-09:09:46: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:46: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:46: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:46: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170429-09:09:46: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:46: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:47: [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]
20170429-09:09:47: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:47: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:47: [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]
20170429-09:09:47: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:47: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:47: [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]
20170429-09:09:47: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:47: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:47: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:09:47: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:47: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:09:48: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:09:49: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:49: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:09:49: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:49: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:09:49: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:49: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:09:49: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:49: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:09:50: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:50: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:09:50: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:50: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:09:50: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:50: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:50: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:50: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:50: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:50: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:50: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:09:50: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:50: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171192950342 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:50: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171192950342
1
testUpdateSystemMetadata_MutableAuthMN_20171192950342
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-04-29T09:09:50.351+00:00
2017-04-29T09:09:50.351+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:51: [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_20171192950342; FilePart:object = /tmp/mmp.output.7646729104863656706.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5865150344742488762.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09:51: [INFO]: object created. pid = testUpdateSystemMetadata_MutableAuthMN_20171192950342 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:51: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:09:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAuthMN_20171192950342 [org.dataone.client.rest.RestClient]
20170429-09:09:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:09:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:52: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://ncei.nceas.ucsb.edu/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171192950342; FilePart:sysmeta = /tmp/mmp.output.2196406336638660304.tmp (1130 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09:52: [WARN]: MN.updateSystemMetadata() returned a ServiceFailure, was expecting an InvalidRequest or NotAuthorized. [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:09:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:52: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:52: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:52: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:52: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:09:52: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:52: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171192952969 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:52: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171192952969
1
testUpdateSystemMetadata_MutableAuthMN_20171192952969
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-04-29T09:09:52.978+00:00
2017-04-29T09:09:52.978+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:54: [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_20171192952969; FilePart:object = /tmp/mmp.output.4858357755198946991.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.909757023209545134.tmp (1095 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09:54: [INFO]: object created. pid = testUpdateSystemMetadata_MutableAuthMN_20171192952969 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:54: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:09:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAuthMN_20171192952969 [org.dataone.client.rest.RestClient]
20170429-09:09:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:09:54: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:54: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://ncei.nceas.ucsb.edu/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171192952969; FilePart:sysmeta = /tmp/mmp.output.5517311695295034839.tmp (1122 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09:54: [WARN]: MN.updateSystemMetadata() returned a ServiceFailure, was expecting an InvalidRequest or NotAuthorized. [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:09:54: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:54: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:54: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:54: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:54: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:54: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:09:54: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:54: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171192954560 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:54: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171192954560
1
testUpdateSystemMetadata_MutableAuthMN_20171192954560
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-04-29T09:09:54.569+00:00
2017-04-29T09:09:54.569+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:54: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171192954560; FilePart:object = /tmp/mmp.output.4164567114381320524.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1711919257828770273.tmp (1099 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09:54: [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 0x7fbde6e8d790>>
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 0x7fbddeb88590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e8d790>
/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 0x7fbddd13d758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd7bdb50>>
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 0x7fbde6e8d790>
/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 0x7fbddd7bdb50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd13d758>
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 0x7fbddd7bdb50>
/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_20171192954560'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.1711919257828770273.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.4164567114381320524.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18940'
CONTENT_TYPE
'multipart/form-data; boundary=pUch4RNXEgJd1fFXYfJlqWX5IsqyE_'
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
'40389'
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\nkiaJ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LmNvbS9OZXR3b3JrU29sdXRpb25zT1ZT\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
'1493456391136236'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbddc807df0>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbddc807e70>
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 0x7fbde6e8d790>>
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 0x7fbddeb88590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e8d790>
/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 0x7fbddd13d758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd7bdb50>>
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 0x7fbde6e8d790>
/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 0x7fbddd7bdb50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd13d758>
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 0x7fbddd7bdb50>
/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_20171192954560'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.1711919257828770273.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.4164567114381320524.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18940'
CONTENT_TYPE
'multipart/form-data; boundary=pUch4RNXEgJd1fFXYfJlqWX5IsqyE_'
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
'40389'
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+EIBDQQfFh1PcGVuU1NMIEdlbmVy\nYXRlZCBDZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQUXWY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1UdDwEB/wQEAwIFoDAMBgNVHRMBAf8EAjAAMB0GA1UdJQQWMBQGCCsGAQUFBwMB\nBggrBgEFBQcDAjB1BgNVHSAEbjBsMGAGDCsGAQQBhg4BAgEDATBQME4GCCsGAQUF\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'
20170429-09:09:54: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
20170429-09:09:54: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:54: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:54: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:54: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
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
'1493456391136236'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbddc807df0>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbddc807e70>
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'))
20170429-09:09:54: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
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
20170429-09:09:54: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
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
20170429-09:09:54: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171192954906 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:54: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171192954906
1
testUpdateSystemMetadata_MutableAuthMN_20171192954906
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-04-29T09:09:54.916+00:00
2017-04-29T09:09:54.916+00:00
urn:node:mnTestNEON
urn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:55: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171192954906; FilePart:object = /tmp/mmp.output.6562653602121378690.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2771233446217865572.tmp (1099 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09:55: [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
20170429-09:09:55: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:55: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:55: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:55: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:55: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:55: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:09:55: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:55: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171192955212 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:55: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171192955212
1
testUpdateSystemMetadata_MutableAuthMN_20171192955212
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-04-29T09:09:55.221+00:00
2017-04-29T09:09:55.221+00:00
urn:node:mnTestARCTIC
urn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:56: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171192955212; FilePart:object = /tmp/mmp.output.5178755599182728375.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1026302205566940536.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09:56: [INFO]: object created. pid = testUpdateSystemMetadata_MutableAuthMN_20171192955212 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:56: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:09:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAuthMN_20171192955212 [org.dataone.client.rest.RestClient]
20170429-09:09:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:09:57: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:57: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://ncei.nceas.ucsb.edu/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171192955212; FilePart:sysmeta = /tmp/mmp.output.4471678334195948607.tmp (1130 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09:57: [WARN]: MN.updateSystemMetadata() returned a ServiceFailure, was expecting an InvalidRequest or NotAuthorized. [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:09:57: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:57: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:57: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:57: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:57: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:57: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:09:57: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:57: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171192957732 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:57: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171192957732
1
testUpdateSystemMetadata_MutableAuthMN_20171192957732
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-04-29T09:09:57.741+00:00
2017-04-29T09:09:57.741+00:00
urn:node:mnTestCLOEBIRD
urn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [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_20171192957732; FilePart:object = /tmp/mmp.output.5348498139452990870.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5160388451355166199.tmp (1107 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09:58: [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
20170429-09:09:58: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:09:58: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_2017119295856 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_2017119295856
1
testUpdateSystemMetadata_MutableAuthMN_2017119295856
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-04-29T09:09:58.065+00:00
2017-04-29T09:09:58.065+00:00
urn:node:mnTestRW
urn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_2017119295856; FilePart:object = /tmp/mmp.output.3186800636010042088.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8652814329304275519.tmp (1094 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09: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:
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
20170429-09:09:58: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:09:58: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171192958299 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171192958299
1
testUpdateSystemMetadata_MutableAuthMN_20171192958299
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-04-29T09:09:58.307+00:00
2017-04-29T09:09:58.307+00:00
urn:node:mnTestEDI
urn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171192958299; FilePart:object = /tmp/mmp.output.4903188830978299616.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6990001255651001662.tmp (1097 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09: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/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_20171192958299'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.6990001255651001662.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.4903188830978299616.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18954'
CONTENT_TYPE
'multipart/form-data; boundary=iDva2_Kgn6eL5giYgnB37eSDhVoYGbcrtp'
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
'41981'
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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T93xjZOSt/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
'1493456998336278'
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
'1493456998336103'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493456998335880'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493456998336310'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc721222b8>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc726072b0>
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_20171192958299'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.6990001255651001662.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.4903188830978299616.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18954'
CONTENT_TYPE
'multipart/form-data; boundary=iDva2_Kgn6eL5giYgnB37eSDhVoYGbcrtp'
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
'41981'
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\nXrPYU237PE3t3GoDUMm5ksMotc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A6Ly9jcHMubGV0c2Vu\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
'1493456998336278'
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
'1493456998336103'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493456998335880'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493456998336310'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc721222b8>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc726072b0>
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']
20170429-09:09:58: [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'
20170429-09:09:58: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
LANGUAGE_COOKIE_PATH
20170429-09:09:58: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
u'/'
20170429-09:09:58: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
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
20170429-09:09:58: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:09:58: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171192958498 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171192958498
1
testUpdateSystemMetadata_MutableAuthMN_20171192958498
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-04-29T09:09:58.507+00:00
2017-04-29T09:09:58.507+00:00
urn:node:mnTestNCEI
urn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171192958498; FilePart:object = /tmp/mmp.output.5874285776502846624.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5225164895304409315.tmp (1099 bytes); [org.dataone.client.rest.RestClient]
20170429-09:09: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:
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
20170429-09:09:58: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170429-09:09:58: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [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]
20170429-09:09:58: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [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]
20170429-09:09:58: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:58: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:59: [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]
20170429-09:09:59: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:59: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:09:59: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:59: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:09:59: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:59: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:09:59: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:09:59: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:10:00: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:00: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:10:00: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:00: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:10:00: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:00: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:10:00: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:00: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:10:00: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:00: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:01: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:10:01: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:01: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:01: [INFO]:
***************** running test for testUpdateSystemMetadata_ObsoletesFail(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:01: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:01: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:01: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:01: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:10:01: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:01: [INFO]: creating a test object. pid = testUpdateSystemMetadata_ObsoletesFail_2017119210188 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:01: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_ObsoletesFail_2017119210188
1
testUpdateSystemMetadata_ObsoletesFail_2017119210188
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-04-29T09:10:01.101+00:00
2017-04-29T09:10:01.101+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:02: [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_2017119210188; FilePart:object = /tmp/mmp.output.3170237053703161465.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4375034962666934301.tmp (1102 bytes); [org.dataone.client.rest.RestClient]
20170429-09:10:02: [INFO]: object created. pid = testUpdateSystemMetadata_ObsoletesFail_2017119210188 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:02: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:10:14: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/object/testUpdateSystemMetadata_ObsoletesFail_2017119210188; MMP message has: ParamPart:newPid = testUpdateSystemMetadata_ObsoletesFail_2017119210189; FilePart:object = /tmp/mmp.output.7722390521783573546.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6121116993832057773.tmp (839 bytes); [org.dataone.client.rest.RestClient]
20170429-09:10:14: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:14: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:14: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:10:14: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:14: [INFO]: creating a test object. pid = testUpdateSystemMetadata_ObsoletesFail_2017119210191 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:14: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_ObsoletesFail_2017119210191
1
testUpdateSystemMetadata_ObsoletesFail_2017119210191
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-04-29T09:10:14.730+00:00
2017-04-29T09:10:14.730+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:15: [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_2017119210191; FilePart:object = /tmp/mmp.output.3541973002081722115.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3443597299154026534.tmp (1102 bytes); [org.dataone.client.rest.RestClient]
20170429-09:10:15: [INFO]: object created. pid = testUpdateSystemMetadata_ObsoletesFail_2017119210191 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:15: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:10:27: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_ObsoletesFail_2017119210189 [org.dataone.client.rest.RestClient]
20170429-09:10: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_ObsoletesFail_2017119210189; FilePart:sysmeta = /tmp/mmp.output.5359469968825241211.tmp (983 bytes); [org.dataone.client.rest.RestClient]
20170429-09:10:27: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:27: [INFO]:
***************** running test for testUpdateSystemMetadata_ObsoletesFail(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:27: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:27: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:27: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:27: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:10:27: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:27: [INFO]: creating a test object. pid = testUpdateSystemMetadata_ObsoletesFail_201711921027431 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:27: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_ObsoletesFail_201711921027431
1
testUpdateSystemMetadata_ObsoletesFail_201711921027431
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-04-29T09:10:27.443+00:00
2017-04-29T09:10:27.443+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:28: [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_201711921027431; FilePart:object = /tmp/mmp.output.4150452091521069600.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1178838293704835742.tmp (1096 bytes); [org.dataone.client.rest.RestClient]
20170429-09:10:28: [INFO]: object created. pid = testUpdateSystemMetadata_ObsoletesFail_201711921027431 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:28: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:10:40: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/object/testUpdateSystemMetadata_ObsoletesFail_201711921027431; MMP message has: ParamPart:newPid = testUpdateSystemMetadata_ObsoletesFail_201711921027432; FilePart:object = /tmp/mmp.output.6064555519055857050.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1382203240113074491.tmp (837 bytes); [org.dataone.client.rest.RestClient]
20170429-09:10:40: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:40: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:40: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:10:40: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:40: [INFO]: creating a test object. pid = testUpdateSystemMetadata_ObsoletesFail_201711921027433 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:40: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_ObsoletesFail_201711921027433
1
testUpdateSystemMetadata_ObsoletesFail_201711921027433
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-04-29T09:10:40.088+00:00
2017-04-29T09:10:40.088+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10: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_ObsoletesFail_201711921027433; FilePart:object = /tmp/mmp.output.3724488535113427381.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5171862427655571504.tmp (1096 bytes); [org.dataone.client.rest.RestClient]
20170429-09:10:40: [INFO]: object created. pid = testUpdateSystemMetadata_ObsoletesFail_201711921027433 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:40: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:10:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_ObsoletesFail_201711921027432 [org.dataone.client.rest.RestClient]
20170429-09:10:51: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_ObsoletesFail_201711921027432; FilePart:sysmeta = /tmp/mmp.output.4004964508494118154.tmp (979 bytes); [org.dataone.client.rest.RestClient]
20170429-09:10:51: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:51: [INFO]:
***************** running test for testUpdateSystemMetadata_ObsoletesFail(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:51: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:51: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:51: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:51: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:10:51: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:51: [INFO]: creating a test object. pid = testUpdateSystemMetadata_ObsoletesFail_201711921051484 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:51: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_ObsoletesFail_201711921051484
1
testUpdateSystemMetadata_ObsoletesFail_201711921051484
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-04-29T09:10:51.497+00:00
2017-04-29T09:10:51.497+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:51: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_ObsoletesFail_201711921051484; FilePart:object = /tmp/mmp.output.9217478680004065277.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7584408766631338809.tmp (1100 bytes); [org.dataone.client.rest.RestClient]
20170429-09:10:51: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:10:51: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:51: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:51: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:51: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170429-09:10:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:51: [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]
20170429-09:10:51: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:52: [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]
20170429-09:10:52: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:52: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10: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]
20170429-09:10:52: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:52: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:10:52: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:52: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:53: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:10:53: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:53: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:53: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:10:53: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:53: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:10:54: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:54: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:10:54: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:54: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:10:55: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:55: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:10:55: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:55: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:10:55: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:55: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-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]
20170429-09:10:56: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:56: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:56: [INFO]:
***************** running test for testUpdateSystemMetadata_ObsoletedByFail(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:56: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:56: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:56: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:56: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:10:56: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:56: [INFO]: creating a test object. pid = testUpdateSystemMetadata_ObsoletedByFail_20171192105695 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:56: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_ObsoletedByFail_20171192105695
1
testUpdateSystemMetadata_ObsoletedByFail_20171192105695
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-04-29T09:10:56.107+00:00
2017-04-29T09:10:56.107+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:57: [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_20171192105695; FilePart:object = /tmp/mmp.output.8080501444343895518.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5718198715002424146.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170429-09:10:57: [INFO]: object created. pid = testUpdateSystemMetadata_ObsoletedByFail_20171192105695 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:10:57: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:11:09: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/object/testUpdateSystemMetadata_ObsoletedByFail_20171192105695; MMP message has: ParamPart:newPid = testUpdateSystemMetadata_ObsoletedByFail_20171192105696; FilePart:object = /tmp/mmp.output.3026749778688366021.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4743958559075909352.tmp (843 bytes); [org.dataone.client.rest.RestClient]
20170429-09:11:09: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:09: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:09: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:11:09: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:09: [INFO]: creating a test object. pid = testUpdateSystemMetadata_ObsoletedByFail_20171192105697 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:09: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_ObsoletedByFail_20171192105697
1
testUpdateSystemMetadata_ObsoletedByFail_20171192105697
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-04-29T09:11:09.257+00:00
2017-04-29T09:11:09.257+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:10: [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_20171192105697; FilePart:object = /tmp/mmp.output.3716792078886351875.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5523997567285302020.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170429-09:11:10: [INFO]: object created. pid = testUpdateSystemMetadata_ObsoletedByFail_20171192105697 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:10: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:11:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_ObsoletedByFail_20171192105695 [org.dataone.client.rest.RestClient]
20170429-09:11:21: [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_20171192105695; FilePart:sysmeta = /tmp/mmp.output.4659534791634101839.tmp (1219 bytes); [org.dataone.client.rest.RestClient]
20170429-09:11:21: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:21: [INFO]:
***************** running test for testUpdateSystemMetadata_ObsoletedByFail(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:21: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:21: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:21: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:21: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:11:21: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:21: [INFO]: creating a test object. pid = testUpdateSystemMetadata_ObsoletedByFail_201711921121107 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:21: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_ObsoletedByFail_201711921121107
1
testUpdateSystemMetadata_ObsoletedByFail_201711921121107
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-04-29T09:11:21.121+00:00
2017-04-29T09:11:21.121+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:22: [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_201711921121107; FilePart:object = /tmp/mmp.output.2496248118611498885.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8901853853534985433.tmp (1098 bytes); [org.dataone.client.rest.RestClient]
20170429-09:11:22: [INFO]: object created. pid = testUpdateSystemMetadata_ObsoletedByFail_201711921121107 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:22: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:11:33: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/object/testUpdateSystemMetadata_ObsoletedByFail_201711921121107; MMP message has: ParamPart:newPid = testUpdateSystemMetadata_ObsoletedByFail_201711921121109; FilePart:object = /tmp/mmp.output.949130445852934884.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2909433011449685869.tmp (844 bytes); [org.dataone.client.rest.RestClient]
20170429-09:11:33: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:33: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:33: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:11:33: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:33: [INFO]: creating a test object. pid = testUpdateSystemMetadata_ObsoletedByFail_201711921121110 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:33: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_ObsoletedByFail_201711921121110
1
testUpdateSystemMetadata_ObsoletedByFail_201711921121110
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-04-29T09:11:33.785+00:00
2017-04-29T09:11:33.785+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:34: [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_201711921121110; FilePart:object = /tmp/mmp.output.4584487838346176488.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8271916168061179500.tmp (1098 bytes); [org.dataone.client.rest.RestClient]
20170429-09:11:34: [INFO]: object created. pid = testUpdateSystemMetadata_ObsoletedByFail_201711921121110 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:34: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:11:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_ObsoletedByFail_201711921121107 [org.dataone.client.rest.RestClient]
20170429-09:11:45: [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_201711921121107; FilePart:sysmeta = /tmp/mmp.output.6091336323640028798.tmp (1213 bytes); [org.dataone.client.rest.RestClient]
20170429-09:11:45: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:45: [INFO]:
***************** running test for testUpdateSystemMetadata_ObsoletedByFail(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:45: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:45: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:45: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:45: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:11:45: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:45: [INFO]: creating a test object. pid = testUpdateSystemMetadata_ObsoletedByFail_201711921145134 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:45: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_ObsoletedByFail_201711921145134
1
testUpdateSystemMetadata_ObsoletedByFail_201711921145134
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-04-29T09:11:45.147+00:00
2017-04-29T09:11:45.147+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:45: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_ObsoletedByFail_201711921145134; FilePart:object = /tmp/mmp.output.7504686126011865639.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4052634287089093188.tmp (1102 bytes); [org.dataone.client.rest.RestClient]
20170429-09:11:45: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:11:45: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:45: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:45: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:45: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170429-09:11:45: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:45: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:45: [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]
20170429-09:11:45: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:45: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:46: [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]
20170429-09:11:46: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:46: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:46: [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]
20170429-09:11:46: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:46: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:11:46: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:46: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:47: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:11:47: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:47: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:47: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:11:47: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:47: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:47: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:11:47: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:47: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:11:48: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:11:48: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:11:48: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:11:49: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:49: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:11:49: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:49: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:49: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableObsoletedBy(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:49: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:49: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:49: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:49: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:11:49: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:49: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableObsoletedBy_201711921149387 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:49: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableObsoletedBy_201711921149387
1
testUpdateSystemMetadata_MutableObsoletedBy_201711921149387
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-04-29T09:11:49.399+00:00
2017-04-29T09:11:49.399+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:50: [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_201711921149387; FilePart:object = /tmp/mmp.output.1523881573494134812.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3292186278500092846.tmp (1109 bytes); [org.dataone.client.rest.RestClient]
20170429-09:11:50: [INFO]: object created. pid = testUpdateSystemMetadata_MutableObsoletedBy_201711921149387 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:50: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:11:50: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:50: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:50: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:11:50: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:50: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableObsoletedBy_201711921149388 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:50: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableObsoletedBy_201711921149388
1
testUpdateSystemMetadata_MutableObsoletedBy_201711921149388
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-04-29T09:11:50.833+00:00
2017-04-29T09:11:50.833+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:51: [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_201711921149388; FilePart:object = /tmp/mmp.output.3008041979233612289.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8568418478831328415.tmp (1109 bytes); [org.dataone.client.rest.RestClient]
20170429-09:11:51: [INFO]: object created. pid = testUpdateSystemMetadata_MutableObsoletedBy_201711921149388 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:11:51: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:12:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableObsoletedBy_201711921149387 [org.dataone.client.rest.RestClient]
20170429-09:12:02: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableObsoletedBy_201711921149387; FilePart:sysmeta = /tmp/mmp.output.240455135395516443.tmp (1227 bytes); [org.dataone.client.rest.RestClient]
20170429-09:12:02: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:02: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableObsoletedBy(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:02: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:02: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:02: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:02: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:12:02: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:02: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableObsoletedBy_20171192122906 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:02: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableObsoletedBy_20171192122906
1
testUpdateSystemMetadata_MutableObsoletedBy_20171192122906
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-04-29T09:12:02.917+00:00
2017-04-29T09:12:02.917+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:04: [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_20171192122906; FilePart:object = /tmp/mmp.output.8051422827076056516.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7839908796446102503.tmp (1100 bytes); [org.dataone.client.rest.RestClient]
20170429-09:12:04: [INFO]: object created. pid = testUpdateSystemMetadata_MutableObsoletedBy_20171192122906 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:04: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:12:04: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:04: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:04: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:12:04: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:04: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableObsoletedBy_20171192122907 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:04: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableObsoletedBy_20171192122907
1
testUpdateSystemMetadata_MutableObsoletedBy_20171192122907
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-04-29T09:12:04.031+00:00
2017-04-29T09:12:04.031+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:04: [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_20171192122907; FilePart:object = /tmp/mmp.output.2829810980731824868.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4188522523692589581.tmp (1100 bytes); [org.dataone.client.rest.RestClient]
20170429-09:12:04: [INFO]: object created. pid = testUpdateSystemMetadata_MutableObsoletedBy_20171192122907 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:04: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:12:15: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableObsoletedBy_20171192122906 [org.dataone.client.rest.RestClient]
20170429-09:12: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_MutableObsoletedBy_20171192122906; FilePart:sysmeta = /tmp/mmp.output.5969446255526015650.tmp (1217 bytes); [org.dataone.client.rest.RestClient]
20170429-09:12:16: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:16: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableObsoletedBy(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:16: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:16: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:16: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:16: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:12:16: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:16: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableObsoletedBy_201711921216357 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:16: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableObsoletedBy_201711921216357
1
testUpdateSystemMetadata_MutableObsoletedBy_201711921216357
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-04-29T09:12:16.369+00:00
2017-04-29T09:12:16.369+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:16: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableObsoletedBy_201711921216357; FilePart:object = /tmp/mmp.output.5584859058949959518.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4125652308353399442.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170429-09:12:16: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:12:16: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:16: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:16: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:16: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170429-09:12:16: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:16: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-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]
20170429-09:12:16: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:16: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12: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]
20170429-09:12:17: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:17: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12: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]
20170429-09:12:17: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:17: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:12:17: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:17: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-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]
20170429-09:12:18: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:18: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-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]
20170429-09:12:18: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:18: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:19: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:12:19: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:19: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12: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]
20170429-09:12:19: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:19: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-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]
20170429-09:12:19: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:19: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12: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]
20170429-09:12:20: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:20: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:12:20: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:20: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-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]
20170429-09:12:20: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:20: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:20: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableObsoletes(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:20: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:20: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:20: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:20: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:12:20: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:20: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableObsoletes_201711921220768 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:20: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableObsoletes_201711921220768
1
testUpdateSystemMetadata_MutableObsoletes_201711921220768
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-04-29T09:12:20.780+00:00
2017-04-29T09:12:20.780+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-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_MutableObsoletes_201711921220768; FilePart:object = /tmp/mmp.output.8918460152302456284.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8034074207894410002.tmp (1107 bytes); [org.dataone.client.rest.RestClient]
20170429-09:12:21: [INFO]: object created. pid = testUpdateSystemMetadata_MutableObsoletes_201711921220768 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:21: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:12:21: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:21: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:21: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:12:21: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:21: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableObsoletes_201711921220770 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:21: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableObsoletes_201711921220770
1
testUpdateSystemMetadata_MutableObsoletes_201711921220770
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-04-29T09:12:21.786+00:00
2017-04-29T09:12:21.786+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12: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_MutableObsoletes_201711921220770; FilePart:object = /tmp/mmp.output.7655886952700691156.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2579140489481883750.tmp (1107 bytes); [org.dataone.client.rest.RestClient]
20170429-09:12:22: [INFO]: object created. pid = testUpdateSystemMetadata_MutableObsoletes_201711921220770 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:22: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:12:33: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableObsoletes_201711921220770 [org.dataone.client.rest.RestClient]
20170429-09:12: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_MutableObsoletes_201711921220770; FilePart:sysmeta = /tmp/mmp.output.5341787171343563548.tmp (1219 bytes); [org.dataone.client.rest.RestClient]
20170429-09:12:34: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:34: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableObsoletes(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:34: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:34: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:34: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:34: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:12:34: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:34: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableObsoletes_201711921234453 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:34: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableObsoletes_201711921234453
1
testUpdateSystemMetadata_MutableObsoletes_201711921234453
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-04-29T09:12:34.464+00:00
2017-04-29T09:12:34.464+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12: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_MutableObsoletes_201711921234453; FilePart:object = /tmp/mmp.output.7824582700350030707.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.797658747073809668.tmp (1099 bytes); [org.dataone.client.rest.RestClient]
20170429-09:12:35: [INFO]: object created. pid = testUpdateSystemMetadata_MutableObsoletes_201711921234453 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:35: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:12:35: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:35: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:35: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:12:35: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:35: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableObsoletes_201711921234454 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:35: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableObsoletes_201711921234454
1
testUpdateSystemMetadata_MutableObsoletes_201711921234454
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-04-29T09:12:35.649+00:00
2017-04-29T09:12:35.649+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12: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_MutableObsoletes_201711921234454; FilePart:object = /tmp/mmp.output.985036096683791047.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3070811558967600496.tmp (1099 bytes); [org.dataone.client.rest.RestClient]
20170429-09:12:36: [INFO]: object created. pid = testUpdateSystemMetadata_MutableObsoletes_201711921234454 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:36: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:12:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableObsoletes_201711921234454 [org.dataone.client.rest.RestClient]
20170429-09:12: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_MutableObsoletes_201711921234454; FilePart:sysmeta = /tmp/mmp.output.8022083548377210010.tmp (1211 bytes); [org.dataone.client.rest.RestClient]
20170429-09:12:47: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:47: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableObsoletes(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:47: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:47: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:47: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:47: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:12:47: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:47: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableObsoletes_201711921247590 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:47: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableObsoletes_201711921247590
1
testUpdateSystemMetadata_MutableObsoletes_201711921247590
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-04-29T09:12:47.601+00:00
2017-04-29T09:12:47.601+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:48: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableObsoletes_201711921247590; FilePart:object = /tmp/mmp.output.1301801378038555003.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6725465209621014526.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170429-09:12:48: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:12:48: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:48: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:48: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:48: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170429-09:12:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12: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]
20170429-09:12:48: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12: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]
20170429-09:12:48: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12: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]
20170429-09:12:48: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:12:48: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:48: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:12:49: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:49: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:12:50: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:50: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:12:50: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:50: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12: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]
20170429-09:12:50: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:50: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:12:51: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12: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]
20170429-09:12:51: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:12:52: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:52: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-09:12:52: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:52: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:52: [INFO]:
***************** running test for testUpdateSystemMetadata_CNCertNonAuthMN(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:12:53: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:12:53: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://mn-stage-unm-1.test.dataone.org/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:12:53: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:13:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-unm-1.test.dataone.org/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:13:23: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: unable to getCapabilities() for node https://mn-stage-unm-1.test.dataone.org/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:23: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:13:23: [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]
20170429-09:13:23: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: found valid replica target: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:23: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: http://test.piscoweb.org/catalog/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:13:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://test.piscoweb.org/catalog/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:13:24: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: unable to getCapabilities() for node http://test.piscoweb.org/catalog/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:24: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:13:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:13:24: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: unable to getCapabilities() for node http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:24: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:13:24: [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]
20170429-09:13:24: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: found valid replica target: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:24: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://gmn-s.lternet.edu/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:13:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:13:25: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: found valid replica target: https://gmn-s.lternet.edu/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:25: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://dataone-test.pop.umn.edu/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:25: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:13:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.pop.umn.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:13:55: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: unable to getCapabilities() for node https://dataone-test.pop.umn.edu/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:55: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:55: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:13:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:13:56: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: unable to getCapabilities() for node https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:56: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://dataonetest.tamucc.edu/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:56: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:13:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataonetest.tamucc.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:13:56: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: unable to getCapabilities() for node https://dataonetest.tamucc.edu/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:56: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:56: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:13:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:13:56: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: found valid replica target: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:56: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:56: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:13:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:13:57: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: found valid replica target: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:57: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:57: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:13:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:13:57: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: found valid replica target: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:57: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:57: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:13:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:13:58: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: found valid replica target: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:58: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://r2r-node.test.dataone.org/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:58: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:13:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://r2r-node.test.dataone.org/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:13:58: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: unable to getCapabilities() for node https://r2r-node.test.dataone.org/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:58: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:58: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:13:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:13:58: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: unable to getCapabilities() for node https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:58: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://gmn-s.edirepository.org/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:58: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:13:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:13:59: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: found valid replica target: https://gmn-s.edirepository.org/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:59: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: checking if valid replica target: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:59: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:13:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170429-09:13:59: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: found valid replica target: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:59: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:13:59: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: creating test object: testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:13:59: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:13:59: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:13:59: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:13:59: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:13:59: [INFO]: creating a test object. pid = testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:13:59: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290
1
testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290
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-04-29T09:13:59.435+00:00
2017-04-29T09:13:59.435+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:14:00: [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_201711921252290; FilePart:object = /tmp/mmp.output.2499055619286603723.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4263995658037151656.tmp (1145 bytes); [org.dataone.client.rest.RestClient]
20170429-09:14:00: [INFO]: object created. pid = testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-09:14:00: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-09:14:00: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: waiting for replication... (up to 45.0 minutes) [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:14:00: [INFO]: testUpdateSystemMetadata_CNCertNonAuthMN: fetching sysmeta from CN https://cn-stage-orc-1.test.dataone.org/cn/v2 [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:14:00: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:14:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:14:32: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:14:33: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:15:03: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:15:04: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:15:51: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:15:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:15:52: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:16:22: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:16:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:16:24: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:16:54: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:16:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:16:55: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:17:25: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:17:27: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:17:27: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:17:57: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:17:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:17:58: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:18:28: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:18:30: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:18:30: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:19:00: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:19:01: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:19:01: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:19:31: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:19:33: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:19:33: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:20:03: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:20:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:20:03: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:20:33: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:20:35: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:20:35: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:21:05: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:21:06: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:21:06: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:21:36: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:21:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:21:37: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:22:07: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:22:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:22:08: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:22:38: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:22:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:22:40: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:23:10: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:23:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:23:11: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:23:41: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:23:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:23:43: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:24:13: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:24:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:24:14: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:24:44: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:24:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:24:46: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:25:16: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:25:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:25:17: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:25:47: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:25:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:25:49: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:26:19: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:26:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:26:20: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:26:50: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:26:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:26:51: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:27:21: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:27:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:27:22: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:27:52: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:27:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:27:54: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:28:24: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:28:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:28:25: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:28:55: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:29:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:29:17: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:29:47: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:29:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:29:48: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:30:18: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:30:19: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:30:19: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:30:49: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:30:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:30:50: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:31:20: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:31:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:31:22: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:31:52: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:31:53: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:31:53: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:32:23: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:32:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:32:25: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:32:55: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:32:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:32:56: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:33:26: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:33:28: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:33:28: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:33:58: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:33:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:33:59: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:34:29: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:34:31: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:34:31: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:35:01: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:35:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:35:02: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:35:32: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:35:34: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:35:34: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:36:04: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:36:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:36:05: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:36:35: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:36:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:36:37: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:37:07: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:37:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:37:08: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:37:38: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:37:39: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:37:39: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:38:09: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:38:10: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:38:10: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:38:40: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:38:42: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:38:42: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:39:12: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:39:13: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:39:13: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:39:43: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:39:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:39:45: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:40:15: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:40:16: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:40:16: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:40:46: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:40:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:40:48: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:41:18: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:41:19: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:41:19: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:41:49: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:41:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:41:50: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:42:20: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:42:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:42:21: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:42:51: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:42:53: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:42:53: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:43:23: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:43:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:43:24: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:43:54: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:43:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:43:56: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:44:26: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:44:27: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:44:27: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:44:57: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:44:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:44:59: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:45:29: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:45:30: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:45:30: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:46:00: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:46:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:46:02: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:46:32: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:46:33: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:46:33: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:47:03: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:47:04: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:47:04: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:47:34: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:47:35: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:47:35: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:48:05: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:48:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:48:07: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:48:37: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:48:38: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:48:38: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:49:08: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:49:10: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:49:10: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:49:40: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:49:41: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:49:41: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:50:11: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:50:13: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:50:13: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:50:43: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:50:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:50:44: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:51:14: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:51:16: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:51:16: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:51:46: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:51:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:51:51: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:52:21: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:52:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:52:23: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:52:53: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:52:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:52:54: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:53:24: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:53:26: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:53:26: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:53:56: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:53:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:53:57: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:54:27: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:54:29: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:54:29: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:54:59: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:55:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:55:00: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:55:30: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:55:32: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:55:32: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:56:02: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:56:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:56:02: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:56:32: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:56:34: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:56:34: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:57:04: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:57:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:57:05: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:57:35: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:57:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:57:37: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:58:07: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:58:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:58:08: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:58:38: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:58:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:58:40: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:59:10: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:59:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:59:11: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:59:41: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-09:59:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-09:59:43: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-10:00:13: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-10:00:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-10:00:14: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-10:00:44: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-10:00:46: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-10:00:46: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-10:01:16: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-10:01:17: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-10:01:17: [INFO]: attempting to get replicas from CN sysmeta... [org.dataone.integration.it.ContextAwareAdapter]
20170429-10:01:47: [INFO]: attempting CN getSystemMEtadata... [org.dataone.integration.it.ContextAwareAdapter]
20170429-10:01:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290 [org.dataone.client.rest.RestClient]
20170429-10:01:49: [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_201711921252290
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)
20170429-10:02:19: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:19: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:19: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:19: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170429-10:02:19: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:19: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:19: [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]
20170429-10:02:19: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:19: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:20: [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]
20170429-10:02:20: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:20: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:20: [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]
20170429-10:02:20: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:20: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:02:20: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:20: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:02:22: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:22: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:02:22: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:22: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:02:23: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02: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]
20170429-10:02:23: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:02:24: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02: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]
20170429-10:02:24: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:02:25: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:25: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:02:25: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:25: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:25: [INFO]:
***************** running test for testUpdateSystemMetadata_RightsHolder(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:25: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:25: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:25: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:25: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:02:25: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:25: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_20171193225843 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:25: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_20171193225843
1
testUpdateSystemMetadata_RightsHolder_20171193225843
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-04-29T10:02:25.853+00:00
2017-04-29T10:02:25.853+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02: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_RightsHolder_20171193225843; FilePart:object = /tmp/mmp.output.4367513424948194071.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7418250509388252889.tmp (1102 bytes); [org.dataone.client.rest.RestClient]
20170429-10:02:27: [INFO]: object created. pid = testUpdateSystemMetadata_RightsHolder_20171193225843 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:27: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:02:28: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_RightsHolder_20171193225843 [org.dataone.client.rest.RestClient]
20170429-10:02:28: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_RightsHolder_20171193225843; FilePart:sysmeta = /tmp/mmp.output.8291670136259448640.tmp (1129 bytes); [org.dataone.client.rest.RestClient]
20170429-10:02:39: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_RightsHolder_20171193225843 [org.dataone.client.rest.RestClient]
20170429-10:02:39: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:39: [INFO]:
***************** running test for testUpdateSystemMetadata_RightsHolder(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:39: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:39: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:39: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:39: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:02:39: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:39: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_2017119323993 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:39: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_2017119323993
1
testUpdateSystemMetadata_RightsHolder_2017119323993
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-04-29T10:02:39.102+00:00
2017-04-29T10:02:39.102+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02: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_RightsHolder_2017119323993; FilePart:object = /tmp/mmp.output.931085152773718467.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3862394649313039698.tmp (1093 bytes); [org.dataone.client.rest.RestClient]
20170429-10:02:40: [INFO]: object created. pid = testUpdateSystemMetadata_RightsHolder_2017119323993 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:40: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:02:40: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_RightsHolder_2017119323993 [org.dataone.client.rest.RestClient]
20170429-10:02:41: [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_2017119323993; FilePart:sysmeta = /tmp/mmp.output.1979186576808039756.tmp (1120 bytes); [org.dataone.client.rest.RestClient]
20170429-10:02:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_RightsHolder_2017119323993 [org.dataone.client.rest.RestClient]
20170429-10:02:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:52: [INFO]:
***************** running test for testUpdateSystemMetadata_RightsHolder(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:52: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:52: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:52: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:02:52: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:52: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_20171193252319 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:52: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_20171193252319
1
testUpdateSystemMetadata_RightsHolder_20171193252319
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-04-29T10:02:52.328+00:00
2017-04-29T10:02:52.328+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:52: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_RightsHolder_20171193252319; FilePart:object = /tmp/mmp.output.8503078408219253643.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7258733111677305203.tmp (1098 bytes); [org.dataone.client.rest.RestClient]
20170429-10:02: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:
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 0x7fbde6e8d790>>
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 0x7fbddeb88590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e8d790>
/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 0x7fbddd13d758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd7bdb50>>
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 0x7fbde6e8d790>
/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 0x7fbddd7bdb50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd13d758>
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 0x7fbddd7bdb50>
/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_20171193252319'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.7258733111677305203.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.8503078408219253643.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18950'
CONTENT_TYPE
'multipart/form-data; boundary=G3PuLn0pl9aeNhKwCCAuo3PvwbmU8M3sj'
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
'42269'
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_P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cDAjB1BgNVHSAEbjBsMGAGDCsGAQQBhg4BAgEDATBQME4GCCsGAQUF\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
'1493460097403495'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbddc6bec70>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbddc6be730>
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 0x7fbde6e8d790>>
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 0x7fbddeb88590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e8d790>
/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 0x7fbddd13d758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd7bdb50>>
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 0x7fbde6e8d790>
/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)
20170429-10:02:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
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 0x7fbddd7bdb50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd13d758>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
20170429-10:02:52: [INFO]:
***************** running test for testUpdateSystemMetadata_RightsHolder(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
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
20170429-10:02:52: [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'>
20170429-10:02:52: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:52: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd7bdb50>
/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_20171193252319'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.7258733111677305203.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.8503078408219253643.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18950'
CONTENT_TYPE
'multipart/form-data; boundary=G3PuLn0pl9aeNhKwCCAuo3PvwbmU8M3sj'
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
'42269'
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\nDTE4MDUxOTE4NTcyMlowST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lNlcnZlckNBMi5j\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
'1493460097403495'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbddc6bec70>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbddc6be730>
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
20170429-10:02:52: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
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'),
20170429-10:02:52: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
(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)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170429-10:02:52: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_20171193252916 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:52: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_20171193252916
1
testUpdateSystemMetadata_RightsHolder_20171193252916
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-04-29T10:02:52.925+00:00
2017-04-29T10:02:52.925+00:00
urn:node:mnTestNEON
urn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:53: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_RightsHolder_20171193252916; FilePart:object = /tmp/mmp.output.1562537423459083850.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5037743815454066995.tmp (1098 bytes); [org.dataone.client.rest.RestClient]
20170429-10:02:53: [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
20170429-10:02:53: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:53: [INFO]:
***************** running test for testUpdateSystemMetadata_RightsHolder(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:53: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:53: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:53: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:53: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:02:53: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:53: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_20171193253424 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:53: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_20171193253424
1
testUpdateSystemMetadata_RightsHolder_20171193253424
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-04-29T10:02:53.432+00:00
2017-04-29T10:02:53.432+00:00
urn:node:mnTestARCTIC
urn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:55: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_RightsHolder_20171193253424; FilePart:object = /tmp/mmp.output.5318628585304591238.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3488691547935430554.tmp (1102 bytes); [org.dataone.client.rest.RestClient]
20170429-10:02:55: [INFO]: object created. pid = testUpdateSystemMetadata_RightsHolder_20171193253424 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:02:55: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:02:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_RightsHolder_20171193253424 [org.dataone.client.rest.RestClient]
20170429-10:02:57: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_RightsHolder_20171193253424; FilePart:sysmeta = /tmp/mmp.output.799745801612696549.tmp (1129 bytes); [org.dataone.client.rest.RestClient]
20170429-10:03:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_RightsHolder_20171193253424 [org.dataone.client.rest.RestClient]
20170429-10:03:08: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:08: [INFO]:
***************** running test for testUpdateSystemMetadata_RightsHolder(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:08: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:08: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:08: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:08: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:03:08: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:08: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_201711933857 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:08: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_201711933857
1
testUpdateSystemMetadata_RightsHolder_201711933857
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-04-29T10:03:08.066+00:00
2017-04-29T10:03:08.066+00:00
urn:node:mnTestCLOEBIRD
urn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:08: [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_201711933857; FilePart:object = /tmp/mmp.output.8652948739132872067.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.426143910804304419.tmp (1104 bytes); [org.dataone.client.rest.RestClient]
20170429-10:03:08: [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
20170429-10:03:08: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:08: [INFO]:
***************** running test for testUpdateSystemMetadata_RightsHolder(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:08: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:08: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:08: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:08: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:03:08: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:08: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_2017119338532 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:08: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_2017119338532
1
testUpdateSystemMetadata_RightsHolder_2017119338532
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-04-29T10:03:08.541+00:00
2017-04-29T10:03:08.541+00:00
urn:node:mnTestRW
urn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:09: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_RightsHolder_2017119338532; FilePart:object = /tmp/mmp.output.675881188435648372.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6223603009850333888.tmp (1093 bytes); [org.dataone.client.rest.RestClient]
20170429-10:03:09: [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
20170429-10:03:09: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:09: [INFO]:
***************** running test for testUpdateSystemMetadata_RightsHolder(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:09: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:09: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:09: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:09: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:03:09: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:09: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_201711933963 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:09: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_201711933963
1
testUpdateSystemMetadata_RightsHolder_201711933963
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-04-29T10:03:09.072+00:00
2017-04-29T10:03:09.072+00:00
urn:node:mnTestEDI
urn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:09: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_RightsHolder_201711933963; FilePart:object = /tmp/mmp.output.3276885590428028958.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7004315652148070477.tmp (1094 bytes); [org.dataone.client.rest.RestClient]
20170429-10:03:09: [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_201711933963'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.7004315652148070477.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.3276885590428028958.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18932'
CONTENT_TYPE
'multipart/form-data; boundary=CEBgDPQZXLSzfsdw1YdHV2zLdZQdtB'
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
'43884'
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.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ixMj0R2dZpdtqg\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
'1493460189548518'
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
'1493460189548336'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493460189548107'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493460189548565'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc728bc6a8>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc72965ef0>
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',
'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_201711933963'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.7004315652148070477.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.3276885590428028958.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18932'
CONTENT_TYPE
'multipart/form-data; boundary=CEBgDPQZXLSzfsdw1YdHV2zLdZQdtB'
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
'43884'
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+0sTc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aWVkIHVwb24gYnkgUmVseWluZyBQYXJ0aWVzIGFuZCBvbmx5\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'
20170429-10:03:09: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:09: [INFO]:
***************** running test for testUpdateSystemMetadata_RightsHolder(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
apache.version
(2, 4, 18)
mod_wsgi.application_group
''
mod_wsgi.callable_object
20170429-10:03:09: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
'application'
20170429-10:03:09: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:09: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
mod_wsgi.daemon_connects
'1'
mod_wsgi.daemon_restarts
'0'
mod_wsgi.daemon_start
'1493460189548518'
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
'1493460189548336'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493460189548107'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493460189548565'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc728bc6a8>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc72965ef0>
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'),
20170429-10:03:09: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
(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
20170429-10:03:09: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
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
20170429-10:03:09: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_2017119339709 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:09: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_2017119339709
1
testUpdateSystemMetadata_RightsHolder_2017119339709
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-04-29T10:03:09.717+00:00
2017-04-29T10:03:09.717+00:00
urn:node:mnTestNCEI
urn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:10: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_RightsHolder_2017119339709; FilePart:object = /tmp/mmp.output.5936366965245393977.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3545773306357999870.tmp (1097 bytes); [org.dataone.client.rest.RestClient]
20170429-10:03:10: [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
20170429-10:03:10: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:10: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:10: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:10: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170429-10:03:10: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:10: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:10: [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]
20170429-10:03:10: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:10: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:10: [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]
20170429-10:03:10: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:10: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:10: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:03:10: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:10: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:10: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:03:10: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:10: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:03:11: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:11: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:03:12: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:12: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:03:12: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:12: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:03:12: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:12: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:03:12: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:12: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:13: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:03:13: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:13: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:13: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:03:13: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:13: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:13: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:03:13: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:13: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:13: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:13: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:13: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:13: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:13: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:03:13: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:13: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_20171193313406 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:13: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_20171193313406
1
testUpdateSystemMetadata_MutableRightsHolder_20171193313406
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-04-29T10:03:13.415+00:00
2017-04-29T10:03:13.415+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:14: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_20171193313406; FilePart:object = /tmp/mmp.output.836065015277045467.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5726701354395001740.tmp (1109 bytes); [org.dataone.client.rest.RestClient]
20170429-10:03:14: [INFO]: object created. pid = testUpdateSystemMetadata_MutableRightsHolder_20171193313406 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:14: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:03:15: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableRightsHolder_20171193313406 [org.dataone.client.rest.RestClient]
20170429-10:03:15: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:15: [INFO]: certificate filename: testPerson [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:15: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:03:15: [INFO]: client setup as Subject: CN=testPerson,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:15: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:03:15: [INFO]: created client for certificate file: testPerson with subject: CN=testPerson,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:15: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_20171193313406; FilePart:sysmeta = /tmp/mmp.output.7526243563829706377.tmp (1130 bytes); [org.dataone.client.rest.RestClient]
20170429-10:03:26: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableRightsHolder_20171193313406 [org.dataone.client.rest.RestClient]
20170429-10:03:26: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:26: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:26: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:26: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:26: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:26: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:03:26: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:26: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_20171193326731 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:26: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_20171193326731
1
testUpdateSystemMetadata_MutableRightsHolder_20171193326731
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-04-29T10:03:26.741+00:00
2017-04-29T10:03:26.741+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:28: [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_20171193326731; FilePart:object = /tmp/mmp.output.1942629294240682362.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5239944624230780183.tmp (1101 bytes); [org.dataone.client.rest.RestClient]
20170429-10:03:28: [INFO]: object created. pid = testUpdateSystemMetadata_MutableRightsHolder_20171193326731 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:28: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:03:28: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableRightsHolder_20171193326731 [org.dataone.client.rest.RestClient]
20170429-10:03:28: [INFO]: created client for certificate file: testPerson with subject: CN=testPerson,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:29: [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_20171193326731; FilePart:sysmeta = /tmp/mmp.output.5510402136215634461.tmp (1122 bytes); [org.dataone.client.rest.RestClient]
20170429-10:03:39: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableRightsHolder_20171193326731 [org.dataone.client.rest.RestClient]
20170429-10:03:39: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:39: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:39: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:39: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:39: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:39: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:03:39: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:39: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_20171193339331 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:39: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_20171193339331
1
testUpdateSystemMetadata_MutableRightsHolder_20171193339331
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-04-29T10:03:39.341+00:00
2017-04-29T10:03:39.341+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:39: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_20171193339331; FilePart:object = /tmp/mmp.output.3010825490208055844.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5332140449473924269.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170429-10:03: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/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 0x7fbde6e8d790>>
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 0x7fbddeb88590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e8d790>
/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 0x7fbddd13d758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd7bdb50>>
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 0x7fbde6e8d790>
/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 0x7fbddd7bdb50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd13d758>
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 0x7fbddd7bdb50>
/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_20171193339331'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.5332140449473924269.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.3010825490208055844.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18964'
CONTENT_TYPE
'multipart/form-data; boundary=puF8EE6Y5S_kxZQw37KL0mk2Qpz3dPnWR'
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
'42330'
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\nggLJMIICxTAJBgNVHR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FICATE-----\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
'1493460139467236'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbdd7c50cb0>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbdd7c50170>
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 0x7fbde6e8d790>>
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 0x7fbddeb88590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e8d790>
/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 0x7fbddd13d758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd7bdb50>>
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 0x7fbde6e8d790>
/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 0x7fbddd7bdb50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd13d758>
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 0x7fbddd7bdb50>
/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_20171193339331'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.5332140449473924269.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.3010825490208055844.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18964'
CONTENT_TYPE
'multipart/form-data; boundary=puF8EE6Y5S_kxZQw37KL0mk2Qpz3dPnWR'
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
'42330'
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+p3wh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gX4cdpD1y+WcnNj8KsOoNYooZTQhIAx5DwDB+2FSlq7wDLB1kpKt8wtlVpjDA5\nk6mI0Yfs2HFm/HgxFmVblUfFEoWRJDXL1vm0aZv/pQyDhZW15Wh5HjZIJSFbqtsb\n3wI2a4rzmjUAEwUXNfdb8Z7NPKBzMyqxXMMr6TT0F/pGc/GJSx1icNsR91P50FYN\nglU2kNul1FX5FffrIDnYT1PLmmon63zzoKgcA89H/mzb2eWN46ud6BvoaYI96+nA\nvFdhSzHKeFXzpQeKCG07BRuHqcU=\n-----END CERTIFICATE-----\n'
20170429-10:03:39: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:39: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:39: [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
''
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
'1493460139467236'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbdd7c50cb0>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbdd7c50170>
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
20170429-10:03:39: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
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'********************'
20170429-10:03:39: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
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'
20170429-10:03:39: [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',
20170429-10:03:39: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
'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
20170429-10:03:39: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_20171193339681 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:39: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_20171193339681
1
testUpdateSystemMetadata_MutableRightsHolder_20171193339681
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-04-29T10:03:39.690+00:00
2017-04-29T10:03:39.690+00:00
urn:node:mnTestNEON
urn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:40: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_20171193339681; FilePart:object = /tmp/mmp.output.13350160797646902.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7745466776441001629.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170429-10:03:40: [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
20170429-10:03:40: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:40: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:40: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:40: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:40: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:40: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:03:40: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:40: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_20171193340262 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:40: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_20171193340262
1
testUpdateSystemMetadata_MutableRightsHolder_20171193340262
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-04-29T10:03:40.271+00:00
2017-04-29T10:03:40.271+00:00
urn:node:mnTestARCTIC
urn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:42: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_20171193340262; FilePart:object = /tmp/mmp.output.2586564886076933477.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4549070762507206495.tmp (1109 bytes); [org.dataone.client.rest.RestClient]
20170429-10:03:42: [INFO]: object created. pid = testUpdateSystemMetadata_MutableRightsHolder_20171193340262 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:42: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:03:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableRightsHolder_20171193340262 [org.dataone.client.rest.RestClient]
20170429-10:03:43: [INFO]: created client for certificate file: testPerson with subject: CN=testPerson,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:43: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_20171193340262; FilePart:sysmeta = /tmp/mmp.output.8869725180870971354.tmp (1130 bytes); [org.dataone.client.rest.RestClient]
20170429-10:03:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableRightsHolder_20171193340262 [org.dataone.client.rest.RestClient]
20170429-10:03:55: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:55: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:55: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:55: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:55: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:55: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:03:55: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:55: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_20171193355552 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:55: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_20171193355552
1
testUpdateSystemMetadata_MutableRightsHolder_20171193355552
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-04-29T10:03:55.562+00:00
2017-04-29T10:03:55.562+00:00
urn:node:mnTestCLOEBIRD
urn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:55: [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_20171193355552; FilePart:object = /tmp/mmp.output.4979240453480777372.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1457843862612077152.tmp (1113 bytes); [org.dataone.client.rest.RestClient]
20170429-10:03:55: [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
20170429-10:03:56: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:56: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:56: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:56: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:56: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:56: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:03:56: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:56: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_201711933566 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:56: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_201711933566
1
testUpdateSystemMetadata_MutableRightsHolder_201711933566
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-04-29T10:03:56.014+00:00
2017-04-29T10:03:56.014+00:00
urn:node:mnTestRW
urn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:56: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_201711933566; FilePart:object = /tmp/mmp.output.6050523080195286306.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3857368726472673480.tmp (1099 bytes); [org.dataone.client.rest.RestClient]
20170429-10:03:56: [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
20170429-10:03:56: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:56: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:56: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:56: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:56: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:56: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:03:56: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:56: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_20171193356434 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:56: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_20171193356434
1
testUpdateSystemMetadata_MutableRightsHolder_20171193356434
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-04-29T10:03:56.443+00:00
2017-04-29T10:03:56.443+00:00
urn:node:mnTestEDI
urn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:56: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_20171193356434; FilePart:object = /tmp/mmp.output.3094188722888053855.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.9098309676935078955.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170429-10:03:56: [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_20171193356434'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.9098309676935078955.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.3094188722888053855.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18954'
CONTENT_TYPE
'multipart/form-data; boundary=B-BbjZMd3W1RludM5SpcqWO6YzBQXQF'
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
'43923'
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+SVq4pbfXYC67mwCHfE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0aWVzIGFuZCBvbmx5\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
'1493460236660010'
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
'1493460236659827'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493460236659581'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493460236660071'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc72565ed0>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc72a06eb0>
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_20171193356434'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.9098309676935078955.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.3094188722888053855.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18954'
CONTENT_TYPE
'multipart/form-data; boundary=B-BbjZMd3W1RludM5SpcqWO6YzBQXQF'
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
'43923'
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\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4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ZDBiMC8GCCsGAQUFBzABhiNodHRwOi8vb2NzcC5pbnQteDMubGV0c2Vu\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
'1493460236660010'
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
'1493460236659827'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493460236659581'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493460236660071'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc72565ed0>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc72a06eb0>
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'},
20170429-10:03:56: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
'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'
20170429-10:03:56: [INFO]:
LOG_PATH
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
'/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''
20170429-10:03:56: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
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'
20170429-10:03:56: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
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
20170429-10:03:56: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
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
20170429-10:03:56: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:03:56: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:56: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_20171193356816 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:56: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_20171193356816
1
testUpdateSystemMetadata_MutableRightsHolder_20171193356816
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-04-29T10:03:56.826+00:00
2017-04-29T10:03:56.826+00:00
urn:node:mnTestNCEI
urn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:57: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_20171193356816; FilePart:object = /tmp/mmp.output.166983232042970597.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4554266513615155673.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170429-10:03:57: [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
20170429-10:03:57: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:57: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:57: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:57: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170429-10:03:57: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:57: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03: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]
20170429-10:03:57: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:57: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03: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]
20170429-10:03:57: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:57: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:57: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:03:57: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:57: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:03:58: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:58: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:03:58: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:58: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:03:59: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:59: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:03:59: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:59: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03: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]
20170429-10:03:59: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:59: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:03:59: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:03:59: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone.lib.uic.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:04:00: [INFO]: MN excluded from test: https://dataone.lib.uic.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:00: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:04:00: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:00: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170429-10:04:00: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:00: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:00: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableFormat(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:00: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:00: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:00: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:00: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:04:00: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:00: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_2017119340458 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:00: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_2017119340458
1
testUpdateSystemMetadata_MutableFormat_2017119340458
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-04-29T10:04:00.469+00:00
2017-04-29T10:04:00.469+00:00
urn:node:mnStageUCSB2
urn:node:mnStageUCSB2
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:01: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_2017119340458; FilePart:object = /tmp/mmp.output.6297135485651878388.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7444020393386070269.tmp (1102 bytes); [org.dataone.client.rest.RestClient]
20170429-10:04:01: [INFO]: object created. pid = testUpdateSystemMetadata_MutableFormat_2017119340458 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:01: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:04:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableFormat_2017119340458 [org.dataone.client.rest.RestClient]
20170429-10:04:02: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_2017119340458; FilePart:sysmeta = /tmp/mmp.output.2034648944500541005.tmp (1104 bytes); [org.dataone.client.rest.RestClient]
20170429-10:04:13: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableFormat_2017119340458 [org.dataone.client.rest.RestClient]
20170429-10:04:13: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:13: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableFormat(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:13: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:13: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:13: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:13: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:04:13: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:13: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_20171193413564 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:13: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_20171193413564
1
testUpdateSystemMetadata_MutableFormat_20171193413564
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-04-29T10:04:13.574+00:00
2017-04-29T10:04:13.574+00:00
urn:node:mnDemo11
urn:node:mnDemo11
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:14: [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_20171193413564; FilePart:object = /tmp/mmp.output.6471373292279573235.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7124234760623701406.tmp (1095 bytes); [org.dataone.client.rest.RestClient]
20170429-10:04:14: [INFO]: object created. pid = testUpdateSystemMetadata_MutableFormat_20171193413564 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:14: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:04:15: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableFormat_20171193413564 [org.dataone.client.rest.RestClient]
20170429-10:04:15: [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_20171193413564; FilePart:sysmeta = /tmp/mmp.output.4413115234557092778.tmp (1097 bytes); [org.dataone.client.rest.RestClient]
20170429-10:04:26: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_MutableFormat_20171193413564 [org.dataone.client.rest.RestClient]
20170429-10:04:26: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:26: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableFormat(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:26: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:26: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:26: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:26: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:04:26: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:26: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_2017119342696 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:26: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_2017119342696
1
testUpdateSystemMetadata_MutableFormat_2017119342696
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-04-29T10:04:26.106+00:00
2017-04-29T10:04:26.106+00:00
urn:node:mnTestLTER
urn:node:mnTestLTER
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:26: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_2017119342696; FilePart:object = /tmp/mmp.output.4106393874884681083.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6113092296054688725.tmp (1098 bytes); [org.dataone.client.rest.RestClient]
20170429-10:04:26: [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 0x7fbde6e8d790>>
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 0x7fbddeb88590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e8d790>
/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 0x7fbddd13d758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd7bdb50>>
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 0x7fbde6e8d790>
/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 0x7fbddd7bdb50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd13d758>
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 0x7fbddd7bdb50>
/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_2017119342696'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.6113092296054688725.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.4106393874884681083.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18938'
CONTENT_TYPE
'multipart/form-data; boundary=vNMJbepTnZvQ8xTMMuKyEwPMchl98g'
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
'42378'
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+EIBDQQfFh1PcGVuU1NMIEdlbmVy\nYXRlZCBDZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQUXWYvIzSx6xMxPwx6y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od_wsgi.input_chunked
'0'
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493460181550650'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbddc7aca30>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbddc7ac770>
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 0x7fbde6e8d790>>
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 0x7fbddeb88590>>
request
<D1WSGIRequest: POST '/mn/v2/object'>
response
None
self
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e8d790>
/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 0x7fbddd13d758>
callback_args
()
callback_kwargs
{}
middleware_method
<bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7fbddd7bdb50>>
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 0x7fbde6e8d790>
/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 0x7fbddd7bdb50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd13d758>
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 0x7fbddd7bdb50>
/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_2017119342696'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.6113092296054688725.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.4106393874884681083.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18938'
CONTENT_TYPE
'multipart/form-data; boundary=vNMJbepTnZvQ8xTMMuKyEwPMchl98g'
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
'42378'
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
20170429-10:04:26: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
'Apache/2.4.7 (Ubuntu)'
SSL_CLIENT_CERT
20170429-10:04:26: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableFormat(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:26: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:26: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:26: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
'-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZ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4aHR0cDov\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
'1493460181550650'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbddc7aca30>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbddc7ac770>
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
20170429-10:04:26: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
(('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'
20170429-10:04:26: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
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
20170429-10:04:26: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_20171193426462 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
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
20170429-10:04:26: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_20171193426462
1
testUpdateSystemMetadata_MutableFormat_20171193426462
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-04-29T10:04:26.471+00:00
2017-04-29T10:04:26.471+00:00
urn:node:mnTestNEON
urn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:26: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_20171193426462; FilePart:object = /tmp/mmp.output.3484541297299841241.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2079816037563820245.tmp (1099 bytes); [org.dataone.client.rest.RestClient]
20170429-10:04:26: [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
20170429-10:04:26: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:26: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableFormat(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:26: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:26: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:26: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:26: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:04:26: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:26: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_20171193426920 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:26: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_20171193426920
1
testUpdateSystemMetadata_MutableFormat_20171193426920
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-04-29T10:04:26.929+00:00
2017-04-29T10:04:26.929+00:00
urn:node:mnTestARCTIC
urn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:28: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_20171193426920; FilePart:object = /tmp/mmp.output.7441794048955996793.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6532672300858451241.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170429-10:04:28: [INFO]: object created. pid = testUpdateSystemMetadata_MutableFormat_20171193426920 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:28: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:04:29: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableFormat_20171193426920 [org.dataone.client.rest.RestClient]
20170429-10:04:30: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_20171193426920; FilePart:sysmeta = /tmp/mmp.output.2721680858504265045.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170429-10:04:41: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableFormat_20171193426920 [org.dataone.client.rest.RestClient]
20170429-10:04:41: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:41: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableFormat(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:41: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:41: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:41: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:41: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:04:41: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:41: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_20171193441488 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:41: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_20171193441488
1
testUpdateSystemMetadata_MutableFormat_20171193441488
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-04-29T10:04:41.500+00:00
2017-04-29T10:04:41.500+00:00
urn:node:mnTestCLOEBIRD
urn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:41: [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_20171193441488; FilePart:object = /tmp/mmp.output.7387396499162480333.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1663610014092519743.tmp (1107 bytes); [org.dataone.client.rest.RestClient]
20170429-10:04:41: [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
20170429-10:04:41: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:41: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableFormat(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:41: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:41: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:41: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:41: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:04:41: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:41: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_20171193441942 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:41: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_20171193441942
1
testUpdateSystemMetadata_MutableFormat_20171193441942
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-04-29T10:04:41.951+00:00
2017-04-29T10:04:41.951+00:00
urn:node:mnTestRW
urn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:42: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_20171193441942; FilePart:object = /tmp/mmp.output.7247264025686056610.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.109656665975834741.tmp (1095 bytes); [org.dataone.client.rest.RestClient]
20170429-10:04:42: [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
20170429-10:04:42: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:42: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableFormat(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:42: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:42: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:42: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:42: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170429-10:04:42: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:42: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_20171193442355 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:42: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_20171193442355
1
testUpdateSystemMetadata_MutableFormat_20171193442355
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-04-29T10:04:42.364+00:00
2017-04-29T10:04:42.364+00:00
urn:node:mnTestEDI
urn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:42: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_20171193442355; FilePart:object = /tmp/mmp.output.1558750188310327196.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5596725137019047249.tmp (1097 bytes); [org.dataone.client.rest.RestClient]
20170429-10:04:42: [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_20171193442355'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.5596725137019047249.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.1558750188310327196.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18958'
CONTENT_TYPE
'multipart/form-data; boundary=8teoGS0Q6c2I8blmk3xDL5UgMPdbAUYtaT-'
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
'43972'
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_SIGN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OSt/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
'1493460282522321'
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
'1493460282522066'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493460282521671'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493460282522364'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc72123b28>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc7246c1b0>
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
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_20171193442355'
FILES
Variable
Value
sysmeta
<InMemoryUploadedFile: mmp.output.5596725137019047249.tmp (application/octet-stream)>
object
<InMemoryUploadedFile: mmp.output.1558750188310327196.tmp (application/octet-stream)>
COOKIES
No cookie data
Variable
Value
CONTENT_LENGTH
'18958'
CONTENT_TYPE
'multipart/form-data; boundary=8teoGS0Q6c2I8blmk3xDL5UgMPdbAUYtaT-'
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
'43972'
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
20170429-10:04:42: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
'<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+M1dlg4U9w4sw2AKymWRK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GBmeBDAECATCB\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
20170429-10:04:42: [INFO]:
'gmn-s.edirepository.org'
***************** running test for testUpdateSystemMetadata_MutableFormat(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
apache.version
(2, 4, 18)
20170429-10:04:42: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:42: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
mod_wsgi.application_group
20170429-10:04:42: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
''
mod_wsgi.callable_object
'application'
mod_wsgi.daemon_connects
'1'
mod_wsgi.daemon_restarts
'0'
mod_wsgi.daemon_start
'1493460282522321'
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
'1493460282522066'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_start
'1493460282521671'
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493460282522364'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc72123b28>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc7246c1b0>
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
20170429-10:04:42: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
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'
20170429-10:04:42: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
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
20170429-10:04:42: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_20171193442671 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:42: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_20171193442671
1
testUpdateSystemMetadata_MutableFormat_20171193442671
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-04-29T10:04:42.680+00:00
2017-04-29T10:04:42.680+00:00
urn:node:mnTestNCEI
urn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170429-10:04:42: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_20171193442671; FilePart:object = /tmp/mmp.output.7134617827244746461.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1034638726165868872.tmp (1099 bytes); [org.dataone.client.rest.RestClient]
20170429-10:04:42: [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
Tests run: 55, Failures: 54, Errors: 0, Skipped: 1, Time elapsed: 3,480.178 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
testDeleteReplicationMetadata_dateModified(org.dataone.integration.it.apiTests.MNSystemMetadataMutabilityIt): GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_201711911352338 testDeleteReplicationMetadata_dateModified: unable to fetch sysmeta with valid replicas from CN for pid testDeleteReplicationMetadata_dateModified_201711911352338 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_201711911352338
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!/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.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_201711921252290) from CN: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201711921252290, 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_201711921252290
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_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:
Tests run: 59, 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:58:58.872s
[INFO] Finished at: Sat Apr 29 10:04:45 UTC 2017
[INFO] Final Memory: 61M/764M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data