Established TCP socket on 51720 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/jobs/d1_integration_Stage_mn_v2/workspace/pom.xml -Dit.test=MNCoreV2IT,MNCoreV2SlowIT,MNReadV2IT,MNAuthorizationV2IT,MNQueryV2IT,MNReplicationV2IT,MNStorageV2IT,MNPackageV2IT,MNViewV2IT -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.3-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 202, column 15 [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:buildnumber-maven-plugin is missing. @ line 226, column 15 [WARNING] 'build.plugins.plugin.version' for com.mycila.maven-license-plugin:maven-license-plugin is missing. @ line 219, column 15 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ line 242, 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.3-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_v2/workspace' && 'svn' '--non-interactive' 'info' [INFO] Working directory: /var/lib/jenkins/jobs/d1_integration_Stage_mn_v2/workspace [INFO] Storing buildNumber: 18813 at timestamp: 1493099818668 [INFO] Executing: /bin/sh -c cd '/var/lib/jenkins/jobs/d1_integration_Stage_mn_v2/workspace' && 'svn' '--non-interactive' 'info' [INFO] Working directory: /var/lib/jenkins/jobs/d1_integration_Stage_mn_v2/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_v2/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_v2/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_v2/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.087 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_v2/workspace/target/classes [copy] Copying 3 files to /var/lib/jenkins/jobs/d1_integration_Stage_mn_v2/workspace/target/d1_integration-2.3-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_v2/workspace/target/d1_integration-2.3-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_v2/workspace/target/d1_integration-2.3-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_v2/workspace/target/d1_integration-2.3-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_v2/workspace/target/d1_integration-2.3-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_v2/workspace/target/d1_integration-2.3-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_v2/workspace/target/d1_integration-2.3-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_v2/workspace/target/d1_integration-2.3-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_v2/workspace/target/d1_integration-2.3-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_v2/workspace/target/d1_integration-2.3-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_v2/workspace/target/d1_integration-2.3-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_v2/workspace/target/d1_integration-2.3-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_v2/workspace/target/d1_integration-2.3-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_v2/workspace/target/d1_integration-2.3-SNAPSHOT with includes "" and excludes "" [INFO] Unpacking /var/lib/jenkins/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_v2/workspace/target/d1_integration-2.3-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_v2/workspace/target/d1_integration-2.3-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_v2/workspace/target/d1_integration-2.3-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_v2/workspace/target/d1_integration-2.3-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_v2/workspace/target/d1_integration-2.3-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_v2/workspace/target/d1_integration-2.3-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_v2/workspace/target/d1_integration-2.3-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_v2/workspace/target/d1_integration-2.3-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_v2/workspace/target/d1_integration-2.3-SNAPSHOT] [INFO] Processing war project [INFO] Copying webapp resources [/var/lib/jenkins/jobs/d1_integration_Stage_mn_v2/workspace/src/main/webapp] [INFO] Processing overlay [ id edu.uiuc.ncsa.myproxy:oa4mp-client-oauth1] [INFO] Webapp assembled in [589 msecs] [INFO] Building war: /var/lib/jenkins/jobs/d1_integration_Stage_mn_v2/workspace/target/d1_integration-2.3-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_v2/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_v2/workspace/target/failsafe-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.dataone.integration.it.apiTests.MNStorageV2IT 20170425-05:57:25: [WARN]: Starting monitor thread [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:57:25: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:57:25: [WARN]: Starting monitoring... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:57:26: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:26: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:26: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone] ~~~ Context is from d1client.properties: https://cn-stage.test.dataone.org/cn 20170425-05:57:27: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage.test.dataone.org/cn/v1/node [org.dataone.client.rest.RestClient] 20170425-05:57:28: [INFO]: isNodeAlive for Node: https://cn-stage.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:28: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:28: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:28: [INFO]: *** Adding CN to list: cn-stage [ https://cn-stage.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:28: [INFO]: isNodeAlive for Node: https://cn-stage-orc-1.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:28: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:29: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:29: [INFO]: *** Adding CN to list: cn-stage-orc-1 [ https://cn-stage-orc-1.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:29: [INFO]: isNodeAlive for Node: https://mn-stage-unm-1.test.dataone.org/mn ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:29: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:38: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:38: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:39: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:39: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:39: [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] 20170425-05:57:39: [INFO]: isNodeAlive for Node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:39: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:39: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:39: [INFO]: *** Adding MN to list: mn-stage-ucsb-2 [ https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:39: [INFO]: isNodeAlive for Node: https://cn-stage-ucsb-1.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:39: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:40: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:40: [INFO]: *** Adding CN to list: cn-stage-ucsb-1 [ https://cn-stage-ucsb-1.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:40: [INFO]: isNodeAlive for Node: https://cn-stage-unm-1.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:40: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:40: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:40: [INFO]: *** Adding CN to list: cn-stage-unm-1 [ https://cn-stage-unm-1.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:40: [INFO]: isNodeAlive for Node: http://test.piscoweb.org/catalog/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:40: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:40: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:40: [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] 20170425-05:57:40: [INFO]: isNodeAlive for Node: http://seadva-test.d2i.indiana.edu/sead/rest/mn ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:40: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:41: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:41: [INFO]: *** Adding MN to list: SEAD Virtual Archive [ http://seadva-test.d2i.indiana.edu/sead/rest/mn ] [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:41: [INFO]: isNodeAlive for Node: https://mn-demo-11.test.dataone.org/knb/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:41: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:41: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:41: [INFO]: *** Adding MN to list: mn-demo-11 [ https://mn-demo-11.test.dataone.org/knb/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:41: [INFO]: isNodeAlive for Node: https://gmn-s.lternet.edu/mn ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:41: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:41: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:41: [INFO]: *** Adding MN to list: Stage test for PASTA-GMN [ https://gmn-s.lternet.edu/mn ] [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:41: [INFO]: isNodeAlive for Node: https://dataone-test.pop.umn.edu/mn ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:41: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:49: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:49: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:50: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:50: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:50: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:51: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:51: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:51: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:51: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:51: [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] 20170425-05:57:51: [INFO]: isNodeAlive for Node: https://dataone-dev.ecoinformatics.org.au/mn ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:51: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:53: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:53: [INFO]: *** Adding MN to list: TERN Australia DEV [ https://dataone-dev.ecoinformatics.org.au/mn ] [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:53: [INFO]: isNodeAlive for Node: https://dataonetest.tamucc.edu/mn ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:53: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:53: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:53: [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] 20170425-05:57:53: [INFO]: isNodeAlive for Node: http://dataone.neonscience.org/metacat/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:53: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:53: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:53: [INFO]: *** Adding MN to list: NEON Test Member Node [ http://dataone.neonscience.org/metacat/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:53: [INFO]: isNodeAlive for Node: https://test.arcticdata.io/metacat/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:53: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:54: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:54: [INFO]: *** Adding MN to list: NSF Arctic Data Center Test Repository [ https://test.arcticdata.io/metacat/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:54: [INFO]: isNodeAlive for Node: http://dataone.ornith.cornell.edu/metacat/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:54: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:54: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:54: [INFO]: *** Adding MN to list: Cornell Lab of Ornithology - eBird [ http://dataone.ornith.cornell.edu/metacat/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:54: [INFO]: isNodeAlive for Node: https://dataone-test.researchworkspace.com/mn ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:54: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:54: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:54: [INFO]: *** Adding MN to list: Research Workspace Testing [ https://dataone-test.researchworkspace.com/mn ] [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:54: [INFO]: isNodeAlive for Node: https://r2r-node.test.dataone.org/mn ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:54: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [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] 20170425-05:57:55: [INFO]: isNodeAlive for Node: https://dataone.lib.uic.edu/metacat/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [WARN]: *** Failed to add MN to list: UIC DataONE Member Node [ https://dataone.lib.uic.edu/metacat/d1/mn ]. Could not reach the node:GET https://cn-stage.test.dataone.org/cn/v1/node [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: isNodeAlive for Node: https://gmn-s.edirepository.org/mn ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: *** Adding MN to list: Environmental Data Initiative Member Node [ https://gmn-s.edirepository.org/mn ] [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: isNodeAlive for Node: https://ncei.nceas.ucsb.edu/mn ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: *** Adding MN to list: NCEI Test Member Node at NCEAS [ https://ncei.nceas.ucsb.edu/mn ] [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: trying to filter CN list for the round robin CN... original size: 4, includes nodes: [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: CN: https://cn-stage.test.dataone.org/cn "Round Robin staging router of Coordinating Nodes" [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: CN: https://cn-stage-orc-1.test.dataone.org/cn "Oak Ridge National Laboratory Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: CN: https://cn-stage-ucsb-1.test.dataone.org/cn "UCSB Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: CN: https://cn-stage-unm-1.test.dataone.org/cn "UNM Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: excluding round robin CN: https://cn-stage.test.dataone.org/cn "Round Robin staging router of Coordinating Nodes" [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: including CN: https://cn-stage-orc-1.test.dataone.org/cn "Oak Ridge National Laboratory Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: including CN: https://cn-stage-ucsb-1.test.dataone.org/cn "UCSB Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: including CN: https://cn-stage-unm-1.test.dataone.org/cn "UNM Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: filtered CN list without round robin CN. size: 3, including nodes: [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: CN: https://cn-stage-orc-1.test.dataone.org/cn "Oak Ridge National Laboratory Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: CN: https://cn-stage-ucsb-1.test.dataone.org/cn "UCSB Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: CN: https://cn-stage-unm-1.test.dataone.org/cn "UNM Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone] nodeId key value ============================================================================================================= 20170425-05:57:55: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:57:55: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:55: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:56: [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] 20170425-05:57:56: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:56: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57: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] 20170425-05:57:56: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:56: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57: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] 20170425-05:57:56: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:56: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:57:56: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:56: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:57:58: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:58: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:57:58: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:58: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:57:58: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:58: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:57:58: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:58: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:57:59: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:59: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:57:59: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:59: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:57:59: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:59: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:59: [INFO]: certificate filename: testRightsHolder [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:59: [INFO]: client setup as Subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:59: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:57:59: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:57:59: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum2017114225759549 [org.dataone.client.rest.RestClient] 20170425-05:58:00: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:00: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:00: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:00: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:00: [INFO]: entering refreshCache()... [org.dataone.client.v2.formats.ObjectFormatCache] 20170425-05:58:00: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:01: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient] 20170425-05:58:01: [INFO]: refreshing objectFormatCache from cn: null [org.dataone.client.v2.formats.ObjectFormatCache] 20170425-05:58:01: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage.test.dataone.org/cn/v2/formats [org.dataone.client.rest.RestClient] 20170425-05:58:01: [INFO]: successfully refreshed cache from cn.listFormats() [org.dataone.client.v2.formats.ObjectFormatCache] 20170425-05:58:01: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum2017114225759549 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:01: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum2017114225759549 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum2017114225759549</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:01.741+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:01.741+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnStageUCSB2</originMemberNode> <authoritativeMemberNode>urn:node:mnStageUCSB2</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:01: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:03: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum2017114225759549; FilePart:object = /tmp/mmp.output.6736329631650095245.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8509427793627557667.tmp (1101 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:03: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum2017114225759549 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:03: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:03: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum2017114225759549 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:03: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:03: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum2017114225759549 [org.dataone.client.rest.RestClient] 20170425-05:58:03: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum2017114225759549; FilePart:sysmeta = /tmp/mmp.output.2630595143443392283.tmp (1109 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:03: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:03: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:03: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:04: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:04: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422583689 [org.dataone.client.rest.RestClient] 20170425-05:58:04: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:04: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:04: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:04: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:04: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:04: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422583689 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:04: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422583689 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422583689</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:04.153+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:04.153+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnDemo11</originMemberNode> <authoritativeMemberNode>urn:node:mnDemo11</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:04: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:04: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:05: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:05: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422583689; FilePart:object = /tmp/mmp.output.7940635648002559611.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7581099767716424230.tmp (1092 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:05: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422583689 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:05: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:05: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422583689 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:05: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422583689 [org.dataone.client.rest.RestClient] 20170425-05:58:05: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:05: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422583689; FilePart:sysmeta = /tmp/mmp.output.2177796173478782621.tmp (1100 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:05: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:05: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:06: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422585704 [org.dataone.client.rest.RestClient] 20170425-05:58:06: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:06: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:06: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422586100 [org.dataone.client.rest.RestClient] 20170425-05:58:06: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:06: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:06: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:06: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:06: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:06: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422586100 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:06: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422586100 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422586100</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:06.304+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:06.304+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestNEON</originMemberNode> <authoritativeMemberNode>urn:node:mnTestNEON</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:06: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422586100; FilePart:object = /tmp/mmp.output.5364783210984909046.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2240637337053718573.tmp (1096 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:06: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] org.dataone.integration.TestIterationEndingException: unexpected client-side exception encountered when trying to create test object : Unable to create test object!/Session is required to WRITE to the Node. at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1080) at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:994) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum(UpdateSystemMetadataTestImplementations.java:395) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum(UpdateSystemMetadataTestImplementations.java:382) at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum(MNStorageV2IT.java:253) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.rules.Verifier$1.evaluate(Verifier.java:34) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at com.sun.proxy.$Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383) at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1077) ... 35 more Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node. at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628) at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82) at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463) at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495) at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600) ... 38 more 20170425-05:58:06: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:06: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422586531 [org.dataone.client.rest.RestClient] 20170425-05:58:07: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:07: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:07: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:07: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:07: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:07: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422586531 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:07: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422586531 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422586531</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:07.422+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:07.422+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestARCTIC</originMemberNode> <authoritativeMemberNode>urn:node:mnTestARCTIC</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:09: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422586531; FilePart:object = /tmp/mmp.output.2940689491150162841.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1982041153494569706.tmp (1100 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:09: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422586531 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:09: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:09: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422586531 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:10: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422586531 [org.dataone.client.rest.RestClient] 20170425-05:58:10: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422586531; FilePart:sysmeta = /tmp/mmp.output.8572889486852151619.tmp (1108 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:10: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:10: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum2017114225810847 [org.dataone.client.rest.RestClient] 20170425-05:58:11: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:11: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:11: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:11: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:11: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:11: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum2017114225810847 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:11: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum2017114225810847 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum2017114225810847</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:11.078+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:11.078+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestCLOEBIRD</originMemberNode> <authoritativeMemberNode>urn:node:mnTestCLOEBIRD</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:11: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum2017114225810847; FilePart:object = /tmp/mmp.output.244623913394936907.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7602422941438443760.tmp (1105 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:11: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] org.dataone.integration.TestIterationEndingException: unexpected client-side exception encountered when trying to create test object : Unable to create test object!/Session is required to WRITE to the Node. at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1080) at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:994) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum(UpdateSystemMetadataTestImplementations.java:395) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum(UpdateSystemMetadataTestImplementations.java:382) at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum(MNStorageV2IT.java:253) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.rules.Verifier$1.evaluate(Verifier.java:34) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at com.sun.proxy.$Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383) at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1077) ... 35 more Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node. at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628) at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82) at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463) at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495) at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600) ... 38 more 20170425-05:58:11: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:11: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum2017114225811405 [org.dataone.client.rest.RestClient] 20170425-05:58:11: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:11: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum2017114225811697 [org.dataone.client.rest.RestClient] 20170425-05:58:12: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:12: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:12: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedChecksum201711422581238 [org.dataone.client.rest.RestClient] 20170425-05:58:12: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:12: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:12: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:12: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone] nodeId key value ============================================================================================================= 20170425-05:58:12: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:12: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:12: [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] 20170425-05:58:12: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:12: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:12: [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] 20170425-05:58:12: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:12: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58: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] 20170425-05:58:13: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:13: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:13: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:13: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:13: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:14: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:14: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:14: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:14: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:14: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:14: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:14: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:14: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:14: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:14: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:14: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:15: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:15: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:15: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:15: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:15: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:15: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:15: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:15: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:15: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:15: [INFO]: certificate filename: testRightsHolder [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:15: [INFO]: client setup as Subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:15: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225815120 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:15: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225815120 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225815120</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=testRightsHolder,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:15.129+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:15.129+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnStageUCSB2</originMemberNode> <authoritativeMemberNode>urn:node:mnStageUCSB2</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:16: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225815120; FilePart:object = /tmp/mmp.output.7548235562913021766.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8129453634034215568.tmp (1098 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:16: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225815120 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:16: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225815120 [org.dataone.client.rest.RestClient] 20170425-05:58:17: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225815120; FilePart:sysmeta = /tmp/mmp.output.7253238425557537764.tmp (1104 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:17: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:17: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:17: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:17: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:17: [INFO]: certificate filename: testRightsHolder [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:17: [INFO]: client setup as Subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:17: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711422581780 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:17: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711422581780 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711422581780</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=testRightsHolder,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:17.089+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:17.089+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnDemo11</originMemberNode> <authoritativeMemberNode>urn:node:mnDemo11</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:17: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711422581780; FilePart:object = /tmp/mmp.output.5532307617009829548.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7624537785037084397.tmp (1089 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:17: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711422581780 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:18: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711422581780 [org.dataone.client.rest.RestClient] 20170425-05:58:18: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711422581780; FilePart:sysmeta = /tmp/mmp.output.3637132017480779961.tmp (1095 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:18: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:18: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:18: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:18: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:18: [INFO]: certificate filename: testRightsHolder [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:18: [INFO]: client setup as Subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:18: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225818429 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:18: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225818429 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225818429</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=testRightsHolder,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:18.438+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:18.438+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestLTER</originMemberNode> <authoritativeMemberNode>urn:node:mnTestLTER</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:18: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225818429; FilePart:object = /tmp/mmp.output.9154944126169503934.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2520187091678748863.tmp (1094 bytes); [org.dataone.client.rest.RestClient] org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body: <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="robots" content="NONE,NOARCHIVE"> <title>InvalidToken at /v2/object</title> <style type="text/css"> html * { padding:0; margin:0; } body * { padding:10px 20px; } body * * { padding:0; } body { font:small sans-serif; } body>div { border-bottom:1px solid #ddd; } h1 { font-weight:normal; } h2 { margin-bottom:.8em; } h2 span { font-size:80%; color:#666; font-weight:normal; } h3 { margin:1em 0 .5em 0; } h4 { margin:0 0 .5em 0; font-weight: normal; } code, pre { font-size: 100%; white-space: pre-wrap; } table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; } tbody td, tbody th { vertical-align:top; padding:2px 3px; } thead th { padding:1px 6px 1px 3px; background:#fefefe; text-align:left; font-weight:normal; font-size:11px; border:1px solid #ddd; } tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; } table.vars { margin:5px 0 2px 40px; } table.vars td, table.req td { font-family:monospace; } table td.code { width:100%; } table td.code pre { overflow:hidden; } table.source th { color:#666; } table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; } ul.traceback { list-style-type:none; color: #222; } ul.traceback li.frame { padding-bottom:1em; color:#666; } ul.traceback li.user { background-color:#e0e0e0; color:#000 } div.context { padding:10px 0; overflow:hidden; } div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; } div.context ol li { font-family:monospace; white-space:pre; color:#777; cursor:pointer; padding-left: 2px; } div.context ol li pre { display:inline; } div.context ol.context-line li { color:#505050; background-color:#dfdfdf; padding: 3px 2px; } div.context ol.context-line li span { position:absolute; right:32px; } .user div.context ol.context-line li { background-color:#bbb; color:#000; } .user div.context ol li { color:#666; } div.commands { margin-left: 40px; } div.commands a { color:#555; text-decoration:none; } .user div.commands a { color: black; } #summary { background: #ffc; } #summary h2 { font-weight: normal; color: #666; } #explanation { background:#eee; } #template, #template-not-exist { background:#f6f6f6; } #template-not-exist ul { margin: 0 0 10px 20px; } #template-not-exist .postmortem-section { margin-bottom: 3px; } #unicode-hint { background:#eee; } #traceback { background:#eee; } #requestinfo { background:#f6f6f6; padding-left:120px; } #summary table { border:none; background:transparent; } #requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; } #requestinfo h3 { margin-bottom:-1em; } .error { background: #ffc; } .specific { color:#cc3300; font-weight:bold; } h2 span.commands { font-size:.7em;} span.commands a:link {color:#5E5694;} pre.exception_value { font-family: sans-serif; color: #666; font-size: 1.5em; margin: 10px 0 10px 0; } .append-bottom { margin-bottom: 10px; } </style> <script type="text/javascript"> //<!-- function getElementsByClassName(oElm, strTagName, strClassName){ // Written by Jonathan Snook, http://www.snook.ca/jon; Add-ons by Robert Nyman, http://www.robertnyman.com var arrElements = (strTagName == "*" && document.all)? document.all : oElm.getElementsByTagName(strTagName); var arrReturnElements = new Array(); strClassName = strClassName.replace(/\-/g, "\-"); var oRegExp = new RegExp("(^|\s)" + strClassName + "(\s|$)"); var oElement; for(var i=0; i<arrElements.length; i++){ oElement = arrElements[i]; if(oRegExp.test(oElement.className)){ arrReturnElements.push(oElement); } } return (arrReturnElements) } function hideAll(elems) { for (var e = 0; e < elems.length; e++) { elems[e].style.display = 'none'; } } window.onload = function() { hideAll(getElementsByClassName(document, 'table', 'vars')); hideAll(getElementsByClassName(document, 'ol', 'pre-context')); hideAll(getElementsByClassName(document, 'ol', 'post-context')); hideAll(getElementsByClassName(document, 'div', 'pastebin')); } function toggle() { for (var i = 0; i < arguments.length; i++) { var e = document.getElementById(arguments[i]); if (e) { e.style.display = e.style.display == 'none' ? 'block': 'none'; } } return false; } function varToggle(link, id) { toggle('v' + id); var s = link.getElementsByTagName('span')[0]; var uarr = String.fromCharCode(0x25b6); var darr = String.fromCharCode(0x25bc); s.textContent = s.textContent == uarr ? darr : uarr; return false; } function switchPastebinFriendly(link) { s1 = "Switch to copy-and-paste view"; s2 = "Switch back to interactive view"; link.textContent = link.textContent.trim() == s1 ? s2: s1; toggle('browserTraceback', 'pastebinTraceback'); return false; } //--> </script> </head> <body> <div id="summary"> <h1>InvalidToken at /v2/object</h1> <pre class="exception_value">name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error=&quot;name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info=&quot;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;d1:subjectInfo xmlns:d1=&quot;http://ns.dataone.org/service/types/v1&quot;&gt;.&lt;person&gt;..&lt;subject&gt;CN=testRightsHolder,DC=dataone,DC=org&lt;/subject&gt;..&lt;givenName&gt;testRightsHolder_givenName&lt;/givenName&gt;..&lt;familyName&gt;testRightsHolder_familyName&lt;/familyName&gt;.&lt;/person&gt;&lt;/d1:subjectInfo&gt;&quot;, error=&quot;Invalid non-element content at &lt;unknown&gt;[1:113]&quot; &quot; </pre> <table class="meta"> <tr> <th>Request Method:</th> <td>POST</td> </tr> <tr> <th>Request URL:</th> <td>https://gmn-s.lternet.edu/mn/v2/object</td> </tr> <tr> <th>Django Version:</th> <td>1.10.1</td> </tr> <tr> <th>Exception Type:</th> <td>InvalidToken</td> </tr> <tr> <th>Exception Value:</th> <td><pre>name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error=&quot;name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info=&quot;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;d1:subjectInfo xmlns:d1=&quot;http://ns.dataone.org/service/types/v1&quot;&gt;.&lt;person&gt;..&lt;subject&gt;CN=testRightsHolder,DC=dataone,DC=org&lt;/subject&gt;..&lt;givenName&gt;testRightsHolder_givenName&lt;/givenName&gt;..&lt;familyName&gt;testRightsHolder_familyName&lt;/familyName&gt;.&lt;/person&gt;&lt;/d1:subjectInfo&gt;&quot;, error=&quot;Invalid non-element content at &lt;unknown&gt;[1:113]&quot; &quot; </pre></td> </tr> <tr> <th>Exception Location:</th> <td>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py in get_subjects, line 65</td> </tr> <tr> <th>Python Executable:</th> <td>/usr/bin/python</td> </tr> <tr> <th>Python Version:</th> <td>2.7.6</td> </tr> <tr> <th>Python Path:</th> <td><pre>[&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages&#39;, &#39;/var/local/dataone/gmn/lib/python2.7&#39;, &#39;/var/local/dataone/gmn/lib/python2.7/plat-x86_64-linux-gnu&#39;, &#39;/var/local/dataone/gmn/lib/python2.7/lib-tk&#39;, &#39;/var/local/dataone/gmn/lib/python2.7/lib-old&#39;, &#39;/var/local/dataone/gmn/lib/python2.7/lib-dynload&#39;, &#39;/usr/lib/python2.7&#39;, &#39;/usr/lib/python2.7/plat-x86_64-linux-gnu&#39;, &#39;/usr/lib/python2.7/lib-tk&#39;, &#39;/var/local/dataone/gmn/local/lib/python2.7/site-packages&#39;, &#39;/var/local/dataone/gmn/lib/python2.7/site-packages&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/.&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/..&#39;]</pre></td> </tr> <tr> <th>Server time:</th> <td>Tue, 25 Apr 2017 05:47:02 +0000</td> </tr> </table> </div> <div id="traceback"> <h2>Traceback <span class="commands"><a href="#" onclick="return switchPastebinFriendly(this);"> Switch to copy-and-paste view</a></span> </h2> <div id="browserTraceback"> <ul class="traceback"> <li class="frame django"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py</code> in <code>inner</code> <div class="context" id="c139739990144496"> <ol start="32" class="pre-context" id="pre139739990144496"> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> This decorator is automatically applied to all middleware to ensure that</pre></li> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> no middleware leaks an exception and that the next middleware in the stack</pre></li> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> can rely on getting a response instead of an exception.</pre></li> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> &quot;&quot;&quot;</pre></li> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> @wraps(get_response, assigned=available_attrs(get_response))</pre></li> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> def inner(request):</pre></li> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> try:</pre></li> </ol> <ol start="39" class="context-line"> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> response = get_response(request)</pre> <span>...</span></li></ol> <ol start='40' class="post-context" id="post139739990144496"> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> except Exception as exc:</pre></li> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> response = response_for_exception(request, exc)</pre></li> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> return response</pre></li> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> return inner</pre></li> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre></pre></li> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre></pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739990144496')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739990144496"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>exc</td> <td class="code"><pre>InvalidToken()</pre></td> </tr> <tr> <td>get_response</td> <td class="code"><pre>&lt;bound method D1WSGIHandler._legacy_get_response of &lt;_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7f17caf0d790&gt;&gt;</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame django"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py</code> in <code>_legacy_get_response</code> <div class="context" id="c139739903964512"> <ol start="242" class="pre-context" id="pre139739903964512"> <li onclick="toggle('pre139739903964512', 'post139739903964512')"><pre> # Apply request middleware</pre></li> <li onclick="toggle('pre139739903964512', 'post139739903964512')"><pre> for middleware_method in self._request_middleware:</pre></li> <li onclick="toggle('pre139739903964512', 'post139739903964512')"><pre> response = middleware_method(request)</pre></li> <li onclick="toggle('pre139739903964512', 'post139739903964512')"><pre> if response:</pre></li> <li onclick="toggle('pre139739903964512', 'post139739903964512')"><pre> break</pre></li> <li onclick="toggle('pre139739903964512', 'post139739903964512')"><pre></pre></li> <li onclick="toggle('pre139739903964512', 'post139739903964512')"><pre> if response is None:</pre></li> </ol> <ol start="249" class="context-line"> <li onclick="toggle('pre139739903964512', 'post139739903964512')"><pre> response = self._get_response(request)</pre> <span>...</span></li></ol> <ol start='250' class="post-context" id="post139739903964512"> <li onclick="toggle('pre139739903964512', 'post139739903964512')"><pre> return response</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739903964512')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739903964512"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>middleware_method</td> <td class="code"><pre>&lt;bound method RequestHandler.process_request of &lt;app.middleware.request_handler.RequestHandler object at 0x7f17c2c08590&gt;&gt;</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>response</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7f17caf0d790&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame django"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py</code> in <code>_get_response</code> <div class="context" id="c139739990826880"> <ol start="171" class="pre-context" id="pre139739990826880"> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre></pre></li> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre> resolver_match = resolver.resolve(request.path_info)</pre></li> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre> callback, callback_args, callback_kwargs = resolver_match</pre></li> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre> request.resolver_match = resolver_match</pre></li> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre></pre></li> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre> # Apply view middleware</pre></li> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre> for middleware_method in self._view_middleware:</pre></li> </ol> <ol start="178" class="context-line"> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre> response = middleware_method(request, callback, callback_args, callback_kwargs)</pre> <span>...</span></li></ol> <ol start='179' class="post-context" id="post139739990826880"> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre> if response:</pre></li> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre> break</pre></li> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre></pre></li> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre> if response is None:</pre></li> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre> wrapped_callback = self.make_view_atomic(callback)</pre></li> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre> try:</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739990826880')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739990826880"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>callback</td> <td class="code"><pre>&lt;function dispatch_object_list at 0x7f17c11bd758&gt;</pre></td> </tr> <tr> <td>callback_args</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>callback_kwargs</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>middleware_method</td> <td class="code"><pre>&lt;bound method ViewHandler.process_view of &lt;app.middleware.view_handler.ViewHandler object at 0x7f17c183db50&gt;&gt;</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>resolver</td> <td class="code"><pre>&lt;RegexURLResolver &#39;app.urls&#39; (None:None) ^/&gt;</pre></td> </tr> <tr> <td>resolver_match</td> <td class="code"><pre>ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[])</pre></td> </tr> <tr> <td>response</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7f17caf0d790&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py</code> in <code>process_view</code> <div class="context" id="c139739909107936"> <ol start="39" class="pre-context" id="pre139739909107936"> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> logging.info(</pre></li> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> u&#39;View: func_name=&quot;{}&quot;, method=&quot;{}&quot;, args=&quot;{}&quot;, kwargs=&quot;{}&quot;, url=&quot;{}&quot;&#39;</pre></li> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> .format(view_func.func_name, request.method, view_args, view_kwargs,</pre></li> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> request.path_info</pre></li> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> )</pre></li> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> )</pre></li> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> # logging.debug(request.headers)</pre></li> </ol> <ol start="46" class="context-line"> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> self.process_session(request)</pre> <span>...</span></li></ol> <ol start='47' class="post-context" id="post139739909107936"> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre></pre></li> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> def process_session(self, request):</pre></li> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> # For simulating an HTTPS connection with client authentication when</pre></li> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> # debugging via regular HTTP, two mechanisms are supported. (1) A full</pre></li> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> # client side certificate can be included and (2) a list of subjects can be</pre></li> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> # included. Both use vendor specific extensions (HTTP headers that start</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739909107936')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739909107936"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;app.middleware.view_handler.ViewHandler object at 0x7f17c183db50&gt;</pre></td> </tr> <tr> <td>view_args</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>view_func</td> <td class="code"><pre>&lt;function dispatch_object_list at 0x7f17c11bd758&gt;</pre></td> </tr> <tr> <td>view_kwargs</td> <td class="code"><pre>{}</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py</code> in <code>process_session</code> <div class="context" id="c139739913846656"> <ol start="60" class="pre-context" id="pre139739913846656"> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> if &#39;HTTP_VENDOR_INCLUDE_CERTIFICATE&#39; in request.META:</pre></li> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> request.META[&#39;SSL_CLIENT_CERT&#39;] = \</pre></li> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> self.pem_in_http_header_to_pem_in_string(</pre></li> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> request.META[&#39;HTTP_VENDOR_INCLUDE_CERTIFICATE&#39;])</pre></li> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre></pre></li> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> # Add subjects from any provided certificate and JWT and store them in</pre></li> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> # the Django request obj.</pre></li> </ol> <ol start="67" class="context-line"> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request)</pre> <span>...</span></li></ol> <ol start='68' class="post-context" id="post139739913846656"> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> jwt_subject_list = session_jwt.validate_jwt_and_get_subject_list(request)</pre></li> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> primary_subject_str = cert_primary_str</pre></li> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> all_subjects_set = cert_equivalent_set | {cert_primary_str} | set(jwt_subject_list)</pre></li> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> if len(jwt_subject_list) == 1:</pre></li> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> jwt_primary_str = jwt_subject_list[0]</pre></li> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> if jwt_primary_str != cert_primary_str:</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739913846656')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739913846656"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;app.middleware.view_handler.ViewHandler object at 0x7f17c183db50&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py</code> in <code>get_subjects</code> <div class="context" id="c139739913845864"> <ol start="58" class="pre-context" id="pre139739913845864"> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre> &quot;&quot;&quot;</pre></li> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre> if _is_certificate_provided(request):</pre></li> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre> try:</pre></li> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre> return get_authenticated_subjects(request.META[&#39;SSL_CLIENT_CERT&#39;])</pre></li> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre> except Exception as e:</pre></li> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre> raise d1_common.types.exceptions.InvalidToken(</pre></li> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre> 0,</pre></li> </ol> <ol start="65" class="context-line"> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre> u&#39;Error extracting session from certificate. error=&quot;{}&quot;&#39;.format(str(e))</pre> <span>...</span></li></ol> <ol start='66' class="post-context" id="post139739913845864"> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre> )</pre></li> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre> else:</pre></li> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre> return d1_common.const.SUBJECT_PUBLIC, set()</pre></li> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre></pre></li> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre></pre></li> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre>def get_authenticated_subjects(cert_pem):</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739913845864')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739913845864"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>e</td> <td class="code"><pre>InvalidToken()</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> </tbody> </table> </li> </ul> </div> <form action="http://dpaste.com/" name="pasteform" id="pasteform" method="post"> <div id="pastebinTraceback" class="pastebin"> <input type="hidden" name="language" value="PythonConsole"> <input type="hidden" name="title" value="InvalidToken at /v2/object"> <input type="hidden" name="source" value="Django Dpaste Agent"> <input type="hidden" name="poster" value="Django"> <textarea name="content" id="traceback_area" cols="140" rows="25"> 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: [&#39;django.contrib.staticfiles&#39;, &#39;app&#39;] Installed Middleware: (&#39;app.middleware.request_handler.RequestHandler&#39;, &#39;app.middleware.exception_handler.ExceptionHandler&#39;, &#39;app.middleware.response_handler.ResponseHandler&#39;, &#39;app.middleware.profiling_handler.ProfilingHandler&#39;, &#39;app.middleware.view_handler.ViewHandler&#39;, &#39;app.middleware.startup_handler.StartupHandler&#39;) 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&#39;Error extracting session from certificate. error=&quot;{}&quot;&#39;.format(str(e)) Exception Type: InvalidToken at /v2/object Exception Value: name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error=&quot;name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info=&quot;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;d1:subjectInfo xmlns:d1=&quot;http://ns.dataone.org/service/types/v1&quot;&gt;.&lt;person&gt;..&lt;subject&gt;CN=testRightsHolder,DC=dataone,DC=org&lt;/subject&gt;..&lt;givenName&gt;testRightsHolder_givenName&lt;/givenName&gt;..&lt;familyName&gt;testRightsHolder_familyName&lt;/familyName&gt;.&lt;/person&gt;&lt;/d1:subjectInfo&gt;&quot;, error=&quot;Invalid non-element content at &lt;unknown&gt;[1:113]&quot; &quot; </textarea> <br><br> <input type="submit" value="Share this traceback on a public website"> </div> </form> </div> <div id="requestinfo"> <h2>Request information</h2> <h3 id="get-info">GET</h3> <p>No GET data</p> <h3 id="post-info">POST</h3> <table class="req"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>pid</td> <td class="code"><pre>u&#39;testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225818429&#39;</pre></td> </tr> </tbody> </table> <h3 id="files-info">FILES</h3> <table class="req"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>sysmeta</td> <td class="code"><pre>&lt;InMemoryUploadedFile: mmp.output.2520187091678748863.tmp (application/octet-stream)&gt;</pre></td> </tr> <tr> <td>object</td> <td class="code"><pre>&lt;InMemoryUploadedFile: mmp.output.9154944126169503934.tmp (application/octet-stream)&gt;</pre></td> </tr> </tbody> </table> <h3 id="cookie-info">COOKIES</h3> <p>No cookie data</p> <h3 id="meta-info">META</h3> <table class="req"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>CONTENT_LENGTH</td> <td class="code"><pre>&#39;18979&#39;</pre></td> </tr> <tr> <td>CONTENT_TYPE</td> <td class="code"><pre>&#39;multipart/form-data; boundary=3TPFtKFNl-I2WaR-l1SJIgzZ7y3ZsagNRYkO&#39;</pre></td> </tr> <tr> <td>CONTEXT_DOCUMENT_ROOT</td> <td class="code"><pre>&#39;/var/www&#39;</pre></td> </tr> <tr> <td>CONTEXT_PREFIX</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>DOCUMENT_ROOT</td> <td class="code"><pre>&#39;/var/www&#39;</pre></td> </tr> <tr> <td>GATEWAY_INTERFACE</td> <td class="code"><pre>&#39;CGI/1.1&#39;</pre></td> </tr> <tr> <td>HTTP_ACCEPT_ENCODING</td> <td class="code"><pre>&#39;gzip,deflate&#39;</pre></td> </tr> <tr> <td>HTTP_CONNECTION</td> <td class="code"><pre>&#39;Keep-Alive&#39;</pre></td> </tr> <tr> <td>HTTP_HOST</td> <td class="code"><pre>&#39;gmn-s.lternet.edu&#39;</pre></td> </tr> <tr> <td>HTTP_USER_AGENT</td> <td class="code"><pre>&#39;Apache-HttpClient/4.3.6 (java 1.5)&#39;</pre></td> </tr> <tr> <td>HTTP_VIA</td> <td class="code"><pre>&#39;1.1 localhost (Apache-HttpClient/4.3.6 (cache))&#39;</pre></td> </tr> <tr> <td>PATH_INFO</td> <td class="code"><pre>u&#39;/v2/object&#39;</pre></td> </tr> <tr> <td>PATH_TRANSLATED</td> <td class="code"><pre>&#39;/var/www/v2/object&#39;</pre></td> </tr> <tr> <td>QUERY_STRING</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>REMOTE_ADDR</td> <td class="code"><pre>&#39;64.106.40.19&#39;</pre></td> </tr> <tr> <td>REMOTE_PORT</td> <td class="code"><pre>&#39;43310&#39;</pre></td> </tr> <tr> <td>REQUEST_METHOD</td> <td class="code"><pre>&#39;POST&#39;</pre></td> </tr> <tr> <td>REQUEST_SCHEME</td> <td class="code"><pre>&#39;https&#39;</pre></td> </tr> <tr> <td>REQUEST_URI</td> <td class="code"><pre>&#39;/mn/v2/object&#39;</pre></td> </tr> <tr> <td>SCRIPT_FILENAME</td> <td class="code"><pre>&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py&#39;</pre></td> </tr> <tr> <td>SCRIPT_NAME</td> <td class="code"><pre>u&#39;/mn&#39;</pre></td> </tr> <tr> <td>SERVER_ADDR</td> <td class="code"><pre>&#39;129.24.124.173&#39;</pre></td> </tr> <tr> <td>SERVER_ADMIN</td> <td class="code"><pre>&#39;webmaster@localhost&#39;</pre></td> </tr> <tr> <td>SERVER_NAME</td> <td class="code"><pre>&#39;gmn-s.lternet.edu&#39;</pre></td> </tr> <tr> <td>SERVER_PORT</td> <td class="code"><pre>&#39;443&#39;</pre></td> </tr> <tr> <td>SERVER_PROTOCOL</td> <td class="code"><pre>&#39;HTTP/1.1&#39;</pre></td> </tr> <tr> <td>SERVER_SIGNATURE</td> <td class="code"><pre>&#39;&lt;address&gt;Apache/2.4.7 (Ubuntu) Server at gmn-s.lternet.edu Port 443&lt;/address&gt;\n&#39;</pre></td> </tr> <tr> <td>SERVER_SOFTWARE</td> <td class="code"><pre>&#39;Apache/2.4.7 (Ubuntu)&#39;</pre></td> </tr> <tr> <td>SSL_CLIENT_CERT</td> <td class="code"><pre>&#39;-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ/zMSGAS2UN3OfmwImsGOJTabIJ1g\nr0Yza+M1dlg4U9w4sw2AKymWRKhwWB5kcbGwqaU799a7+p3whBsy90ymw5wnxaWd\nXrPYU237PE3t3GoDUMm5ksMotcx7zyWD7X6ULTpK0mCUcts/P5Nyz9a5MY8ONyX9\n79iEza7yY8h2WUlPUcAiWC8mNmtWKnkbDMj3J8hftPsHVvQZS/sUV3qZXY+0sTc1\nnfyI3Ki+SVq4pbfXYC67mwCHfEAQkSvDsNHp20R9d53h3DI8iXtkElz1JQKUhYeB\nIRVqcgOsBXCJ3WmabhlOPPr3TQiGGEoT2PnbJ2rzRv9L+UEOgJs10FuBAgMBAAGj\nggLJMIICxTAJBgNVHRMEAjAAMCwGCWCGSAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVy\nYXRlZCBDZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQUXWYvIzSx6xMxPwx6yADxN5TQNXsw\nHwYDVR0jBBgwFoAU7y7BJ2wqigmrbMNFfzv5V9UWqbMwggEBBgNVHR8EgfkwgfYw\nPKA6oDiGNmh0dHA6Ly9yZWxlYXNlcy5kYXRhb25lLm9yZy9jcmwvRGF0YU9ORVRl\nc3RJbnRfQ1JMLnBlbTA9oDugOYY3aHR0cDovL2NuLXVjc2ItMS5kYXRhb25lLm9y\nZy9jcmwvRGF0YU9ORVRlc3RJbnRfQ1JMLnBlbTA5oDegNYYzaHR0cDovL2NuLXVu\nbS0xLmRhdGFvbmUub3JnL2NybC9EYXRhT05FVGVzdF9DUkwucGVtMDygOqA4hjZo\ndHRwOi8vY24tb3JjLTEuZGF0YW9uZS5vcmcvY3JsL0RhdGFPTkVUZXN0SW50X0NS\nTC5wZW0wggFDBgorBgEEAYKRNgIBBIIBMwyCAS88P3htbCB2ZXJzaW9uPSIxLjAi\nIGVuY29kaW5nPSJVVEYtOCI/PjxkMTpzdWJqZWN0SW5mbyB4bWxuczpkMT0iaHR0\ncDovL25zLmRhdGFvbmUub3JnL3NlcnZpY2UvdHlwZXMvdjEiPi48cGVyc29uPi4u\nPHN1YmplY3Q+Q049dGVzdFJpZ2h0c0hvbGRlcixEQz1kYXRhb25lLERDPW9yZzwv\nc3ViamVjdD4uLjxnaXZlbk5hbWU+dGVzdFJpZ2h0c0hvbGRlcl9naXZlbk5hbWU8\nL2dpdmVuTmFtZT4uLjxmYW1pbHlOYW1lPnRlc3RSaWdodHNIb2xkZXJfZmFtaWx5\nTmFtZTwvZmFtaWx5TmFtZT4uPC9wZXJzb24+PC9kMTpzdWJqZWN0SW5mbz4wDQYJ\nKoZIhvcNAQEFBQADggIBALrwobQ7Vjwdn5Kxul6+JNz3RXs+8a+CnBZ011uA3M0g\n2Bkxm8ysKHttBctdyzKJ1BXub/WiKMKg5LgJIXGI34Xo4bl5/clrEl6hCsChs6XY\nmWA2YVPPoO/KvwdkOa1gnvU/+n6oxH/AxPBqG4+Zf/guLXs32LasPHGs5CN0rtRz\nwgDZpU1KCnIdCeV6gcGp+W18X1+OJ5eDxFsg0ZVSZzKCVOuL7Tp1aEnOwVfzQBzo\nHQ3mMPMaEt6mBR3c2U7PHtCSGty+R6IHNBiG6bjNO4aD/ZsZVG4FklfQMaClN5U7\nvaNCOS5UZ8H3HPu08/UeimouDx1E/+Y5mqwH2C6JMH+PGUf/ViSci4LuzPY9WYfx\nus42uW+k4PrJv/KrVqHn4rjniOdMFyBvBEuwYIrcE9vvgI3qMa9idWeDX7gKreeR\nj9OnBbVm19+xuU8mijY9mbMqjCzM/L73CxdVXsK6yQ2HjdBVwvmfsCd92Ikpkfvv\nComGDHE7I9/RO5RckZ95uS2AqaWboPHxGGJhSd8+ZfuVjnLBPkQd9mTcGFmzC+UM\n34b4lxZlQ2aEo6/ZWDcjh6afbSixVs9CJZejor6RB0Dg2LYqApYHcjQEVnzW/hF+\nP5tMTrd4EQj+tsyTFQgdj7NtoDY1EkgD0ohYPA9PF6t3R2w7hHVs5hyb/xY/55CV\n-----END CERTIFICATE-----\n&#39;</pre></td> </tr> <tr> <td>SSL_SERVER_CERT</td> <td class="code"><pre>&#39;-----BEGIN CERTIFICATE-----\nMIIHADCCBeigAwIBAgIQA09MoxiEA3fqnsrSvOHDBDANBgkqhkiG9w0BAQsFADB6\nMQswCQYDVQQGEwJVUzELMAkGA1UECBMCVkExEDAOBgNVBAcTB0hlcm5kb24xITAf\nBgNVBAoTGE5ldHdvcmsgU29sdXRpb25zIEwuTC5DLjEpMCcGA1UEAxMgTmV0d29y\nayBTb2x1dGlvbnMgT1YgU2VydmVyIENBIDIwHhcNMTYxMDA0MDAwMDAwWhcNMTcx\nMDIyMjM1OTU5WjCCARExCzAJBgNVBAYTAlVTMRMwEQYDVQQREwo4NzEzMS0wMDAx\nMQswCQYDVQQIEwJOTTEUMBIGA1UEBxMLQWxidXF1ZXJxdWUxIzAhBgNVBAkTGjEg\nVW5pdmVyc2l0eSBvZiBOZXcgTWV4aWNvMSkwJwYDVQQJEyBEZXBhcnRtZW50IG9m\nIEJpb2xvZ3kgTVNDMDMgMjAyMDEhMB8GA1UEChMYVW5pdmVyc2l0eSBvZiBOZXcg\nTWV4aWNvMRwwGgYDVQQLExNMVEVSIE5ldHdvcmsgT2ZmaWNlMSEwHwYDVQQLExhT\nZWN1cmUgTGluayBTU0wgV2lsZGNhcmQxFjAUBgNVBAMMDSoubHRlcm5ldC5lZHUw\nggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC/hDQ+aqpYpk2X3hCMlhw2\nRWpOQV5vwFIskZ5MlewRrpCGVpqiOGDVVSSCxmNhAkuOmN5COQJfvmQ5COUrMlT8\n8nPzuOnkqiI9L/Mq7fM8r+N6iYBBnXbxVJ54fkVtawl7FAmBvEqniWNFyEp4Et1E\nnVnZZY5J2pmt3ljIQV5LjCwOlxMSuKbF0KReX0dN9k+zxmN8Ei4VSb7c5RRUXTOA\nnECli56ViljC46VFxEESoURzILGNK8kAyhq1OAZzg4pyuhWQNdgT7YQEZASpCahq\nWOdTtYWhQ0zOgkzW4hqPRAgjsDo5hKj2rELVQyV2BFf0gG4mdgq/NvQgFCmzYAkj\n8IqmHbRc/FPLn4P1zIy6PBTc5Lwp+upEga1zUmvUd9bU/0Wmh9aeNngbtFmK/B+X\nZEIE27VxDBYq0LxzsIGoXtCRiFK7SigbOVrldzJKkiuYFCNTd+6ceKOTjy8tuRki\nLrpRZ5QZRi6MNjzvqQI1oGvEcW5kCzW4Wt4OxOZsp9tTDmg4YkJKKza3X/w3DP+y\n76BfFGzAm1NglqsW0WlNLzp7NaqMeCW3lLofDMZmlYOEPx0mn1BrN+XN5CCUGEVx\nho09GiA23X33AZqFQxGhHpT0ua9TfEKJjJSFtH4lRlOa52rnmbz1+RvRQJQ80bJO\nBOEsshMpYk9nTBR/deHr/QIDAQABo4IB5zCCAeMwHwYDVR0jBBgwFoAUIDPNt2H2\npYZP3MnXc2q8ClFlmOwwHQYDVR0OBBYEFJTuLsEk9g68lrwO7Udn+sHQfEqeMA4G\nA1UdDwEB/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&#39;</pre></td> </tr> <tr> <td>SSL_TLS_SNI</td> <td class="code"><pre>&#39;gmn-s.lternet.edu&#39;</pre></td> </tr> <tr> <td>mod_wsgi.application_group</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>mod_wsgi.callable_object</td> <td class="code"><pre>&#39;application&#39;</pre></td> </tr> <tr> <td>mod_wsgi.enable_sendfile</td> <td class="code"><pre>&#39;0&#39;</pre></td> </tr> <tr> <td>mod_wsgi.handler_script</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>mod_wsgi.input_chunked</td> <td class="code"><pre>&#39;0&#39;</pre></td> </tr> <tr> <td>mod_wsgi.listener_host</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>mod_wsgi.listener_port</td> <td class="code"><pre>&#39;443&#39;</pre></td> </tr> <tr> <td>mod_wsgi.process_group</td> <td class="code"><pre>&#39;gmn2&#39;</pre></td> </tr> <tr> <td>mod_wsgi.queue_start</td> <td class="code"><pre>&#39;1493099222387606&#39;</pre></td> </tr> <tr> <td>mod_wsgi.request_handler</td> <td class="code"><pre>&#39;wsgi-script&#39;</pre></td> </tr> <tr> <td>mod_wsgi.script_reloading</td> <td class="code"><pre>&#39;1&#39;</pre></td> </tr> <tr> <td>mod_wsgi.version</td> <td class="code"><pre>(3, 4)</pre></td> </tr> <tr> <td>wsgi.errors</td> <td class="code"><pre>&lt;mod_wsgi.Log object at 0x7f17c023f1f0&gt;</pre></td> </tr> <tr> <td>wsgi.file_wrapper</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>wsgi.input</td> <td class="code"><pre>&lt;mod_wsgi.Input object at 0x7f17c07a4430&gt;</pre></td> </tr> <tr> <td>wsgi.multiprocess</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>wsgi.multithread</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>wsgi.run_once</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>wsgi.url_scheme</td> <td class="code"><pre>&#39;https&#39;</pre></td> </tr> <tr> <td>wsgi.version</td> <td class="code"><pre>(1, 0)</pre></td> </tr> </tbody> </table> <h3 id="settings-info">Settings</h3> <h4>Using settings module <code>settings</code></h4> <table class="req"> <thead> <tr> <th>Setting</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>ABSOLUTE_URL_OVERRIDES</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>ADMINS</td> <td class="code"><pre>((&#39;Roger Dahl&#39;, &#39;dahl@unm.edu&#39;), (&#39;Mark Servilla&#39;, &#39;mark.servilla@gmail.com&#39;))</pre></td> </tr> <tr> <td>ALLOWED_HOSTS</td> <td class="code"><pre>[&#39;localhost&#39;, &#39;127.0.0.1&#39;]</pre></td> </tr> <tr> <td>ALLOW_INTEGRATION_TESTS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>APPEND_SLASH</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>AUTHENTICATION_BACKENDS</td> <td class="code"><pre>[u&#39;django.contrib.auth.backends.ModelBackend&#39;]</pre></td> </tr> <tr> <td>AUTH_PASSWORD_VALIDATORS</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>AUTH_USER_MODEL</td> <td class="code"><pre>u&#39;auth.User&#39;</pre></td> </tr> <tr> <td>BASE_DIR</td> <td class="code"><pre>&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages&#39;</pre></td> </tr> <tr> <td>CACHES</td> <td class="code"><pre>{&#39;default&#39;: {&#39;BACKEND&#39;: &#39;django.core.cache.backends.locmem.LocMemCache&#39;, &#39;TIMEOUT&#39;: 3600}}</pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_ALIAS</td> <td class="code"><pre>u&#39;default&#39;</pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_KEY_PREFIX</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_SECONDS</td> <td class="code"><pre>600</pre></td> </tr> <tr> <td>CLIENT_CERT_PATH</td> <td class="code"><pre>&#39;/var/local/dataone/certs/client/client_cert.pem&#39;</pre></td> </tr> <tr> <td>CLIENT_CERT_PRIVATE_KEY_PATH</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>CSRF_COOKIE_AGE</td> <td class="code"><pre>31449600</pre></td> </tr> <tr> <td>CSRF_COOKIE_DOMAIN</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>CSRF_COOKIE_HTTPONLY</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>CSRF_COOKIE_NAME</td> <td class="code"><pre>u&#39;csrftoken&#39;</pre></td> </tr> <tr> <td>CSRF_COOKIE_PATH</td> <td class="code"><pre>u&#39;/&#39;</pre></td> </tr> <tr> <td>CSRF_COOKIE_SECURE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>CSRF_FAILURE_VIEW</td> <td class="code"><pre>u&#39;django.views.csrf.csrf_failure&#39;</pre></td> </tr> <tr> <td>CSRF_HEADER_NAME</td> <td class="code"><pre>u&#39;HTTP_X_CSRFTOKEN&#39;</pre></td> </tr> <tr> <td>CSRF_TRUSTED_ORIGINS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>DATABASES</td> <td class="code"><pre>{&#39;default&#39;: {&#39;ATOMIC_REQUESTS&#39;: True, &#39;AUTOCOMMIT&#39;: True, &#39;CONN_MAX_AGE&#39;: 0, &#39;ENGINE&#39;: &#39;django.db.backends.postgresql_psycopg2&#39;, &#39;HOST&#39;: &#39;&#39;, &#39;NAME&#39;: &#39;gmn2&#39;, &#39;OPTIONS&#39;: {}, &#39;PASSWORD&#39;: u&#39;********************&#39;, &#39;PORT&#39;: &#39;&#39;, &#39;TEST&#39;: {&#39;CHARSET&#39;: None, &#39;COLLATION&#39;: None, &#39;MIRROR&#39;: None, &#39;NAME&#39;: None}, &#39;TIME_ZONE&#39;: None, &#39;USER&#39;: &#39;&#39;}}</pre></td> </tr> <tr> <td>DATABASE_ROUTERS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>DATAONE_ROOT</td> <td class="code"><pre>&#39;https://cn-stage.test.dataone.org/cn&#39;</pre></td> </tr> <tr> <td>DATAONE_TRUSTED_SUBJECTS</td> <td class="code"><pre>set([&#39;gmn_test_subject_trusted&#39;])</pre></td> </tr> <tr> <td>DATA_UPLOAD_MAX_MEMORY_SIZE</td> <td class="code"><pre>2621440</pre></td> </tr> <tr> <td>DATA_UPLOAD_MAX_NUMBER_FIELDS</td> <td class="code"><pre>1000</pre></td> </tr> <tr> <td>DATETIME_FORMAT</td> <td class="code"><pre>u&#39;N j, Y, P&#39;</pre></td> </tr> <tr> <td>DATETIME_INPUT_FORMATS</td> <td class="code"><pre>[u&#39;%Y-%m-%d %H:%M:%S&#39;, u&#39;%Y-%m-%d %H:%M:%S.%f&#39;, u&#39;%Y-%m-%d %H:%M&#39;, u&#39;%Y-%m-%d&#39;, u&#39;%m/%d/%Y %H:%M:%S&#39;, u&#39;%m/%d/%Y %H:%M:%S.%f&#39;, u&#39;%m/%d/%Y %H:%M&#39;, u&#39;%m/%d/%Y&#39;, u&#39;%m/%d/%y %H:%M:%S&#39;, u&#39;%m/%d/%y %H:%M:%S.%f&#39;, u&#39;%m/%d/%y %H:%M&#39;, u&#39;%m/%d/%y&#39;]</pre></td> </tr> <tr> <td>DATE_FORMAT</td> <td class="code"><pre>u&#39;N j, Y&#39;</pre></td> </tr> <tr> <td>DATE_INPUT_FORMATS</td> <td class="code"><pre>[u&#39;%Y-%m-%d&#39;, u&#39;%m/%d/%Y&#39;, u&#39;%m/%d/%y&#39;, u&#39;%b %d %Y&#39;, u&#39;%b %d, %Y&#39;, u&#39;%d %b %Y&#39;, u&#39;%d %b, %Y&#39;, u&#39;%B %d %Y&#39;, u&#39;%B %d, %Y&#39;, u&#39;%d %B %Y&#39;, u&#39;%d %B, %Y&#39;]</pre></td> </tr> <tr> <td>DEBUG</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>DEBUG_GMN</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>DEBUG_PROPAGATE_EXCEPTIONS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>DEBUG_PYCHARM</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>DECIMAL_SEPARATOR</td> <td class="code"><pre>u&#39;.&#39;</pre></td> </tr> <tr> <td>DEFAULT_CHARSET</td> <td class="code"><pre>u&#39;utf-8&#39;</pre></td> </tr> <tr> <td>DEFAULT_CONTENT_TYPE</td> <td class="code"><pre>u&#39;text/html&#39;</pre></td> </tr> <tr> <td>DEFAULT_EXCEPTION_REPORTER_FILTER</td> <td class="code"><pre>u&#39;django.views.debug.SafeExceptionReporterFilter&#39;</pre></td> </tr> <tr> <td>DEFAULT_FILE_STORAGE</td> <td class="code"><pre>u&#39;django.core.files.storage.FileSystemStorage&#39;</pre></td> </tr> <tr> <td>DEFAULT_FROM_EMAIL</td> <td class="code"><pre>u&#39;webmaster@localhost&#39;</pre></td> </tr> <tr> <td>DEFAULT_INDEX_TABLESPACE</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>DEFAULT_TABLESPACE</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>DISALLOWED_USER_AGENTS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>ECHO_REQUEST_OBJECT</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>EMAIL_BACKEND</td> <td class="code"><pre>u&#39;django.core.mail.backends.smtp.EmailBackend&#39;</pre></td> </tr> <tr> <td>EMAIL_HOST</td> <td class="code"><pre>u&#39;localhost&#39;</pre></td> </tr> <tr> <td>EMAIL_HOST_PASSWORD</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>EMAIL_HOST_USER</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>EMAIL_PORT</td> <td class="code"><pre>25</pre></td> </tr> <tr> <td>EMAIL_SSL_CERTFILE</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>EMAIL_SSL_KEYFILE</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>EMAIL_SUBJECT_PREFIX</td> <td class="code"><pre>u&#39;[Django] &#39;</pre></td> </tr> <tr> <td>EMAIL_TIMEOUT</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>EMAIL_USE_SSL</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>EMAIL_USE_TLS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>FILE_CHARSET</td> <td class="code"><pre>u&#39;utf-8&#39;</pre></td> </tr> <tr> <td>FILE_UPLOAD_DIRECTORY_PERMISSIONS</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FILE_UPLOAD_HANDLERS</td> <td class="code"><pre>[u&#39;django.core.files.uploadhandler.MemoryFileUploadHandler&#39;, u&#39;django.core.files.uploadhandler.TemporaryFileUploadHandler&#39;]</pre></td> </tr> <tr> <td>FILE_UPLOAD_MAX_MEMORY_SIZE</td> <td class="code"><pre>2621440</pre></td> </tr> <tr> <td>FILE_UPLOAD_PERMISSIONS</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FILE_UPLOAD_TEMP_DIR</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FIRST_DAY_OF_WEEK</td> <td class="code"><pre>0</pre></td> </tr> <tr> <td>FIXTURE_DIRS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>FORCE_SCRIPT_NAME</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FORMAT_MODULE_PATH</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>IGNORABLE_404_URLS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>INSTALLED_APPS</td> <td class="code"><pre>[&#39;django.contrib.staticfiles&#39;, &#39;app&#39;]</pre></td> </tr> <tr> <td>INTERNAL_IPS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>LANGUAGES</td> <td class="code"><pre>[(u&#39;af&#39;, u&#39;Afrikaans&#39;), (u&#39;ar&#39;, u&#39;Arabic&#39;), (u&#39;ast&#39;, u&#39;Asturian&#39;), (u&#39;az&#39;, u&#39;Azerbaijani&#39;), (u&#39;bg&#39;, u&#39;Bulgarian&#39;), (u&#39;be&#39;, u&#39;Belarusian&#39;), (u&#39;bn&#39;, u&#39;Bengali&#39;), (u&#39;br&#39;, u&#39;Breton&#39;), (u&#39;bs&#39;, u&#39;Bosnian&#39;), (u&#39;ca&#39;, u&#39;Catalan&#39;), (u&#39;cs&#39;, u&#39;Czech&#39;), (u&#39;cy&#39;, u&#39;Welsh&#39;), (u&#39;da&#39;, u&#39;Danish&#39;), (u&#39;de&#39;, u&#39;German&#39;), (u&#39;dsb&#39;, u&#39;Lower Sorbian&#39;), (u&#39;el&#39;, u&#39;Greek&#39;), (u&#39;en&#39;, u&#39;English&#39;), (u&#39;en-au&#39;, u&#39;Australian English&#39;), (u&#39;en-gb&#39;, u&#39;British English&#39;), (u&#39;eo&#39;, u&#39;Esperanto&#39;), (u&#39;es&#39;, u&#39;Spanish&#39;), (u&#39;es-ar&#39;, u&#39;Argentinian Spanish&#39;), (u&#39;es-co&#39;, u&#39;Colombian Spanish&#39;), (u&#39;es-mx&#39;, u&#39;Mexican Spanish&#39;), (u&#39;es-ni&#39;, u&#39;Nicaraguan Spanish&#39;), (u&#39;es-ve&#39;, u&#39;Venezuelan Spanish&#39;), (u&#39;et&#39;, u&#39;Estonian&#39;), (u&#39;eu&#39;, u&#39;Basque&#39;), (u&#39;fa&#39;, u&#39;Persian&#39;), (u&#39;fi&#39;, u&#39;Finnish&#39;), (u&#39;fr&#39;, u&#39;French&#39;), (u&#39;fy&#39;, u&#39;Frisian&#39;), (u&#39;ga&#39;, u&#39;Irish&#39;), (u&#39;gd&#39;, u&#39;Scottish Gaelic&#39;), (u&#39;gl&#39;, u&#39;Galician&#39;), (u&#39;he&#39;, u&#39;Hebrew&#39;), (u&#39;hi&#39;, u&#39;Hindi&#39;), (u&#39;hr&#39;, u&#39;Croatian&#39;), (u&#39;hsb&#39;, u&#39;Upper Sorbian&#39;), (u&#39;hu&#39;, u&#39;Hungarian&#39;), (u&#39;ia&#39;, u&#39;Interlingua&#39;), (u&#39;id&#39;, u&#39;Indonesian&#39;), (u&#39;io&#39;, u&#39;Ido&#39;), (u&#39;is&#39;, u&#39;Icelandic&#39;), (u&#39;it&#39;, u&#39;Italian&#39;), (u&#39;ja&#39;, u&#39;Japanese&#39;), (u&#39;ka&#39;, u&#39;Georgian&#39;), (u&#39;kk&#39;, u&#39;Kazakh&#39;), (u&#39;km&#39;, u&#39;Khmer&#39;), (u&#39;kn&#39;, u&#39;Kannada&#39;), (u&#39;ko&#39;, u&#39;Korean&#39;), (u&#39;lb&#39;, u&#39;Luxembourgish&#39;), (u&#39;lt&#39;, u&#39;Lithuanian&#39;), (u&#39;lv&#39;, u&#39;Latvian&#39;), (u&#39;mk&#39;, u&#39;Macedonian&#39;), (u&#39;ml&#39;, u&#39;Malayalam&#39;), (u&#39;mn&#39;, u&#39;Mongolian&#39;), (u&#39;mr&#39;, u&#39;Marathi&#39;), (u&#39;my&#39;, u&#39;Burmese&#39;), (u&#39;nb&#39;, u&#39;Norwegian Bokm\xe5l&#39;), (u&#39;ne&#39;, u&#39;Nepali&#39;), (u&#39;nl&#39;, u&#39;Dutch&#39;), (u&#39;nn&#39;, u&#39;Norwegian Nynorsk&#39;), (u&#39;os&#39;, u&#39;Ossetic&#39;), (u&#39;pa&#39;, u&#39;Punjabi&#39;), (u&#39;pl&#39;, u&#39;Polish&#39;), (u&#39;pt&#39;, u&#39;Portuguese&#39;), (u&#39;pt-br&#39;, u&#39;Brazilian Portuguese&#39;), (u&#39;ro&#39;, u&#39;Romanian&#39;), (u&#39;ru&#39;, u&#39;Russian&#39;), (u&#39;sk&#39;, u&#39;Slovak&#39;), (u&#39;sl&#39;, u&#39;Slovenian&#39;), (u&#39;sq&#39;, u&#39;Albanian&#39;), (u&#39;sr&#39;, u&#39;Serbian&#39;), (u&#39;sr-latn&#39;, u&#39;Serbian Latin&#39;), (u&#39;sv&#39;, u&#39;Swedish&#39;), (u&#39;sw&#39;, u&#39;Swahili&#39;), (u&#39;ta&#39;, u&#39;Tamil&#39;), (u&#39;te&#39;, u&#39;Telugu&#39;), (u&#39;th&#39;, u&#39;Thai&#39;), (u&#39;tr&#39;, u&#39;Turkish&#39;), (u&#39;tt&#39;, u&#39;Tatar&#39;), (u&#39;udm&#39;, u&#39;Udmurt&#39;), (u&#39;uk&#39;, u&#39;Ukrainian&#39;), (u&#39;ur&#39;, u&#39;Urdu&#39;), (u&#39;vi&#39;, u&#39;Vietnamese&#39;), (u&#39;zh-hans&#39;, u&#39;Simplified Chinese&#39;), (u&#39;zh-hant&#39;, u&#39;Traditional Chinese&#39;)]</pre></td> </tr> <tr> <td>LANGUAGES_BIDI</td> <td class="code"><pre>[u&#39;he&#39;, u&#39;ar&#39;, u&#39;fa&#39;, u&#39;ur&#39;]</pre></td> </tr> <tr> <td>LANGUAGE_CODE</td> <td class="code"><pre>&#39;en-us&#39;</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_AGE</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_DOMAIN</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_NAME</td> <td class="code"><pre>u&#39;django_language&#39;</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_PATH</td> <td class="code"><pre>u&#39;/&#39;</pre></td> </tr> <tr> <td>LOCALE_PATHS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>LOGGING</td> <td class="code"><pre>{&#39;disable_existing_loggers&#39;: True, &#39;formatters&#39;: {&#39;simple&#39;: {&#39;format&#39;: &#39;%(levelname)s %(message)s&#39;}, &#39;verbose&#39;: {&#39;datefmt&#39;: &#39;%Y-%m-%d %H:%M:%S&#39;, &#39;format&#39;: &#39;%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s&#39;}}, &#39;handlers&#39;: {&#39;file&#39;: {&#39;class&#39;: &#39;logging.FileHandler&#39;, &#39;filename&#39;: &#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log&#39;, &#39;formatter&#39;: &#39;verbose&#39;, &#39;level&#39;: &#39;DEBUG&#39;}, &#39;null&#39;: {&#39;class&#39;: &#39;logging.NullHandler&#39;, &#39;level&#39;: &#39;DEBUG&#39;}}, &#39;loggers&#39;: {&#39;&#39;: {&#39;handlers&#39;: [&#39;file&#39;], &#39;level&#39;: &#39;DEBUG&#39;, &#39;propagate&#39;: True}, &#39;django&#39;: {&#39;handlers&#39;: [&#39;file&#39;], &#39;level&#39;: &#39;DEBUG&#39;, &#39;propagate&#39;: False}, &#39;django.db.backends&#39;: {&#39;handlers&#39;: [&#39;null&#39;], &#39;level&#39;: &#39;WARNING&#39;, &#39;propagate&#39;: False}}, &#39;version&#39;: 1}</pre></td> </tr> <tr> <td>LOGGING_CONFIG</td> <td class="code"><pre>u&#39;logging.config.dictConfig&#39;</pre></td> </tr> <tr> <td>LOGIN_REDIRECT_URL</td> <td class="code"><pre>u&#39;/accounts/profile/&#39;</pre></td> </tr> <tr> <td>LOGIN_URL</td> <td class="code"><pre>u&#39;/accounts/login/&#39;</pre></td> </tr> <tr> <td>LOGOUT_REDIRECT_URL</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>LOG_LEVEL</td> <td class="code"><pre>&#39;DEBUG&#39;</pre></td> </tr> <tr> <td>LOG_PATH</td> <td class="code"><pre>&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log&#39;</pre></td> </tr> <tr> <td>MANAGERS</td> <td class="code"><pre>((&#39;Roger Dahl&#39;, &#39;dahl@unm.edu&#39;), (&#39;Mark Servilla&#39;, &#39;mark.servilla@gmail.com&#39;))</pre></td> </tr> <tr> <td>MAX_XML_DOCUMENT_SIZE</td> <td class="code"><pre>10485760</pre></td> </tr> <tr> <td>MEDIA_ROOT</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>MEDIA_URL</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>MESSAGE_STORAGE</td> <td class="code"><pre>u&#39;django.contrib.messages.storage.fallback.FallbackStorage&#39;</pre></td> </tr> <tr> <td>MIDDLEWARE</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>MIDDLEWARE_CLASSES</td> <td class="code"><pre>(&#39;app.middleware.request_handler.RequestHandler&#39;, &#39;app.middleware.exception_handler.ExceptionHandler&#39;, &#39;app.middleware.response_handler.ResponseHandler&#39;, &#39;app.middleware.profiling_handler.ProfilingHandler&#39;, &#39;app.middleware.view_handler.ViewHandler&#39;, &#39;app.middleware.startup_handler.StartupHandler&#39;)</pre></td> </tr> <tr> <td>MIGRATION_MODULES</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>MONITOR</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>MONTH_DAY_FORMAT</td> <td class="code"><pre>u&#39;F j&#39;</pre></td> </tr> <tr> <td>NODE_BASEURL</td> <td class="code"><pre>&#39;https://gmn-s.lternet.edu/mn&#39;</pre></td> </tr> <tr> <td>NODE_CONTACT_SUBJECT</td> <td class="code"><pre>&#39;CN=Mark Servilla A6788,O=LTERN (Long Term Ecological Research Network),C=US,DC=cilogon,DC=org&#39;</pre></td> </tr> <tr> <td>NODE_DESCRIPTION</td> <td class="code"><pre>&#39;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.&#39;</pre></td> </tr> <tr> <td>NODE_IDENTIFIER</td> <td class="code"><pre>&#39;urn:node:mnTestLTER&#39;</pre></td> </tr> <tr> <td>NODE_NAME</td> <td class="code"><pre>&#39;Stage test for PASTA-GMN&#39;</pre></td> </tr> <tr> <td>NODE_REPLICATE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>NODE_STATE</td> <td class="code"><pre>&#39;up&#39;</pre></td> </tr> <tr> <td>NODE_SUBJECT</td> <td class="code"><pre>&#39;CN=urn:node:mnTestLTER,DC=dataone,DC=org&#39;</pre></td> </tr> <tr> <td>NODE_SYNCHRONIZE</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_HOUR</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_MINUTE</td> <td class="code"><pre>&#39;23&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_MONTH</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_MONTHDAY</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_SECOND</td> <td class="code"><pre>&#39;0&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_WEEKDAY</td> <td class="code"><pre>&#39;?&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_YEAR</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NUMBER_GROUPING</td> <td class="code"><pre>0</pre></td> </tr> <tr> <td>NUM_CHUNK_BYTES</td> <td class="code"><pre>1048576</pre></td> </tr> <tr> <td>OBJECT_STORE_PATH</td> <td class="code"><pre>&#39;/var/local/dataone/gmn_object_store&#39;</pre></td> </tr> <tr> <td>PASSWORD_HASHERS</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>PASSWORD_RESET_TIMEOUT_DAYS</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>PREPEND_WWW</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>PROXY_MODE_BASIC_AUTH_ENABLED</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>PROXY_MODE_BASIC_AUTH_PASSWORD</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>PROXY_MODE_BASIC_AUTH_USERNAME</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>PROXY_MODE_STREAM_TIMEOUT</td> <td class="code"><pre>30</pre></td> </tr> <tr> <td>PUBLIC_LOG_RECORDS</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>PUBLIC_OBJECT_LIST</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>PYCHARM_BIN</td> <td class="code"><pre>&#39;pycharm.sh&#39;</pre></td> </tr> <tr> <td>REPLICATION_ALLOWEDNODE</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>REPLICATION_ALLOWEDOBJECTFORMAT</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>REPLICATION_MAXOBJECTSIZE</td> <td class="code"><pre>-1</pre></td> </tr> <tr> <td>REPLICATION_MAX_ATTEMPTS</td> <td class="code"><pre>24</pre></td> </tr> <tr> <td>REPLICATION_SPACEALLOCATED</td> <td class="code"><pre>10737418240</pre></td> </tr> <tr> <td>REQUIRE_WHITELIST_FOR_UPDATE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>ROOT_URLCONF</td> <td class="code"><pre>&#39;app.urls&#39;</pre></td> </tr> <tr> <td>SECRET_KEY</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>SECURE_BROWSER_XSS_FILTER</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECURE_CONTENT_TYPE_NOSNIFF</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECURE_HSTS_INCLUDE_SUBDOMAINS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECURE_HSTS_SECONDS</td> <td class="code"><pre>0</pre></td> </tr> <tr> <td>SECURE_PROXY_SSL_HEADER</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SECURE_REDIRECT_EXEMPT</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>SECURE_SSL_HOST</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SECURE_SSL_REDIRECT</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SERVER_EMAIL</td> <td class="code"><pre>u&#39;root@localhost&#39;</pre></td> </tr> <tr> <td>SESSION_CACHE_ALIAS</td> <td class="code"><pre>u&#39;default&#39;</pre></td> </tr> <tr> <td>SESSION_COOKIE_AGE</td> <td class="code"><pre>1209600</pre></td> </tr> <tr> <td>SESSION_COOKIE_DOMAIN</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SESSION_COOKIE_HTTPONLY</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>SESSION_COOKIE_NAME</td> <td class="code"><pre>u&#39;sessionid&#39;</pre></td> </tr> <tr> <td>SESSION_COOKIE_PATH</td> <td class="code"><pre>u&#39;/&#39;</pre></td> </tr> <tr> <td>SESSION_COOKIE_SECURE</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>SESSION_ENGINE</td> <td class="code"><pre>u&#39;django.contrib.sessions.backends.db&#39;</pre></td> </tr> <tr> <td>SESSION_EXPIRE_AT_BROWSER_CLOSE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SESSION_FILE_PATH</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SESSION_SAVE_EVERY_REQUEST</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SESSION_SERIALIZER</td> <td class="code"><pre>u&#39;django.contrib.sessions.serializers.JSONSerializer&#39;</pre></td> </tr> <tr> <td>SETTINGS_MODULE</td> <td class="code"><pre>&#39;settings&#39;</pre></td> </tr> <tr> <td>SHORT_DATETIME_FORMAT</td> <td class="code"><pre>u&#39;m/d/Y P&#39;</pre></td> </tr> <tr> <td>SHORT_DATE_FORMAT</td> <td class="code"><pre>u&#39;m/d/Y&#39;</pre></td> </tr> <tr> <td>SIGNING_BACKEND</td> <td class="code"><pre>u&#39;django.core.signing.TimestampSigner&#39;</pre></td> </tr> <tr> <td>SILENCED_SYSTEM_CHECKS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>STAND_ALONE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>STATICFILES_DIRS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>STATICFILES_FINDERS</td> <td class="code"><pre>[u&#39;django.contrib.staticfiles.finders.FileSystemFinder&#39;, u&#39;django.contrib.staticfiles.finders.AppDirectoriesFinder&#39;]</pre></td> </tr> <tr> <td>STATICFILES_STORAGE</td> <td class="code"><pre>u&#39;django.contrib.staticfiles.storage.StaticFilesStorage&#39;</pre></td> </tr> <tr> <td>STATIC_ROOT</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>STATIC_URL</td> <td class="code"><pre>&#39;/static/&#39;</pre></td> </tr> <tr> <td>SYSMETA_REFRESH_MAX_ATTEMPTS</td> <td class="code"><pre>24</pre></td> </tr> <tr> <td>TEMPLATES</td> <td class="code"><pre>[{&#39;BACKEND&#39;: &#39;django.template.backends.django.DjangoTemplates&#39;, &#39;DIRS&#39;: [&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/templates&#39;], &#39;OPTIONS&#39;: {&#39;context_processors&#39;: [&#39;django.contrib.auth.context_processors.auth&#39;, &#39;django.template.context_processors.debug&#39;, &#39;django.template.context_processors.i18n&#39;, &#39;django.template.context_processors.media&#39;, &#39;django.template.context_processors.static&#39;, &#39;django.template.context_processors.tz&#39;, &#39;django.contrib.messages.context_processors.messages&#39;], &#39;loaders&#39;: [&#39;django.template.loaders.filesystem.Loader&#39;]}}]</pre></td> </tr> <tr> <td>TEST_NON_SERIALIZED_APPS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>TEST_RUNNER</td> <td class="code"><pre>u&#39;django.test.runner.DiscoverRunner&#39;</pre></td> </tr> <tr> <td>THOUSAND_SEPARATOR</td> <td class="code"><pre>u&#39;,&#39;</pre></td> </tr> <tr> <td>TIME_FORMAT</td> <td class="code"><pre>u&#39;P&#39;</pre></td> </tr> <tr> <td>TIME_INPUT_FORMATS</td> <td class="code"><pre>[u&#39;%H:%M:%S&#39;, u&#39;%H:%M:%S.%f&#39;, u&#39;%H:%M&#39;]</pre></td> </tr> <tr> <td>TIME_ZONE</td> <td class="code"><pre>&#39;UTC&#39;</pre></td> </tr> <tr> <td>TRUST_CLIENT_AUTHORITATIVEMEMBERNODE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_DATESYSMETADATAMODIFIED</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_DATEUPLOADED</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>TRUST_CLIENT_ORIGINMEMBERNODE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_SERIALVERSION</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_SUBMITTER</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_ETAGS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_I18N</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>USE_L10N</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_THOUSAND_SEPARATOR</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_TZ</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_X_FORWARDED_HOST</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_X_FORWARDED_PORT</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>WSGI_APPLICATION</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>X_FRAME_OPTIONS</td> <td class="code"><pre>u&#39;SAMEORIGIN&#39;</pre></td> </tr> <tr> <td>YEAR_MONTH_FORMAT</td> <td class="code"><pre>u&#39;F Y&#39;</pre></td> </tr> </tbody> </table> </div> <div id="explanation"> <p> You're seeing this error because you have <code>DEBUG = True</code> in your Django settings file. Change that to <code>False</code>, and Django will display a standard page generated by the handler for this status code. </p> </div> </body> </html> at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1351) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:443) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:428) at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(MNStorageV2IT.java:259) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.rules.Verifier$1.evaluate(Verifier.java:34) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at com.sun.proxy.$Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body: <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="robots" content="NONE,NOARCHIVE"> <title>InvalidToken at /v2/object</title> <style type="text/css"> html * { padding:0; margin:0; } body * { padding:10px 20px; } body * * { padding:0; } body { font:small sans-serif; } body>div { border-bottom:1px solid #ddd; } h1 { font-weight:normal; } h2 { margin-bottom:.8em; } h2 span { font-size:80%; color:#666; font-weight:normal; } h3 { margin:1em 0 .5em 0; } h4 { margin:0 0 .5em 0; font-weight: normal; } code, pre { font-size: 100%; white-space: pre-wrap; } table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; } tbody td, tbody th { vertical-align:top; padding:2px 3px; } thead th { padding:1px 6px 1px 3px; background:#fefefe; text-align:left; font-weight:normal; font-size:11px; border:1px solid #ddd; } tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; } table.vars { margin:5px 0 2px 40px; } table.vars td, table.req td { font-family:monospace; } table td.code { width:100%; } table td.code pre { overflow:hidden; } table.source th { color:#666; } table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; } ul.traceback { list-style-type:none; color: #222; } ul.traceback li.frame { padding-bottom:1em; color:#666; } ul.traceback li.user { background-color:#e0e0e0; color:#000 } div.context { padding:10px 0; overflow:hidden; } div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; } div.context ol li { font-family:monospace; white-space:pre; color:#777; cursor:pointer; padding-left: 2px; } div.context ol li pre { display:inline; } div.context ol.context-line li { color:#505050; background-color:#dfdfdf; padding: 3px 2px; } div.context ol.context-line li span { position:absolute; right:32px; } .user div.context ol.context-line li { background-color:#bbb; color:#000; } .user div.context ol li { color:#666; } div.commands { margin-left: 40px; } div.commands a { color:#555; text-decoration:none; } .user div.commands a { color: black; } #summary { background: #ffc; } #summary h2 { font-weight: normal; color: #666; } #explanation { background:#eee; } #template, #template-not-exist { background:#f6f6f6; } #template-not-exist ul { margin: 0 0 10px 20px; } #template-not-exist .postmortem-section { margin-bottom: 3px; } #unicode-hint { background:#eee; } #traceback { background:#eee; } #requestinfo { background:#f6f6f6; padding-left:120px; } #summary table { border:none; background:transparent; } #requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; } #requestinfo h3 { margin-bottom:-1em; } .error { background: #ffc; } .specific { color:#cc3300; font-weight:bold; } h2 span.commands { font-size:.7em;} span.commands a:link {color:#5E5694;} pre.exception_value { font-family: sans-serif; color: #666; font-size: 1.5em; margin: 10px 0 10px 0; } .append-bottom { margin-bottom: 10px; } </style> <script type="text/javascript"> //<!-- function getElementsByClassName(oElm, strTagName, strClassName){ // Written by Jonathan Snook, http://www.snook.ca/jon; Add-ons by Robert Nyman, http://www.robertnyman.com var arrElements = (strTagName == "*" && document.all)? document.all : oElm.getElementsByTagName(strTagName); var arrReturnElements = new Array(); strClassName = strClassName.replace(/\-/g, "\-"); var oRegExp = new RegExp("(^|\s)" + strClassName + "(\s|$)"); var oElement; for(var i=0; i<arrElements.length; i++){ oElement = arrElements[i]; if(oRegExp.test(oElement.className)){ arrReturnElements.push(oElement); } } return (arrReturnElements) } function hideAll(elems) { for (var e = 0; e < elems.length; e++) { elems[e].style.display = 'none'; } } window.onload = function() { hideAll(getElementsByClassName(document, 'table', 'vars')); hideAll(getElementsByClassName(document, 'ol', 'pre-context')); hideAll(getElementsByClassName(document, 'ol', 'post-context')); hideAll(getElementsByClassName(document, 'div', 'pastebin')); } function toggle() { for (var i = 0; i < arguments.length; i++) { var e = document.getElementById(arguments[i]); if (e) { e.style.display = e.style.display == 'none' ? 'block': 'none'; } } return false; } function varToggle(link, id) { toggle('v' + id); var s = link.getElementsByTagName('span')[0]; var uarr = String.fromCharCode(0x25b6); var darr = String.fromCharCode(0x25bc); s.textContent = s.textContent == uarr ? darr : uarr; return false; } function switchPastebinFriendly(link) { s1 = "Switch to copy-and-paste view"; s2 = "Switch back to interactive view"; link.textContent = link.textContent.trim() == s1 ? s2: s1; toggle('browserTraceback', 'pastebinTraceback'); return false; } //--> </script> </head> <body> <div id="summary"> <h1>InvalidToken at /v2/object</h1> <pre class="exception_value">name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error=&quot;name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info=&quot;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;d1:subjectInfo xmlns:d1=&quot;http://ns.dataone.org/service/types/v1&quot;&gt;.&lt;person&gt;..&lt;subject&gt;CN=testRightsHolder,DC=dataone,DC=org&lt;/subject&gt;..&lt;givenName&gt;testRightsHolder_givenName&lt;/givenName&gt;..&lt;familyName&gt;testRightsHolder_familyName&lt;/familyName&gt;.&lt;/person&gt;&lt;/d1:subjectInfo&gt;&quot;, error=&quot;Invalid non-element content at &lt;unknown&gt;[1:113]&quot; &quot; </pre> <table class="meta"> <tr> <th>Request Method:</th> <td>POST</td> </tr> <tr> <th>Request URL:</th> <td>https://gmn-s.lternet.edu/mn/v2/object</td> </tr> <tr> <th>Django Version:</th> <td>1.10.1</td> </tr> <tr> <th>Exception Type:</th> <td>InvalidToken</td> </tr> <tr> <th>Exception Value:</th> <td><pre>name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error=&quot;name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info=&quot;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;d1:subjectInfo xmlns:d1=&quot;http://ns.dataone.org/service/types/v1&quot;&gt;.&lt;person&gt;..&lt;subject&gt;CN=testRightsHolder,DC=dataone,DC=org&lt;/subject&gt;..&lt;givenName&gt;testRightsHolder_givenName&lt;/givenName&gt;..&lt;familyName&gt;testRightsHolder_familyName&lt;/familyName&gt;.&lt;/person&gt;&lt;/d1:subjectInfo&gt;&quot;, error=&quot;Invalid non-element content at &lt;unknown&gt;[1:113]&quot; &quot; </pre></td> </tr> <tr> <th>Exception Location:</th> <td>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py in get_subjects, line 65</td> </tr> <tr> <th>Python Executable:</th> <td>/usr/bin/python</td> </tr> <tr> <th>Python Version:</th> <td>2.7.6</td> </tr> <tr> <th>Python Path:</th> <td><pre>[&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages&#39;, &#39;/var/local/dataone/gmn/lib/python2.7&#39;, &#39;/var/local/dataone/gmn/lib/python2.7/plat-x86_64-linux-gnu&#39;, &#39;/var/local/dataone/gmn/lib/python2.7/lib-tk&#39;, &#39;/var/local/dataone/gmn/lib/python2.7/lib-old&#39;, &#39;/var/local/dataone/gmn/lib/python2.7/lib-dynload&#39;, &#39;/usr/lib/python2.7&#39;, &#39;/usr/lib/python2.7/plat-x86_64-linux-gnu&#39;, &#39;/usr/lib/python2.7/lib-tk&#39;, &#39;/var/local/dataone/gmn/local/lib/python2.7/site-packages&#39;, &#39;/var/local/dataone/gmn/lib/python2.7/site-packages&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/.&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/..&#39;]</pre></td> </tr> <tr> <th>Server time:</th> <td>Tue, 25 Apr 2017 05:47:02 +0000</td> </tr> </table> </div> <div id="traceback"> <h2>Traceback <span class="commands"><a href="#" onclick="return switchPastebinFriendly(this);"> Switch to copy-and-paste view</a></span> </h2> <div id="browserTraceback"> <ul class="traceback"> <li class="frame django"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py</code> in <code>inner</code> <div class="context" id="c139739990144496"> <ol start="32" class="pre-context" id="pre139739990144496"> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> This decorator is automatically applied to all middleware to ensure that</pre></li> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> no middleware leaks an exception and that the next middleware in the stack</pre></li> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> can rely on getting a response instead of an exception.</pre></li> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> &quot;&quot;&quot;</pre></li> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> @wraps(get_response, assigned=available_attrs(get_response))</pre></li> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> def inner(request):</pre></li> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> try:</pre></li> </ol> <ol start="39" class="context-line"> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> response = get_response(request)</pre> <span>...</span></li></ol> <ol start='40' class="post-context" id="post139739990144496"> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> except Exception as exc:</pre></li> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> response = response_for_exception(request, exc)</pre></li> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> return response</pre></li> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre> return inner</pre></li> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre></pre></li> <li onclick="toggle('pre139739990144496', 'post139739990144496')"><pre></pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739990144496')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739990144496"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>exc</td> <td class="code"><pre>InvalidToken()</pre></td> </tr> <tr> <td>get_response</td> <td class="code"><pre>&lt;bound method D1WSGIHandler._legacy_get_response of &lt;_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7f17caf0d790&gt;&gt;</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame django"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py</code> in <code>_legacy_get_response</code> <div class="context" id="c139739903964512"> <ol start="242" class="pre-context" id="pre139739903964512"> <li onclick="toggle('pre139739903964512', 'post139739903964512')"><pre> # Apply request middleware</pre></li> <li onclick="toggle('pre139739903964512', 'post139739903964512')"><pre> for middleware_method in self._request_middleware:</pre></li> <li onclick="toggle('pre139739903964512', 'post139739903964512')"><pre> response = middleware_method(request)</pre></li> <li onclick="toggle('pre139739903964512', 'post139739903964512')"><pre> if response:</pre></li> <li onclick="toggle('pre139739903964512', 'post139739903964512')"><pre> break</pre></li> <li onclick="toggle('pre139739903964512', 'post139739903964512')"><pre></pre></li> <li onclick="toggle('pre139739903964512', 'post139739903964512')"><pre> if response is None:</pre></li> </ol> <ol start="249" class="context-line"> <li onclick="toggle('pre139739903964512', 'post139739903964512')"><pre> response = self._get_response(request)</pre> <span>...</span></li></ol> <ol start='250' class="post-context" id="post139739903964512"> <li onclick="toggle('pre139739903964512', 'post139739903964512')"><pre> return response</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739903964512')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739903964512"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>middleware_method</td> <td class="code"><pre>&lt;bound method RequestHandler.process_request of &lt;app.middleware.request_handler.RequestHandler object at 0x7f17c2c08590&gt;&gt;</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>response</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7f17caf0d790&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame django"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py</code> in <code>_get_response</code> <div class="context" id="c139739990826880"> <ol start="171" class="pre-context" id="pre139739990826880"> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre></pre></li> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre> resolver_match = resolver.resolve(request.path_info)</pre></li> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre> callback, callback_args, callback_kwargs = resolver_match</pre></li> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre> request.resolver_match = resolver_match</pre></li> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre></pre></li> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre> # Apply view middleware</pre></li> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre> for middleware_method in self._view_middleware:</pre></li> </ol> <ol start="178" class="context-line"> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre> response = middleware_method(request, callback, callback_args, callback_kwargs)</pre> <span>...</span></li></ol> <ol start='179' class="post-context" id="post139739990826880"> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre> if response:</pre></li> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre> break</pre></li> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre></pre></li> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre> if response is None:</pre></li> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre> wrapped_callback = self.make_view_atomic(callback)</pre></li> <li onclick="toggle('pre139739990826880', 'post139739990826880')"><pre> try:</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739990826880')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739990826880"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>callback</td> <td class="code"><pre>&lt;function dispatch_object_list at 0x7f17c11bd758&gt;</pre></td> </tr> <tr> <td>callback_args</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>callback_kwargs</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>middleware_method</td> <td class="code"><pre>&lt;bound method ViewHandler.process_view of &lt;app.middleware.view_handler.ViewHandler object at 0x7f17c183db50&gt;&gt;</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>resolver</td> <td class="code"><pre>&lt;RegexURLResolver &#39;app.urls&#39; (None:None) ^/&gt;</pre></td> </tr> <tr> <td>resolver_match</td> <td class="code"><pre>ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[])</pre></td> </tr> <tr> <td>response</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7f17caf0d790&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py</code> in <code>process_view</code> <div class="context" id="c139739909107936"> <ol start="39" class="pre-context" id="pre139739909107936"> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> logging.info(</pre></li> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> u&#39;View: func_name=&quot;{}&quot;, method=&quot;{}&quot;, args=&quot;{}&quot;, kwargs=&quot;{}&quot;, url=&quot;{}&quot;&#39;</pre></li> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> .format(view_func.func_name, request.method, view_args, view_kwargs,</pre></li> 20170425-05:58:18: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> request.path_info</pre></li> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> )</pre></li> 20170425-05:58:18: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:18: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> )</pre></li> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> # logging.debug(request.headers)</pre></li> </ol> <ol start="46" class="context-line"> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> self.process_session(request)</pre> <span>...</span></li></ol> <ol start='47' class="post-context" id="post139739909107936"> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre></pre></li> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> def process_session(self, request):</pre></li> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> # For simulating an HTTPS connection with client authentication when</pre></li> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> # debugging via regular HTTP, two mechanisms are supported. (1) A full</pre></li> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> # client side certificate can be included and (2) a list of subjects can be</pre></li> <li onclick="toggle('pre139739909107936', 'post139739909107936')"><pre> # included. Both use vendor specific extensions (HTTP headers that start</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739909107936')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739909107936"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;app.middleware.view_handler.ViewHandler object at 0x7f17c183db50&gt;</pre></td> </tr> <tr> <td>view_args</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>view_func</td> <td class="code"><pre>&lt;function dispatch_object_list at 0x7f17c11bd758&gt;</pre></td> </tr> <tr> <td>view_kwargs</td> <td class="code"><pre>{}</pre></td> </tr> </tbody> </table> </li> 20170425-05:58:18: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] <li class="frame user"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py</code> in <code>process_session</code> <div class="context" id="c139739913846656"> 20170425-05:58:18: [INFO]: certificate filename: testRightsHolder [org.dataone.integration.ContextAwareTestCaseDataone] <ol start="60" class="pre-context" id="pre139739913846656"> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> if &#39;HTTP_VENDOR_INCLUDE_CERTIFICATE&#39; in request.META:</pre></li> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> request.META[&#39;SSL_CLIENT_CERT&#39;] = \</pre></li> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> self.pem_in_http_header_to_pem_in_string(</pre></li> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> request.META[&#39;HTTP_VENDOR_INCLUDE_CERTIFICATE&#39;])</pre></li> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre></pre></li> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> # Add subjects from any provided certificate and JWT and store them in</pre></li> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> # the Django request obj.</pre></li> </ol> <ol start="67" class="context-line"> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request)</pre> <span>...</span></li></ol> <ol start='68' class="post-context" id="post139739913846656"> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> jwt_subject_list = session_jwt.validate_jwt_and_get_subject_list(request)</pre></li> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> primary_subject_str = cert_primary_str</pre></li> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> all_subjects_set = cert_equivalent_set | {cert_primary_str} | set(jwt_subject_list)</pre></li> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> if len(jwt_subject_list) == 1:</pre></li> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> jwt_primary_str = jwt_subject_list[0]</pre></li> <li onclick="toggle('pre139739913846656', 'post139739913846656')"><pre> if jwt_primary_str != cert_primary_str:</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739913846656')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739913846656"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;app.middleware.view_handler.ViewHandler object at 0x7f17c183db50&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py</code> in <code>get_subjects</code> <div class="context" id="c139739913845864"> <ol start="58" class="pre-context" id="pre139739913845864"> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre> &quot;&quot;&quot;</pre></li> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre> if _is_certificate_provided(request):</pre></li> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre> try:</pre></li> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre> return get_authenticated_subjects(request.META[&#39;SSL_CLIENT_CERT&#39;])</pre></li> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre> except Exception as e:</pre></li> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre> raise d1_common.types.exceptions.InvalidToken(</pre></li> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre> 0,</pre></li> </ol> <ol start="65" class="context-line"> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre> u&#39;Error extracting session from certificate. error=&quot;{}&quot;&#39;.format(str(e))</pre> <span>...</span></li></ol> <ol start='66' class="post-context" id="post139739913845864"> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre> )</pre></li> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre> else:</pre></li> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre> return d1_common.const.SUBJECT_PUBLIC, set()</pre></li> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre></pre></li> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre></pre></li> <li onclick="toggle('pre139739913845864', 'post139739913845864')"><pre>def get_authenticated_subjects(cert_pem):</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739913845864')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739913845864"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>e</td> <td class="code"><pre>InvalidToken()</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> </tbody> </table> </li> </ul> </div> <form action="http://dpaste.com/" name="pasteform" id="pasteform" method="post"> <div id="pastebinTraceback" class="pastebin"> <input type="hidden" name="language" value="PythonConsole"> <input type="hidden" name="title" value="InvalidToken at /v2/object"> <input type="hidden" name="source" value="Django Dpaste Agent"> <input type="hidden" name="poster" value="Django"> <textarea name="content" id="traceback_area" cols="140" rows="25"> 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: [&#39;django.contrib.staticfiles&#39;, &#39;app&#39;] Installed Middleware: (&#39;app.middleware.request_handler.RequestHandler&#39;, &#39;app.middleware.exception_handler.ExceptionHandler&#39;, &#39;app.middleware.response_handler.ResponseHandler&#39;, &#39;app.middleware.profiling_handler.ProfilingHandler&#39;, &#39;app.middleware.view_handler.ViewHandler&#39;, &#39;app.middleware.startup_handler.StartupHandler&#39;) 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&#39;Error extracting session from certificate. error=&quot;{}&quot;&#39;.format(str(e)) Exception Type: InvalidToken at /v2/object Exception Value: name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error=&quot;name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info=&quot;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;d1:subjectInfo xmlns:d1=&quot;http://ns.dataone.org/service/types/v1&quot;&gt;.&lt;person&gt;..&lt;subject&gt;CN=testRightsHolder,DC=dataone,DC=org&lt;/subject&gt;..&lt;givenName&gt;testRightsHolder_givenName&lt;/givenName&gt;..&lt;familyName&gt;testRightsHolder_familyName&lt;/familyName&gt;.&lt;/person&gt;&lt;/d1:subjectInfo&gt;&quot;, error=&quot;Invalid non-element content at &lt;unknown&gt;[1:113]&quot; &quot; </textarea> <br><br> <input type="submit" value="Share this traceback on a public website"> </div> </form> </div> <div id="requestinfo"> <h2>Request information</h2> <h3 id="get-info">GET</h3> <p>No GET data</p> <h3 id="post-info">POST</h3> <table class="req"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>pid</td> <td class="code"><pre>u&#39;testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225818429&#39;</pre></td> </tr> </tbody> </table> <h3 id="files-info">FILES</h3> <table class="req"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>sysmeta</td> <td class="code"><pre>&lt;InMemoryUploadedFile: mmp.output.2520187091678748863.tmp (application/octet-stream)&gt;</pre></td> </tr> <tr> <td>object</td> <td class="code"><pre>&lt;InMemoryUploadedFile: mmp.output.9154944126169503934.tmp (application/octet-stream)&gt;</pre></td> </tr> </tbody> </table> <h3 id="cookie-info">COOKIES</h3> <p>No cookie data</p> <h3 id="meta-info">META</h3> <table class="req"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>CONTENT_LENGTH</td> <td class="code"><pre>&#39;18979&#39;</pre></td> </tr> <tr> <td>CONTENT_TYPE</td> <td class="code"><pre>&#39;multipart/form-data; boundary=3TPFtKFNl-I2WaR-l1SJIgzZ7y3ZsagNRYkO&#39;</pre></td> </tr> <tr> <td>CONTEXT_DOCUMENT_ROOT</td> <td class="code"><pre>&#39;/var/www&#39;</pre></td> </tr> <tr> <td>CONTEXT_PREFIX</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>DOCUMENT_ROOT</td> <td class="code"><pre>&#39;/var/www&#39;</pre></td> </tr> <tr> <td>GATEWAY_INTERFACE</td> <td class="code"><pre>&#39;CGI/1.1&#39;</pre></td> </tr> <tr> <td>HTTP_ACCEPT_ENCODING</td> <td class="code"><pre>&#39;gzip,deflate&#39;</pre></td> </tr> <tr> <td>HTTP_CONNECTION</td> <td class="code"><pre>&#39;Keep-Alive&#39;</pre></td> </tr> <tr> <td>HTTP_HOST</td> <td class="code"><pre>&#39;gmn-s.lternet.edu&#39;</pre></td> </tr> <tr> <td>HTTP_USER_AGENT</td> <td class="code"><pre>&#39;Apache-HttpClient/4.3.6 (java 1.5)&#39;</pre></td> </tr> <tr> <td>HTTP_VIA</td> <td class="code"><pre>&#39;1.1 localhost (Apache-HttpClient/4.3.6 (cache))&#39;</pre></td> </tr> <tr> <td>PATH_INFO</td> <td class="code"><pre>u&#39;/v2/object&#39;</pre></td> </tr> <tr> <td>PATH_TRANSLATED</td> <td class="code"><pre>&#39;/var/www/v2/object&#39;</pre></td> </tr> <tr> <td>QUERY_STRING</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>REMOTE_ADDR</td> <td class="code"><pre>&#39;64.106.40.19&#39;</pre></td> </tr> <tr> <td>REMOTE_PORT</td> <td class="code"><pre>&#39;43310&#39;</pre></td> </tr> <tr> <td>REQUEST_METHOD</td> <td class="code"><pre>&#39;POST&#39;</pre></td> </tr> <tr> <td>REQUEST_SCHEME</td> <td class="code"><pre>&#39;https&#39;</pre></td> </tr> <tr> <td>REQUEST_URI</td> <td class="code"><pre>&#39;/mn/v2/object&#39;</pre></td> </tr> <tr> <td>SCRIPT_FILENAME</td> <td class="code"><pre>&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py&#39;</pre></td> </tr> <tr> <td>SCRIPT_NAME</td> <td class="code"><pre>u&#39;/mn&#39;</pre></td> </tr> <tr> <td>SERVER_ADDR</td> <td class="code"><pre>&#39;129.24.124.173&#39;</pre></td> </tr> <tr> <td>SERVER_ADMIN</td> <td class="code"><pre>&#39;webmaster@localhost&#39;</pre></td> </tr> <tr> <td>SERVER_NAME</td> <td class="code"><pre>&#39;gmn-s.lternet.edu&#39;</pre></td> </tr> <tr> <td>SERVER_PORT</td> <td class="code"><pre>&#39;443&#39;</pre></td> </tr> <tr> <td>SERVER_PROTOCOL</td> <td class="code"><pre>&#39;HTTP/1.1&#39;</pre></td> </tr> <tr> <td>SERVER_SIGNATURE</td> <td class="code"><pre>&#39;&lt;address&gt;Apache/2.4.7 (Ubuntu) Server at gmn-s.lternet.edu Port 443&lt;/address&gt;\n&#39;</pre></td> </tr> <tr> <td>SERVER_SOFTWARE</td> <td class="code"><pre>&#39;Apache/2.4.7 (Ubuntu)&#39;</pre></td> </tr> <tr> <td>SSL_CLIENT_CERT</td> <td class="code"><pre>&#39;-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ/zMSGAS2UN3OfmwImsGOJTabIJ1g\nr0Yza+M1dlg4U9w4sw2AKymWRKhwWB5kcbGwqaU799a7+p3whBsy90ymw5wnxaWd\nXrPYU237PE3t3GoDUMm5ksMotcx7zyWD7X6ULTpK0mCUcts/P5Nyz9a5MY8ONyX9\n79iEza7yY8h2WUlPUcAiWC8mNmtWKnkbDMj3J8hftPsHVvQZS/sUV3qZXY+0sTc1\nnfyI3Ki+SVq4pbfXYC67mwCHfEAQkSvDsNHp20R9d53h3DI8iXtkElz1JQKUhYeB\nIRVqcgOsBXCJ3WmabhlOPPr3TQiGGEoT2PnbJ2rzRv9L+UEOgJs10FuBAgMBAAGj\nggLJMIICxTAJBgNVHRMEAjAAMCwGCWCGSAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVy\nYXRlZCBDZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQUXWYvIzSx6xMxPwx6yADxN5TQNXsw\nHwYDVR0jBBgwFoAU7y7BJ2wqigmrbMNFfzv5V9UWqbMwggEBBgNVHR8EgfkwgfYw\nPKA6oDiGNmh0dHA6Ly9yZWxlYXNlcy5kYXRhb25lLm9yZy9jcmwvRGF0YU9ORVRl\nc3RJbnRfQ1JMLnBlbTA9oDugOYY3aHR0cDovL2NuLXVjc2ItMS5kYXRhb25lLm9y\nZy9jcmwvRGF0YU9ORVRlc3RJbnRfQ1JMLnBlbTA5oDegNYYzaHR0cDovL2NuLXVu\nbS0xLmRhdGFvbmUub3JnL2NybC9EYXRhT05FVGVzdF9DUkwucGVtMDygOqA4hjZo\ndHRwOi8vY24tb3JjLTEuZGF0YW9uZS5vcmcvY3JsL0RhdGFPTkVUZXN0SW50X0NS\nTC5wZW0wggFDBgorBgEEAYKRNgIBBIIBMwyCAS88P3htbCB2ZXJzaW9uPSIxLjAi\nIGVuY29kaW5nPSJVVEYtOCI/PjxkMTpzdWJqZWN0SW5mbyB4bWxuczpkMT0iaHR0\ncDovL25zLmRhdGFvbmUub3JnL3NlcnZpY2UvdHlwZXMvdjEiPi48cGVyc29uPi4u\nPHN1YmplY3Q+Q049dGVzdFJpZ2h0c0hvbGRlcixEQz1kYXRhb25lLERDPW9yZzwv\nc3ViamVjdD4uLjxnaXZlbk5hbWU+dGVzdFJpZ2h0c0hvbGRlcl9naXZlbk5hbWU8\nL2dpdmVuTmFtZT4uLjxmYW1pbHlOYW1lPnRlc3RSaWdodHNIb2xkZXJfZmFtaWx5\nTmFtZTwvZmFtaWx5TmFtZT4uPC9wZXJzb24+PC9kMTpzdWJqZWN0SW5mbz4wDQYJ\nKoZIhvcNAQEFBQADggIBALrwobQ7Vjwdn5Kxul6+JNz3RXs+8a+CnBZ011uA3M0g\n2Bkxm8ysKHttBctdyzKJ1BXub/WiKMKg5LgJIXGI34Xo4bl5/clrEl6hCsChs6XY\nmWA2YVPPoO/KvwdkOa1gnvU/+n6oxH/AxPBqG4+Zf/guLXs32LasPHGs5CN0rtRz\nwgDZpU1KCnIdCeV6gcGp+W18X1+OJ5eDxFsg0ZVSZzKCVOuL7Tp1aEnOwVfzQBzo\nHQ3mMPMaEt6mBR3c2U7PHtCSGty+R6IHNBiG6bjNO4aD/ZsZVG4FklfQMaClN5U7\nvaNCOS5UZ8H3HPu08/UeimouDx1E/+Y5mqwH2C6JMH+PGUf/ViSci4LuzPY9WYfx\nus42uW+k4PrJv/KrVqHn4rjniOdMFyBvBEuwYIrcE9vvgI3qMa9idWeDX7gKreeR\nj9OnBbVm19+xuU8mijY9mbMqjCzM/L73CxdVXsK6yQ2HjdBVwvmfsCd92Ikpkfvv\nComGDHE7I9/RO5RckZ95uS2AqaWboPHxGGJhSd8+ZfuVjnLBPkQd9mTcGFmzC+UM\n34b4lxZlQ2aEo6/ZWDcjh6afbSixVs9CJZejor6RB0Dg2LYqApYHcjQEVnzW/hF+\nP5tMTrd4EQj+tsyTFQgdj7NtoDY1EkgD0ohYPA9PF6t3R2w7hHVs5hyb/xY/55CV\n-----END CERTIFICATE-----\n&#39;</pre></td> </tr> <tr> <td>SSL_SERVER_CERT</td> <td class="code"><pre>&#39;-----BEGIN CERTIFICATE-----\nMIIHADCCBeigAwIBAgIQA09MoxiEA3fqnsrSvOHDBDANBgkqhkiG9w0BAQsFADB6\nMQswCQYDVQQGEwJVUzELMAkGA1UECBMCVkExEDAOBgNVBAcTB0hlcm5kb24xITAf\nBgNVBAoTGE5ldHdvcmsgU29sdXRpb25zIEwuTC5DLjEpMCcGA1UEAxMgTmV0d29y\nayBTb2x1dGlvbnMgT1YgU2VydmVyIENBIDIwHhcNMTYxMDA0MDAwMDAwWhcNMTcx\nMDIyMjM1OTU5WjCCARExCzAJBgNVBAYTAlVTMRMwEQYDVQQREwo4NzEzMS0wMDAx\nMQswCQYDVQQIEwJOTTEUMBIGA1UEBxMLQWxidXF1ZXJxdWUxIzAhBgNVBAkTGjEg\nVW5pdmVyc2l0eSBvZiBOZXcgTWV4aWNvMSkwJwYDVQQJEyBEZXBhcnRtZW50IG9m\nIEJpb2xvZ3kgTVNDMDMgMjAyMDEhMB8GA1UEChMYVW5pdmVyc2l0eSBvZiBOZXcg\nTWV4aWNvMRwwGgYDVQQLExNMVEVSIE5ldHdvcmsgT2ZmaWNlMSEwHwYDVQQLExhT\nZWN1cmUgTGluayBTU0wgV2lsZGNhcmQxFjAUBgNVBAMMDSoubHRlcm5ldC5lZHUw\nggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC/hDQ+aqpYpk2X3hCMlhw2\nRWpOQV5vwFIskZ5MlewRrpCGVpqiOGDVVSSCxmNhAkuOmN5COQJfvmQ5COUrMlT8\n8nPzuOnkqiI9L/Mq7fM8r+N6iYBBnXbxVJ54fkVtawl7FAmBvEqniWNFyEp4Et1E\nnVnZZY5J2pmt3ljIQV5LjCwOlxMSuKbF0KReX0dN9k+zxmN8Ei4VSb7c5RRUXTOA\nnECli56ViljC46VFxEESoURzILGNK8kAyhq1OAZzg4pyuhWQNdgT7YQEZASpCahq\nWOdTtYWhQ0zOgkzW4hqPRAgjsDo5hKj2rELVQyV2BFf0gG4mdgq/NvQgFCmzYAkj\n8IqmHbRc/FPLn4P1zIy6PBTc5Lwp+upEga1zUmvUd9bU/0Wmh9aeNngbtFmK/B+X\nZEIE27VxDBYq0LxzsIGoXtCRiFK7SigbOVrldzJKkiuYFCNTd+6ceKOTjy8tuRki\nLrpRZ5QZRi6MNjzvqQI1oGvEcW5kCzW4Wt4OxOZsp9tTDmg4YkJKKza3X/w3DP+y\n76BfFGzAm1NglqsW0WlNLzp7NaqMeCW3lLofDMZmlYOEPx0mn1BrN+XN5CCUGEVx\nho09GiA23X33AZqFQxGhHpT0ua9TfEKJjJSFtH4lRlOa52rnmbz1+RvRQJQ80bJO\nBOEsshMpYk9nTBR/deHr/QIDAQABo4IB5zCCAeMwHwYDVR0jBBgwFoAUIDPNt2H2\npYZP3MnXc2q8ClFlmOwwHQYDVR0OBBYEFJTuLsEk9g68lrwO7Udn+sHQfEqeMA4G\nA1UdDwEB/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&#39;</pre></td> </tr> <tr> <td>SSL_TLS_SNI</td> <td class="code"><pre>&#39;gmn-s.lternet.edu&#39;</pre></td> </tr> <tr> <td>mod_wsgi.application_group</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>mod_wsgi.callable_object</td> <td class="code"><pre>&#39;application&#39;</pre></td> </tr> 20170425-05:58:18: [INFO]: client setup as Subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] <tr> <td>mod_wsgi.enable_sendfile</td> <td class="code"><pre>&#39;0&#39;</pre></td> </tr> <tr> <td>mod_wsgi.handler_script</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>mod_wsgi.input_chunked</td> <td class="code"><pre>&#39;0&#39;</pre></td> </tr> <tr> <td>mod_wsgi.listener_host</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>mod_wsgi.listener_port</td> <td class="code"><pre>&#39;443&#39;</pre></td> </tr> <tr> <td>mod_wsgi.process_group</td> <td class="code"><pre>&#39;gmn2&#39;</pre></td> </tr> <tr> <td>mod_wsgi.queue_start</td> <td class="code"><pre>&#39;1493099222387606&#39;</pre></td> </tr> <tr> <td>mod_wsgi.request_handler</td> <td class="code"><pre>&#39;wsgi-script&#39;</pre></td> </tr> <tr> <td>mod_wsgi.script_reloading</td> <td class="code"><pre>&#39;1&#39;</pre></td> </tr> <tr> <td>mod_wsgi.version</td> <td class="code"><pre>(3, 4)</pre></td> </tr> <tr> <td>wsgi.errors</td> <td class="code"><pre>&lt;mod_wsgi.Log object at 0x7f17c023f1f0&gt;</pre></td> </tr> <tr> <td>wsgi.file_wrapper</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>wsgi.input</td> <td class="code"><pre>&lt;mod_wsgi.Input object at 0x7f17c07a4430&gt;</pre></td> </tr> <tr> <td>wsgi.multiprocess</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>wsgi.multithread</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>wsgi.run_once</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>wsgi.url_scheme</td> <td class="code"><pre>&#39;https&#39;</pre></td> </tr> <tr> <td>wsgi.version</td> <td class="code"><pre>(1, 0)</pre></td> </tr> </tbody> </table> <h3 id="settings-info">Settings</h3> <h4>Using settings module <code>settings</code></h4> <table class="req"> <thead> <tr> <th>Setting</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>ABSOLUTE_URL_OVERRIDES</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>ADMINS</td> <td class="code"><pre>((&#39;Roger Dahl&#39;, &#39;dahl@unm.edu&#39;), (&#39;Mark Servilla&#39;, &#39;mark.servilla@gmail.com&#39;))</pre></td> </tr> <tr> <td>ALLOWED_HOSTS</td> <td class="code"><pre>[&#39;localhost&#39;, &#39;127.0.0.1&#39;]</pre></td> </tr> <tr> <td>ALLOW_INTEGRATION_TESTS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>APPEND_SLASH</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>AUTHENTICATION_BACKENDS</td> <td class="code"><pre>[u&#39;django.contrib.auth.backends.ModelBackend&#39;]</pre></td> </tr> <tr> <td>AUTH_PASSWORD_VALIDATORS</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>AUTH_USER_MODEL</td> <td class="code"><pre>u&#39;auth.User&#39;</pre></td> </tr> <tr> <td>BASE_DIR</td> <td class="code"><pre>&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages&#39;</pre></td> </tr> <tr> <td>CACHES</td> <td class="code"><pre>{&#39;default&#39;: {&#39;BACKEND&#39;: &#39;django.core.cache.backends.locmem.LocMemCache&#39;, &#39;TIMEOUT&#39;: 3600}}</pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_ALIAS</td> <td class="code"><pre>u&#39;default&#39;</pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_KEY_PREFIX</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_SECONDS</td> <td class="code"><pre>600</pre></td> </tr> <tr> <td>CLIENT_CERT_PATH</td> <td class="code"><pre>&#39;/var/local/dataone/certs/client/client_cert.pem&#39;</pre></td> </tr> <tr> <td>CLIENT_CERT_PRIVATE_KEY_PATH</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>CSRF_COOKIE_AGE</td> <td class="code"><pre>31449600</pre></td> </tr> <tr> <td>CSRF_COOKIE_DOMAIN</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>CSRF_COOKIE_HTTPONLY</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>CSRF_COOKIE_NAME</td> <td class="code"><pre>u&#39;csrftoken&#39;</pre></td> </tr> <tr> <td>CSRF_COOKIE_PATH</td> <td class="code"><pre>u&#39;/&#39;</pre></td> </tr> <tr> <td>CSRF_COOKIE_SECURE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>CSRF_FAILURE_VIEW</td> <td class="code"><pre>u&#39;django.views.csrf.csrf_failure&#39;</pre></td> </tr> <tr> <td>CSRF_HEADER_NAME</td> <td class="code"><pre>u&#39;HTTP_X_CSRFTOKEN&#39;</pre></td> </tr> <tr> <td>CSRF_TRUSTED_ORIGINS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>DATABASES</td> <td class="code"><pre>{&#39;default&#39;: {&#39;ATOMIC_REQUESTS&#39;: True, &#39;AUTOCOMMIT&#39;: True, &#39;CONN_MAX_AGE&#39;: 0, &#39;ENGINE&#39;: &#39;django.db.backends.postgresql_psycopg2&#39;, &#39;HOST&#39;: &#39;&#39;, &#39;NAME&#39;: &#39;gmn2&#39;, &#39;OPTIONS&#39;: {}, &#39;PASSWORD&#39;: u&#39;********************&#39;, &#39;PORT&#39;: &#39;&#39;, &#39;TEST&#39;: {&#39;CHARSET&#39;: None, &#39;COLLATION&#39;: None, &#39;MIRROR&#39;: None, &#39;NAME&#39;: None}, &#39;TIME_ZONE&#39;: None, &#39;USER&#39;: &#39;&#39;}}</pre></td> </tr> <tr> <td>DATABASE_ROUTERS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>DATAONE_ROOT</td> <td class="code"><pre>&#39;https://cn-stage.test.dataone.org/cn&#39;</pre></td> </tr> <tr> <td>DATAONE_TRUSTED_SUBJECTS</td> <td class="code"><pre>set([&#39;gmn_test_subject_trusted&#39;])</pre></td> </tr> <tr> <td>DATA_UPLOAD_MAX_MEMORY_SIZE</td> <td class="code"><pre>2621440</pre></td> </tr> <tr> <td>DATA_UPLOAD_MAX_NUMBER_FIELDS</td> <td class="code"><pre>1000</pre></td> </tr> <tr> <td>DATETIME_FORMAT</td> <td class="code"><pre>u&#39;N j, Y, P&#39;</pre></td> </tr> <tr> <td>DATETIME_INPUT_FORMATS</td> <td class="code"><pre>[u&#39;%Y-%m-%d %H:%M:%S&#39;, u&#39;%Y-%m-%d %H:%M:%S.%f&#39;, u&#39;%Y-%m-%d %H:%M&#39;, u&#39;%Y-%m-%d&#39;, u&#39;%m/%d/%Y %H:%M:%S&#39;, u&#39;%m/%d/%Y %H:%M:%S.%f&#39;, u&#39;%m/%d/%Y %H:%M&#39;, u&#39;%m/%d/%Y&#39;, u&#39;%m/%d/%y %H:%M:%S&#39;, u&#39;%m/%d/%y %H:%M:%S.%f&#39;, u&#39;%m/%d/%y %H:%M&#39;, u&#39;%m/%d/%y&#39;]</pre></td> </tr> <tr> <td>DATE_FORMAT</td> <td class="code"><pre>u&#39;N j, Y&#39;</pre></td> </tr> <tr> <td>DATE_INPUT_FORMATS</td> <td class="code"><pre>[u&#39;%Y-%m-%d&#39;, u&#39;%m/%d/%Y&#39;, u&#39;%m/%d/%y&#39;, u&#39;%b %d %Y&#39;, u&#39;%b %d, %Y&#39;, u&#39;%d %b %Y&#39;, u&#39;%d %b, %Y&#39;, u&#39;%B %d %Y&#39;, u&#39;%B %d, %Y&#39;, u&#39;%d %B %Y&#39;, u&#39;%d %B, %Y&#39;]</pre></td> </tr> <tr> <td>DEBUG</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>DEBUG_GMN</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>DEBUG_PROPAGATE_EXCEPTIONS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>DEBUG_PYCHARM</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>DECIMAL_SEPARATOR</td> <td class="code"><pre>u&#39;.&#39;</pre></td> </tr> <tr> <td>DEFAULT_CHARSET</td> <td class="code"><pre>u&#39;utf-8&#39;</pre></td> </tr> <tr> <td>DEFAULT_CONTENT_TYPE</td> <td class="code"><pre>u&#39;text/html&#39;</pre></td> </tr> <tr> <td>DEFAULT_EXCEPTION_REPORTER_FILTER</td> <td class="code"><pre>u&#39;django.views.debug.SafeExceptionReporterFilter&#39;</pre></td> </tr> <tr> <td>DEFAULT_FILE_STORAGE</td> <td class="code"><pre>u&#39;django.core.files.storage.FileSystemStorage&#39;</pre></td> </tr> <tr> <td>DEFAULT_FROM_EMAIL</td> <td class="code"><pre>u&#39;webmaster@localhost&#39;</pre></td> </tr> <tr> <td>DEFAULT_INDEX_TABLESPACE</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>DEFAULT_TABLESPACE</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>DISALLOWED_USER_AGENTS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>ECHO_REQUEST_OBJECT</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>EMAIL_BACKEND</td> <td class="code"><pre>u&#39;django.core.mail.backends.smtp.EmailBackend&#39;</pre></td> </tr> <tr> <td>EMAIL_HOST</td> <td class="code"><pre>u&#39;localhost&#39;</pre></td> </tr> <tr> <td>EMAIL_HOST_PASSWORD</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>EMAIL_HOST_USER</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>EMAIL_PORT</td> <td class="code"><pre>25</pre></td> </tr> <tr> <td>EMAIL_SSL_CERTFILE</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>EMAIL_SSL_KEYFILE</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>EMAIL_SUBJECT_PREFIX</td> <td class="code"><pre>u&#39;[Django] &#39;</pre></td> </tr> <tr> <td>EMAIL_TIMEOUT</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>EMAIL_USE_SSL</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>EMAIL_USE_TLS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>FILE_CHARSET</td> <td class="code"><pre>u&#39;utf-8&#39;</pre></td> </tr> <tr> <td>FILE_UPLOAD_DIRECTORY_PERMISSIONS</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FILE_UPLOAD_HANDLERS</td> <td class="code"><pre>[u&#39;django.core.files.uploadhandler.MemoryFileUploadHandler&#39;, u&#39;django.core.files.uploadhandler.TemporaryFileUploadHandler&#39;]</pre></td> </tr> <tr> <td>FILE_UPLOAD_MAX_MEMORY_SIZE</td> <td class="code"><pre>2621440</pre></td> </tr> <tr> <td>FILE_UPLOAD_PERMISSIONS</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FILE_UPLOAD_TEMP_DIR</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FIRST_DAY_OF_WEEK</td> <td class="code"><pre>0</pre></td> </tr> <tr> <td>FIXTURE_DIRS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>FORCE_SCRIPT_NAME</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FORMAT_MODULE_PATH</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>IGNORABLE_404_URLS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>INSTALLED_APPS</td> <td class="code"><pre>[&#39;django.contrib.staticfiles&#39;, &#39;app&#39;]</pre></td> </tr> <tr> <td>INTERNAL_IPS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>LANGUAGES</td> 20170425-05:58:18: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225818658 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] <td class="code"><pre>[(u&#39;af&#39;, u&#39;Afrikaans&#39;), (u&#39;ar&#39;, u&#39;Arabic&#39;), (u&#39;ast&#39;, u&#39;Asturian&#39;), (u&#39;az&#39;, u&#39;Azerbaijani&#39;), (u&#39;bg&#39;, u&#39;Bulgarian&#39;), (u&#39;be&#39;, u&#39;Belarusian&#39;), (u&#39;bn&#39;, u&#39;Bengali&#39;), (u&#39;br&#39;, u&#39;Breton&#39;), (u&#39;bs&#39;, u&#39;Bosnian&#39;), (u&#39;ca&#39;, u&#39;Catalan&#39;), (u&#39;cs&#39;, u&#39;Czech&#39;), (u&#39;cy&#39;, u&#39;Welsh&#39;), (u&#39;da&#39;, u&#39;Danish&#39;), (u&#39;de&#39;, u&#39;German&#39;), (u&#39;dsb&#39;, u&#39;Lower Sorbian&#39;), (u&#39;el&#39;, u&#39;Greek&#39;), (u&#39;en&#39;, u&#39;English&#39;), (u&#39;en-au&#39;, u&#39;Australian English&#39;), (u&#39;en-gb&#39;, u&#39;British English&#39;), (u&#39;eo&#39;, u&#39;Esperanto&#39;), (u&#39;es&#39;, u&#39;Spanish&#39;), (u&#39;es-ar&#39;, u&#39;Argentinian Spanish&#39;), (u&#39;es-co&#39;, u&#39;Colombian Spanish&#39;), (u&#39;es-mx&#39;, u&#39;Mexican Spanish&#39;), (u&#39;es-ni&#39;, u&#39;Nicaraguan Spanish&#39;), (u&#39;es-ve&#39;, u&#39;Venezuelan Spanish&#39;), (u&#39;et&#39;, u&#39;Estonian&#39;), (u&#39;eu&#39;, u&#39;Basque&#39;), (u&#39;fa&#39;, u&#39;Persian&#39;), (u&#39;fi&#39;, u&#39;Finnish&#39;), (u&#39;fr&#39;, u&#39;French&#39;), (u&#39;fy&#39;, u&#39;Frisian&#39;), (u&#39;ga&#39;, u&#39;Irish&#39;), (u&#39;gd&#39;, u&#39;Scottish Gaelic&#39;), (u&#39;gl&#39;, u&#39;Galician&#39;), (u&#39;he&#39;, u&#39;Hebrew&#39;), (u&#39;hi&#39;, u&#39;Hindi&#39;), (u&#39;hr&#39;, u&#39;Croatian&#39;), (u&#39;hsb&#39;, u&#39;Upper Sorbian&#39;), (u&#39;hu&#39;, u&#39;Hungarian&#39;), (u&#39;ia&#39;, u&#39;Interlingua&#39;), (u&#39;id&#39;, u&#39;Indonesian&#39;), (u&#39;io&#39;, u&#39;Ido&#39;), (u&#39;is&#39;, u&#39;Icelandic&#39;), (u&#39;it&#39;, u&#39;Italian&#39;), (u&#39;ja&#39;, u&#39;Japanese&#39;), (u&#39;ka&#39;, u&#39;Georgian&#39;), (u&#39;kk&#39;, u&#39;Kazakh&#39;), (u&#39;km&#39;, u&#39;Khmer&#39;), (u&#39;kn&#39;, u&#39;Kannada&#39;), (u&#39;ko&#39;, u&#39;Korean&#39;), (u&#39;lb&#39;, u&#39;Luxembourgish&#39;), (u&#39;lt&#39;, u&#39;Lithuanian&#39;), (u&#39;lv&#39;, u&#39;Latvian&#39;), (u&#39;mk&#39;, u&#39;Macedonian&#39;), (u&#39;ml&#39;, u&#39;Malayalam&#39;), (u&#39;mn&#39;, u&#39;Mongolian&#39;), (u&#39;mr&#39;, u&#39;Marathi&#39;), (u&#39;my&#39;, u&#39;Burmese&#39;), (u&#39;nb&#39;, u&#39;Norwegian Bokm\xe5l&#39;), (u&#39;ne&#39;, u&#39;Nepali&#39;), (u&#39;nl&#39;, u&#39;Dutch&#39;), (u&#39;nn&#39;, u&#39;Norwegian Nynorsk&#39;), (u&#39;os&#39;, u&#39;Ossetic&#39;), (u&#39;pa&#39;, u&#39;Punjabi&#39;), (u&#39;pl&#39;, u&#39;Polish&#39;), (u&#39;pt&#39;, u&#39;Portuguese&#39;), (u&#39;pt-br&#39;, u&#39;Brazilian Portuguese&#39;), (u&#39;ro&#39;, u&#39;Romanian&#39;), (u&#39;ru&#39;, u&#39;Russian&#39;), (u&#39;sk&#39;, u&#39;Slovak&#39;), (u&#39;sl&#39;, u&#39;Slovenian&#39;), (u&#39;sq&#39;, u&#39;Albanian&#39;), (u&#39;sr&#39;, u&#39;Serbian&#39;), (u&#39;sr-latn&#39;, u&#39;Serbian Latin&#39;), (u&#39;sv&#39;, u&#39;Swedish&#39;), (u&#39;sw&#39;, u&#39;Swahili&#39;), (u&#39;ta&#39;, u&#39;Tamil&#39;), (u&#39;te&#39;, u&#39;Telugu&#39;), (u&#39;th&#39;, u&#39;Thai&#39;), (u&#39;tr&#39;, u&#39;Turkish&#39;), (u&#39;tt&#39;, u&#39;Tatar&#39;), (u&#39;udm&#39;, u&#39;Udmurt&#39;), (u&#39;uk&#39;, u&#39;Ukrainian&#39;), (u&#39;ur&#39;, u&#39;Urdu&#39;), (u&#39;vi&#39;, u&#39;Vietnamese&#39;), (u&#39;zh-hans&#39;, u&#39;Simplified Chinese&#39;), (u&#39;zh-hant&#39;, u&#39;Traditional Chinese&#39;)]</pre></td> </tr> <tr> <td>LANGUAGES_BIDI</td> <td class="code"><pre>[u&#39;he&#39;, u&#39;ar&#39;, u&#39;fa&#39;, u&#39;ur&#39;]</pre></td> </tr> <tr> <td>LANGUAGE_CODE</td> <td class="code"><pre>&#39;en-us&#39;</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_AGE</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_DOMAIN</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_NAME</td> <td class="code"><pre>u&#39;django_language&#39;</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_PATH</td> <td class="code"><pre>u&#39;/&#39;</pre></td> </tr> <tr> <td>LOCALE_PATHS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>LOGGING</td> <td class="code"><pre>{&#39;disable_existing_loggers&#39;: True, &#39;formatters&#39;: {&#39;simple&#39;: {&#39;format&#39;: &#39;%(levelname)s %(message)s&#39;}, &#39;verbose&#39;: {&#39;datefmt&#39;: &#39;%Y-%m-%d %H:%M:%S&#39;, &#39;format&#39;: &#39;%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s&#39;}}, &#39;handlers&#39;: {&#39;file&#39;: {&#39;class&#39;: &#39;logging.FileHandler&#39;, &#39;filename&#39;: &#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log&#39;, &#39;formatter&#39;: &#39;verbose&#39;, &#39;level&#39;: &#39;DEBUG&#39;}, &#39;null&#39;: {&#39;class&#39;: &#39;logging.NullHandler&#39;, &#39;level&#39;: &#39;DEBUG&#39;}}, &#39;loggers&#39;: {&#39;&#39;: {&#39;handlers&#39;: [&#39;file&#39;], &#39;level&#39;: &#39;DEBUG&#39;, &#39;propagate&#39;: True}, &#39;django&#39;: {&#39;handlers&#39;: [&#39;file&#39;], &#39;level&#39;: &#39;DEBUG&#39;, &#39;propagate&#39;: False}, &#39;django.db.backends&#39;: {&#39;handlers&#39;: [&#39;null&#39;], &#39;level&#39;: &#39;WARNING&#39;, &#39;propagate&#39;: False}}, &#39;version&#39;: 1}</pre></td> </tr> <tr> <td>LOGGING_CONFIG</td> <td class="code"><pre>u&#39;logging.config.dictConfig&#39;</pre></td> </tr> <tr> <td>LOGIN_REDIRECT_URL</td> <td class="code"><pre>u&#39;/accounts/profile/&#39;</pre></td> </tr> <tr> <td>LOGIN_URL</td> <td class="code"><pre>u&#39;/accounts/login/&#39;</pre></td> </tr> <tr> <td>LOGOUT_REDIRECT_URL</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>LOG_LEVEL</td> <td class="code"><pre>&#39;DEBUG&#39;</pre></td> </tr> <tr> <td>LOG_PATH</td> <td class="code"><pre>&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log&#39;</pre></td> </tr> <tr> <td>MANAGERS</td> <td class="code"><pre>((&#39;Roger Dahl&#39;, &#39;dahl@unm.edu&#39;), (&#39;Mark Servilla&#39;, &#39;mark.servilla@gmail.com&#39;))</pre></td> </tr> <tr> <td>MAX_XML_DOCUMENT_SIZE</td> <td class="code"><pre>10485760</pre></td> </tr> <tr> <td>MEDIA_ROOT</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>MEDIA_URL</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>MESSAGE_STORAGE</td> <td class="code"><pre>u&#39;django.contrib.messages.storage.fallback.FallbackStorage&#39;</pre></td> </tr> <tr> <td>MIDDLEWARE</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>MIDDLEWARE_CLASSES</td> <td class="code"><pre>(&#39;app.middleware.request_handler.RequestHandler&#39;, &#39;app.middleware.exception_handler.ExceptionHandler&#39;, &#39;app.middleware.response_handler.ResponseHandler&#39;, &#39;app.middleware.profiling_handler.ProfilingHandler&#39;, &#39;app.middleware.view_handler.ViewHandler&#39;, &#39;app.middleware.startup_handler.StartupHandler&#39;)</pre></td> </tr> <tr> <td>MIGRATION_MODULES</td> <td class="code"><pre>{}</pre></td> </tr> 20170425-05:58:18: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225818658 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <tr> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <td>MONITOR</td> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225818658</identifier> <td class="code"><pre>True</pre></td> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> </tr> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <tr> <td>MONTH_DAY_FORMAT</td> <submitter>CN=testRightsHolder,DC=dataone,DC=org</submitter> <td class="code"><pre>u&#39;F j&#39;</pre></td> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> </tr> <accessPolicy> <allow> <subject>testRightsHolder</subject> <tr> <permission>changePermission</permission> <td>NODE_BASEURL</td> </allow> <td class="code"><pre>&#39;https://gmn-s.lternet.edu/mn&#39;</pre></td> </accessPolicy> <dateUploaded>2017-04-25T05:58:18.669+00:00</dateUploaded> </tr> <dateSysMetadataModified>2017-04-25T05:58:18.669+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestNEON</originMemberNode> <tr> <authoritativeMemberNode>urn:node:mnTestNEON</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] <td>NODE_CONTACT_SUBJECT</td> <td class="code"><pre>&#39;CN=Mark Servilla A6788,O=LTERN (Long Term Ecological Research Network),C=US,DC=cilogon,DC=org&#39;</pre></td> </tr> <tr> <td>NODE_DESCRIPTION</td> <td class="code"><pre>&#39;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.&#39;</pre></td> </tr> <tr> <td>NODE_IDENTIFIER</td> <td class="code"><pre>&#39;urn:node:mnTestLTER&#39;</pre></td> </tr> <tr> <td>NODE_NAME</td> <td class="code"><pre>&#39;Stage test for PASTA-GMN&#39;</pre></td> </tr> <tr> <td>NODE_REPLICATE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>NODE_STATE</td> <td class="code"><pre>&#39;up&#39;</pre></td> </tr> <tr> <td>NODE_SUBJECT</td> <td class="code"><pre>&#39;CN=urn:node:mnTestLTER,DC=dataone,DC=org&#39;</pre></td> </tr> <tr> <td>NODE_SYNCHRONIZE</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_HOUR</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_MINUTE</td> <td class="code"><pre>&#39;23&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_MONTH</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_MONTHDAY</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_SECOND</td> <td class="code"><pre>&#39;0&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_WEEKDAY</td> <td class="code"><pre>&#39;?&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_YEAR</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NUMBER_GROUPING</td> <td class="code"><pre>0</pre></td> </tr> <tr> <td>NUM_CHUNK_BYTES</td> <td class="code"><pre>1048576</pre></td> </tr> <tr> <td>OBJECT_STORE_PATH</td> <td class="code"><pre>&#39;/var/local/dataone/gmn_object_store&#39;</pre></td> </tr> <tr> <td>PASSWORD_HASHERS</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>PASSWORD_RESET_TIMEOUT_DAYS</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>PREPEND_WWW</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>PROXY_MODE_BASIC_AUTH_ENABLED</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>PROXY_MODE_BASIC_AUTH_PASSWORD</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>PROXY_MODE_BASIC_AUTH_USERNAME</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>PROXY_MODE_STREAM_TIMEOUT</td> <td class="code"><pre>30</pre></td> </tr> <tr> <td>PUBLIC_LOG_RECORDS</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>PUBLIC_OBJECT_LIST</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>PYCHARM_BIN</td> <td class="code"><pre>&#39;pycharm.sh&#39;</pre></td> </tr> <tr> <td>REPLICATION_ALLOWEDNODE</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>REPLICATION_ALLOWEDOBJECTFORMAT</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>REPLICATION_MAXOBJECTSIZE</td> <td class="code"><pre>-1</pre></td> </tr> <tr> <td>REPLICATION_MAX_ATTEMPTS</td> <td class="code"><pre>24</pre></td> </tr> <tr> <td>REPLICATION_SPACEALLOCATED</td> <td class="code"><pre>10737418240</pre></td> </tr> <tr> <td>REQUIRE_WHITELIST_FOR_UPDATE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>ROOT_URLCONF</td> <td class="code"><pre>&#39;app.urls&#39;</pre></td> </tr> <tr> <td>SECRET_KEY</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>SECURE_BROWSER_XSS_FILTER</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECURE_CONTENT_TYPE_NOSNIFF</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECURE_HSTS_INCLUDE_SUBDOMAINS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECURE_HSTS_SECONDS</td> <td class="code"><pre>0</pre></td> </tr> <tr> <td>SECURE_PROXY_SSL_HEADER</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SECURE_REDIRECT_EXEMPT</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>SECURE_SSL_HOST</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SECURE_SSL_REDIRECT</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SERVER_EMAIL</td> <td class="code"><pre>u&#39;root@localhost&#39;</pre></td> </tr> <tr> <td>SESSION_CACHE_ALIAS</td> <td class="code"><pre>u&#39;default&#39;</pre></td> </tr> <tr> <td>SESSION_COOKIE_AGE</td> <td class="code"><pre>1209600</pre></td> </tr> <tr> <td>SESSION_COOKIE_DOMAIN</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SESSION_COOKIE_HTTPONLY</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>SESSION_COOKIE_NAME</td> <td class="code"><pre>u&#39;sessionid&#39;</pre></td> </tr> <tr> <td>SESSION_COOKIE_PATH</td> <td class="code"><pre>u&#39;/&#39;</pre></td> </tr> <tr> <td>SESSION_COOKIE_SECURE</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>SESSION_ENGINE</td> <td class="code"><pre>u&#39;django.contrib.sessions.backends.db&#39;</pre></td> </tr> <tr> <td>SESSION_EXPIRE_AT_BROWSER_CLOSE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SESSION_FILE_PATH</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SESSION_SAVE_EVERY_REQUEST</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SESSION_SERIALIZER</td> <td class="code"><pre>u&#39;django.contrib.sessions.serializers.JSONSerializer&#39;</pre></td> </tr> <tr> <td>SETTINGS_MODULE</td> <td class="code"><pre>&#39;settings&#39;</pre></td> </tr> <tr> <td>SHORT_DATETIME_FORMAT</td> <td class="code"><pre>u&#39;m/d/Y P&#39;</pre></td> </tr> <tr> <td>SHORT_DATE_FORMAT</td> <td class="code"><pre>u&#39;m/d/Y&#39;</pre></td> </tr> <tr> <td>SIGNING_BACKEND</td> <td class="code"><pre>u&#39;django.core.signing.TimestampSigner&#39;</pre></td> </tr> <tr> <td>SILENCED_SYSTEM_CHECKS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>STAND_ALONE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>STATICFILES_DIRS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>STATICFILES_FINDERS</td> <td class="code"><pre>[u&#39;django.contrib.staticfiles.finders.FileSystemFinder&#39;, u&#39;django.contrib.staticfiles.finders.AppDirectoriesFinder&#39;]</pre></td> </tr> <tr> <td>STATICFILES_STORAGE</td> <td class="code"><pre>u&#39;django.contrib.staticfiles.storage.StaticFilesStorage&#39;</pre></td> </tr> <tr> <td>STATIC_ROOT</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>STATIC_URL</td> <td class="code"><pre>&#39;/static/&#39;</pre></td> </tr> <tr> <td>SYSMETA_REFRESH_MAX_ATTEMPTS</td> <td class="code"><pre>24</pre></td> </tr> <tr> <td>TEMPLATES</td> <td class="code"><pre>[{&#39;BACKEND&#39;: &#39;django.template.backends.django.DjangoTemplates&#39;, &#39;DIRS&#39;: [&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/templates&#39;], &#39;OPTIONS&#39;: {&#39;context_processors&#39;: [&#39;django.contrib.auth.context_processors.auth&#39;, &#39;django.template.context_processors.debug&#39;, &#39;django.template.context_processors.i18n&#39;, &#39;django.template.context_processors.media&#39;, &#39;django.template.context_processors.static&#39;, &#39;django.template.context_processors.tz&#39;, &#39;django.contrib.messages.context_processors.messages&#39;], &#39;loaders&#39;: [&#39;django.template.loaders.filesystem.Loader&#39;]}}]</pre></td> </tr> <tr> <td>TEST_NON_SERIALIZED_APPS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>TEST_RUNNER</td> <td class="code"><pre>u&#39;django.test.runner.DiscoverRunner&#39;</pre></td> </tr> <tr> <td>THOUSAND_SEPARATOR</td> <td class="code"><pre>u&#39;,&#39;</pre></td> </tr> <tr> <td>TIME_FORMAT</td> <td class="code"><pre>u&#39;P&#39;</pre></td> </tr> <tr> <td>TIME_INPUT_FORMATS</td> <td class="code"><pre>[u&#39;%H:%M:%S&#39;, u&#39;%H:%M:%S.%f&#39;, u&#39;%H:%M&#39;]</pre></td> </tr> <tr> <td>TIME_ZONE</td> <td class="code"><pre>&#39;UTC&#39;</pre></td> </tr> <tr> <td>TRUST_CLIENT_AUTHORITATIVEMEMBERNODE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_DATESYSMETADATAMODIFIED</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_DATEUPLOADED</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>TRUST_CLIENT_ORIGINMEMBERNODE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_SERIALVERSION</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_SUBMITTER</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_ETAGS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_I18N</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>USE_L10N</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_THOUSAND_SEPARATOR</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_TZ</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_X_FORWARDED_HOST</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_X_FORWARDED_PORT</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>WSGI_APPLICATION</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>X_FRAME_OPTIONS</td> <td class="code"><pre>u&#39;SAMEORIGIN&#39;</pre></td> </tr> <tr> <td>YEAR_MONTH_FORMAT</td> <td class="code"><pre>u&#39;F Y&#39;</pre></td> </tr> </tbody> </table> </div> <div id="explanation"> <p> You're seeing this error because you have <code>DEBUG = True</code> in your Django settings file. Change that to <code>False</code>, and Django will display a standard page generated by the handler for this status code. </p> </div> </body> </html> at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82) at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463) at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495) at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600) ... 38 more 20170425-05:58:18: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225818658; FilePart:object = /tmp/mmp.output.9032494900751640494.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8030775652702560402.tmp (1094 bytes); [org.dataone.client.rest.RestClient] org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1351) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:443) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:428) at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(MNStorageV2IT.java:259) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.rules.Verifier$1.evaluate(Verifier.java:34) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at com.sun.proxy.$Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node. at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628) at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82) at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463) at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495) at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600) ... 38 more 20170425-05:58:18: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:18: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:18: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:18: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:18: [INFO]: certificate filename: testRightsHolder [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:18: [INFO]: client setup as Subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:18: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225818966 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:18: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225818966 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225818966</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=testRightsHolder,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:18.974+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:18.974+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestARCTIC</originMemberNode> <authoritativeMemberNode>urn:node:mnTestARCTIC</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:20: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225818966; FilePart:object = /tmp/mmp.output.6034465179846386792.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7503757044907125840.tmp (1098 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:20: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225818966 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225818966 [org.dataone.client.rest.RestClient] 20170425-05:58:22: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225818966; FilePart:sysmeta = /tmp/mmp.output.4551930949628066688.tmp (1104 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:22: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: certificate filename: testRightsHolder [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: client setup as Subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225822213 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225822213 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225822213</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=testRightsHolder,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:22.222+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:22.222+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestCLOEBIRD</originMemberNode> <authoritativeMemberNode>urn:node:mnTestCLOEBIRD</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225822213; FilePart:object = /tmp/mmp.output.1110801439982286647.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1916165803899761088.tmp (1102 bytes); [org.dataone.client.rest.RestClient] org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1351) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:443) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:428) at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(MNStorageV2IT.java:259) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.rules.Verifier$1.evaluate(Verifier.java:34) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at com.sun.proxy.$Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node. at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628) at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82) at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463) at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495) at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600) ... 38 more 20170425-05:58:22: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: certificate filename: testRightsHolder [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: client setup as Subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225822566 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225822566 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225822566</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=testRightsHolder,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:22.575+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:22.575+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestRW</originMemberNode> <authoritativeMemberNode>urn:node:mnTestRW</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225822566; FilePart:object = /tmp/mmp.output.6384034196197198837.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8032775477055653025.tmp (1090 bytes); [org.dataone.client.rest.RestClient] org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>500 Internal server error</title> </head> <body> <p> <h3 style="color:red;">500 Internal server error</h3> </p> <p> Please notify the administrator. </p> <p> <a href="/">Home</a> </p> </body> </html> at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1351) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:443) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:428) at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(MNStorageV2IT.java:259) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.rules.Verifier$1.evaluate(Verifier.java:34) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at com.sun.proxy.$Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>500 Internal server error</title> </head> <body> <p> <h3 style="color:red;">500 Internal server error</h3> </p> <p> Please notify the administrator. </p> <p> <a href="/">Home</a> </p> </body> </html> at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82) at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463) at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495) at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600) ... 38 more 20170425-05:58:22: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: certificate filename: testRightsHolder [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: client setup as Subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225822802 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225822802 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225822802</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=testRightsHolder,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:22.811+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:22.811+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestEDI</originMemberNode> <authoritativeMemberNode>urn:node:mnTestEDI</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:22: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225822802; FilePart:object = /tmp/mmp.output.3981099812219181019.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7164644930432171617.tmp (1092 bytes); [org.dataone.client.rest.RestClient] org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body: <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="robots" content="NONE,NOARCHIVE"> <title>InvalidToken at /v2/object</title> <style type="text/css"> html * { padding:0; margin:0; } body * { padding:10px 20px; } body * * { padding:0; } body { font:small sans-serif; } body>div { border-bottom:1px solid #ddd; } h1 { font-weight:normal; } h2 { margin-bottom:.8em; } h2 span { font-size:80%; color:#666; font-weight:normal; } h3 { margin:1em 0 .5em 0; } h4 { margin:0 0 .5em 0; font-weight: normal; } code, pre { font-size: 100%; white-space: pre-wrap; } table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; } tbody td, tbody th { vertical-align:top; padding:2px 3px; } thead th { padding:1px 6px 1px 3px; background:#fefefe; text-align:left; font-weight:normal; font-size:11px; border:1px solid #ddd; } tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; } table.vars { margin:5px 0 2px 40px; } table.vars td, table.req td { font-family:monospace; } table td.code { width:100%; } table td.code pre { overflow:hidden; } table.source th { color:#666; } table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; } ul.traceback { list-style-type:none; color: #222; } ul.traceback li.frame { padding-bottom:1em; color:#666; } ul.traceback li.user { background-color:#e0e0e0; color:#000 } div.context { padding:10px 0; overflow:hidden; } div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; } div.context ol li { font-family:monospace; white-space:pre; color:#777; cursor:pointer; padding-left: 2px; } div.context ol li pre { display:inline; } div.context ol.context-line li { color:#505050; background-color:#dfdfdf; padding: 3px 2px; } div.context ol.context-line li span { position:absolute; right:32px; } .user div.context ol.context-line li { background-color:#bbb; color:#000; } .user div.context ol li { color:#666; } div.commands { margin-left: 40px; } div.commands a { color:#555; text-decoration:none; } .user div.commands a { color: black; } #summary { background: #ffc; } #summary h2 { font-weight: normal; color: #666; } #explanation { background:#eee; } #template, #template-not-exist { background:#f6f6f6; } #template-not-exist ul { margin: 0 0 10px 20px; } #template-not-exist .postmortem-section { margin-bottom: 3px; } #unicode-hint { background:#eee; } #traceback { background:#eee; } #requestinfo { background:#f6f6f6; padding-left:120px; } #summary table { border:none; background:transparent; } #requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; } #requestinfo h3 { margin-bottom:-1em; } .error { background: #ffc; } .specific { color:#cc3300; font-weight:bold; } h2 span.commands { font-size:.7em;} span.commands a:link {color:#5E5694;} pre.exception_value { font-family: sans-serif; color: #666; font-size: 1.5em; margin: 10px 0 10px 0; } .append-bottom { margin-bottom: 10px; } </style> <script type="text/javascript"> //<!-- function getElementsByClassName(oElm, strTagName, strClassName){ // Written by Jonathan Snook, http://www.snook.ca/jon; Add-ons by Robert Nyman, http://www.robertnyman.com var arrElements = (strTagName == "*" && document.all)? document.all : oElm.getElementsByTagName(strTagName); var arrReturnElements = new Array(); strClassName = strClassName.replace(/\-/g, "\-"); var oRegExp = new RegExp("(^|\s)" + strClassName + "(\s|$)"); var oElement; for(var i=0; i<arrElements.length; i++){ oElement = arrElements[i]; if(oRegExp.test(oElement.className)){ arrReturnElements.push(oElement); } } return (arrReturnElements) } function hideAll(elems) { for (var e = 0; e < elems.length; e++) { elems[e].style.display = 'none'; } } window.onload = function() { hideAll(getElementsByClassName(document, 'table', 'vars')); hideAll(getElementsByClassName(document, 'ol', 'pre-context')); hideAll(getElementsByClassName(document, 'ol', 'post-context')); hideAll(getElementsByClassName(document, 'div', 'pastebin')); } function toggle() { for (var i = 0; i < arguments.length; i++) { var e = document.getElementById(arguments[i]); if (e) { e.style.display = e.style.display == 'none' ? 'block': 'none'; } } return false; } function varToggle(link, id) { toggle('v' + id); var s = link.getElementsByTagName('span')[0]; var uarr = String.fromCharCode(0x25b6); var darr = String.fromCharCode(0x25bc); s.textContent = s.textContent == uarr ? darr : uarr; return false; } function switchPastebinFriendly(link) { s1 = "Switch to copy-and-paste view"; s2 = "Switch back to interactive view"; link.textContent = link.textContent.trim() == s1 ? s2: s1; toggle('browserTraceback', 'pastebinTraceback'); return false; } //--> </script> </head> <body> <div id="summary"> <h1>InvalidToken at /v2/object</h1> <pre class="exception_value">name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error=&quot;name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info=&quot;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;d1:subjectInfo xmlns:d1=&quot;http://ns.dataone.org/service/types/v1&quot;&gt;.&lt;person&gt;..&lt;subject&gt;CN=testRightsHolder,DC=dataone,DC=org&lt;/subject&gt;..&lt;givenName&gt;testRightsHolder_givenName&lt;/givenName&gt;..&lt;familyName&gt;testRightsHolder_familyName&lt;/familyName&gt;.&lt;/person&gt;&lt;/d1:subjectInfo&gt;&quot;, error=&quot;Invalid non-element content at &lt;unknown&gt;[1:113]&quot; &quot; </pre> <table class="meta"> <tr> <th>Request Method:</th> <td>POST</td> </tr> <tr> <th>Request URL:</th> <td>https://gmn-s.edirepository.org/mn/v2/object</td> </tr> <tr> <th>Django Version:</th> <td>1.10.1</td> </tr> <tr> <th>Exception Type:</th> <td>InvalidToken</td> </tr> <tr> <th>Exception Value:</th> <td><pre>name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error=&quot;name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info=&quot;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;d1:subjectInfo xmlns:d1=&quot;http://ns.dataone.org/service/types/v1&quot;&gt;.&lt;person&gt;..&lt;subject&gt;CN=testRightsHolder,DC=dataone,DC=org&lt;/subject&gt;..&lt;givenName&gt;testRightsHolder_givenName&lt;/givenName&gt;..&lt;familyName&gt;testRightsHolder_familyName&lt;/familyName&gt;.&lt;/person&gt;&lt;/d1:subjectInfo&gt;&quot;, error=&quot;Invalid non-element content at &lt;unknown&gt;[1:113]&quot; &quot; </pre></td> </tr> <tr> <th>Exception Location:</th> <td>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py in get_subjects, line 69</td> </tr> <tr> <th>Python Executable:</th> <td>/var/local/dataone/gmn_venv/bin/python</td> </tr> <tr> <th>Python Version:</th> <td>2.7.12</td> </tr> <tr> <th>Python Path:</th> <td><pre>[&#39;/var/local/dataone/gmn_venv/lib/python2.7&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/plat-x86_64-linux-gnu&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/lib-tk&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/lib-old&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/lib-dynload&#39;, &#39;/usr/lib/python2.7&#39;, &#39;/usr/lib/python2.7/plat-x86_64-linux-gnu&#39;, &#39;/usr/lib/python2.7/lib-tk&#39;, &#39;/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/.&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/..&#39;]</pre></td> </tr> <tr> <th>Server time:</th> <td>Tue, 25 Apr 2017 05:58:22 +0000</td> </tr> </table> </div> <div id="traceback"> <h2>Traceback <span class="commands"><a href="#" onclick="return switchPastebinFriendly(this);"> Switch to copy-and-paste view</a></span> </h2> <div id="browserTraceback"> <ul class="traceback"> <li class="frame django"> <code>/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py</code> in <code>inner</code> <div class="context" id="c140454010671688"> <ol start="32" class="pre-context" id="pre140454010671688"> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> This decorator is automatically applied to all middleware to ensure that</pre></li> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> no middleware leaks an exception and that the next middleware in the stack</pre></li> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> can rely on getting a response instead of an exception.</pre></li> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> &quot;&quot;&quot;</pre></li> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> @wraps(get_response, assigned=available_attrs(get_response))</pre></li> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> def inner(request):</pre></li> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> try:</pre></li> </ol> <ol start="39" class="context-line"> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> response = get_response(request)</pre> <span>...</span></li></ol> <ol start='40' class="post-context" id="post140454010671688"> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> except Exception as exc:</pre></li> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> response = response_for_exception(request, exc)</pre></li> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> return response</pre></li> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> return inner</pre></li> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre></pre></li> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre></pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '140454010671688')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v140454010671688"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>exc</td> <td class="code"><pre>InvalidToken()</pre></td> </tr> <tr> <td>get_response</td> <td class="code"><pre>&lt;bound method D1WSGIHandler._legacy_get_response of &lt;_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbe0e182950&gt;&gt;</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame django"> <code>/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py</code> in <code>_legacy_get_response</code> <div class="context" id="c140453990138152"> <ol start="242" class="pre-context" id="pre140453990138152"> <li onclick="toggle('pre140453990138152', 'post140453990138152')"><pre> # Apply request middleware</pre></li> <li onclick="toggle('pre140453990138152', 'post140453990138152')"><pre> for middleware_method in self._request_middleware:</pre></li> <li onclick="toggle('pre140453990138152', 'post140453990138152')"><pre> response = middleware_method(request)</pre></li> <li onclick="toggle('pre140453990138152', 'post140453990138152')"><pre> if response:</pre></li> <li onclick="toggle('pre140453990138152', 'post140453990138152')"><pre> break</pre></li> <li onclick="toggle('pre140453990138152', 'post140453990138152')"><pre></pre></li> <li onclick="toggle('pre140453990138152', 'post140453990138152')"><pre> if response is None:</pre></li> </ol> <ol start="249" class="context-line"> <li onclick="toggle('pre140453990138152', 'post140453990138152')"><pre> response = self._get_response(request)</pre> <span>...</span></li></ol> <ol start='250' class="post-context" id="post140453990138152"> <li onclick="toggle('pre140453990138152', 'post140453990138152')"><pre> return response</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '140453990138152')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v140453990138152"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>middleware_method</td> <td class="code"><pre>&lt;bound method RequestHandler.process_request of &lt;app.middleware.request_handler.RequestHandler object at 0x7fbe0c0bcc10&gt;&gt;</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>response</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbe0e182950&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame django"> <code>/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py</code> in <code>_get_response</code> <div class="context" id="c140453984658280"> <ol start="171" class="pre-context" id="pre140453984658280"> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre></pre></li> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre> resolver_match = resolver.resolve(request.path_info)</pre></li> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre> callback, callback_args, callback_kwargs = resolver_match</pre></li> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre> request.resolver_match = resolver_match</pre></li> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre></pre></li> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre> # Apply view middleware</pre></li> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre> for middleware_method in self._view_middleware:</pre></li> </ol> <ol start="178" class="context-line"> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre> response = middleware_method(request, callback, callback_args, callback_kwargs)</pre> <span>...</span></li></ol> <ol start='179' class="post-context" id="post140453984658280"> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre> if response:</pre></li> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre> break</pre></li> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre></pre></li> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre> if response is None:</pre></li> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre> wrapped_callback = self.make_view_atomic(callback)</pre></li> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre> try:</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '140453984658280')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v140453984658280"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>callback</td> <td class="code"><pre>&lt;function dispatch_object_list at 0x7fbe041786e0&gt;</pre></td> </tr> <tr> <td>callback_args</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>callback_kwargs</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>middleware_method</td> <td class="code"><pre>&lt;bound method ViewHandler.process_view of &lt;app.middleware.view_handler.ViewHandler object at 0x7fbe059a7090&gt;&gt;</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>resolver</td> <td class="code"><pre>&lt;RegexURLResolver &#39;app.urls&#39; (None:None) ^/&gt;</pre></td> </tr> <tr> <td>resolver_match</td> <td class="code"><pre>ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=dispatch_object_list, app_names=[], namespaces=[])</pre></td> </tr> <tr> <td>response</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbe0e182950&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py</code> in <code>process_view</code> <div class="context" id="c140453990084904"> <ol start="44" class="pre-context" id="pre140453990084904"> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> logging.info(</pre></li> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> u&#39;View: func_name=&quot;{}&quot;, method=&quot;{}&quot;, args=&quot;{}&quot;, kwargs=&quot;{}&quot;, url=&quot;{}&quot;&#39;</pre></li> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> .format(</pre></li> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> view_func.func_name, request.method, view_args, view_kwargs, request.path_info</pre></li> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> )</pre></li> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> )</pre></li> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> # logging.debug(request.headers)</pre></li> </ol> <ol start="51" class="context-line"> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> self.process_session(request)</pre> <span>...</span></li></ol> <ol start='52' class="post-context" id="post140453990084904"> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre></pre></li> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> def process_session(self, request):</pre></li> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> # For simulating an HTTPS connection with client authentication when</pre></li> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> # debugging via regular HTTP, two mechanisms are supported. (1) A full</pre></li> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> # client side certificate can be included and (2) a list of subjects can be</pre></li> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> # included. Both use vendor specific extensions (HTTP headers that start</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '140453990084904')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v140453990084904"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;app.middleware.view_handler.ViewHandler object at 0x7fbe059a7090&gt;</pre></td> </tr> <tr> <td>view_args</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>view_func</td> <td class="code"><pre>&lt;function dispatch_object_list at 0x7fbe041786e0&gt;</pre></td> </tr> <tr> <td>view_kwargs</td> <td class="code"><pre>{}</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py</code> in <code>process_session</code> <div class="context" id="c140453984677688"> <ol start="66" class="pre-context" id="pre140453984677688"> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> request.META[&#39;SSL_CLIENT_CERT&#39;] = \</pre></li> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> self.pem_in_http_header_to_pem_in_string(</pre></li> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> request.META[&#39;HTTP_VENDOR_INCLUDE_CERTIFICATE&#39;])</pre></li> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre></pre></li> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> # Add subjects from any provided certificate and JWT and store them in</pre></li> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> # the Django request obj.</pre></li> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> cert_primary_str, cert_equivalent_set = app.middleware.session_cert.get_subjects(</pre></li> </ol> <ol start="73" class="context-line"> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> request</pre> <span>...</span></li></ol> <ol start='74' class="post-context" id="post140453984677688"> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> )</pre></li> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> jwt_subject_list = app.middleware.session_jwt.validate_jwt_and_get_subject_list(</pre></li> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> request</pre></li> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> )</pre></li> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> primary_subject_str = cert_primary_str</pre></li> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> all_subjects_set = cert_equivalent_set | {cert_primary_str</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '140453984677688')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v140453984677688"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;app.middleware.view_handler.ViewHandler object at 0x7fbe059a7090&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py</code> in <code>get_subjects</code> <div class="context" id="c140454010672264"> <ol start="62" class="pre-context" id="pre140454010672264"> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre> &quot;&quot;&quot;</pre></li> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre> if _is_certificate_provided(request):</pre></li> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre> try:</pre></li> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre> return get_authenticated_subjects(request.META[&#39;SSL_CLIENT_CERT&#39;])</pre></li> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre> except Exception as e:</pre></li> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre> raise d1_common.types.exceptions.InvalidToken(</pre></li> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre> 0,</pre></li> </ol> <ol start="69" class="context-line"> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre> u&#39;Error extracting session from certificate. error=&quot;{}&quot;&#39;.format(str(e))</pre> <span>...</span></li></ol> <ol start='70' class="post-context" id="post140454010672264"> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre> )</pre></li> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre> else:</pre></li> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre> return d1_common.const.SUBJECT_PUBLIC, set()</pre></li> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre></pre></li> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre></pre></li> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre>def get_authenticated_subjects(cert_pem):</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '140454010672264')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v140454010672264"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>e</td> <td class="code"><pre>InvalidToken()</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> </tbody> </table> </li> </ul> </div> <form action="http://dpaste.com/" name="pasteform" id="pasteform" method="post"> <div id="pastebinTraceback" class="pastebin"> <input type="hidden" name="language" value="PythonConsole"> <input type="hidden" name="title" value="InvalidToken at /v2/object"> <input type="hidden" name="source" value="Django Dpaste Agent"> <input type="hidden" name="poster" value="Django"> <textarea name="content" id="traceback_area" cols="140" rows="25"> 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: [&#39;django.contrib.staticfiles&#39;, &#39;app&#39;] Installed Middleware: (&#39;app.middleware.request_handler.RequestHandler&#39;, &#39;app.middleware.exception_handler.ExceptionHandler&#39;, &#39;app.middleware.response_handler.ResponseHandler&#39;, &#39;app.middleware.profiling_handler.ProfilingHandler&#39;, &#39;app.middleware.view_handler.ViewHandler&#39;, &#39;app.middleware.startup_handler.StartupHandler&#39;) 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&#39;Error extracting session from certificate. error=&quot;{}&quot;&#39;.format(str(e)) Exception Type: InvalidToken at /v2/object Exception Value: name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error=&quot;name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info=&quot;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;d1:subjectInfo xmlns:d1=&quot;http://ns.dataone.org/service/types/v1&quot;&gt;.&lt;person&gt;..&lt;subject&gt;CN=testRightsHolder,DC=dataone,DC=org&lt;/subject&gt;..&lt;givenName&gt;testRightsHolder_givenName&lt;/givenName&gt;..&lt;familyName&gt;testRightsHolder_familyName&lt;/familyName&gt;.&lt;/person&gt;&lt;/d1:subjectInfo&gt;&quot;, error=&quot;Invalid non-element content at &lt;unknown&gt;[1:113]&quot; &quot; </textarea> <br><br> <input type="submit" value="Share this traceback on a public website"> </div> </form> </div> <div id="requestinfo"> <h2>Request information</h2> <h3 id="get-info">GET</h3> <p>No GET data</p> <h3 id="post-info">POST</h3> <table class="req"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>pid</td> <td class="code"><pre>u&#39;testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225822802&#39;</pre></td> </tr> </tbody> </table> <h3 id="files-info">FILES</h3> <table class="req"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>sysmeta</td> <td class="code"><pre>&lt;InMemoryUploadedFile: mmp.output.7164644930432171617.tmp (application/octet-stream)&gt;</pre></td> </tr> <tr> <td>object</td> <td class="code"><pre>&lt;InMemoryUploadedFile: mmp.output.3981099812219181019.tmp (application/octet-stream)&gt;</pre></td> </tr> </tbody> </table> <h3 id="cookie-info">COOKIES</h3> <p>No cookie data</p> <h3 id="meta-info">META</h3> <table class="req"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>CONTENT_LENGTH</td> <td class="code"><pre>&#39;18981&#39;</pre></td> </tr> <tr> <td>CONTENT_TYPE</td> <td class="code"><pre>&#39;multipart/form-data; boundary=CjbUYFCSubDjbFLz704l_Ddq3VOWnpzBUjyYs&#39;</pre></td> </tr> <tr> <td>CONTEXT_DOCUMENT_ROOT</td> <td class="code"><pre>&#39;/var/www&#39;</pre></td> </tr> <tr> <td>CONTEXT_PREFIX</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>DOCUMENT_ROOT</td> <td class="code"><pre>&#39;/var/www&#39;</pre></td> </tr> <tr> <td>GATEWAY_INTERFACE</td> <td class="code"><pre>&#39;CGI/1.1&#39;</pre></td> </tr> <tr> <td>HTTP_ACCEPT_ENCODING</td> <td class="code"><pre>&#39;gzip,deflate&#39;</pre></td> </tr> <tr> <td>HTTP_CONNECTION</td> <td class="code"><pre>&#39;Keep-Alive&#39;</pre></td> </tr> <tr> <td>HTTP_HOST</td> <td class="code"><pre>&#39;gmn-s.edirepository.org&#39;</pre></td> </tr> <tr> <td>HTTP_USER_AGENT</td> <td class="code"><pre>&#39;Apache-HttpClient/4.3.6 (java 1.5)&#39;</pre></td> </tr> <tr> <td>HTTP_VIA</td> <td class="code"><pre>&#39;1.1 localhost (Apache-HttpClient/4.3.6 (cache))&#39;</pre></td> </tr> <tr> <td>PATH_INFO</td> <td class="code"><pre>u&#39;/v2/object&#39;</pre></td> </tr> <tr> <td>PATH_TRANSLATED</td> <td class="code"><pre>&#39;/var/www/v2/object&#39;</pre></td> </tr> <tr> <td>QUERY_STRING</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>REMOTE_ADDR</td> <td class="code"><pre>&#39;64.106.40.19&#39;</pre></td> </tr> <tr> <td>REMOTE_PORT</td> <td class="code"><pre>&#39;44902&#39;</pre></td> </tr> <tr> <td>REQUEST_METHOD</td> <td class="code"><pre>&#39;POST&#39;</pre></td> </tr> <tr> <td>REQUEST_SCHEME</td> <td class="code"><pre>&#39;https&#39;</pre></td> </tr> <tr> <td>REQUEST_URI</td> <td class="code"><pre>&#39;/mn/v2/object&#39;</pre></td> </tr> <tr> <td>SCRIPT_FILENAME</td> <td class="code"><pre>&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py&#39;</pre></td> </tr> <tr> <td>SCRIPT_NAME</td> <td class="code"><pre>u&#39;/mn&#39;</pre></td> </tr> <tr> <td>SERVER_ADDR</td> <td class="code"><pre>&#39;129.24.124.94&#39;</pre></td> </tr> <tr> <td>SERVER_ADMIN</td> <td class="code"><pre>&#39;admin@edirepository.org&#39;</pre></td> </tr> <tr> <td>SERVER_NAME</td> <td class="code"><pre>&#39;gmn-s.edirepository.org&#39;</pre></td> </tr> <tr> <td>SERVER_PORT</td> <td class="code"><pre>&#39;443&#39;</pre></td> </tr> <tr> <td>SERVER_PROTOCOL</td> <td class="code"><pre>&#39;HTTP/1.1&#39;</pre></td> </tr> <tr> <td>SERVER_SIGNATURE</td> <td class="code"><pre>&#39;&lt;address&gt;Apache/2.4.18 (Ubuntu) Server at gmn-s.edirepository.org Port 443&lt;/address&gt;\n&#39;</pre></td> </tr> <tr> <td>SERVER_SOFTWARE</td> <td class="code"><pre>&#39;Apache/2.4.18 (Ubuntu)&#39;</pre></td> </tr> <tr> <td>SSL_CLIENT_CERT</td> <td class="code"><pre>&#39;-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ/zMSGAS2UN3OfmwImsGOJTabIJ1g\nr0Yza+M1dlg4U9w4sw2AKymWRKhwWB5kcbGwqaU799a7+p3whBsy90ymw5wnxaWd\nXrPYU237PE3t3GoDUMm5ksMotcx7zyWD7X6ULTpK0mCUcts/P5Nyz9a5MY8ONyX9\n79iEza7yY8h2WUlPUcAiWC8mNmtWKnkbDMj3J8hftPsHVvQZS/sUV3qZXY+0sTc1\nnfyI3Ki+SVq4pbfXYC67mwCHfEAQkSvDsNHp20R9d53h3DI8iXtkElz1JQKUhYeB\nIRVqcgOsBXCJ3WmabhlOPPr3TQiGGEoT2PnbJ2rzRv9L+UEOgJs10FuBAgMBAAGj\nggLJMIICxTAJBgNVHRMEAjAAMCwGCWCGSAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVy\nYXRlZCBDZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQUXWYvIzSx6xMxPwx6yADxN5TQNXsw\nHwYDVR0jBBgwFoAU7y7BJ2wqigmrbMNFfzv5V9UWqbMwggEBBgNVHR8EgfkwgfYw\nPKA6oDiGNmh0dHA6Ly9yZWxlYXNlcy5kYXRhb25lLm9yZy9jcmwvRGF0YU9ORVRl\nc3RJbnRfQ1JMLnBlbTA9oDugOYY3aHR0cDovL2NuLXVjc2ItMS5kYXRhb25lLm9y\nZy9jcmwvRGF0YU9ORVRlc3RJbnRfQ1JMLnBlbTA5oDegNYYzaHR0cDovL2NuLXVu\nbS0xLmRhdGFvbmUub3JnL2NybC9EYXRhT05FVGVzdF9DUkwucGVtMDygOqA4hjZo\ndHRwOi8vY24tb3JjLTEuZGF0YW9uZS5vcmcvY3JsL0RhdGFPTkVUZXN0SW50X0NS\nTC5wZW0wggFDBgorBgEEAYKRNgIBBIIBMwyCAS88P3htbCB2ZXJzaW9uPSIxLjAi\nIGVuY29kaW5nPSJVVEYtOCI/PjxkMTpzdWJqZWN0SW5mbyB4bWxuczpkMT0iaHR0\ncDovL25zLmRhdGFvbmUub3JnL3NlcnZpY2UvdHlwZXMvdjEiPi48cGVyc29uPi4u\nPHN1YmplY3Q+Q049dGVzdFJpZ2h0c0hvbGRlcixEQz1kYXRhb25lLERDPW9yZzwv\nc3ViamVjdD4uLjxnaXZlbk5hbWU+dGVzdFJpZ2h0c0hvbGRlcl9naXZlbk5hbWU8\nL2dpdmVuTmFtZT4uLjxmYW1pbHlOYW1lPnRlc3RSaWdodHNIb2xkZXJfZmFtaWx5\nTmFtZTwvZmFtaWx5TmFtZT4uPC9wZXJzb24+PC9kMTpzdWJqZWN0SW5mbz4wDQYJ\nKoZIhvcNAQEFBQADggIBALrwobQ7Vjwdn5Kxul6+JNz3RXs+8a+CnBZ011uA3M0g\n2Bkxm8ysKHttBctdyzKJ1BXub/WiKMKg5LgJIXGI34Xo4bl5/clrEl6hCsChs6XY\nmWA2YVPPoO/KvwdkOa1gnvU/+n6oxH/AxPBqG4+Zf/guLXs32LasPHGs5CN0rtRz\nwgDZpU1KCnIdCeV6gcGp+W18X1+OJ5eDxFsg0ZVSZzKCVOuL7Tp1aEnOwVfzQBzo\nHQ3mMPMaEt6mBR3c2U7PHtCSGty+R6IHNBiG6bjNO4aD/ZsZVG4FklfQMaClN5U7\nvaNCOS5UZ8H3HPu08/UeimouDx1E/+Y5mqwH2C6JMH+PGUf/ViSci4LuzPY9WYfx\nus42uW+k4PrJv/KrVqHn4rjniOdMFyBvBEuwYIrcE9vvgI3qMa9idWeDX7gKreeR\nj9OnBbVm19+xuU8mijY9mbMqjCzM/L73CxdVXsK6yQ2HjdBVwvmfsCd92Ikpkfvv\nComGDHE7I9/RO5RckZ95uS2AqaWboPHxGGJhSd8+ZfuVjnLBPkQd9mTcGFmzC+UM\n34b4lxZlQ2aEo6/ZWDcjh6afbSixVs9CJZejor6RB0Dg2LYqApYHcjQEVnzW/hF+\nP5tMTrd4EQj+tsyTFQgdj7NtoDY1EkgD0ohYPA9PF6t3R2w7hHVs5hyb/xY/55CV\n-----END CERTIFICATE-----\n&#39;</pre></td> </tr> <tr> <td>SSL_SERVER_CERT</td> <td class="code"><pre>&#39;-----BEGIN CERTIFICATE-----\nMIIFJzCCBA+gAwIBAgISA9R53ggfRMJP7jK+DakfKG54MA0GCSqGSIb3DQEBCwUA\nMEoxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MSMwIQYDVQQD\nExpMZXQncyBFbmNyeXB0IEF1dGhvcml0eSBYMzAeFw0xNzAyMjgxNzAyMDBaFw0x\nNzA1MjkxNzAyMDBaMCAxHjAcBgNVBAMTFWpvZS5lZGlyZXBvc2l0b3J5Lm9yZzCC\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALzVKyUDT8DOT5MRAaqXKNbp\nCHpzRQaI8M6+ClVUkIGhpjgHu4+Awkk/unjBvJjUkJkiS7Nt4HrVGO2poILMd8LX\nXT+1N4UwfPPDvCuC3T1OHExrfQgpjBxCMqMs7OAEYRu1OGU3QTuSUN2RwwwGyT8E\nn/9afRXK6Z6AohHwo7tTSekKrPP47SXWpX0dUGropxADfGEynubmd3E+1BNelw1l\nWEWx6z6wPydyfbIXsdYwiBYaUhKxcuhbC1DVx8qwcdKqcHsOYUJgjiODp98jR22Q\nrF99mATNnqLFvKW06GjOHx8Uu0wpzIncLS5fDPnGAdjrn54ZwD8J8/hUZw3qj78C\nAwEAAaOCAi8wggIrMA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcD\nAQYIKwYBBQUHAwIwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQU/IIXUwQREMuhyVpo\nTKXStc8yenAwHwYDVR0jBBgwFoAUqEpqYwR93brm0Tm3pkVl7/Oo7KEwcAYIKwYB\nBQUHAQEEZDBiMC8GCCsGAQUFBzABhiNodHRwOi8vb2NzcC5pbnQteDMubGV0c2Vu\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&#39;</pre></td> </tr> <tr> <td>SSL_TLS_SNI</td> <td class="code"><pre>&#39;gmn-s.edirepository.org&#39;</pre></td> </tr> <tr> <td>apache.version</td> <td class="code"><pre>(2, 4, 18)</pre></td> </tr> <tr> <td>mod_wsgi.application_group</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>mod_wsgi.callable_object</td> <td class="code"><pre>&#39;application&#39;</pre></td> </tr> <tr> <td>mod_wsgi.daemon_connects</td> <td class="code"><pre>&#39;1&#39;</pre></td> </tr> <tr> <td>mod_wsgi.daemon_restarts</td> <td class="code"><pre>&#39;0&#39;</pre></td> </tr> <tr> <td>mod_wsgi.daemon_start</td> <td class="code"><pre>&#39;1493099902839168&#39;</pre></td> </tr> <tr> <td>mod_wsgi.enable_sendfile</td> <td class="code"><pre>&#39;0&#39;</pre></td> </tr> <tr> <td>mod_wsgi.handler_script</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>mod_wsgi.input_chunked</td> <td class="code"><pre>&#39;0&#39;</pre></td> </tr> <tr> <td>mod_wsgi.listener_host</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>mod_wsgi.listener_port</td> <td class="code"><pre>&#39;443&#39;</pre></td> </tr> <tr> <td>mod_wsgi.process_group</td> <td class="code"><pre>&#39;gmn2&#39;</pre></td> </tr> <tr> <td>mod_wsgi.queue_start</td> <td class="code"><pre>&#39;1493099902839009&#39;</pre></td> </tr> <tr> <td>mod_wsgi.request_handler</td> <td class="code"><pre>&#39;wsgi-script&#39;</pre></td> </tr> <tr> <td>mod_wsgi.request_start</td> <td class="code"><pre>&#39;1493099902838786&#39;</pre></td> </tr> <tr> <td>mod_wsgi.script_reloading</td> <td class="code"><pre>&#39;1&#39;</pre></td> </tr> <tr> <td>mod_wsgi.script_start</td> <td class="code"><pre>&#39;1493099902839201&#39;</pre></td> </tr> <tr> <td>mod_wsgi.version</td> <td class="code"><pre>(4, 3, 0)</pre></td> </tr> <tr> <td>wsgi.errors</td> <td class="code"><pre>&lt;mod_wsgi.Log object at 0x7fbdfe3050c0&gt;</pre></td> </tr> <tr> <td>wsgi.file_wrapper</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>wsgi.input</td> <td class="code"><pre>&lt;mod_wsgi.Input object at 0x7fbe0e4c3470&gt;</pre></td> </tr> <tr> <td>wsgi.multiprocess</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>wsgi.multithread</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>wsgi.run_once</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>wsgi.url_scheme</td> <td class="code"><pre>&#39;https&#39;</pre></td> </tr> <tr> <td>wsgi.version</td> <td class="code"><pre>(1, 0)</pre></td> </tr> </tbody> </table> <h3 id="settings-info">Settings</h3> <h4>Using settings module <code>settings</code></h4> <table class="req"> <thead> <tr> <th>Setting</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>ABSOLUTE_URL_OVERRIDES</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>ADMINS</td> <td class="code"><pre>((&#39;Mark Servilla&#39;, &#39;mark.servilla@gmail.com&#39;),)</pre></td> </tr> <tr> <td>ALLOWED_HOSTS</td> <td class="code"><pre>[&#39;localhost&#39;, &#39;127.0.0.1&#39;]</pre></td> </tr> <tr> <td>ALLOW_INTEGRATION_TESTS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>APPEND_SLASH</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>AUTHENTICATION_BACKENDS</td> <td class="code"><pre>[u&#39;django.contrib.auth.backends.ModelBackend&#39;]</pre></td> </tr> <tr> <td>AUTH_PASSWORD_VALIDATORS</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>AUTH_USER_MODEL</td> <td class="code"><pre>u&#39;auth.User&#39;</pre></td> </tr> <tr> <td>CACHES</td> <td class="code"><pre>{&#39;default&#39;: {&#39;BACKEND&#39;: &#39;django.core.cache.backends.locmem.LocMemCache&#39;, &#39;TIMEOUT&#39;: 3600}}</pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_ALIAS</td> <td class="code"><pre>u&#39;default&#39;</pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_KEY_PREFIX</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_SECONDS</td> <td class="code"><pre>600</pre></td> </tr> <tr> <td>CLIENT_CERT_PATH</td> <td class="code"><pre>&#39;/var/local/dataone/certs/client/client_cert.pem&#39;</pre></td> </tr> <tr> <td>CLIENT_CERT_PRIVATE_KEY_PATH</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>CSRF_COOKIE_AGE</td> <td class="code"><pre>31449600</pre></td> </tr> <tr> <td>CSRF_COOKIE_DOMAIN</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>CSRF_COOKIE_HTTPONLY</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>CSRF_COOKIE_NAME</td> <td class="code"><pre>u&#39;csrftoken&#39;</pre></td> </tr> <tr> <td>CSRF_COOKIE_PATH</td> <td class="code"><pre>u&#39;/&#39;</pre></td> </tr> <tr> <td>CSRF_COOKIE_SECURE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>CSRF_FAILURE_VIEW</td> <td class="code"><pre>u&#39;django.views.csrf.csrf_failure&#39;</pre></td> </tr> <tr> <td>CSRF_HEADER_NAME</td> <td class="code"><pre>u&#39;HTTP_X_CSRFTOKEN&#39;</pre></td> </tr> <tr> <td>CSRF_TRUSTED_ORIGINS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>DATABASES</td> <td class="code"><pre>{&#39;default&#39;: {&#39;ATOMIC_REQUESTS&#39;: True, &#39;AUTOCOMMIT&#39;: True, &#39;CONN_MAX_AGE&#39;: 0, &#39;ENGINE&#39;: &#39;django.db.backends.postgresql_psycopg2&#39;, &#39;HOST&#39;: &#39;&#39;, &#39;NAME&#39;: &#39;gmn2&#39;, &#39;OPTIONS&#39;: {}, &#39;PASSWORD&#39;: u&#39;********************&#39;, &#39;PORT&#39;: &#39;&#39;, &#39;TEST&#39;: {&#39;CHARSET&#39;: None, &#39;COLLATION&#39;: None, &#39;MIRROR&#39;: None, &#39;NAME&#39;: None}, &#39;TIME_ZONE&#39;: None, &#39;USER&#39;: &#39;&#39;}}</pre></td> </tr> <tr> <td>DATABASE_ROUTERS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>DATAONE_ROOT</td> <td class="code"><pre>&#39;https://cn-stage.test.dataone.org/cn&#39;</pre></td> </tr> <tr> <td>DATAONE_TRUSTED_SUBJECTS</td> <td class="code"><pre>set([])</pre></td> </tr> <tr> <td>DATA_UPLOAD_MAX_MEMORY_SIZE</td> <td class="code"><pre>2621440</pre></td> </tr> <tr> <td>DATA_UPLOAD_MAX_NUMBER_FIELDS</td> <td class="code"><pre>1000</pre></td> </tr> <tr> <td>DATETIME_FORMAT</td> <td class="code"><pre>u&#39;N j, Y, P&#39;</pre></td> </tr> <tr> <td>DATETIME_INPUT_FORMATS</td> <td class="code"><pre>[u&#39;%Y-%m-%d %H:%M:%S&#39;, u&#39;%Y-%m-%d %H:%M:%S.%f&#39;, u&#39;%Y-%m-%d %H:%M&#39;, u&#39;%Y-%m-%d&#39;, u&#39;%m/%d/%Y %H:%M:%S&#39;, u&#39;%m/%d/%Y %H:%M:%S.%f&#39;, u&#39;%m/%d/%Y %H:%M&#39;, u&#39;%m/%d/%Y&#39;, u&#39;%m/%d/%y %H:%M:%S&#39;, u&#39;%m/%d/%y %H:%M:%S.%f&#39;, u&#39;%m/%d/%y %H:%M&#39;, u&#39;%m/%d/%y&#39;]</pre></td> </tr> <tr> <td>DATE_FORMAT</td> <td class="code"><pre>u&#39;N j, Y&#39;</pre></td> </tr> <tr> <td>DATE_INPUT_FORMATS</td> <td class="code"><pre>[u&#39;%Y-%m-%d&#39;, u&#39;%m/%d/%Y&#39;, u&#39;%m/%d/%y&#39;, u&#39;%b %d %Y&#39;, u&#39;%b %d, %Y&#39;, u&#39;%d %b %Y&#39;, u&#39;%d %b, %Y&#39;, u&#39;%B %d %Y&#39;, u&#39;%B %d, %Y&#39;, u&#39;%d %B %Y&#39;, u&#39;%d %B, %Y&#39;]</pre></td> </tr> <tr> <td>DEBUG</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>DEBUG_GMN</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>DEBUG_PROPAGATE_EXCEPTIONS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>DEBUG_PYCHARM</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>DECIMAL_SEPARATOR</td> <td class="code"><pre>u&#39;.&#39;</pre></td> </tr> <tr> <td>DEFAULT_CHARSET</td> <td class="code"><pre>u&#39;utf-8&#39;</pre></td> </tr> <tr> <td>DEFAULT_CONTENT_TYPE</td> <td class="code"><pre>u&#39;text/html&#39;</pre></td> </tr> <tr> <td>DEFAULT_EXCEPTION_REPORTER_FILTER</td> <td class="code"><pre>u&#39;django.views.debug.SafeExceptionReporterFilter&#39;</pre></td> </tr> <tr> <td>DEFAULT_FILE_STORAGE</td> <td class="code"><pre>u&#39;django.core.files.storage.FileSystemStorage&#39;</pre></td> </tr> <tr> <td>DEFAULT_FROM_EMAIL</td> <td class="code"><pre>u&#39;webmaster@localhost&#39;</pre></td> </tr> <tr> <td>DEFAULT_INDEX_TABLESPACE</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>DEFAULT_TABLESPACE</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>DISALLOWED_USER_AGENTS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>ECHO_REQUEST_OBJECT</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>EMAIL_BACKEND</td> <td class="code"><pre>u&#39;django.core.mail.backends.smtp.EmailBackend&#39;</pre></td> </tr> <tr> <td>EMAIL_HOST</td> <td class="code"><pre>u&#39;localhost&#39;</pre></td> </tr> <tr> <td>EMAIL_HOST_PASSWORD</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>EMAIL_HOST_USER</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>EMAIL_PORT</td> <td class="code"><pre>25</pre></td> </tr> <tr> <td>EMAIL_SSL_CERTFILE</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>EMAIL_SSL_KEYFILE</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>EMAIL_SUBJECT_PREFIX</td> <td class="code"><pre>u&#39;[Django] &#39;</pre></td> </tr> <tr> <td>EMAIL_TIMEOUT</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>EMAIL_USE_SSL</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>EMAIL_USE_TLS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>FILE_CHARSET</td> <td class="code"><pre>u&#39;utf-8&#39;</pre></td> </tr> <tr> <td>FILE_UPLOAD_DIRECTORY_PERMISSIONS</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FILE_UPLOAD_HANDLERS</td> <td class="code"><pre>[u&#39;django.core.files.uploadhandler.MemoryFileUploadHandler&#39;, u&#39;django.core.files.uploadhandler.TemporaryFileUploadHandler&#39;]</pre></td> </tr> <tr> <td>FILE_UPLOAD_MAX_MEMORY_SIZE</td> <td class="code"><pre>2621440</pre></td> </tr> <tr> <td>FILE_UPLOAD_PERMISSIONS</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FILE_UPLOAD_TEMP_DIR</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FIRST_DAY_OF_WEEK</td> <td class="code"><pre>0</pre></td> </tr> <tr> <td>FIXTURE_DIRS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>FORCE_SCRIPT_NAME</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FORMAT_MODULE_PATH</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>IGNORABLE_404_URLS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>INSTALLED_APPS</td> <td class="code"><pre>[&#39;django.contrib.staticfiles&#39;, &#39;app&#39;]</pre></td> </tr> <tr> <td>INTERNAL_IPS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>LANGUAGES</td> <td class="code"><pre>[(u&#39;af&#39;, u&#39;Afrikaans&#39;), (u&#39;ar&#39;, u&#39;Arabic&#39;), (u&#39;ast&#39;, u&#39;Asturian&#39;), (u&#39;az&#39;, u&#39;Azerbaijani&#39;), (u&#39;bg&#39;, u&#39;Bulgarian&#39;), (u&#39;be&#39;, u&#39;Belarusian&#39;), (u&#39;bn&#39;, u&#39;Bengali&#39;), (u&#39;br&#39;, u&#39;Breton&#39;), (u&#39;bs&#39;, u&#39;Bosnian&#39;), (u&#39;ca&#39;, u&#39;Catalan&#39;), (u&#39;cs&#39;, u&#39;Czech&#39;), (u&#39;cy&#39;, u&#39;Welsh&#39;), (u&#39;da&#39;, u&#39;Danish&#39;), (u&#39;de&#39;, u&#39;German&#39;), (u&#39;dsb&#39;, u&#39;Lower Sorbian&#39;), (u&#39;el&#39;, u&#39;Greek&#39;), (u&#39;en&#39;, u&#39;English&#39;), (u&#39;en-au&#39;, u&#39;Australian English&#39;), (u&#39;en-gb&#39;, u&#39;British English&#39;), (u&#39;eo&#39;, u&#39;Esperanto&#39;), (u&#39;es&#39;, u&#39;Spanish&#39;), (u&#39;es-ar&#39;, u&#39;Argentinian Spanish&#39;), (u&#39;es-co&#39;, u&#39;Colombian Spanish&#39;), (u&#39;es-mx&#39;, u&#39;Mexican Spanish&#39;), (u&#39;es-ni&#39;, u&#39;Nicaraguan Spanish&#39;), (u&#39;es-ve&#39;, u&#39;Venezuelan Spanish&#39;), (u&#39;et&#39;, u&#39;Estonian&#39;), (u&#39;eu&#39;, u&#39;Basque&#39;), (u&#39;fa&#39;, u&#39;Persian&#39;), (u&#39;fi&#39;, u&#39;Finnish&#39;), (u&#39;fr&#39;, u&#39;French&#39;), (u&#39;fy&#39;, u&#39;Frisian&#39;), (u&#39;ga&#39;, u&#39;Irish&#39;), (u&#39;gd&#39;, u&#39;Scottish Gaelic&#39;), (u&#39;gl&#39;, u&#39;Galician&#39;), (u&#39;he&#39;, u&#39;Hebrew&#39;), (u&#39;hi&#39;, u&#39;Hindi&#39;), (u&#39;hr&#39;, u&#39;Croatian&#39;), (u&#39;hsb&#39;, u&#39;Upper Sorbian&#39;), (u&#39;hu&#39;, u&#39;Hungarian&#39;), (u&#39;ia&#39;, u&#39;Interlingua&#39;), (u&#39;id&#39;, u&#39;Indonesian&#39;), (u&#39;io&#39;, u&#39;Ido&#39;), (u&#39;is&#39;, u&#39;Icelandic&#39;), (u&#39;it&#39;, u&#39;Italian&#39;), (u&#39;ja&#39;, u&#39;Japanese&#39;), (u&#39;ka&#39;, u&#39;Georgian&#39;), (u&#39;kk&#39;, u&#39;Kazakh&#39;), (u&#39;km&#39;, u&#39;Khmer&#39;), (u&#39;kn&#39;, u&#39;Kannada&#39;), (u&#39;ko&#39;, u&#39;Korean&#39;), (u&#39;lb&#39;, u&#39;Luxembourgish&#39;), (u&#39;lt&#39;, u&#39;Lithuanian&#39;), (u&#39;lv&#39;, u&#39;Latvian&#39;), (u&#39;mk&#39;, u&#39;Macedonian&#39;), (u&#39;ml&#39;, u&#39;Malayalam&#39;), (u&#39;mn&#39;, u&#39;Mongolian&#39;), (u&#39;mr&#39;, u&#39;Marathi&#39;), (u&#39;my&#39;, u&#39;Burmese&#39;), (u&#39;nb&#39;, u&#39;Norwegian Bokm\xe5l&#39;), (u&#39;ne&#39;, u&#39;Nepali&#39;), (u&#39;nl&#39;, u&#39;Dutch&#39;), (u&#39;nn&#39;, u&#39;Norwegian Nynorsk&#39;), (u&#39;os&#39;, u&#39;Ossetic&#39;), (u&#39;pa&#39;, u&#39;Punjabi&#39;), (u&#39;pl&#39;, u&#39;Polish&#39;), (u&#39;pt&#39;, u&#39;Portuguese&#39;), (u&#39;pt-br&#39;, u&#39;Brazilian Portuguese&#39;), (u&#39;ro&#39;, u&#39;Romanian&#39;), (u&#39;ru&#39;, u&#39;Russian&#39;), (u&#39;sk&#39;, u&#39;Slovak&#39;), (u&#39;sl&#39;, u&#39;Slovenian&#39;), (u&#39;sq&#39;, u&#39;Albanian&#39;), (u&#39;sr&#39;, u&#39;Serbian&#39;), (u&#39;sr-latn&#39;, u&#39;Serbian Latin&#39;), (u&#39;sv&#39;, u&#39;Swedish&#39;), (u&#39;sw&#39;, u&#39;Swahili&#39;), (u&#39;ta&#39;, u&#39;Tamil&#39;), (u&#39;te&#39;, u&#39;Telugu&#39;), (u&#39;th&#39;, u&#39;Thai&#39;), (u&#39;tr&#39;, u&#39;Turkish&#39;), (u&#39;tt&#39;, u&#39;Tatar&#39;), (u&#39;udm&#39;, u&#39;Udmurt&#39;), (u&#39;uk&#39;, u&#39;Ukrainian&#39;), (u&#39;ur&#39;, u&#39;Urdu&#39;), (u&#39;vi&#39;, u&#39;Vietnamese&#39;), (u&#39;zh-hans&#39;, u&#39;Simplified Chinese&#39;), (u&#39;zh-hant&#39;, u&#39;Traditional Chinese&#39;)]</pre></td> </tr> <tr> <td>LANGUAGES_BIDI</td> <td class="code"><pre>[u&#39;he&#39;, u&#39;ar&#39;, u&#39;fa&#39;, u&#39;ur&#39;]</pre></td> </tr> <tr> <td>LANGUAGE_CODE</td> <td class="code"><pre>&#39;en-us&#39;</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_AGE</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_DOMAIN</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_NAME</td> <td class="code"><pre>u&#39;django_language&#39;</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_PATH</td> <td class="code"><pre>u&#39;/&#39;</pre></td> </tr> <tr> <td>LOCALE_PATHS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>LOGGING</td> <td class="code"><pre>{&#39;disable_existing_loggers&#39;: True, &#39;formatters&#39;: {&#39;simple&#39;: {&#39;format&#39;: &#39;%(levelname)s %(message)s&#39;}, &#39;verbose&#39;: {&#39;datefmt&#39;: &#39;%Y-%m-%d %H:%M:%S&#39;, &#39;format&#39;: &#39;%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s&#39;}}, &#39;handlers&#39;: {&#39;file&#39;: {&#39;class&#39;: &#39;logging.FileHandler&#39;, &#39;filename&#39;: &#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log&#39;, &#39;formatter&#39;: &#39;verbose&#39;, &#39;level&#39;: &#39;DEBUG&#39;}, &#39;null&#39;: {&#39;class&#39;: &#39;logging.NullHandler&#39;, &#39;level&#39;: &#39;DEBUG&#39;}}, &#39;loggers&#39;: {&#39;&#39;: {&#39;handlers&#39;: [&#39;file&#39;], &#39;level&#39;: &#39;DEBUG&#39;, &#39;propagate&#39;: True}, &#39;django&#39;: {&#39;handlers&#39;: [&#39;file&#39;], &#39;level&#39;: &#39;DEBUG&#39;, &#39;propagate&#39;: False}, &#39;django.db.backends&#39;: {&#39;handlers&#39;: [&#39;null&#39;], &#39;level&#39;: &#39;WARNING&#39;, &#39;propagate&#39;: False}}, &#39;version&#39;: 1}</pre></td> </tr> <tr> <td>LOGGING_CONFIG</td> <td class="code"><pre>u&#39;logging.config.dictConfig&#39;</pre></td> </tr> <tr> <td>LOGIN_REDIRECT_URL</td> <td class="code"><pre>u&#39;/accounts/profile/&#39;</pre></td> </tr> <tr> <td>LOGIN_URL</td> <td class="code"><pre>u&#39;/accounts/login/&#39;</pre></td> </tr> <tr> <td>LOGOUT_REDIRECT_URL</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>LOG_LEVEL</td> <td class="code"><pre>&#39;DEBUG&#39;</pre></td> </tr> <tr> <td>LOG_PATH</td> <td class="code"><pre>&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log&#39;</pre></td> </tr> <tr> <td>MANAGERS</td> <td class="code"><pre>((&#39;Mark Servilla&#39;, &#39;mark.servilla@gmail.com&#39;),)</pre></td> </tr> <tr> <td>MAX_XML_DOCUMENT_SIZE</td> <td class="code"><pre>10485760</pre></td> </tr> <tr> <td>MEDIA_ROOT</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>MEDIA_URL</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>MESSAGE_STORAGE</td> <td class="code"><pre>u&#39;django.contrib.messages.storage.fallback.FallbackStorage&#39;</pre></td> </tr> <tr> <td>MIDDLEWARE</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>MIDDLEWARE_CLASSES</td> <td class="code"><pre>(&#39;app.middleware.request_handler.RequestHandler&#39;, &#39;app.middleware.exception_handler.ExceptionHandler&#39;, &#39;app.middleware.response_handler.ResponseHandler&#39;, &#39;app.middleware.profiling_handler.ProfilingHandler&#39;, &#39;app.middleware.view_handler.ViewHandler&#39;, &#39;app.middleware.startup_handler.StartupHandler&#39;)</pre></td> </tr> <tr> <td>MIGRATION_MODULES</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>MONITOR</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>MONTH_DAY_FORMAT</td> <td class="code"><pre>u&#39;F j&#39;</pre></td> </tr> <tr> <td>NODE_BASEURL</td> <td class="code"><pre>&#39;https://gmn-s.edirepository.org/mn&#39;</pre></td> </tr> <tr> <td>NODE_CONTACT_SUBJECT</td> <td class="code"><pre>&#39;UID=http://orcid.org/0000-0002-3192-7306,DC=dataone,DC=org&#39;</pre></td> </tr> <tr> <td>NODE_DESCRIPTION</td> <td class="code"><pre>&#39;Environmental Data Initiative Member Node&#39;</pre></td> </tr> <tr> <td>NODE_IDENTIFIER</td> <td class="code"><pre>&#39;urn:node:mnTestEDI&#39;</pre></td> </tr> <tr> <td>NODE_NAME</td> <td class="code"><pre>&#39;Environmental Data Initiative Member Node&#39;</pre></td> </tr> <tr> <td>NODE_REPLICATE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>NODE_STATE</td> <td class="code"><pre>&#39;up&#39;</pre></td> </tr> <tr> <td>NODE_SUBJECT</td> <td class="code"><pre>&#39;CN=urn:node:mnTestEDI,DC=dataone,DC=org&#39;</pre></td> </tr> <tr> <td>NODE_SYNCHRONIZE</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_HOUR</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_MINUTE</td> <td class="code"><pre>&#39;0/3&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_MONTH</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_MONTHDAY</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_SECOND</td> <td class="code"><pre>&#39;0&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_WEEKDAY</td> <td class="code"><pre>&#39;?&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_YEAR</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NUMBER_GROUPING</td> <td class="code"><pre>0</pre></td> </tr> <tr> <td>NUM_CHUNK_BYTES</td> <td class="code"><pre>1048576</pre></td> </tr> <tr> <td>OBJECT_STORE_PATH</td> <td class="code"><pre>&#39;/var/local/dataone/gmn_object_store&#39;</pre></td> </tr> <tr> <td>PASSWORD_HASHERS</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>PASSWORD_RESET_TIMEOUT_DAYS</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>PREPEND_WWW</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>PROXY_MODE_BASIC_AUTH_ENABLED</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>PROXY_MODE_BASIC_AUTH_PASSWORD</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>PROXY_MODE_BASIC_AUTH_USERNAME</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>PROXY_MODE_STREAM_TIMEOUT</td> <td class="code"><pre>30</pre></td> </tr> <tr> <td>PUBLIC_LOG_RECORDS</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>PUBLIC_OBJECT_LIST</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>PYCHARM_BIN</td> <td class="code"><pre>&#39;pycharm.sh&#39;</pre></td> </tr> <tr> <td>REPLICATION_ALLOWEDNODE</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>REPLICATION_ALLOWEDOBJECTFORMAT</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>REPLICATION_MAXOBJECTSIZE</td> <td class="code"><pre>-1</pre></td> </tr> <tr> <td>REPLICATION_MAX_ATTEMPTS</td> <td class="code"><pre>24</pre></td> </tr> <tr> <td>REPLICATION_SPACEALLOCATED</td> <td class="code"><pre>10737418240</pre></td> </tr> <tr> <td>REQUIRE_WHITELIST_FOR_UPDATE</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>ROOT_URLCONF</td> <td class="code"><pre>&#39;app.urls&#39;</pre></td> </tr> <tr> <td>SECRET_KEY</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>SECURE_BROWSER_XSS_FILTER</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECURE_CONTENT_TYPE_NOSNIFF</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECURE_HSTS_INCLUDE_SUBDOMAINS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECURE_HSTS_SECONDS</td> <td class="code"><pre>0</pre></td> </tr> <tr> <td>SECURE_PROXY_SSL_HEADER</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SECURE_REDIRECT_EXEMPT</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>SECURE_SSL_HOST</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SECURE_SSL_REDIRECT</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SERVER_EMAIL</td> <td class="code"><pre>u&#39;root@localhost&#39;</pre></td> </tr> <tr> <td>SESSION_CACHE_ALIAS</td> <td class="code"><pre>u&#39;default&#39;</pre></td> </tr> <tr> <td>SESSION_COOKIE_AGE</td> <td class="code"><pre>1209600</pre></td> </tr> <tr> <td>SESSION_COOKIE_DOMAIN</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SESSION_COOKIE_HTTPONLY</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>SESSION_COOKIE_NAME</td> <td class="code"><pre>u&#39;sessionid&#39;</pre></td> </tr> <tr> <td>SESSION_COOKIE_PATH</td> <td class="code"><pre>u&#39;/&#39;</pre></td> </tr> <tr> <td>SESSION_COOKIE_SECURE</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>SESSION_ENGINE</td> <td class="code"><pre>u&#39;django.contrib.sessions.backends.db&#39;</pre></td> </tr> <tr> <td>SESSION_EXPIRE_AT_BROWSER_CLOSE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SESSION_FILE_PATH</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SESSION_SAVE_EVERY_REQUEST</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SESSION_SERIALIZER</td> <td class="code"><pre>u&#39;django.contrib.sessions.serializers.JSONSerializer&#39;</pre></td> </tr> <tr> <td>SETTINGS_MODULE</td> <td class="code"><pre>&#39;settings&#39;</pre></td> </tr> <tr> <td>SHORT_DATETIME_FORMAT</td> <td class="code"><pre>u&#39;m/d/Y P&#39;</pre></td> </tr> <tr> <td>SHORT_DATE_FORMAT</td> <td class="code"><pre>u&#39;m/d/Y&#39;</pre></td> </tr> <tr> <td>SIGNING_BACKEND</td> <td class="code"><pre>u&#39;django.core.signing.TimestampSigner&#39;</pre></td> </tr> <tr> <td>SILENCED_SYSTEM_CHECKS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>STAND_ALONE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>STATICFILES_DIRS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>STATICFILES_FINDERS</td> <td class="code"><pre>[u&#39;django.contrib.staticfiles.finders.FileSystemFinder&#39;, u&#39;django.contrib.staticfiles.finders.AppDirectoriesFinder&#39;]</pre></td> </tr> <tr> <td>STATICFILES_STORAGE</td> <td class="code"><pre>u&#39;django.contrib.staticfiles.storage.StaticFilesStorage&#39;</pre></td> </tr> <tr> <td>STATIC_ROOT</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>STATIC_URL</td> <td class="code"><pre>&#39;/static/&#39;</pre></td> </tr> <tr> <td>SYSMETA_REFRESH_MAX_ATTEMPTS</td> <td class="code"><pre>24</pre></td> </tr> <tr> <td>TEMPLATES</td> <td class="code"><pre>[{&#39;BACKEND&#39;: &#39;django.template.backends.django.DjangoTemplates&#39;, &#39;DIRS&#39;: [&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././app/templates&#39;], &#39;OPTIONS&#39;: {&#39;context_processors&#39;: [&#39;django.contrib.auth.context_processors.auth&#39;, &#39;django.template.context_processors.debug&#39;, &#39;django.template.context_processors.i18n&#39;, &#39;django.template.context_processors.media&#39;, &#39;django.template.context_processors.static&#39;, &#39;django.template.context_processors.tz&#39;, &#39;django.contrib.messages.context_processors.messages&#39;], &#39;loaders&#39;: [&#39;django.template.loaders.filesystem.Loader&#39;]}}]</pre></td> </tr> <tr> <td>TEST_NON_SERIALIZED_APPS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>TEST_RUNNER</td> <td class="code"><pre>u&#39;django.test.runner.DiscoverRunner&#39;</pre></td> </tr> <tr> <td>THOUSAND_SEPARATOR</td> <td class="code"><pre>u&#39;,&#39;</pre></td> </tr> <tr> <td>TIME_FORMAT</td> <td class="code"><pre>u&#39;P&#39;</pre></td> </tr> <tr> <td>TIME_INPUT_FORMATS</td> <td class="code"><pre>[u&#39;%H:%M:%S&#39;, u&#39;%H:%M:%S.%f&#39;, u&#39;%H:%M&#39;]</pre></td> </tr> <tr> <td>TIME_ZONE</td> <td class="code"><pre>&#39;UTC&#39;</pre></td> </tr> <tr> <td>TRUST_CLIENT_AUTHORITATIVEMEMBERNODE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_DATESYSMETADATAMODIFIED</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_DATEUPLOADED</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_ORIGINMEMBERNODE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_SERIALVERSION</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_SUBMITTER</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_ETAGS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_I18N</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>USE_L10N</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_THOUSAND_SEPARATOR</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_TZ</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_X_FORWARDED_HOST</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_X_FORWARDED_PORT</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>WSGI_APPLICATION</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>X_FRAME_OPTIONS</td> <td class="code"><pre>u&#39;SAMEORIGIN&#39;</pre></td> </tr> <tr> <td>YEAR_MONTH_FORMAT</td> <td class="code"><pre>u&#39;F Y&#39;</pre></td> </tr> </tbody> </table> </div> <div id="explanation"> <p> You're seeing this error because you have <code>DEBUG = True</code> in your Django settings file. Change that to <code>False</code>, and Django will display a standard page generated by the handler for this status code. </p> </div> </body> </html> at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1351) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:443) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:428) at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(MNStorageV2IT.java:259) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.rules.Verifier$1.evaluate(Verifier.java:34) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at com.sun.proxy.$Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body: <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="robots" content="NONE,NOARCHIVE"> <title>InvalidToken at /v2/object</title> <style type="text/css"> html * { padding:0; margin:0; } body * { padding:10px 20px; } body * * { padding:0; } body { font:small sans-serif; } body>div { border-bottom:1px solid #ddd; } h1 { font-weight:normal; } h2 { margin-bottom:.8em; } h2 span { font-size:80%; color:#666; font-weight:normal; } h3 { margin:1em 0 .5em 0; } h4 { margin:0 0 .5em 0; font-weight: normal; } code, pre { font-size: 100%; white-space: pre-wrap; } table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; } tbody td, tbody th { vertical-align:top; padding:2px 3px; } thead th { padding:1px 6px 1px 3px; background:#fefefe; text-align:left; font-weight:normal; font-size:11px; border:1px solid #ddd; } tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; } table.vars { margin:5px 0 2px 40px; } table.vars td, table.req td { font-family:monospace; } table td.code { width:100%; } table td.code pre { overflow:hidden; } table.source th { color:#666; } table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; } ul.traceback { list-style-type:none; color: #222; } ul.traceback li.frame { padding-bottom:1em; color:#666; } ul.traceback li.user { background-color:#e0e0e0; color:#000 } div.context { padding:10px 0; overflow:hidden; } div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; } div.context ol li { font-family:monospace; white-space:pre; color:#777; cursor:pointer; padding-left: 2px; } div.context ol li pre { display:inline; } div.context ol.context-line li { color:#505050; background-color:#dfdfdf; padding: 3px 2px; } div.context ol.context-line li span { position:absolute; right:32px; } .user div.context ol.context-line li { background-color:#bbb; color:#000; } .user div.context ol li { color:#666; } div.commands { margin-left: 40px; } div.commands a { color:#555; text-decoration:none; } .user div.commands a { color: black; } #summary { background: #ffc; } #summary h2 { font-weight: normal; color: #666; } #explanation { background:#eee; } #template, #template-not-exist { background:#f6f6f6; } #template-not-exist ul { margin: 0 0 10px 20px; } #template-not-exist .postmortem-section { margin-bottom: 3px; } #unicode-hint { background:#eee; } #traceback { background:#eee; } #requestinfo { background:#f6f6f6; padding-left:120px; } #summary table { border:none; background:transparent; } #requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; } #requestinfo h3 { margin-bottom:-1em; } .error { background: #ffc; } .specific { color:#cc3300; font-weight:bold; } h2 span.commands { font-size:.7em;} span.commands a:link {color:#5E5694;} pre.exception_value { font-family: sans-serif; color: #666; font-size: 1.5em; margin: 10px 0 10px 0; } .append-bottom { margin-bottom: 10px; } </style> <script type="text/javascript"> //<!-- function getElementsByClassName(oElm, strTagName, strClassName){ // Written by Jonathan Snook, http://www.snook.ca/jon; Add-ons by Robert Nyman, http://www.robertnyman.com var arrElements = (strTagName == "*" && document.all)? document.all : oElm.getElementsByTagName(strTagName); var arrReturnElements = new Array(); strClassName = strClassName.replace(/\-/g, "\-"); var oRegExp = new RegExp("(^|\s)" + strClassName + "(\s|$)"); var oElement; for(var i=0; i<arrElements.length; i++){ oElement = arrElements[i]; if(oRegExp.test(oElement.className)){ arrReturnElements.push(oElement); } } return (arrReturnElements) } function hideAll(elems) { for (var e = 0; e < elems.length; e++) { elems[e].style.display = 'none'; } } window.onload = function() { hideAll(getElementsByClassName(document, 'table', 'vars')); hideAll(getElementsByClassName(document, 'ol', 'pre-context')); hideAll(getElementsByClassName(document, 'ol', 'post-context')); hideAll(getElementsByClassName(document, 'div', 'pastebin')); } function toggle() { for (var i = 0; i < arguments.length; i++) { var e = document.getElementById(arguments[i]); if (e) { e.style.display = e.style.display == 'none' ? 'block': 'none'; } } return false; } function varToggle(link, id) { toggle('v' + id); var s = link.getElementsByTagName('span')[0]; var uarr = String.fromCharCode(0x25b6); var darr = String.fromCharCode(0x25bc); s.textContent = s.textContent == uarr ? darr : uarr; return false; } function switchPastebinFriendly(link) { s1 = "Switch to copy-and-paste view"; s2 = "Switch back to interactive view"; link.textContent = link.textContent.trim() == s1 ? s2: s1; toggle('browserTraceback', 'pastebinTraceback'); return false; } //--> </script> </head> <body> <div id="summary"> <h1>InvalidToken at /v2/object</h1> <pre class="exception_value">name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error=&quot;name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info=&quot;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;d1:subjectInfo xmlns:d1=&quot;http://ns.dataone.org/service/types/v1&quot;&gt;.&lt;person&gt;..&lt;subject&gt;CN=testRightsHolder,DC=dataone,DC=org&lt;/subject&gt;..&lt;givenName&gt;testRightsHolder_givenName&lt;/givenName&gt;..&lt;familyName&gt;testRightsHolder_familyName&lt;/familyName&gt;.&lt;/person&gt;&lt;/d1:subjectInfo&gt;&quot;, error=&quot;Invalid non-element content at &lt;unknown&gt;[1:113]&quot; &quot; </pre> <table class="meta"> <tr> <th>Request Method:</th> <td>POST</td> </tr> <tr> <th>Request URL:</th> <td>https://gmn-s.edirepository.org/mn/v2/object</td> </tr> <tr> <th>Django Version:</th> <td>1.10.1</td> </tr> <tr> <th>Exception Type:</th> <td>InvalidToken</td> </tr> <tr> <th>Exception Value:</th> <td><pre>name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error=&quot;name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info=&quot;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;d1:subjectInfo xmlns:d1=&quot;http://ns.dataone.org/service/types/v1&quot;&gt;.&lt;person&gt;..&lt;subject&gt;CN=testRightsHolder,DC=dataone,DC=org&lt;/subject&gt;..&lt;givenName&gt;testRightsHolder_givenName&lt;/givenName&gt;..&lt;familyName&gt;testRightsHolder_familyName&lt;/familyName&gt;.&lt;/person&gt;&lt;/d1:subjectInfo&gt;&quot;, error=&quot;Invalid non-element content at &lt;unknown&gt;[1:113]&quot; &quot; </pre></td> </tr> <tr> <th>Exception Location:</th> <td>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py in get_subjects, line 69</td> </tr> <tr> <th>Python Executable:</th> <td>/var/local/dataone/gmn_venv/bin/python</td> </tr> <tr> <th>Python Version:</th> <td>2.7.12</td> </tr> <tr> <th>Python Path:</th> <td><pre>[&#39;/var/local/dataone/gmn_venv/lib/python2.7&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/plat-x86_64-linux-gnu&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/lib-tk&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/lib-old&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/lib-dynload&#39;, &#39;/usr/lib/python2.7&#39;, &#39;/usr/lib/python2.7/plat-x86_64-linux-gnu&#39;, &#39;/usr/lib/python2.7/lib-tk&#39;, &#39;/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/.&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/..&#39;]</pre></td> </tr> <tr> <th>Server time:</th> <td>Tue, 25 Apr 2017 05:58:22 +0000</td> </tr> </table> </div> <div id="traceback"> <h2>Traceback <span class="commands"><a href="#" onclick="return switchPastebinFriendly(this);"> Switch to copy-and-paste view</a></span> </h2> <div id="browserTraceback"> <ul class="traceback"> <li class="frame django"> <code>/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py</code> in <code>inner</code> <div class="context" id="c140454010671688"> <ol start="32" class="pre-context" id="pre140454010671688"> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> This decorator is automatically applied to all middleware to ensure that</pre></li> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> no middleware leaks an exception and that the next middleware in the stack</pre></li> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> can rely on getting a response instead of an exception.</pre></li> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> &quot;&quot;&quot;</pre></li> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> @wraps(get_response, assigned=available_attrs(get_response))</pre></li> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> def inner(request):</pre></li> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> try:</pre></li> </ol> <ol start="39" class="context-line"> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> response = get_response(request)</pre> <span>...</span></li></ol> <ol start='40' class="post-context" id="post140454010671688"> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> except Exception as exc:</pre></li> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> response = response_for_exception(request, exc)</pre></li> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> return response</pre></li> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre> return inner</pre></li> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre></pre></li> <li onclick="toggle('pre140454010671688', 'post140454010671688')"><pre></pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '140454010671688')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v140454010671688"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>exc</td> <td class="code"><pre>InvalidToken()</pre></td> </tr> <tr> <td>get_response</td> <td class="code"><pre>&lt;bound method D1WSGIHandler._legacy_get_response of &lt;_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbe0e182950&gt;&gt;</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame django"> <code>/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py</code> in <code>_legacy_get_response</code> <div class="context" id="c140453990138152"> <ol start="242" class="pre-context" id="pre140453990138152"> <li onclick="toggle('pre140453990138152', 'post140453990138152')"><pre> # Apply request middleware</pre></li> <li onclick="toggle('pre140453990138152', 'post140453990138152')"><pre> for middleware_method in self._request_middleware:</pre></li> <li onclick="toggle('pre140453990138152', 'post140453990138152')"><pre> response = middleware_method(request)</pre></li> <li onclick="toggle('pre140453990138152', 'post140453990138152')"><pre> if response:</pre></li> <li onclick="toggle('pre140453990138152', 'post140453990138152')"><pre> break</pre></li> <li onclick="toggle('pre140453990138152', 'post140453990138152')"><pre></pre></li> <li onclick="toggle('pre140453990138152', 'post140453990138152')"><pre> if response is None:</pre></li> </ol> <ol start="249" class="context-line"> <li onclick="toggle('pre140453990138152', 'post140453990138152')"><pre> response = self._get_response(request)</pre> <span>...</span></li></ol> <ol start='250' class="post-context" id="post140453990138152"> <li onclick="toggle('pre140453990138152', 'post140453990138152')"><pre> return response</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '140453990138152')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v140453990138152"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>middleware_method</td> <td class="code"><pre>&lt;bound method RequestHandler.process_request of &lt;app.middleware.request_handler.RequestHandler object at 0x7fbe0c0bcc10&gt;&gt;</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>response</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbe0e182950&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame django"> <code>/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py</code> in <code>_get_response</code> <div class="context" id="c140453984658280"> <ol start="171" class="pre-context" id="pre140453984658280"> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre></pre></li> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre> resolver_match = resolver.resolve(request.path_info)</pre></li> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre> callback, callback_args, callback_kwargs = resolver_match</pre></li> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre> request.resolver_match = resolver_match</pre></li> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre></pre></li> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre> # Apply view middleware</pre></li> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre> for middleware_method in self._view_middleware:</pre></li> </ol> <ol start="178" class="context-line"> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre> response = middleware_method(request, callback, callback_args, callback_kwargs)</pre> <span>...</span></li></ol> <ol start='179' class="post-context" id="post140453984658280"> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre> if response:</pre></li> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre> break</pre></li> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre></pre></li> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre> if response is None:</pre></li> 20170425-05:58:23: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:23: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:23: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre> wrapped_callback = self.make_view_atomic(callback)</pre></li> <li onclick="toggle('pre140453984658280', 'post140453984658280')"><pre> try:</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '140453984658280')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v140453984658280"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>callback</td> <td class="code"><pre>&lt;function dispatch_object_list at 0x7fbe041786e0&gt;</pre></td> </tr> <tr> <td>callback_args</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>callback_kwargs</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>middleware_method</td> <td class="code"><pre>&lt;bound method ViewHandler.process_view of &lt;app.middleware.view_handler.ViewHandler object at 0x7fbe059a7090&gt;&gt;</pre></td> </tr> <tr> <td>request</td> 20170425-05:58:23: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>resolver</td> <td class="code"><pre>&lt;RegexURLResolver &#39;app.urls&#39; (None:None) ^/&gt;</pre></td> </tr> <tr> <td>resolver_match</td> <td class="code"><pre>ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=dispatch_object_list, app_names=[], namespaces=[])</pre></td> </tr> 20170425-05:58:23: [INFO]: certificate filename: testRightsHolder [org.dataone.integration.ContextAwareTestCaseDataone] <tr> <td>response</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbe0e182950&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py</code> in <code>process_view</code> <div class="context" id="c140453990084904"> <ol start="44" class="pre-context" id="pre140453990084904"> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> logging.info(</pre></li> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> u&#39;View: func_name=&quot;{}&quot;, method=&quot;{}&quot;, args=&quot;{}&quot;, kwargs=&quot;{}&quot;, url=&quot;{}&quot;&#39;</pre></li> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> .format(</pre></li> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> view_func.func_name, request.method, view_args, view_kwargs, request.path_info</pre></li> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> )</pre></li> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> )</pre></li> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> # logging.debug(request.headers)</pre></li> </ol> <ol start="51" class="context-line"> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> self.process_session(request)</pre> <span>...</span></li></ol> <ol start='52' class="post-context" id="post140453990084904"> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre></pre></li> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> def process_session(self, request):</pre></li> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> # For simulating an HTTPS connection with client authentication when</pre></li> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> # debugging via regular HTTP, two mechanisms are supported. (1) A full</pre></li> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> # client side certificate can be included and (2) a list of subjects can be</pre></li> <li onclick="toggle('pre140453990084904', 'post140453990084904')"><pre> # included. Both use vendor specific extensions (HTTP headers that start</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '140453990084904')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v140453990084904"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;app.middleware.view_handler.ViewHandler object at 0x7fbe059a7090&gt;</pre></td> </tr> <tr> <td>view_args</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>view_func</td> <td class="code"><pre>&lt;function dispatch_object_list at 0x7fbe041786e0&gt;</pre></td> </tr> <tr> <td>view_kwargs</td> <td class="code"><pre>{}</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py</code> in <code>process_session</code> <div class="context" id="c140453984677688"> <ol start="66" class="pre-context" id="pre140453984677688"> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> request.META[&#39;SSL_CLIENT_CERT&#39;] = \</pre></li> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> self.pem_in_http_header_to_pem_in_string(</pre></li> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> request.META[&#39;HTTP_VENDOR_INCLUDE_CERTIFICATE&#39;])</pre></li> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre></pre></li> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> # Add subjects from any provided certificate and JWT and store them in</pre></li> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> # the Django request obj.</pre></li> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> cert_primary_str, cert_equivalent_set = app.middleware.session_cert.get_subjects(</pre></li> </ol> <ol start="73" class="context-line"> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> request</pre> <span>...</span></li></ol> <ol start='74' class="post-context" id="post140453984677688"> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> )</pre></li> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> jwt_subject_list = app.middleware.session_jwt.validate_jwt_and_get_subject_list(</pre></li> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> request</pre></li> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> )</pre></li> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> primary_subject_str = cert_primary_str</pre></li> <li onclick="toggle('pre140453984677688', 'post140453984677688')"><pre> all_subjects_set = cert_equivalent_set | {cert_primary_str</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '140453984677688')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v140453984677688"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;app.middleware.view_handler.ViewHandler object at 0x7fbe059a7090&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py</code> in <code>get_subjects</code> <div class="context" id="c140454010672264"> <ol start="62" class="pre-context" id="pre140454010672264"> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre> &quot;&quot;&quot;</pre></li> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre> if _is_certificate_provided(request):</pre></li> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre> try:</pre></li> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre> return get_authenticated_subjects(request.META[&#39;SSL_CLIENT_CERT&#39;])</pre></li> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre> except Exception as e:</pre></li> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre> raise d1_common.types.exceptions.InvalidToken(</pre></li> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre> 0,</pre></li> </ol> <ol start="69" class="context-line"> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre> u&#39;Error extracting session from certificate. error=&quot;{}&quot;&#39;.format(str(e))</pre> <span>...</span></li></ol> <ol start='70' class="post-context" id="post140454010672264"> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre> )</pre></li> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre> else:</pre></li> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre> return d1_common.const.SUBJECT_PUBLIC, set()</pre></li> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre></pre></li> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre></pre></li> <li onclick="toggle('pre140454010672264', 'post140454010672264')"><pre>def get_authenticated_subjects(cert_pem):</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '140454010672264')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v140454010672264"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>e</td> <td class="code"><pre>InvalidToken()</pre></td> </tr> 20170425-05:58:23: [INFO]: client setup as Subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> </tbody> </table> </li> </ul> </div> <form action="http://dpaste.com/" name="pasteform" id="pasteform" method="post"> <div id="pastebinTraceback" class="pastebin"> <input type="hidden" name="language" value="PythonConsole"> <input type="hidden" name="title" value="InvalidToken at /v2/object"> <input type="hidden" name="source" value="Django Dpaste Agent"> <input type="hidden" name="poster" value="Django"> <textarea name="content" id="traceback_area" cols="140" rows="25"> 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: [&#39;django.contrib.staticfiles&#39;, &#39;app&#39;] Installed Middleware: (&#39;app.middleware.request_handler.RequestHandler&#39;, &#39;app.middleware.exception_handler.ExceptionHandler&#39;, &#39;app.middleware.response_handler.ResponseHandler&#39;, &#39;app.middleware.profiling_handler.ProfilingHandler&#39;, &#39;app.middleware.view_handler.ViewHandler&#39;, &#39;app.middleware.startup_handler.StartupHandler&#39;) 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&#39;Error extracting session from certificate. error=&quot;{}&quot;&#39;.format(str(e)) Exception Type: InvalidToken at /v2/object Exception Value: name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error=&quot;name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info=&quot;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;d1:subjectInfo xmlns:d1=&quot;http://ns.dataone.org/service/types/v1&quot;&gt;.&lt;person&gt;..&lt;subject&gt;CN=testRightsHolder,DC=dataone,DC=org&lt;/subject&gt;..&lt;givenName&gt;testRightsHolder_givenName&lt;/givenName&gt;..&lt;familyName&gt;testRightsHolder_familyName&lt;/familyName&gt;.&lt;/person&gt;&lt;/d1:subjectInfo&gt;&quot;, error=&quot;Invalid non-element content at &lt;unknown&gt;[1:113]&quot; &quot; </textarea> <br><br> <input type="submit" value="Share this traceback on a public website"> </div> </form> </div> <div id="requestinfo"> <h2>Request information</h2> <h3 id="get-info">GET</h3> <p>No GET data</p> <h3 id="post-info">POST</h3> <table class="req"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>pid</td> <td class="code"><pre>u&#39;testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter2017114225822802&#39;</pre></td> </tr> </tbody> </table> <h3 id="files-info">FILES</h3> <table class="req"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>sysmeta</td> <td class="code"><pre>&lt;InMemoryUploadedFile: mmp.output.7164644930432171617.tmp (application/octet-stream)&gt;</pre></td> </tr> <tr> <td>object</td> <td class="code"><pre>&lt;InMemoryUploadedFile: mmp.output.3981099812219181019.tmp (application/octet-stream)&gt;</pre></td> </tr> </tbody> </table> <h3 id="cookie-info">COOKIES</h3> <p>No cookie data</p> <h3 id="meta-info">META</h3> <table class="req"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>CONTENT_LENGTH</td> <td class="code"><pre>&#39;18981&#39;</pre></td> </tr> <tr> <td>CONTENT_TYPE</td> <td class="code"><pre>&#39;multipart/form-data; boundary=CjbUYFCSubDjbFLz704l_Ddq3VOWnpzBUjyYs&#39;</pre></td> </tr> <tr> <td>CONTEXT_DOCUMENT_ROOT</td> <td class="code"><pre>&#39;/var/www&#39;</pre></td> </tr> <tr> <td>CONTEXT_PREFIX</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>DOCUMENT_ROOT</td> <td class="code"><pre>&#39;/var/www&#39;</pre></td> </tr> <tr> <td>GATEWAY_INTERFACE</td> <td class="code"><pre>&#39;CGI/1.1&#39;</pre></td> </tr> <tr> <td>HTTP_ACCEPT_ENCODING</td> <td class="code"><pre>&#39;gzip,deflate&#39;</pre></td> </tr> <tr> <td>HTTP_CONNECTION</td> <td class="code"><pre>&#39;Keep-Alive&#39;</pre></td> </tr> <tr> <td>HTTP_HOST</td> <td class="code"><pre>&#39;gmn-s.edirepository.org&#39;</pre></td> </tr> <tr> <td>HTTP_USER_AGENT</td> <td class="code"><pre>&#39;Apache-HttpClient/4.3.6 (java 1.5)&#39;</pre></td> </tr> <tr> <td>HTTP_VIA</td> <td class="code"><pre>&#39;1.1 localhost (Apache-HttpClient/4.3.6 (cache))&#39;</pre></td> </tr> <tr> <td>PATH_INFO</td> <td class="code"><pre>u&#39;/v2/object&#39;</pre></td> </tr> <tr> <td>PATH_TRANSLATED</td> <td class="code"><pre>&#39;/var/www/v2/object&#39;</pre></td> </tr> <tr> <td>QUERY_STRING</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>REMOTE_ADDR</td> <td class="code"><pre>&#39;64.106.40.19&#39;</pre></td> </tr> <tr> <td>REMOTE_PORT</td> <td class="code"><pre>&#39;44902&#39;</pre></td> </tr> <tr> <td>REQUEST_METHOD</td> <td class="code"><pre>&#39;POST&#39;</pre></td> </tr> <tr> <td>REQUEST_SCHEME</td> <td class="code"><pre>&#39;https&#39;</pre></td> </tr> <tr> <td>REQUEST_URI</td> <td class="code"><pre>&#39;/mn/v2/object&#39;</pre></td> </tr> <tr> <td>SCRIPT_FILENAME</td> <td class="code"><pre>&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py&#39;</pre></td> </tr> <tr> <td>SCRIPT_NAME</td> <td class="code"><pre>u&#39;/mn&#39;</pre></td> </tr> <tr> <td>SERVER_ADDR</td> <td class="code"><pre>&#39;129.24.124.94&#39;</pre></td> </tr> <tr> <td>SERVER_ADMIN</td> <td class="code"><pre>&#39;admin@edirepository.org&#39;</pre></td> </tr> <tr> <td>SERVER_NAME</td> <td class="code"><pre>&#39;gmn-s.edirepository.org&#39;</pre></td> </tr> <tr> <td>SERVER_PORT</td> <td class="code"><pre>&#39;443&#39;</pre></td> </tr> <tr> <td>SERVER_PROTOCOL</td> <td class="code"><pre>&#39;HTTP/1.1&#39;</pre></td> </tr> <tr> <td>SERVER_SIGNATURE</td> <td class="code"><pre>&#39;&lt;address&gt;Apache/2.4.18 (Ubuntu) Server at gmn-s.edirepository.org Port 443&lt;/address&gt;\n&#39;</pre></td> </tr> <tr> <td>SERVER_SOFTWARE</td> <td class="code"><pre>&#39;Apache/2.4.18 (Ubuntu)&#39;</pre></td> </tr> <tr> <td>SSL_CLIENT_CERT</td> <td class="code"><pre>&#39;-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ/zMSGAS2UN3OfmwImsGOJTabIJ1g\nr0Yza+M1dlg4U9w4sw2AKymWRKhwWB5kcbGwqaU799a7+p3whBsy90ymw5wnxaWd\nXrPYU237PE3t3GoDUMm5ksMotcx7zyWD7X6ULTpK0mCUcts/P5Nyz9a5MY8ONyX9\n79iEza7yY8h2WUlPUcAiWC8mNmtWKnkbDMj3J8hftPsHVvQZS/sUV3qZXY+0sTc1\nnfyI3Ki+SVq4pbfXYC67mwCHfEAQkSvDsNHp20R9d53h3DI8iXtkElz1JQKUhYeB\nIRVqcgOsBXCJ3WmabhlOPPr3TQiGGEoT2PnbJ2rzRv9L+UEOgJs10FuBAgMBAAGj\nggLJMIICxTAJBgNVHRMEAjAAMCwGCWCGSAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVy\nYXRlZCBDZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQUXWYvIzSx6xMxPwx6yADxN5TQNXsw\nHwYDVR0jBBgwFoAU7y7BJ2wqigmrbMNFfzv5V9UWqbMwggEBBgNVHR8EgfkwgfYw\nPKA6oDiGNmh0dHA6Ly9yZWxlYXNlcy5kYXRhb25lLm9yZy9jcmwvRGF0YU9ORVRl\nc3RJbnRfQ1JMLnBlbTA9oDugOYY3aHR0cDovL2NuLXVjc2ItMS5kYXRhb25lLm9y\nZy9jcmwvRGF0YU9ORVRlc3RJbnRfQ1JMLnBlbTA5oDegNYYzaHR0cDovL2NuLXVu\nbS0xLmRhdGFvbmUub3JnL2NybC9EYXRhT05FVGVzdF9DUkwucGVtMDygOqA4hjZo\ndHRwOi8vY24tb3JjLTEuZGF0YW9uZS5vcmcvY3JsL0RhdGFPTkVUZXN0SW50X0NS\nTC5wZW0wggFDBgorBgEEAYKRNgIBBIIBMwyCAS88P3htbCB2ZXJzaW9uPSIxLjAi\nIGVuY29kaW5nPSJVVEYtOCI/PjxkMTpzdWJqZWN0SW5mbyB4bWxuczpkMT0iaHR0\ncDovL25zLmRhdGFvbmUub3JnL3NlcnZpY2UvdHlwZXMvdjEiPi48cGVyc29uPi4u\nPHN1YmplY3Q+Q049dGVzdFJpZ2h0c0hvbGRlcixEQz1kYXRhb25lLERDPW9yZzwv\nc3ViamVjdD4uLjxnaXZlbk5hbWU+dGVzdFJpZ2h0c0hvbGRlcl9naXZlbk5hbWU8\nL2dpdmVuTmFtZT4uLjxmYW1pbHlOYW1lPnRlc3RSaWdodHNIb2xkZXJfZmFtaWx5\nTmFtZTwvZmFtaWx5TmFtZT4uPC9wZXJzb24+PC9kMTpzdWJqZWN0SW5mbz4wDQYJ\nKoZIhvcNAQEFBQADggIBALrwobQ7Vjwdn5Kxul6+JNz3RXs+8a+CnBZ011uA3M0g\n2Bkxm8ysKHttBctdyzKJ1BXub/WiKMKg5LgJIXGI34Xo4bl5/clrEl6hCsChs6XY\nmWA2YVPPoO/KvwdkOa1gnvU/+n6oxH/AxPBqG4+Zf/guLXs32LasPHGs5CN0rtRz\nwgDZpU1KCnIdCeV6gcGp+W18X1+OJ5eDxFsg0ZVSZzKCVOuL7Tp1aEnOwVfzQBzo\nHQ3mMPMaEt6mBR3c2U7PHtCSGty+R6IHNBiG6bjNO4aD/ZsZVG4FklfQMaClN5U7\nvaNCOS5UZ8H3HPu08/UeimouDx1E/+Y5mqwH2C6JMH+PGUf/ViSci4LuzPY9WYfx\nus42uW+k4PrJv/KrVqHn4rjniOdMFyBvBEuwYIrcE9vvgI3qMa9idWeDX7gKreeR\nj9OnBbVm19+xuU8mijY9mbMqjCzM/L73CxdVXsK6yQ2HjdBVwvmfsCd92Ikpkfvv\nComGDHE7I9/RO5RckZ95uS2AqaWboPHxGGJhSd8+ZfuVjnLBPkQd9mTcGFmzC+UM\n34b4lxZlQ2aEo6/ZWDcjh6afbSixVs9CJZejor6RB0Dg2LYqApYHcjQEVnzW/hF+\nP5tMTrd4EQj+tsyTFQgdj7NtoDY1EkgD0ohYPA9PF6t3R2w7hHVs5hyb/xY/55CV\n-----END CERTIFICATE-----\n&#39;</pre></td> </tr> <tr> <td>SSL_SERVER_CERT</td> <td class="code"><pre>&#39;-----BEGIN CERTIFICATE-----\nMIIFJzCCBA+gAwIBAgISA9R53ggfRMJP7jK+DakfKG54MA0GCSqGSIb3DQEBCwUA\nMEoxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MSMwIQYDVQQD\nExpMZXQncyBFbmNyeXB0IEF1dGhvcml0eSBYMzAeFw0xNzAyMjgxNzAyMDBaFw0x\nNzA1MjkxNzAyMDBaMCAxHjAcBgNVBAMTFWpvZS5lZGlyZXBvc2l0b3J5Lm9yZzCC\nASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALzVKyUDT8DOT5MRAaqXKNbp\nCHpzRQaI8M6+ClVUkIGhpjgHu4+Awkk/unjBvJjUkJkiS7Nt4HrVGO2poILMd8LX\nXT+1N4UwfPPDvCuC3T1OHExrfQgpjBxCMqMs7OAEYRu1OGU3QTuSUN2RwwwGyT8E\nn/9afRXK6Z6AohHwo7tTSekKrPP47SXWpX0dUGropxADfGEynubmd3E+1BNelw1l\nWEWx6z6wPydyfbIXsdYwiBYaUhKxcuhbC1DVx8qwcdKqcHsOYUJgjiODp98jR22Q\nrF99mATNnqLFvKW06GjOHx8Uu0wpzIncLS5fDPnGAdjrn54ZwD8J8/hUZw3qj78C\nAwEAAaOCAi8wggIrMA4GA1UdDwEB/wQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcD\nAQYIKwYBBQUHAwIwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQU/IIXUwQREMuhyVpo\nTKXStc8yenAwHwYDVR0jBBgwFoAUqEpqYwR93brm0Tm3pkVl7/Oo7KEwcAYIKwYB\nBQUHAQEEZDBiMC8GCCsGAQUFBzABhiNodHRwOi8vb2NzcC5pbnQteDMubGV0c2Vu\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&#39;</pre></td> </tr> <tr> <td>SSL_TLS_SNI</td> <td class="code"><pre>&#39;gmn-s.edirepository.org&#39;</pre></td> </tr> <tr> <td>apache.version</td> <td class="code"><pre>(2, 4, 18)</pre></td> </tr> <tr> <td>mod_wsgi.application_group</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>mod_wsgi.callable_object</td> <td class="code"><pre>&#39;application&#39;</pre></td> </tr> <tr> <td>mod_wsgi.daemon_connects</td> <td class="code"><pre>&#39;1&#39;</pre></td> </tr> <tr> <td>mod_wsgi.daemon_restarts</td> <td class="code"><pre>&#39;0&#39;</pre></td> </tr> <tr> <td>mod_wsgi.daemon_start</td> <td class="code"><pre>&#39;1493099902839168&#39;</pre></td> </tr> <tr> <td>mod_wsgi.enable_sendfile</td> <td class="code"><pre>&#39;0&#39;</pre></td> </tr> <tr> <td>mod_wsgi.handler_script</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>mod_wsgi.input_chunked</td> <td class="code"><pre>&#39;0&#39;</pre></td> </tr> <tr> <td>mod_wsgi.listener_host</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>mod_wsgi.listener_port</td> <td class="code"><pre>&#39;443&#39;</pre></td> </tr> <tr> <td>mod_wsgi.process_group</td> <td class="code"><pre>&#39;gmn2&#39;</pre></td> </tr> <tr> <td>mod_wsgi.queue_start</td> <td class="code"><pre>&#39;1493099902839009&#39;</pre></td> </tr> <tr> <td>mod_wsgi.request_handler</td> <td class="code"><pre>&#39;wsgi-script&#39;</pre></td> </tr> <tr> <td>mod_wsgi.request_start</td> <td class="code"><pre>&#39;1493099902838786&#39;</pre></td> </tr> <tr> <td>mod_wsgi.script_reloading</td> <td class="code"><pre>&#39;1&#39;</pre></td> </tr> <tr> <td>mod_wsgi.script_start</td> <td class="code"><pre>&#39;1493099902839201&#39;</pre></td> </tr> <tr> <td>mod_wsgi.version</td> <td class="code"><pre>(4, 3, 0)</pre></td> </tr> <tr> <td>wsgi.errors</td> <td class="code"><pre>&lt;mod_wsgi.Log object at 0x7fbdfe3050c0&gt;</pre></td> </tr> <tr> <td>wsgi.file_wrapper</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>wsgi.input</td> <td class="code"><pre>&lt;mod_wsgi.Input object at 0x7fbe0e4c3470&gt;</pre></td> </tr> <tr> <td>wsgi.multiprocess</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>wsgi.multithread</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>wsgi.run_once</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>wsgi.url_scheme</td> <td class="code"><pre>&#39;https&#39;</pre></td> </tr> <tr> <td>wsgi.version</td> <td class="code"><pre>(1, 0)</pre></td> </tr> </tbody> </table> <h3 id="settings-info">Settings</h3> <h4>Using settings module <code>settings</code></h4> <table class="req"> <thead> <tr> <th>Setting</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>ABSOLUTE_URL_OVERRIDES</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>ADMINS</td> <td class="code"><pre>((&#39;Mark Servilla&#39;, &#39;mark.servilla@gmail.com&#39;),)</pre></td> </tr> <tr> <td>ALLOWED_HOSTS</td> <td class="code"><pre>[&#39;localhost&#39;, &#39;127.0.0.1&#39;]</pre></td> </tr> <tr> <td>ALLOW_INTEGRATION_TESTS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>APPEND_SLASH</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>AUTHENTICATION_BACKENDS</td> <td class="code"><pre>[u&#39;django.contrib.auth.backends.ModelBackend&#39;]</pre></td> </tr> <tr> <td>AUTH_PASSWORD_VALIDATORS</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>AUTH_USER_MODEL</td> <td class="code"><pre>u&#39;auth.User&#39;</pre></td> </tr> <tr> <td>CACHES</td> <td class="code"><pre>{&#39;default&#39;: {&#39;BACKEND&#39;: &#39;django.core.cache.backends.locmem.LocMemCache&#39;, &#39;TIMEOUT&#39;: 3600}}</pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_ALIAS</td> <td class="code"><pre>u&#39;default&#39;</pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_KEY_PREFIX</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_SECONDS</td> <td class="code"><pre>600</pre></td> </tr> <tr> <td>CLIENT_CERT_PATH</td> <td class="code"><pre>&#39;/var/local/dataone/certs/client/client_cert.pem&#39;</pre></td> </tr> <tr> <td>CLIENT_CERT_PRIVATE_KEY_PATH</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>CSRF_COOKIE_AGE</td> <td class="code"><pre>31449600</pre></td> </tr> <tr> <td>CSRF_COOKIE_DOMAIN</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>CSRF_COOKIE_HTTPONLY</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>CSRF_COOKIE_NAME</td> <td class="code"><pre>u&#39;csrftoken&#39;</pre></td> </tr> <tr> <td>CSRF_COOKIE_PATH</td> <td class="code"><pre>u&#39;/&#39;</pre></td> </tr> <tr> <td>CSRF_COOKIE_SECURE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>CSRF_FAILURE_VIEW</td> <td class="code"><pre>u&#39;django.views.csrf.csrf_failure&#39;</pre></td> </tr> <tr> <td>CSRF_HEADER_NAME</td> <td class="code"><pre>u&#39;HTTP_X_CSRFTOKEN&#39;</pre></td> </tr> <tr> <td>CSRF_TRUSTED_ORIGINS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>DATABASES</td> <td class="code"><pre>{&#39;default&#39;: {&#39;ATOMIC_REQUESTS&#39;: True, &#39;AUTOCOMMIT&#39;: True, &#39;CONN_MAX_AGE&#39;: 0, &#39;ENGINE&#39;: &#39;django.db.backends.postgresql_psycopg2&#39;, &#39;HOST&#39;: &#39;&#39;, &#39;NAME&#39;: &#39;gmn2&#39;, &#39;OPTIONS&#39;: {}, &#39;PASSWORD&#39;: u&#39;********************&#39;, &#39;PORT&#39;: &#39;&#39;, &#39;TEST&#39;: {&#39;CHARSET&#39;: None, &#39;COLLATION&#39;: None, &#39;MIRROR&#39;: None, &#39;NAME&#39;: None}, &#39;TIME_ZONE&#39;: None, &#39;USER&#39;: &#39;&#39;}}</pre></td> </tr> <tr> <td>DATABASE_ROUTERS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>DATAONE_ROOT</td> <td class="code"><pre>&#39;https://cn-stage.test.dataone.org/cn&#39;</pre></td> </tr> <tr> <td>DATAONE_TRUSTED_SUBJECTS</td> <td class="code"><pre>set([])</pre></td> </tr> <tr> <td>DATA_UPLOAD_MAX_MEMORY_SIZE</td> <td class="code"><pre>2621440</pre></td> </tr> <tr> <td>DATA_UPLOAD_MAX_NUMBER_FIELDS</td> <td class="code"><pre>1000</pre></td> </tr> <tr> <td>DATETIME_FORMAT</td> <td class="code"><pre>u&#39;N j, Y, P&#39;</pre></td> </tr> <tr> <td>DATETIME_INPUT_FORMATS</td> <td class="code"><pre>[u&#39;%Y-%m-%d %H:%M:%S&#39;, u&#39;%Y-%m-%d %H:%M:%S.%f&#39;, u&#39;%Y-%m-%d %H:%M&#39;, u&#39;%Y-%m-%d&#39;, u&#39;%m/%d/%Y %H:%M:%S&#39;, u&#39;%m/%d/%Y %H:%M:%S.%f&#39;, u&#39;%m/%d/%Y %H:%M&#39;, u&#39;%m/%d/%Y&#39;, u&#39;%m/%d/%y %H:%M:%S&#39;, u&#39;%m/%d/%y %H:%M:%S.%f&#39;, u&#39;%m/%d/%y %H:%M&#39;, u&#39;%m/%d/%y&#39;]</pre></td> </tr> <tr> <td>DATE_FORMAT</td> <td class="code"><pre>u&#39;N j, Y&#39;</pre></td> </tr> <tr> <td>DATE_INPUT_FORMATS</td> <td class="code"><pre>[u&#39;%Y-%m-%d&#39;, u&#39;%m/%d/%Y&#39;, u&#39;%m/%d/%y&#39;, u&#39;%b %d %Y&#39;, u&#39;%b %d, %Y&#39;, u&#39;%d %b %Y&#39;, u&#39;%d %b, %Y&#39;, u&#39;%B %d %Y&#39;, u&#39;%B %d, %Y&#39;, u&#39;%d %B %Y&#39;, u&#39;%d %B, %Y&#39;]</pre></td> </tr> <tr> <td>DEBUG</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>DEBUG_GMN</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>DEBUG_PROPAGATE_EXCEPTIONS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>DEBUG_PYCHARM</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>DECIMAL_SEPARATOR</td> <td class="code"><pre>u&#39;.&#39;</pre></td> </tr> <tr> <td>DEFAULT_CHARSET</td> <td class="code"><pre>u&#39;utf-8&#39;</pre></td> </tr> <tr> <td>DEFAULT_CONTENT_TYPE</td> <td class="code"><pre>u&#39;text/html&#39;</pre></td> </tr> <tr> <td>DEFAULT_EXCEPTION_REPORTER_FILTER</td> <td class="code"><pre>u&#39;django.views.debug.SafeExceptionReporterFilter&#39;</pre></td> </tr> <tr> 20170425-05:58:23: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711422582312 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] <td>DEFAULT_FILE_STORAGE</td> <td class="code"><pre>u&#39;django.core.files.storage.FileSystemStorage&#39;</pre></td> </tr> <tr> <td>DEFAULT_FROM_EMAIL</td> <td class="code"><pre>u&#39;webmaster@localhost&#39;</pre></td> </tr> <tr> <td>DEFAULT_INDEX_TABLESPACE</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>DEFAULT_TABLESPACE</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>DISALLOWED_USER_AGENTS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>ECHO_REQUEST_OBJECT</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>EMAIL_BACKEND</td> <td class="code"><pre>u&#39;django.core.mail.backends.smtp.EmailBackend&#39;</pre></td> </tr> <tr> <td>EMAIL_HOST</td> <td class="code"><pre>u&#39;localhost&#39;</pre></td> </tr> <tr> <td>EMAIL_HOST_PASSWORD</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>EMAIL_HOST_USER</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>EMAIL_PORT</td> <td class="code"><pre>25</pre></td> </tr> <tr> <td>EMAIL_SSL_CERTFILE</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>EMAIL_SSL_KEYFILE</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>EMAIL_SUBJECT_PREFIX</td> <td class="code"><pre>u&#39;[Django] &#39;</pre></td> </tr> <tr> <td>EMAIL_TIMEOUT</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>EMAIL_USE_SSL</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>EMAIL_USE_TLS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>FILE_CHARSET</td> <td class="code"><pre>u&#39;utf-8&#39;</pre></td> </tr> <tr> <td>FILE_UPLOAD_DIRECTORY_PERMISSIONS</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FILE_UPLOAD_HANDLERS</td> <td class="code"><pre>[u&#39;django.core.files.uploadhandler.MemoryFileUploadHandler&#39;, u&#39;django.core.files.uploadhandler.TemporaryFileUploadHandler&#39;]</pre></td> </tr> <tr> <td>FILE_UPLOAD_MAX_MEMORY_SIZE</td> <td class="code"><pre>2621440</pre></td> </tr> <tr> <td>FILE_UPLOAD_PERMISSIONS</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FILE_UPLOAD_TEMP_DIR</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FIRST_DAY_OF_WEEK</td> <td class="code"><pre>0</pre></td> </tr> <tr> <td>FIXTURE_DIRS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>FORCE_SCRIPT_NAME</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FORMAT_MODULE_PATH</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>IGNORABLE_404_URLS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>INSTALLED_APPS</td> <td class="code"><pre>[&#39;django.contrib.staticfiles&#39;, &#39;app&#39;]</pre></td> </tr> <tr> <td>INTERNAL_IPS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>LANGUAGES</td> <td class="code"><pre>[(u&#39;af&#39;, u&#39;Afrikaans&#39;), (u&#39;ar&#39;, u&#39;Arabic&#39;), (u&#39;ast&#39;, u&#39;Asturian&#39;), (u&#39;az&#39;, u&#39;Azerbaijani&#39;), (u&#39;bg&#39;, u&#39;Bulgarian&#39;), (u&#39;be&#39;, u&#39;Belarusian&#39;), (u&#39;bn&#39;, u&#39;Bengali&#39;), (u&#39;br&#39;, u&#39;Breton&#39;), (u&#39;bs&#39;, u&#39;Bosnian&#39;), (u&#39;ca&#39;, u&#39;Catalan&#39;), (u&#39;cs&#39;, u&#39;Czech&#39;), (u&#39;cy&#39;, u&#39;Welsh&#39;), (u&#39;da&#39;, u&#39;Danish&#39;), (u&#39;de&#39;, u&#39;German&#39;), (u&#39;dsb&#39;, u&#39;Lower Sorbian&#39;), (u&#39;el&#39;, u&#39;Greek&#39;), (u&#39;en&#39;, u&#39;English&#39;), (u&#39;en-au&#39;, u&#39;Australian English&#39;), (u&#39;en-gb&#39;, u&#39;British English&#39;), (u&#39;eo&#39;, u&#39;Esperanto&#39;), (u&#39;es&#39;, u&#39;Spanish&#39;), (u&#39;es-ar&#39;, u&#39;Argentinian Spanish&#39;), (u&#39;es-co&#39;, u&#39;Colombian Spanish&#39;), (u&#39;es-mx&#39;, u&#39;Mexican Spanish&#39;), (u&#39;es-ni&#39;, u&#39;Nicaraguan Spanish&#39;), (u&#39;es-ve&#39;, u&#39;Venezuelan Spanish&#39;), (u&#39;et&#39;, u&#39;Estonian&#39;), (u&#39;eu&#39;, u&#39;Basque&#39;), (u&#39;fa&#39;, u&#39;Persian&#39;), (u&#39;fi&#39;, u&#39;Finnish&#39;), (u&#39;fr&#39;, u&#39;French&#39;), (u&#39;fy&#39;, u&#39;Frisian&#39;), (u&#39;ga&#39;, u&#39;Irish&#39;), (u&#39;gd&#39;, u&#39;Scottish Gaelic&#39;), (u&#39;gl&#39;, u&#39;Galician&#39;), (u&#39;he&#39;, u&#39;Hebrew&#39;), (u&#39;hi&#39;, u&#39;Hindi&#39;), (u&#39;hr&#39;, u&#39;Croatian&#39;), (u&#39;hsb&#39;, u&#39;Upper Sorbian&#39;), (u&#39;hu&#39;, u&#39;Hungarian&#39;), (u&#39;ia&#39;, u&#39;Interlingua&#39;), (u&#39;id&#39;, u&#39;Indonesian&#39;), (u&#39;io&#39;, u&#39;Ido&#39;), (u&#39;is&#39;, u&#39;Icelandic&#39;), (u&#39;it&#39;, u&#39;Italian&#39;), (u&#39;ja&#39;, u&#39;Japanese&#39;), (u&#39;ka&#39;, u&#39;Georgian&#39;), (u&#39;kk&#39;, u&#39;Kazakh&#39;), (u&#39;km&#39;, u&#39;Khmer&#39;), (u&#39;kn&#39;, u&#39;Kannada&#39;), (u&#39;ko&#39;, u&#39;Korean&#39;), (u&#39;lb&#39;, u&#39;Luxembourgish&#39;), (u&#39;lt&#39;, u&#39;Lithuanian&#39;), (u&#39;lv&#39;, u&#39;Latvian&#39;), (u&#39;mk&#39;, u&#39;Macedonian&#39;), (u&#39;ml&#39;, u&#39;Malayalam&#39;), (u&#39;mn&#39;, u&#39;Mongolian&#39;), (u&#39;mr&#39;, u&#39;Marathi&#39;), (u&#39;my&#39;, u&#39;Burmese&#39;), (u&#39;nb&#39;, u&#39;Norwegian Bokm\xe5l&#39;), (u&#39;ne&#39;, u&#39;Nepali&#39;), (u&#39;nl&#39;, u&#39;Dutch&#39;), (u&#39;nn&#39;, u&#39;Norwegian Nynorsk&#39;), (u&#39;os&#39;, u&#39;Ossetic&#39;), (u&#39;pa&#39;, u&#39;Punjabi&#39;), (u&#39;pl&#39;, u&#39;Polish&#39;), (u&#39;pt&#39;, u&#39;Portuguese&#39;), (u&#39;pt-br&#39;, u&#39;Brazilian Portuguese&#39;), (u&#39;ro&#39;, u&#39;Romanian&#39;), (u&#39;ru&#39;, u&#39;Russian&#39;), (u&#39;sk&#39;, u&#39;Slovak&#39;), (u&#39;sl&#39;, u&#39;Slovenian&#39;), (u&#39;sq&#39;, u&#39;Albanian&#39;), (u&#39;sr&#39;, u&#39;Serbian&#39;), (u&#39;sr-latn&#39;, u&#39;Serbian Latin&#39;), (u&#39;sv&#39;, u&#39;Swedish&#39;), (u&#39;sw&#39;, u&#39;Swahili&#39;), (u&#39;ta&#39;, u&#39;Tamil&#39;), (u&#39;te&#39;, u&#39;Telugu&#39;), (u&#39;th&#39;, u&#39;Thai&#39;), (u&#39;tr&#39;, u&#39;Turkish&#39;), (u&#39;tt&#39;, u&#39;Tatar&#39;), (u&#39;udm&#39;, u&#39;Udmurt&#39;), (u&#39;uk&#39;, u&#39;Ukrainian&#39;), (u&#39;ur&#39;, u&#39;Urdu&#39;), (u&#39;vi&#39;, u&#39;Vietnamese&#39;), (u&#39;zh-hans&#39;, u&#39;Simplified Chinese&#39;), (u&#39;zh-hant&#39;, u&#39;Traditional Chinese&#39;)]</pre></td> </tr> <tr> <td>LANGUAGES_BIDI</td> <td class="code"><pre>[u&#39;he&#39;, u&#39;ar&#39;, u&#39;fa&#39;, u&#39;ur&#39;]</pre></td> </tr> <tr> <td>LANGUAGE_CODE</td> <td class="code"><pre>&#39;en-us&#39;</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_AGE</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_DOMAIN</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_NAME</td> <td class="code"><pre>u&#39;django_language&#39;</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_PATH</td> <td class="code"><pre>u&#39;/&#39;</pre></td> </tr> <tr> <td>LOCALE_PATHS</td> 20170425-05:58:23: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711422582312 <td class="code"><pre>[]</pre></td> </tr> <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <tr> <serialVersion>1</serialVersion> <td>LOGGING</td> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711422582312</identifier> <td class="code"><pre>{&#39;disable_existing_loggers&#39;: True, <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> &#39;formatters&#39;: {&#39;simple&#39;: {&#39;format&#39;: &#39;%(levelname)s %(message)s&#39;}, <size>17181</size> &#39;verbose&#39;: {&#39;datefmt&#39;: &#39;%Y-%m-%d %H:%M:%S&#39;, <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> &#39;format&#39;: &#39;%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s&#39;}}, <submitter>CN=testRightsHolder,DC=dataone,DC=org</submitter> &#39;handlers&#39;: {&#39;file&#39;: {&#39;class&#39;: &#39;logging.FileHandler&#39;, <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> &#39;filename&#39;: &#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log&#39;, <accessPolicy> &#39;formatter&#39;: &#39;verbose&#39;, <allow> &#39;level&#39;: &#39;DEBUG&#39;}, <subject>testRightsHolder</subject> &#39;null&#39;: {&#39;class&#39;: &#39;logging.NullHandler&#39;, &#39;level&#39;: &#39;DEBUG&#39;}}, <permission>changePermission</permission> </allow> &#39;loggers&#39;: {&#39;&#39;: {&#39;handlers&#39;: [&#39;file&#39;], &#39;level&#39;: &#39;DEBUG&#39;, &#39;propagate&#39;: True}, </accessPolicy> &#39;django&#39;: {&#39;handlers&#39;: [&#39;file&#39;], <dateUploaded>2017-04-25T05:58:23.022+00:00</dateUploaded> &#39;level&#39;: &#39;DEBUG&#39;, <dateSysMetadataModified>2017-04-25T05:58:23.022+00:00</dateSysMetadataModified> &#39;propagate&#39;: False}, <originMemberNode>urn:node:mnTestNCEI</originMemberNode> &#39;django.db.backends&#39;: {&#39;handlers&#39;: [&#39;null&#39;], <authoritativeMemberNode>urn:node:mnTestNCEI</authoritativeMemberNode> &#39;level&#39;: &#39;WARNING&#39;, </ns3:systemMetadata> &#39;propagate&#39;: False}}, [org.dataone.integration.ContextAwareTestCaseDataone] &#39;version&#39;: 1}</pre></td> </tr> <tr> <td>LOGGING_CONFIG</td> <td class="code"><pre>u&#39;logging.config.dictConfig&#39;</pre></td> </tr> <tr> <td>LOGIN_REDIRECT_URL</td> <td class="code"><pre>u&#39;/accounts/profile/&#39;</pre></td> </tr> <tr> <td>LOGIN_URL</td> <td class="code"><pre>u&#39;/accounts/login/&#39;</pre></td> </tr> <tr> <td>LOGOUT_REDIRECT_URL</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>LOG_LEVEL</td> <td class="code"><pre>&#39;DEBUG&#39;</pre></td> </tr> <tr> <td>LOG_PATH</td> <td class="code"><pre>&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././gmn.log&#39;</pre></td> </tr> <tr> <td>MANAGERS</td> <td class="code"><pre>((&#39;Mark Servilla&#39;, &#39;mark.servilla@gmail.com&#39;),)</pre></td> </tr> <tr> <td>MAX_XML_DOCUMENT_SIZE</td> <td class="code"><pre>10485760</pre></td> </tr> <tr> <td>MEDIA_ROOT</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>MEDIA_URL</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>MESSAGE_STORAGE</td> <td class="code"><pre>u&#39;django.contrib.messages.storage.fallback.FallbackStorage&#39;</pre></td> </tr> <tr> <td>MIDDLEWARE</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>MIDDLEWARE_CLASSES</td> <td class="code"><pre>(&#39;app.middleware.request_handler.RequestHandler&#39;, &#39;app.middleware.exception_handler.ExceptionHandler&#39;, &#39;app.middleware.response_handler.ResponseHandler&#39;, &#39;app.middleware.profiling_handler.ProfilingHandler&#39;, &#39;app.middleware.view_handler.ViewHandler&#39;, &#39;app.middleware.startup_handler.StartupHandler&#39;)</pre></td> </tr> <tr> <td>MIGRATION_MODULES</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>MONITOR</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>MONTH_DAY_FORMAT</td> <td class="code"><pre>u&#39;F j&#39;</pre></td> </tr> <tr> <td>NODE_BASEURL</td> <td class="code"><pre>&#39;https://gmn-s.edirepository.org/mn&#39;</pre></td> </tr> <tr> <td>NODE_CONTACT_SUBJECT</td> <td class="code"><pre>&#39;UID=http://orcid.org/0000-0002-3192-7306,DC=dataone,DC=org&#39;</pre></td> </tr> <tr> <td>NODE_DESCRIPTION</td> <td class="code"><pre>&#39;Environmental Data Initiative Member Node&#39;</pre></td> </tr> <tr> <td>NODE_IDENTIFIER</td> <td class="code"><pre>&#39;urn:node:mnTestEDI&#39;</pre></td> </tr> <tr> <td>NODE_NAME</td> <td class="code"><pre>&#39;Environmental Data Initiative Member Node&#39;</pre></td> </tr> <tr> <td>NODE_REPLICATE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>NODE_STATE</td> <td class="code"><pre>&#39;up&#39;</pre></td> </tr> <tr> <td>NODE_SUBJECT</td> <td class="code"><pre>&#39;CN=urn:node:mnTestEDI,DC=dataone,DC=org&#39;</pre></td> </tr> <tr> <td>NODE_SYNCHRONIZE</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_HOUR</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_MINUTE</td> <td class="code"><pre>&#39;0/3&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_MONTH</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_MONTHDAY</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_SECOND</td> <td class="code"><pre>&#39;0&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_WEEKDAY</td> <td class="code"><pre>&#39;?&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_YEAR</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NUMBER_GROUPING</td> <td class="code"><pre>0</pre></td> </tr> <tr> <td>NUM_CHUNK_BYTES</td> <td class="code"><pre>1048576</pre></td> </tr> <tr> <td>OBJECT_STORE_PATH</td> <td class="code"><pre>&#39;/var/local/dataone/gmn_object_store&#39;</pre></td> </tr> <tr> <td>PASSWORD_HASHERS</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>PASSWORD_RESET_TIMEOUT_DAYS</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>PREPEND_WWW</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>PROXY_MODE_BASIC_AUTH_ENABLED</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>PROXY_MODE_BASIC_AUTH_PASSWORD</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>PROXY_MODE_BASIC_AUTH_USERNAME</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>PROXY_MODE_STREAM_TIMEOUT</td> <td class="code"><pre>30</pre></td> </tr> <tr> <td>PUBLIC_LOG_RECORDS</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>PUBLIC_OBJECT_LIST</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>PYCHARM_BIN</td> <td class="code"><pre>&#39;pycharm.sh&#39;</pre></td> </tr> <tr> <td>REPLICATION_ALLOWEDNODE</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>REPLICATION_ALLOWEDOBJECTFORMAT</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>REPLICATION_MAXOBJECTSIZE</td> <td class="code"><pre>-1</pre></td> </tr> <tr> <td>REPLICATION_MAX_ATTEMPTS</td> <td class="code"><pre>24</pre></td> </tr> <tr> <td>REPLICATION_SPACEALLOCATED</td> <td class="code"><pre>10737418240</pre></td> </tr> <tr> <td>REQUIRE_WHITELIST_FOR_UPDATE</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>ROOT_URLCONF</td> <td class="code"><pre>&#39;app.urls&#39;</pre></td> </tr> <tr> <td>SECRET_KEY</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>SECURE_BROWSER_XSS_FILTER</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECURE_CONTENT_TYPE_NOSNIFF</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECURE_HSTS_INCLUDE_SUBDOMAINS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECURE_HSTS_SECONDS</td> <td class="code"><pre>0</pre></td> </tr> <tr> <td>SECURE_PROXY_SSL_HEADER</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SECURE_REDIRECT_EXEMPT</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>SECURE_SSL_HOST</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SECURE_SSL_REDIRECT</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SERVER_EMAIL</td> <td class="code"><pre>u&#39;root@localhost&#39;</pre></td> </tr> <tr> <td>SESSION_CACHE_ALIAS</td> <td class="code"><pre>u&#39;default&#39;</pre></td> </tr> <tr> <td>SESSION_COOKIE_AGE</td> <td class="code"><pre>1209600</pre></td> </tr> <tr> <td>SESSION_COOKIE_DOMAIN</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SESSION_COOKIE_HTTPONLY</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>SESSION_COOKIE_NAME</td> <td class="code"><pre>u&#39;sessionid&#39;</pre></td> </tr> <tr> <td>SESSION_COOKIE_PATH</td> <td class="code"><pre>u&#39;/&#39;</pre></td> </tr> <tr> <td>SESSION_COOKIE_SECURE</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>SESSION_ENGINE</td> <td class="code"><pre>u&#39;django.contrib.sessions.backends.db&#39;</pre></td> </tr> <tr> <td>SESSION_EXPIRE_AT_BROWSER_CLOSE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SESSION_FILE_PATH</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SESSION_SAVE_EVERY_REQUEST</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SESSION_SERIALIZER</td> <td class="code"><pre>u&#39;django.contrib.sessions.serializers.JSONSerializer&#39;</pre></td> </tr> <tr> <td>SETTINGS_MODULE</td> <td class="code"><pre>&#39;settings&#39;</pre></td> </tr> <tr> <td>SHORT_DATETIME_FORMAT</td> <td class="code"><pre>u&#39;m/d/Y P&#39;</pre></td> </tr> <tr> <td>SHORT_DATE_FORMAT</td> <td class="code"><pre>u&#39;m/d/Y&#39;</pre></td> </tr> <tr> <td>SIGNING_BACKEND</td> <td class="code"><pre>u&#39;django.core.signing.TimestampSigner&#39;</pre></td> </tr> <tr> <td>SILENCED_SYSTEM_CHECKS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>STAND_ALONE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>STATICFILES_DIRS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>STATICFILES_FINDERS</td> <td class="code"><pre>[u&#39;django.contrib.staticfiles.finders.FileSystemFinder&#39;, u&#39;django.contrib.staticfiles.finders.AppDirectoriesFinder&#39;]</pre></td> </tr> <tr> <td>STATICFILES_STORAGE</td> <td class="code"><pre>u&#39;django.contrib.staticfiles.storage.StaticFilesStorage&#39;</pre></td> </tr> <tr> <td>STATIC_ROOT</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>STATIC_URL</td> <td class="code"><pre>&#39;/static/&#39;</pre></td> </tr> <tr> <td>SYSMETA_REFRESH_MAX_ATTEMPTS</td> <td class="code"><pre>24</pre></td> </tr> <tr> <td>TEMPLATES</td> <td class="code"><pre>[{&#39;BACKEND&#39;: &#39;django.template.backends.django.DjangoTemplates&#39;, &#39;DIRS&#39;: [&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/././app/templates&#39;], &#39;OPTIONS&#39;: {&#39;context_processors&#39;: [&#39;django.contrib.auth.context_processors.auth&#39;, &#39;django.template.context_processors.debug&#39;, &#39;django.template.context_processors.i18n&#39;, &#39;django.template.context_processors.media&#39;, &#39;django.template.context_processors.static&#39;, &#39;django.template.context_processors.tz&#39;, &#39;django.contrib.messages.context_processors.messages&#39;], &#39;loaders&#39;: [&#39;django.template.loaders.filesystem.Loader&#39;]}}]</pre></td> </tr> <tr> <td>TEST_NON_SERIALIZED_APPS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>TEST_RUNNER</td> <td class="code"><pre>u&#39;django.test.runner.DiscoverRunner&#39;</pre></td> </tr> <tr> <td>THOUSAND_SEPARATOR</td> <td class="code"><pre>u&#39;,&#39;</pre></td> </tr> <tr> <td>TIME_FORMAT</td> <td class="code"><pre>u&#39;P&#39;</pre></td> </tr> <tr> <td>TIME_INPUT_FORMATS</td> <td class="code"><pre>[u&#39;%H:%M:%S&#39;, u&#39;%H:%M:%S.%f&#39;, u&#39;%H:%M&#39;]</pre></td> </tr> <tr> <td>TIME_ZONE</td> <td class="code"><pre>&#39;UTC&#39;</pre></td> </tr> <tr> <td>TRUST_CLIENT_AUTHORITATIVEMEMBERNODE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_DATESYSMETADATAMODIFIED</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_DATEUPLOADED</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_ORIGINMEMBERNODE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_SERIALVERSION</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_SUBMITTER</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_ETAGS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_I18N</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>USE_L10N</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_THOUSAND_SEPARATOR</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_TZ</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_X_FORWARDED_HOST</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_X_FORWARDED_PORT</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>WSGI_APPLICATION</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>X_FRAME_OPTIONS</td> <td class="code"><pre>u&#39;SAMEORIGIN&#39;</pre></td> </tr> <tr> <td>YEAR_MONTH_FORMAT</td> <td class="code"><pre>u&#39;F Y&#39;</pre></td> </tr> </tbody> </table> </div> <div id="explanation"> <p> You're seeing this error because you have <code>DEBUG = True</code> in your Django settings file. Change that to <code>False</code>, and Django will display a standard page generated by the handler for this status code. </p> </div> </body> </html> at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82) at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463) at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495) at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600) ... 38 more 20170425-05:58:23: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter201711422582312; FilePart:object = /tmp/mmp.output.4887012747210777964.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1300130622583449722.tmp (1093 bytes); [org.dataone.client.rest.RestClient] org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>500 Internal server error</title> </head> <body> <p> <h3 style="color:red;">500 Internal server error</h3> </p> <p> Please notify the administrator. </p> <p> <a href="/">Home</a> </p> </body> </html> at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1351) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:443) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(UpdateSystemMetadataTestImplementations.java:428) at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedSubmitter(MNStorageV2IT.java:259) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.rules.Verifier$1.evaluate(Verifier.java:34) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at com.sun.proxy.$Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>500 Internal server error</title> </head> <body> <p> <h3 style="color:red;">500 Internal server error</h3> </p> <p> Please notify the administrator. </p> <p> <a href="/">Home</a> </p> </body> </html> at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82) at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463) at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495) at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600) ... 38 more 20170425-05:58:23: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:23: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:23: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:23: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone] nodeId key value ============================================================================================================= 20170425-05:58:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:23: [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] 20170425-05:58:23: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:23: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:23: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:23: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:24: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:24: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:25: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:25: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:25: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:25: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:26: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:26: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:26: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:26: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:26: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:26: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:26: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:26: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:26: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:26: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:27: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225826535 [org.dataone.client.rest.RestClient] 20170425-05:58:27: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:27: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:27: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:27: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:27: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:27: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225826535 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:27: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225826535 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225826535</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:27.061+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:27.061+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnStageUCSB2</originMemberNode> <authoritativeMemberNode>urn:node:mnStageUCSB2</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:28: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225826535; FilePart:object = /tmp/mmp.output.7614991868345328099.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6926772241553320841.tmp (1106 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:28: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225826535 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:28: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:28: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225826535 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:29: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225826535 [org.dataone.client.rest.RestClient] 20170425-05:58:29: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225826535; FilePart:sysmeta = /tmp/mmp.output.3753138055308308338.tmp (1133 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:29: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:29: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:29: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225829296 [org.dataone.client.rest.RestClient] 20170425-05:58:29: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:29: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:29: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:29: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:29: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:29: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225829296 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:29: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225829296 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225829296</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:29.576+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:29.576+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnDemo11</originMemberNode> <authoritativeMemberNode>urn:node:mnDemo11</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:30: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225829296; FilePart:object = /tmp/mmp.output.5586468826341135021.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2412387018659458574.tmp (1098 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:30: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225829296 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:30: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:30: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225829296 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:30: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225829296 [org.dataone.client.rest.RestClient] 20170425-05:58:31: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225829296; FilePart:sysmeta = /tmp/mmp.output.6236343567316484923.tmp (1125 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:31: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:31: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:31: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_201711422583132 [org.dataone.client.rest.RestClient] 20170425-05:58:31: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:31: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:31: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225831204 [org.dataone.client.rest.RestClient] 20170425-05:58:31: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:31: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:31: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:31: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:31: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:31: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225831204 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:31: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225831204 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225831204</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:31.413+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:31.413+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestNEON</originMemberNode> <authoritativeMemberNode>urn:node:mnTestNEON</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:31: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225831204; FilePart:object = /tmp/mmp.output.515761095462418823.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8449644291893151203.tmp (1102 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:31: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] org.dataone.integration.TestIterationEndingException: unexpected client-side exception encountered when trying to create test object : Unable to create test object!/Session is required to WRITE to the Node. at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1080) at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:994) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(UpdateSystemMetadataTestImplementations.java:487) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(UpdateSystemMetadataTestImplementations.java:474) at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(MNStorageV2IT.java:265) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.rules.Verifier$1.evaluate(Verifier.java:34) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at com.sun.proxy.$Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383) at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1077) ... 35 more Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node. at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628) at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82) at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463) at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495) at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600) ... 38 more 20170425-05:58:31: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:31: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:32: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225831642 [org.dataone.client.rest.RestClient] 20170425-05:58:32: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:32: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:32: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:32: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:32: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:32: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225831642 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:32: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225831642 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225831642</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:32.377+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:32.377+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestARCTIC</originMemberNode> <authoritativeMemberNode>urn:node:mnTestARCTIC</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:34: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225831642; FilePart:object = /tmp/mmp.output.1038582564264562672.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7896417580906578258.tmp (1106 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:34: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225831642 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:34: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:34: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225831642 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:35: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225831642 [org.dataone.client.rest.RestClient] 20170425-05:58:35: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225831642; FilePart:sysmeta = /tmp/mmp.output.2680864718032720401.tmp (1133 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:35: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:35: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:36: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225835978 [org.dataone.client.rest.RestClient] 20170425-05:58:36: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:36: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:36: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:36: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:36: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:36: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225835978 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:36: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225835978 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225835978</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:36.223+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:36.223+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestCLOEBIRD</originMemberNode> <authoritativeMemberNode>urn:node:mnTestCLOEBIRD</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:36: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225835978; FilePart:object = /tmp/mmp.output.7757200176807618434.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4649039594027446325.tmp (1110 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:36: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] org.dataone.integration.TestIterationEndingException: unexpected client-side exception encountered when trying to create test object : Unable to create test object!/Session is required to WRITE to the Node. at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1080) at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:994) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(UpdateSystemMetadataTestImplementations.java:487) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(UpdateSystemMetadataTestImplementations.java:474) at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(MNStorageV2IT.java:265) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.rules.Verifier$1.evaluate(Verifier.java:34) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at com.sun.proxy.$Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383) at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1077) ... 35 more Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node. at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628) at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82) at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463) at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495) at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600) ... 38 more 20170425-05:58:36: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:36: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:36: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225836544 [org.dataone.client.rest.RestClient] 20170425-05:58:36: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:36: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:36: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225836702 [org.dataone.client.rest.RestClient] 20170425-05:58:36: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:36: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:36: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedDateUploaded_2017114225836847 [org.dataone.client.rest.RestClient] 20170425-05:58:36: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:36: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:36: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:36: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone] nodeId key value ============================================================================================================= 20170425-05:58:36: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:36: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58: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] 20170425-05:58:37: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:37: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:37: [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] 20170425-05:58:37: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:37: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:37: [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] 20170425-05:58:37: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:37: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:37: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:37: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:37: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:38: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:38: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:38: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:38: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:38: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:38: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:38: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:38: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:38: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:38: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:38: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:38: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:38: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:38: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:38: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:38: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:38: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:38: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:39: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:39: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:39: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:39: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:39: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201711422583954 [org.dataone.client.rest.RestClient] 20170425-05:58:39: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:39: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:39: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:39: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:39: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:39: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201711422583954 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:39: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201711422583954 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201711422583954</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:39.501+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:39.501+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnStageUCSB2</originMemberNode> <authoritativeMemberNode>urn:node:mnStageUCSB2</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:41: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201711422583954; FilePart:object = /tmp/mmp.output.7733627964510979813.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6999625354987551826.tmp (1101 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:41: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201711422583954 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:41: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:41: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201711422583954 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:41: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201711422583954 [org.dataone.client.rest.RestClient] 20170425-05:58:41: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_201711422583954; FilePart:sysmeta = /tmp/mmp.output.2260906806315956511.tmp (1116 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:41: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:41: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:41: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225841714 [org.dataone.client.rest.RestClient] 20170425-05:58:41: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:41: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:41: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:41: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:41: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:41: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225841714 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:41: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225841714 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225841714</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:41.974+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:41.974+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnDemo11</originMemberNode> <authoritativeMemberNode>urn:node:mnDemo11</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:42: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225841714; FilePart:object = /tmp/mmp.output.1051471820925601975.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3262420979557036536.tmp (1094 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:42: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225841714 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:42: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:42: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225841714 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:43: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225841714 [org.dataone.client.rest.RestClient] 20170425-05:58:43: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225841714; FilePart:sysmeta = /tmp/mmp.output.3562675714888880175.tmp (1113 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:43: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:43: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225843281 [org.dataone.client.rest.RestClient] 20170425-05:58:44: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:44: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:44: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225844444 [org.dataone.client.rest.RestClient] 20170425-05:58:44: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:44: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:44: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:44: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:44: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:44: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225844444 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:44: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225844444 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225844444</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:44.645+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:44.645+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestNEON</originMemberNode> <authoritativeMemberNode>urn:node:mnTestNEON</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:44: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225844444; FilePart:object = /tmp/mmp.output.277062021483576305.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4269192457602911306.tmp (1098 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:44: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] org.dataone.integration.TestIterationEndingException: unexpected client-side exception encountered when trying to create test object : Unable to create test object!/Session is required to WRITE to the Node. at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1080) at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:994) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(UpdateSystemMetadataTestImplementations.java:530) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(UpdateSystemMetadataTestImplementations.java:517) at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(MNStorageV2IT.java:271) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.rules.Verifier$1.evaluate(Verifier.java:34) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at com.sun.proxy.$Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383) at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1077) ... 35 more Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node. at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628) at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82) at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463) at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495) at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600) ... 38 more 20170425-05:58:44: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:44: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:45: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225844929 [org.dataone.client.rest.RestClient] 20170425-05:58:45: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:45: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:45: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:45: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:45: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:45: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225844929 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:45: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225844929 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225844929</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:45.663+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:45.663+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestARCTIC</originMemberNode> <authoritativeMemberNode>urn:node:mnTestARCTIC</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:47: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225844929; FilePart:object = /tmp/mmp.output.3707122247771037428.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.41875892798794018.tmp (1102 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:47: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225844929 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:47: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:47: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225844929 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225844929 [org.dataone.client.rest.RestClient] 20170425-05:58:48: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225844929; FilePart:sysmeta = /tmp/mmp.output.1543067159172029400.tmp (1117 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:48: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:48: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225848815 [org.dataone.client.rest.RestClient] 20170425-05:58:49: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:49: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:49: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:49: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:49: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:49: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225848815 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:49: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225848815 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225848815</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:49.028+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:49.028+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestCLOEBIRD</originMemberNode> <authoritativeMemberNode>urn:node:mnTestCLOEBIRD</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:49: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225848815; FilePart:object = /tmp/mmp.output.2371673309771360478.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3851877980968918062.tmp (1106 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:49: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] org.dataone.integration.TestIterationEndingException: unexpected client-side exception encountered when trying to create test object : Unable to create test object!/Session is required to WRITE to the Node. at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1080) at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:994) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(UpdateSystemMetadataTestImplementations.java:530) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(UpdateSystemMetadataTestImplementations.java:517) at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(MNStorageV2IT.java:271) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.rules.Verifier$1.evaluate(Verifier.java:34) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at com.sun.proxy.$Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383) at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1077) ... 35 more Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node. at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628) at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82) at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463) at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495) at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600) ... 38 more 20170425-05:58:49: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:49: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225849343 [org.dataone.client.rest.RestClient] 20170425-05:58:49: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:49: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225849501 [org.dataone.client.rest.RestClient] 20170425-05:58:49: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:49: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedOriginMN_2017114225849647 [org.dataone.client.rest.RestClient] 20170425-05:58:49: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:49: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:49: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:49: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone] nodeId key value ============================================================================================================= 20170425-05:58:49: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:49: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:50: [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] 20170425-05:58:50: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:50: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:50: [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] 20170425-05:58:50: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:50: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:50: [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] 20170425-05:58:50: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:50: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:50: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:50: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:51: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:51: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:51: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:52: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:52: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:52: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:52: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:52: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:52: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:58:52: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:52: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:52: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225852461 [org.dataone.client.rest.RestClient] 20170425-05:58:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:52: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:52: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:52: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:52: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:52: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225852461 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:52: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225852461 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225852461</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:52.901+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:52.901+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnStageUCSB2</originMemberNode> <authoritativeMemberNode>urn:node:mnStageUCSB2</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:54: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225852461; FilePart:object = /tmp/mmp.output.4627213301279084507.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8394465062487205930.tmp (1097 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:54: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225852461 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:54: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:54: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225852461 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225852461 [org.dataone.client.rest.RestClient] 20170425-05:58:54: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225852461; FilePart:sysmeta = /tmp/mmp.output.4540884306519144525.tmp (1061 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:54: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:54: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225854709 [org.dataone.client.rest.RestClient] 20170425-05:58:54: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:54: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:54: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:54: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:54: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:54: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225854709 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:54: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225854709 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225854709</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:54.972+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:54.972+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnDemo11</originMemberNode> <authoritativeMemberNode>urn:node:mnDemo11</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:55: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225854709; FilePart:object = /tmp/mmp.output.5146521166790422869.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1050913776220705100.tmp (1089 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:55: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225854709 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:55: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:55: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225854709 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225854709 [org.dataone.client.rest.RestClient] 20170425-05:58:56: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225854709; FilePart:sysmeta = /tmp/mmp.output.384525296367913721.tmp (1057 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:56: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:56: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225856288 [org.dataone.client.rest.RestClient] 20170425-05:58:56: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:56: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:56: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225856452 [org.dataone.client.rest.RestClient] 20170425-05:58:56: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:56: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:56: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:56: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:56: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:56: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225856452 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:56: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225856452 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225856452</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:56.828+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:56.828+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestNEON</originMemberNode> <authoritativeMemberNode>urn:node:mnTestNEON</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:57: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN2017114225856452; FilePart:object = /tmp/mmp.output.1668888759628946550.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6122194660523412833.tmp (1093 bytes); [org.dataone.client.rest.RestClient] 20170425-05:58:57: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] org.dataone.integration.TestIterationEndingException: unexpected client-side exception encountered when trying to create test object : Unable to create test object!/Session is required to WRITE to the Node. at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1080) at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:994) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_NullOriginMN(UpdateSystemMetadataTestImplementations.java:573) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_NullOriginMN(UpdateSystemMetadataTestImplementations.java:560) at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_NullOriginMN(MNStorageV2IT.java:277) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.rules.Verifier$1.evaluate(Verifier.java:34) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at com.sun.proxy.$Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383) at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1077) ... 35 more Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node. at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628) at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82) at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463) at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495) at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600) ... 38 more 20170425-05:58:57: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:57: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:58: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711422585744 [org.dataone.client.rest.RestClient] 20170425-05:58:58: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:58: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:58: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:58: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:58:58: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:58: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711422585744 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:58:58: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711422585744 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711422585744</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:58:58.382+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:58:58.382+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestARCTIC</originMemberNode> <authoritativeMemberNode>urn:node:mnTestARCTIC</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:00: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711422585744; FilePart:object = /tmp/mmp.output.8595774134326490981.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4761324547991546086.tmp (1096 bytes); [org.dataone.client.rest.RestClient] 20170425-05:59:00: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711422585744 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:00: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:59:00: [INFO]: ====>>>>> pid of procured test Object: testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711422585744 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:01: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711422585744 [org.dataone.client.rest.RestClient] 20170425-05:59:02: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711422585744; FilePart:sysmeta = /tmp/mmp.output.3422503693201668184.tmp (1060 bytes); [org.dataone.client.rest.RestClient] 20170425-05:59:02: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:02: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:02: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711422592109 [org.dataone.client.rest.RestClient] 20170425-05:59:02: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:02: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:02: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:02: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:59:02: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:02: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711422592109 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:02: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711422592109 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711422592109</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:59:02.465+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:59:02.465+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestCLOEBIRD</originMemberNode> <authoritativeMemberNode>urn:node:mnTestCLOEBIRD</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:02: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711422592109; FilePart:object = /tmp/mmp.output.872918422193978732.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2649254613095049605.tmp (1100 bytes); [org.dataone.client.rest.RestClient] 20170425-05:59:02: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] org.dataone.integration.TestIterationEndingException: unexpected client-side exception encountered when trying to create test object : Unable to create test object!/Session is required to WRITE to the Node. at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1080) at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:994) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_NullOriginMN(UpdateSystemMetadataTestImplementations.java:573) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_NullOriginMN(UpdateSystemMetadataTestImplementations.java:560) at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_NullOriginMN(MNStorageV2IT.java:277) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.rules.Verifier$1.evaluate(Verifier.java:34) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at com.sun.proxy.$Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383) at org.dataone.integration.ContextAwareTestCaseDataone.procureTestObject(ContextAwareTestCaseDataone.java:1077) ... 35 more Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node. at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628) at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82) at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463) at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495) at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600) ... 38 more 20170425-05:59:02: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:02: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711422592777 [org.dataone.client.rest.RestClient] 20170425-05:59:03: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:03: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN20171142259380 [org.dataone.client.rest.RestClient] 20170425-05:59:03: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:03: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_NullOriginMN(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_NullOriginMN201711422593375 [org.dataone.client.rest.RestClient] 20170425-05:59:03: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:03: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:03: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:03: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone] nodeId key value ============================================================================================================= 20170425-05:59:03: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:03: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:03: [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] 20170425-05:59:03: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:03: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:03: [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] 20170425-05:59:03: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:03: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:03: [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] 20170425-05:59:03: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:03: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:03: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:59:03: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:03: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:04: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:59:04: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:04: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:59:05: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:05: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:59:05: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:05: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:59:05: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:05: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:59:05: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:05: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:59:05: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:05: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:05: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient] 20170425-05:59:05: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:05: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:05: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:05: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:05: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:05: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:59:05: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:05: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711422595948 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:05: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711422595948 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711422595948</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:59:05.961+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:59:05.961+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnStageUCSB2</originMemberNode> <authoritativeMemberNode>urn:node:mnStageUCSB2</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:07: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711422595948; FilePart:object = /tmp/mmp.output.7912996628034339852.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7269669176542761556.tmp (1101 bytes); [org.dataone.client.rest.RestClient] 20170425-05:59:07: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711422595948 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:07: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:59:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711422595948 [org.dataone.client.rest.RestClient] 20170425-05:59:08: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711422595948; FilePart:sysmeta = /tmp/mmp.output.8943318486448914940.tmp (1182 bytes); [org.dataone.client.rest.RestClient] 20170425-05:59:08: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711422595948; FilePart:sysmeta = /tmp/mmp.output.6332351842675174048.tmp (1182 bytes); [org.dataone.client.rest.RestClient] 20170425-05:59:08: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:08: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:08: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:08: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:08: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:59:08: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:08: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711422598627 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:08: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711422598627 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711422598627</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:59:08.675+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:59:08.675+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnDemo11</originMemberNode> <authoritativeMemberNode>urn:node:mnDemo11</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:09: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711422598627; FilePart:object = /tmp/mmp.output.7905020528702084416.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2603913635267180649.tmp (1093 bytes); [org.dataone.client.rest.RestClient] 20170425-05:59:09: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711422598627 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:09: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:59:10: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711422598627 [org.dataone.client.rest.RestClient] 20170425-05:59:10: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711422598627; FilePart:sysmeta = /tmp/mmp.output.4207758684427336854.tmp (1174 bytes); [org.dataone.client.rest.RestClient] 20170425-05:59:10: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_201711422598627; FilePart:sysmeta = /tmp/mmp.output.7200700534105793112.tmp (1175 bytes); [org.dataone.client.rest.RestClient] 20170425-05:59:10: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:10: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(...) vs. node: https://gmn-s.lternet.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:10: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:10: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:10: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:59:10: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:10: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225910683 on https://gmn-s.lternet.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:10: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225910683 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225910683</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:59:10.695+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:59:10.695+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestLTER</originMemberNode> <authoritativeMemberNode>urn:node:mnTestLTER</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:10: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225910683; FilePart:object = /tmp/mmp.output.5603940079203006677.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5314556878409566314.tmp (1098 bytes); [org.dataone.client.rest.RestClient] 20170425-05:59: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: <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="robots" content="NONE,NOARCHIVE"> <title>InvalidToken at /v2/object</title> <style type="text/css"> html * { padding:0; margin:0; } body * { padding:10px 20px; } body * * { padding:0; } body { font:small sans-serif; } body>div { border-bottom:1px solid #ddd; } h1 { font-weight:normal; } h2 { margin-bottom:.8em; } h2 span { font-size:80%; color:#666; font-weight:normal; } h3 { margin:1em 0 .5em 0; } h4 { margin:0 0 .5em 0; font-weight: normal; } code, pre { font-size: 100%; white-space: pre-wrap; } table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; } tbody td, tbody th { vertical-align:top; padding:2px 3px; } thead th { padding:1px 6px 1px 3px; background:#fefefe; text-align:left; font-weight:normal; font-size:11px; border:1px solid #ddd; } tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; } table.vars { margin:5px 0 2px 40px; } table.vars td, table.req td { font-family:monospace; } table td.code { width:100%; } table td.code pre { overflow:hidden; } table.source th { color:#666; } table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; } ul.traceback { list-style-type:none; color: #222; } ul.traceback li.frame { padding-bottom:1em; color:#666; } ul.traceback li.user { background-color:#e0e0e0; color:#000 } div.context { padding:10px 0; overflow:hidden; } div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; } div.context ol li { font-family:monospace; white-space:pre; color:#777; cursor:pointer; padding-left: 2px; } div.context ol li pre { display:inline; } div.context ol.context-line li { color:#505050; background-color:#dfdfdf; padding: 3px 2px; } div.context ol.context-line li span { position:absolute; right:32px; } .user div.context ol.context-line li { background-color:#bbb; color:#000; } .user div.context ol li { color:#666; } div.commands { margin-left: 40px; } div.commands a { color:#555; text-decoration:none; } .user div.commands a { color: black; } #summary { background: #ffc; } #summary h2 { font-weight: normal; color: #666; } #explanation { background:#eee; } #template, #template-not-exist { background:#f6f6f6; } #template-not-exist ul { margin: 0 0 10px 20px; } #template-not-exist .postmortem-section { margin-bottom: 3px; } #unicode-hint { background:#eee; } #traceback { background:#eee; } #requestinfo { background:#f6f6f6; padding-left:120px; } #summary table { border:none; background:transparent; } #requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; } #requestinfo h3 { margin-bottom:-1em; } .error { background: #ffc; } .specific { color:#cc3300; font-weight:bold; } h2 span.commands { font-size:.7em;} span.commands a:link {color:#5E5694;} pre.exception_value { font-family: sans-serif; color: #666; font-size: 1.5em; margin: 10px 0 10px 0; } .append-bottom { margin-bottom: 10px; } </style> <script type="text/javascript"> //<!-- function getElementsByClassName(oElm, strTagName, strClassName){ // Written by Jonathan Snook, http://www.snook.ca/jon; Add-ons by Robert Nyman, http://www.robertnyman.com var arrElements = (strTagName == "*" && document.all)? document.all : oElm.getElementsByTagName(strTagName); var arrReturnElements = new Array(); strClassName = strClassName.replace(/\-/g, "\-"); var oRegExp = new RegExp("(^|\s)" + strClassName + "(\s|$)"); var oElement; for(var i=0; i<arrElements.length; i++){ oElement = arrElements[i]; if(oRegExp.test(oElement.className)){ arrReturnElements.push(oElement); } } return (arrReturnElements) } function hideAll(elems) { for (var e = 0; e < elems.length; e++) { elems[e].style.display = 'none'; } } window.onload = function() { hideAll(getElementsByClassName(document, 'table', 'vars')); hideAll(getElementsByClassName(document, 'ol', 'pre-context')); hideAll(getElementsByClassName(document, 'ol', 'post-context')); hideAll(getElementsByClassName(document, 'div', 'pastebin')); } function toggle() { for (var i = 0; i < arguments.length; i++) { var e = document.getElementById(arguments[i]); if (e) { e.style.display = e.style.display == 'none' ? 'block': 'none'; } } return false; } function varToggle(link, id) { toggle('v' + id); var s = link.getElementsByTagName('span')[0]; var uarr = String.fromCharCode(0x25b6); var darr = String.fromCharCode(0x25bc); s.textContent = s.textContent == uarr ? darr : uarr; return false; } function switchPastebinFriendly(link) { s1 = "Switch to copy-and-paste view"; s2 = "Switch back to interactive view"; link.textContent = link.textContent.trim() == s1 ? s2: s1; toggle('browserTraceback', 'pastebinTraceback'); return false; } //--> </script> </head> <body> <div id="summary"> <h1>InvalidToken at /v2/object</h1> <pre class="exception_value">name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error=&quot;name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info=&quot;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;d1:subjectInfo xmlns:d1=&quot;http://ns.dataone.org/service/types/v1&quot;&gt;.&lt;person&gt;..&lt;subject&gt;CN=testRightsHolder,DC=dataone,DC=org&lt;/subject&gt;..&lt;givenName&gt;testRightsHolder_givenName&lt;/givenName&gt;..&lt;familyName&gt;testRightsHolder_familyName&lt;/familyName&gt;.&lt;/person&gt;&lt;/d1:subjectInfo&gt;&quot;, error=&quot;Invalid non-element content at &lt;unknown&gt;[1:113]&quot; &quot; </pre> <table class="meta"> <tr> <th>Request Method:</th> <td>POST</td> </tr> <tr> <th>Request URL:</th> <td>https://gmn-s.lternet.edu/mn/v2/object</td> </tr> <tr> <th>Django Version:</th> <td>1.10.1</td> </tr> <tr> <th>Exception Type:</th> <td>InvalidToken</td> </tr> <tr> <th>Exception Value:</th> <td><pre>name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error=&quot;name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info=&quot;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;d1:subjectInfo xmlns:d1=&quot;http://ns.dataone.org/service/types/v1&quot;&gt;.&lt;person&gt;..&lt;subject&gt;CN=testRightsHolder,DC=dataone,DC=org&lt;/subject&gt;..&lt;givenName&gt;testRightsHolder_givenName&lt;/givenName&gt;..&lt;familyName&gt;testRightsHolder_familyName&lt;/familyName&gt;.&lt;/person&gt;&lt;/d1:subjectInfo&gt;&quot;, error=&quot;Invalid non-element content at &lt;unknown&gt;[1:113]&quot; &quot; </pre></td> </tr> <tr> <th>Exception Location:</th> <td>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py in get_subjects, line 65</td> </tr> <tr> <th>Python Executable:</th> <td>/usr/bin/python</td> </tr> <tr> <th>Python Version:</th> <td>2.7.6</td> </tr> <tr> <th>Python Path:</th> <td><pre>[&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages&#39;, &#39;/var/local/dataone/gmn/lib/python2.7&#39;, &#39;/var/local/dataone/gmn/lib/python2.7/plat-x86_64-linux-gnu&#39;, &#39;/var/local/dataone/gmn/lib/python2.7/lib-tk&#39;, &#39;/var/local/dataone/gmn/lib/python2.7/lib-old&#39;, &#39;/var/local/dataone/gmn/lib/python2.7/lib-dynload&#39;, &#39;/usr/lib/python2.7&#39;, &#39;/usr/lib/python2.7/plat-x86_64-linux-gnu&#39;, &#39;/usr/lib/python2.7/lib-tk&#39;, &#39;/var/local/dataone/gmn/local/lib/python2.7/site-packages&#39;, &#39;/var/local/dataone/gmn/lib/python2.7/site-packages&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/.&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/..&#39;]</pre></td> </tr> <tr> <th>Server time:</th> <td>Tue, 25 Apr 2017 05:47:49 +0000</td> </tr> </table> </div> <div id="traceback"> <h2>Traceback <span class="commands"><a href="#" onclick="return switchPastebinFriendly(this);"> Switch to copy-and-paste view</a></span> </h2> <div id="browserTraceback"> <ul class="traceback"> <li class="frame django"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py</code> in <code>inner</code> <div class="context" id="c139739909559864"> <ol start="32" class="pre-context" id="pre139739909559864"> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> This decorator is automatically applied to all middleware to ensure that</pre></li> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> no middleware leaks an exception and that the next middleware in the stack</pre></li> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> can rely on getting a response instead of an exception.</pre></li> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> &quot;&quot;&quot;</pre></li> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> @wraps(get_response, assigned=available_attrs(get_response))</pre></li> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> def inner(request):</pre></li> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> try:</pre></li> </ol> <ol start="39" class="context-line"> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> response = get_response(request)</pre> <span>...</span></li></ol> <ol start='40' class="post-context" id="post139739909559864"> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> except Exception as exc:</pre></li> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> response = response_for_exception(request, exc)</pre></li> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> return response</pre></li> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> return inner</pre></li> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre></pre></li> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre></pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739909559864')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739909559864"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>exc</td> <td class="code"><pre>InvalidToken()</pre></td> </tr> <tr> <td>get_response</td> <td class="code"><pre>&lt;bound method D1WSGIHandler._legacy_get_response of &lt;_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7f17caf0d790&gt;&gt;</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame django"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py</code> in <code>_legacy_get_response</code> <div class="context" id="c139739909562024"> <ol start="242" class="pre-context" id="pre139739909562024"> <li onclick="toggle('pre139739909562024', 'post139739909562024')"><pre> # Apply request middleware</pre></li> <li onclick="toggle('pre139739909562024', 'post139739909562024')"><pre> for middleware_method in self._request_middleware:</pre></li> <li onclick="toggle('pre139739909562024', 'post139739909562024')"><pre> response = middleware_method(request)</pre></li> <li onclick="toggle('pre139739909562024', 'post139739909562024')"><pre> if response:</pre></li> <li onclick="toggle('pre139739909562024', 'post139739909562024')"><pre> break</pre></li> <li onclick="toggle('pre139739909562024', 'post139739909562024')"><pre></pre></li> <li onclick="toggle('pre139739909562024', 'post139739909562024')"><pre> if response is None:</pre></li> </ol> <ol start="249" class="context-line"> <li onclick="toggle('pre139739909562024', 'post139739909562024')"><pre> response = self._get_response(request)</pre> <span>...</span></li></ol> <ol start='250' class="post-context" id="post139739909562024"> <li onclick="toggle('pre139739909562024', 'post139739909562024')"><pre> return response</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739909562024')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739909562024"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>middleware_method</td> <td class="code"><pre>&lt;bound method RequestHandler.process_request of &lt;app.middleware.request_handler.RequestHandler object at 0x7f17c2c08590&gt;&gt;</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>response</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7f17caf0d790&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame django"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py</code> in <code>_get_response</code> <div class="context" id="c139739986673888"> <ol start="171" class="pre-context" id="pre139739986673888"> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre></pre></li> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre> resolver_match = resolver.resolve(request.path_info)</pre></li> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre> callback, callback_args, callback_kwargs = resolver_match</pre></li> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre> request.resolver_match = resolver_match</pre></li> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre></pre></li> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre> # Apply view middleware</pre></li> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre> for middleware_method in self._view_middleware:</pre></li> </ol> <ol start="178" class="context-line"> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre> response = middleware_method(request, callback, callback_args, callback_kwargs)</pre> <span>...</span></li></ol> <ol start='179' class="post-context" id="post139739986673888"> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre> if response:</pre></li> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre> break</pre></li> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre></pre></li> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre> if response is None:</pre></li> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre> wrapped_callback = self.make_view_atomic(callback)</pre></li> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre> try:</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739986673888')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739986673888"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>callback</td> <td class="code"><pre>&lt;function dispatch_object_list at 0x7f17c11bd758&gt;</pre></td> </tr> <tr> <td>callback_args</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>callback_kwargs</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>middleware_method</td> <td class="code"><pre>&lt;bound method ViewHandler.process_view of &lt;app.middleware.view_handler.ViewHandler object at 0x7f17c183db50&gt;&gt;</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>resolver</td> <td class="code"><pre>&lt;RegexURLResolver &#39;app.urls&#39; (None:None) ^/&gt;</pre></td> </tr> <tr> <td>resolver_match</td> <td class="code"><pre>ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[])</pre></td> </tr> <tr> <td>response</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7f17caf0d790&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py</code> in <code>process_view</code> <div class="context" id="c139739890996936"> <ol start="39" class="pre-context" id="pre139739890996936"> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> logging.info(</pre></li> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> u&#39;View: func_name=&quot;{}&quot;, method=&quot;{}&quot;, args=&quot;{}&quot;, kwargs=&quot;{}&quot;, url=&quot;{}&quot;&#39;</pre></li> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> .format(view_func.func_name, request.method, view_args, view_kwargs,</pre></li> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> request.path_info</pre></li> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> )</pre></li> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> )</pre></li> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> # logging.debug(request.headers)</pre></li> </ol> <ol start="46" class="context-line"> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> self.process_session(request)</pre> <span>...</span></li></ol> <ol start='47' class="post-context" id="post139739890996936"> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre></pre></li> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> def process_session(self, request):</pre></li> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> # For simulating an HTTPS connection with client authentication when</pre></li> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> # debugging via regular HTTP, two mechanisms are supported. (1) A full</pre></li> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> # client side certificate can be included and (2) a list of subjects can be</pre></li> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> # included. Both use vendor specific extensions (HTTP headers that start</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739890996936')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739890996936"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;app.middleware.view_handler.ViewHandler object at 0x7f17c183db50&gt;</pre></td> </tr> <tr> <td>view_args</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>view_func</td> <td class="code"><pre>&lt;function dispatch_object_list at 0x7f17c11bd758&gt;</pre></td> </tr> <tr> <td>view_kwargs</td> <td class="code"><pre>{}</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py</code> in <code>process_session</code> <div class="context" id="c139739890998016"> <ol start="60" class="pre-context" id="pre139739890998016"> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> if &#39;HTTP_VENDOR_INCLUDE_CERTIFICATE&#39; in request.META:</pre></li> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> request.META[&#39;SSL_CLIENT_CERT&#39;] = \</pre></li> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> self.pem_in_http_header_to_pem_in_string(</pre></li> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> request.META[&#39;HTTP_VENDOR_INCLUDE_CERTIFICATE&#39;])</pre></li> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre></pre></li> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> # Add subjects from any provided certificate and JWT and store them in</pre></li> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> # the Django request obj.</pre></li> </ol> <ol start="67" class="context-line"> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request)</pre> <span>...</span></li></ol> <ol start='68' class="post-context" id="post139739890998016"> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> jwt_subject_list = session_jwt.validate_jwt_and_get_subject_list(request)</pre></li> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> primary_subject_str = cert_primary_str</pre></li> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> all_subjects_set = cert_equivalent_set | {cert_primary_str} | set(jwt_subject_list)</pre></li> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> if len(jwt_subject_list) == 1:</pre></li> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> jwt_primary_str = jwt_subject_list[0]</pre></li> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> if jwt_primary_str != cert_primary_str:</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739890998016')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739890998016"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;app.middleware.view_handler.ViewHandler object at 0x7f17c183db50&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py</code> in <code>get_subjects</code> <div class="context" id="c139739909559936"> <ol start="58" class="pre-context" id="pre139739909559936"> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre> &quot;&quot;&quot;</pre></li> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre> if _is_certificate_provided(request):</pre></li> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre> try:</pre></li> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre> return get_authenticated_subjects(request.META[&#39;SSL_CLIENT_CERT&#39;])</pre></li> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre> except Exception as e:</pre></li> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre> raise d1_common.types.exceptions.InvalidToken(</pre></li> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre> 0,</pre></li> </ol> <ol start="65" class="context-line"> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre> u&#39;Error extracting session from certificate. error=&quot;{}&quot;&#39;.format(str(e))</pre> <span>...</span></li></ol> <ol start='66' class="post-context" id="post139739909559936"> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre> )</pre></li> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre> else:</pre></li> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre> return d1_common.const.SUBJECT_PUBLIC, set()</pre></li> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre></pre></li> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre></pre></li> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre>def get_authenticated_subjects(cert_pem):</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739909559936')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739909559936"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>e</td> <td class="code"><pre>InvalidToken()</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> </tbody> </table> </li> </ul> </div> <form action="http://dpaste.com/" name="pasteform" id="pasteform" method="post"> <div id="pastebinTraceback" class="pastebin"> <input type="hidden" name="language" value="PythonConsole"> <input type="hidden" name="title" value="InvalidToken at /v2/object"> <input type="hidden" name="source" value="Django Dpaste Agent"> <input type="hidden" name="poster" value="Django"> <textarea name="content" id="traceback_area" cols="140" rows="25"> 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: [&#39;django.contrib.staticfiles&#39;, &#39;app&#39;] Installed Middleware: (&#39;app.middleware.request_handler.RequestHandler&#39;, &#39;app.middleware.exception_handler.ExceptionHandler&#39;, &#39;app.middleware.response_handler.ResponseHandler&#39;, &#39;app.middleware.profiling_handler.ProfilingHandler&#39;, &#39;app.middleware.view_handler.ViewHandler&#39;, &#39;app.middleware.startup_handler.StartupHandler&#39;) 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&#39;Error extracting session from certificate. error=&quot;{}&quot;&#39;.format(str(e)) Exception Type: InvalidToken at /v2/object Exception Value: name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error=&quot;name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info=&quot;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;d1:subjectInfo xmlns:d1=&quot;http://ns.dataone.org/service/types/v1&quot;&gt;.&lt;person&gt;..&lt;subject&gt;CN=testRightsHolder,DC=dataone,DC=org&lt;/subject&gt;..&lt;givenName&gt;testRightsHolder_givenName&lt;/givenName&gt;..&lt;familyName&gt;testRightsHolder_familyName&lt;/familyName&gt;.&lt;/person&gt;&lt;/d1:subjectInfo&gt;&quot;, error=&quot;Invalid non-element content at &lt;unknown&gt;[1:113]&quot; &quot; </textarea> <br><br> <input type="submit" value="Share this traceback on a public website"> </div> </form> </div> <div id="requestinfo"> <h2>Request information</h2> <h3 id="get-info">GET</h3> <p>No GET data</p> <h3 id="post-info">POST</h3> <table class="req"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>pid</td> <td class="code"><pre>u&#39;testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225910683&#39;</pre></td> </tr> </tbody> </table> <h3 id="files-info">FILES</h3> <table class="req"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>sysmeta</td> <td class="code"><pre>&lt;InMemoryUploadedFile: mmp.output.5314556878409566314.tmp (application/octet-stream)&gt;</pre></td> </tr> <tr> <td>object</td> <td class="code"><pre>&lt;InMemoryUploadedFile: mmp.output.5603940079203006677.tmp (application/octet-stream)&gt;</pre></td> </tr> </tbody> </table> <h3 id="cookie-info">COOKIES</h3> <p>No cookie data</p> <h3 id="meta-info">META</h3> <table class="req"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>CONTENT_LENGTH</td> <td class="code"><pre>&#39;18959&#39;</pre></td> </tr> <tr> <td>CONTENT_TYPE</td> <td class="code"><pre>&#39;multipart/form-data; boundary=saRiI6vTK2Ll7nAbUt8qArqFiHhhWn&#39;</pre></td> </tr> <tr> <td>CONTEXT_DOCUMENT_ROOT</td> <td class="code"><pre>&#39;/var/www&#39;</pre></td> </tr> <tr> <td>CONTEXT_PREFIX</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>DOCUMENT_ROOT</td> <td class="code"><pre>&#39;/var/www&#39;</pre></td> </tr> <tr> <td>GATEWAY_INTERFACE</td> <td class="code"><pre>&#39;CGI/1.1&#39;</pre></td> </tr> <tr> <td>HTTP_ACCEPT_ENCODING</td> <td class="code"><pre>&#39;gzip,deflate&#39;</pre></td> </tr> <tr> <td>HTTP_CONNECTION</td> <td class="code"><pre>&#39;Keep-Alive&#39;</pre></td> </tr> <tr> <td>HTTP_HOST</td> <td class="code"><pre>&#39;gmn-s.lternet.edu&#39;</pre></td> </tr> <tr> <td>HTTP_USER_AGENT</td> <td class="code"><pre>&#39;Apache-HttpClient/4.3.6 (java 1.5)&#39;</pre></td> </tr> <tr> <td>HTTP_VIA</td> <td class="code"><pre>&#39;1.1 localhost (Apache-HttpClient/4.3.6 (cache))&#39;</pre></td> </tr> <tr> <td>PATH_INFO</td> <td class="code"><pre>u&#39;/v2/object&#39;</pre></td> </tr> <tr> <td>PATH_TRANSLATED</td> <td class="code"><pre>&#39;/var/www/v2/object&#39;</pre></td> </tr> <tr> <td>QUERY_STRING</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>REMOTE_ADDR</td> <td class="code"><pre>&#39;64.106.40.19&#39;</pre></td> </tr> <tr> <td>REMOTE_PORT</td> <td class="code"><pre>&#39;43574&#39;</pre></td> </tr> <tr> <td>REQUEST_METHOD</td> <td class="code"><pre>&#39;POST&#39;</pre></td> </tr> <tr> <td>REQUEST_SCHEME</td> <td class="code"><pre>&#39;https&#39;</pre></td> </tr> <tr> <td>REQUEST_URI</td> <td class="code"><pre>&#39;/mn/v2/object&#39;</pre></td> </tr> <tr> <td>SCRIPT_FILENAME</td> <td class="code"><pre>&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py&#39;</pre></td> </tr> <tr> <td>SCRIPT_NAME</td> <td class="code"><pre>u&#39;/mn&#39;</pre></td> </tr> <tr> <td>SERVER_ADDR</td> <td class="code"><pre>&#39;129.24.124.173&#39;</pre></td> </tr> <tr> <td>SERVER_ADMIN</td> <td class="code"><pre>&#39;webmaster@localhost&#39;</pre></td> </tr> <tr> <td>SERVER_NAME</td> <td class="code"><pre>&#39;gmn-s.lternet.edu&#39;</pre></td> </tr> <tr> <td>SERVER_PORT</td> <td class="code"><pre>&#39;443&#39;</pre></td> </tr> <tr> <td>SERVER_PROTOCOL</td> <td class="code"><pre>&#39;HTTP/1.1&#39;</pre></td> </tr> <tr> <td>SERVER_SIGNATURE</td> <td class="code"><pre>&#39;&lt;address&gt;Apache/2.4.7 (Ubuntu) Server at gmn-s.lternet.edu Port 443&lt;/address&gt;\n&#39;</pre></td> </tr> <tr> <td>SERVER_SOFTWARE</td> <td class="code"><pre>&#39;Apache/2.4.7 (Ubuntu)&#39;</pre></td> </tr> <tr> <td>SSL_CLIENT_CERT</td> <td class="code"><pre>&#39;-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ/zMSGAS2UN3OfmwImsGOJTabIJ1g\nr0Yza+M1dlg4U9w4sw2AKymWRKhwWB5kcbGwqaU799a7+p3whBsy90ymw5wnxaWd\nXrPYU237PE3t3GoDUMm5ksMotcx7zyWD7X6ULTpK0mCUcts/P5Nyz9a5MY8ONyX9\n79iEza7yY8h2WUlPUcAiWC8mNmtWKnkbDMj3J8hftPsHVvQZS/sUV3qZXY+0sTc1\nnfyI3Ki+SVq4pbfXYC67mwCHfEAQkSvDsNHp20R9d53h3DI8iXtkElz1JQKUhYeB\nIRVqcgOsBXCJ3WmabhlOPPr3TQiGGEoT2PnbJ2rzRv9L+UEOgJs10FuBAgMBAAGj\nggLJMIICxTAJBgNVHRMEAjAAMCwGCWCGSAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVy\nYXRlZCBDZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQUXWYvIzSx6xMxPwx6yADxN5TQNXsw\nHwYDVR0jBBgwFoAU7y7BJ2wqigmrbMNFfzv5V9UWqbMwggEBBgNVHR8EgfkwgfYw\nPKA6oDiGNmh0dHA6Ly9yZWxlYXNlcy5kYXRhb25lLm9yZy9jcmwvRGF0YU9ORVRl\nc3RJbnRfQ1JMLnBlbTA9oDugOYY3aHR0cDovL2NuLXVjc2ItMS5kYXRhb25lLm9y\nZy9jcmwvRGF0YU9ORVRlc3RJbnRfQ1JMLnBlbTA5oDegNYYzaHR0cDovL2NuLXVu\nbS0xLmRhdGFvbmUub3JnL2NybC9EYXRhT05FVGVzdF9DUkwucGVtMDygOqA4hjZo\ndHRwOi8vY24tb3JjLTEuZGF0YW9uZS5vcmcvY3JsL0RhdGFPTkVUZXN0SW50X0NS\nTC5wZW0wggFDBgorBgEEAYKRNgIBBIIBMwyCAS88P3htbCB2ZXJzaW9uPSIxLjAi\nIGVuY29kaW5nPSJVVEYtOCI/PjxkMTpzdWJqZWN0SW5mbyB4bWxuczpkMT0iaHR0\ncDovL25zLmRhdGFvbmUub3JnL3NlcnZpY2UvdHlwZXMvdjEiPi48cGVyc29uPi4u\nPHN1YmplY3Q+Q049dGVzdFJpZ2h0c0hvbGRlcixEQz1kYXRhb25lLERDPW9yZzwv\nc3ViamVjdD4uLjxnaXZlbk5hbWU+dGVzdFJpZ2h0c0hvbGRlcl9naXZlbk5hbWU8\nL2dpdmVuTmFtZT4uLjxmYW1pbHlOYW1lPnRlc3RSaWdodHNIb2xkZXJfZmFtaWx5\nTmFtZTwvZmFtaWx5TmFtZT4uPC9wZXJzb24+PC9kMTpzdWJqZWN0SW5mbz4wDQYJ\nKoZIhvcNAQEFBQADggIBALrwobQ7Vjwdn5Kxul6+JNz3RXs+8a+CnBZ011uA3M0g\n2Bkxm8ysKHttBctdyzKJ1BXub/WiKMKg5LgJIXGI34Xo4bl5/clrEl6hCsChs6XY\nmWA2YVPPoO/KvwdkOa1gnvU/+n6oxH/AxPBqG4+Zf/guLXs32LasPHGs5CN0rtRz\nwgDZpU1KCnIdCeV6gcGp+W18X1+OJ5eDxFsg0ZVSZzKCVOuL7Tp1aEnOwVfzQBzo\nHQ3mMPMaEt6mBR3c2U7PHtCSGty+R6IHNBiG6bjNO4aD/ZsZVG4FklfQMaClN5U7\nvaNCOS5UZ8H3HPu08/UeimouDx1E/+Y5mqwH2C6JMH+PGUf/ViSci4LuzPY9WYfx\nus42uW+k4PrJv/KrVqHn4rjniOdMFyBvBEuwYIrcE9vvgI3qMa9idWeDX7gKreeR\nj9OnBbVm19+xuU8mijY9mbMqjCzM/L73CxdVXsK6yQ2HjdBVwvmfsCd92Ikpkfvv\nComGDHE7I9/RO5RckZ95uS2AqaWboPHxGGJhSd8+ZfuVjnLBPkQd9mTcGFmzC+UM\n34b4lxZlQ2aEo6/ZWDcjh6afbSixVs9CJZejor6RB0Dg2LYqApYHcjQEVnzW/hF+\nP5tMTrd4EQj+tsyTFQgdj7NtoDY1EkgD0ohYPA9PF6t3R2w7hHVs5hyb/xY/55CV\n-----END CERTIFICATE-----\n&#39;</pre></td> </tr> <tr> <td>SSL_SERVER_CERT</td> <td class="code"><pre>&#39;-----BEGIN CERTIFICATE-----\nMIIHADCCBeigAwIBAgIQA09MoxiEA3fqnsrSvOHDBDANBgkqhkiG9w0BAQsFADB6\nMQswCQYDVQQGEwJVUzELMAkGA1UECBMCVkExEDAOBgNVBAcTB0hlcm5kb24xITAf\nBgNVBAoTGE5ldHdvcmsgU29sdXRpb25zIEwuTC5DLjEpMCcGA1UEAxMgTmV0d29y\nayBTb2x1dGlvbnMgT1YgU2VydmVyIENBIDIwHhcNMTYxMDA0MDAwMDAwWhcNMTcx\nMDIyMjM1OTU5WjCCARExCzAJBgNVBAYTAlVTMRMwEQYDVQQREwo4NzEzMS0wMDAx\nMQswCQYDVQQIEwJOTTEUMBIGA1UEBxMLQWxidXF1ZXJxdWUxIzAhBgNVBAkTGjEg\nVW5pdmVyc2l0eSBvZiBOZXcgTWV4aWNvMSkwJwYDVQQJEyBEZXBhcnRtZW50IG9m\nIEJpb2xvZ3kgTVNDMDMgMjAyMDEhMB8GA1UEChMYVW5pdmVyc2l0eSBvZiBOZXcg\nTWV4aWNvMRwwGgYDVQQLExNMVEVSIE5ldHdvcmsgT2ZmaWNlMSEwHwYDVQQLExhT\nZWN1cmUgTGluayBTU0wgV2lsZGNhcmQxFjAUBgNVBAMMDSoubHRlcm5ldC5lZHUw\nggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC/hDQ+aqpYpk2X3hCMlhw2\nRWpOQV5vwFIskZ5MlewRrpCGVpqiOGDVVSSCxmNhAkuOmN5COQJfvmQ5COUrMlT8\n8nPzuOnkqiI9L/Mq7fM8r+N6iYBBnXbxVJ54fkVtawl7FAmBvEqniWNFyEp4Et1E\nnVnZZY5J2pmt3ljIQV5LjCwOlxMSuKbF0KReX0dN9k+zxmN8Ei4VSb7c5RRUXTOA\nnECli56ViljC46VFxEESoURzILGNK8kAyhq1OAZzg4pyuhWQNdgT7YQEZASpCahq\nWOdTtYWhQ0zOgkzW4hqPRAgjsDo5hKj2rELVQyV2BFf0gG4mdgq/NvQgFCmzYAkj\n8IqmHbRc/FPLn4P1zIy6PBTc5Lwp+upEga1zUmvUd9bU/0Wmh9aeNngbtFmK/B+X\nZEIE27VxDBYq0LxzsIGoXtCRiFK7SigbOVrldzJKkiuYFCNTd+6ceKOTjy8tuRki\nLrpRZ5QZRi6MNjzvqQI1oGvEcW5kCzW4Wt4OxOZsp9tTDmg4YkJKKza3X/w3DP+y\n76BfFGzAm1NglqsW0WlNLzp7NaqMeCW3lLofDMZmlYOEPx0mn1BrN+XN5CCUGEVx\nho09GiA23X33AZqFQxGhHpT0ua9TfEKJjJSFtH4lRlOa52rnmbz1+RvRQJQ80bJO\nBOEsshMpYk9nTBR/deHr/QIDAQABo4IB5zCCAeMwHwYDVR0jBBgwFoAUIDPNt2H2\npYZP3MnXc2q8ClFlmOwwHQYDVR0OBBYEFJTuLsEk9g68lrwO7Udn+sHQfEqeMA4G\nA1UdDwEB/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&#39;</pre></td> </tr> <tr> <td>SSL_TLS_SNI</td> <td class="code"><pre>&#39;gmn-s.lternet.edu&#39;</pre></td> </tr> <tr> <td>mod_wsgi.application_group</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>mod_wsgi.callable_object</td> <td class="code"><pre>&#39;application&#39;</pre></td> </tr> <tr> <td>mod_wsgi.enable_sendfile</td> <td class="code"><pre>&#39;0&#39;</pre></td> </tr> <tr> <td>mod_wsgi.handler_script</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>mod_wsgi.input_chunked</td> <td class="code"><pre>&#39;0&#39;</pre></td> </tr> <tr> <td>mod_wsgi.listener_host</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>mod_wsgi.listener_port</td> <td class="code"><pre>&#39;443&#39;</pre></td> </tr> <tr> <td>mod_wsgi.process_group</td> <td class="code"><pre>&#39;gmn2&#39;</pre></td> </tr> <tr> <td>mod_wsgi.queue_start</td> <td class="code"><pre>&#39;1493099269390738&#39;</pre></td> </tr> <tr> <td>mod_wsgi.request_handler</td> <td class="code"><pre>&#39;wsgi-script&#39;</pre></td> </tr> <tr> <td>mod_wsgi.script_reloading</td> <td class="code"><pre>&#39;1&#39;</pre></td> </tr> <tr> <td>mod_wsgi.version</td> <td class="code"><pre>(3, 4)</pre></td> </tr> <tr> <td>wsgi.errors</td> <td class="code"><pre>&lt;mod_wsgi.Log object at 0x7f17c08ab330&gt;</pre></td> </tr> <tr> <td>wsgi.file_wrapper</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>wsgi.input</td> <td class="code"><pre>&lt;mod_wsgi.Input object at 0x7f17c0654a70&gt;</pre></td> </tr> <tr> <td>wsgi.multiprocess</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>wsgi.multithread</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>wsgi.run_once</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>wsgi.url_scheme</td> <td class="code"><pre>&#39;https&#39;</pre></td> </tr> <tr> <td>wsgi.version</td> <td class="code"><pre>(1, 0)</pre></td> </tr> </tbody> </table> <h3 id="settings-info">Settings</h3> <h4>Using settings module <code>settings</code></h4> <table class="req"> <thead> <tr> <th>Setting</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>ABSOLUTE_URL_OVERRIDES</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>ADMINS</td> <td class="code"><pre>((&#39;Roger Dahl&#39;, &#39;dahl@unm.edu&#39;), (&#39;Mark Servilla&#39;, &#39;mark.servilla@gmail.com&#39;))</pre></td> </tr> <tr> <td>ALLOWED_HOSTS</td> <td class="code"><pre>[&#39;localhost&#39;, &#39;127.0.0.1&#39;]</pre></td> </tr> <tr> <td>ALLOW_INTEGRATION_TESTS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>APPEND_SLASH</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>AUTHENTICATION_BACKENDS</td> <td class="code"><pre>[u&#39;django.contrib.auth.backends.ModelBackend&#39;]</pre></td> </tr> <tr> <td>AUTH_PASSWORD_VALIDATORS</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>AUTH_USER_MODEL</td> <td class="code"><pre>u&#39;auth.User&#39;</pre></td> </tr> <tr> <td>BASE_DIR</td> <td class="code"><pre>&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages&#39;</pre></td> </tr> <tr> <td>CACHES</td> <td class="code"><pre>{&#39;default&#39;: {&#39;BACKEND&#39;: &#39;django.core.cache.backends.locmem.LocMemCache&#39;, &#39;TIMEOUT&#39;: 3600}}</pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_ALIAS</td> <td class="code"><pre>u&#39;default&#39;</pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_KEY_PREFIX</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_SECONDS</td> <td class="code"><pre>600</pre></td> </tr> <tr> <td>CLIENT_CERT_PATH</td> <td class="code"><pre>&#39;/var/local/dataone/certs/client/client_cert.pem&#39;</pre></td> </tr> <tr> <td>CLIENT_CERT_PRIVATE_KEY_PATH</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>CSRF_COOKIE_AGE</td> <td class="code"><pre>31449600</pre></td> </tr> <tr> <td>CSRF_COOKIE_DOMAIN</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>CSRF_COOKIE_HTTPONLY</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>CSRF_COOKIE_NAME</td> <td class="code"><pre>u&#39;csrftoken&#39;</pre></td> </tr> <tr> <td>CSRF_COOKIE_PATH</td> <td class="code"><pre>u&#39;/&#39;</pre></td> </tr> <tr> <td>CSRF_COOKIE_SECURE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>CSRF_FAILURE_VIEW</td> <td class="code"><pre>u&#39;django.views.csrf.csrf_failure&#39;</pre></td> </tr> <tr> <td>CSRF_HEADER_NAME</td> <td class="code"><pre>u&#39;HTTP_X_CSRFTOKEN&#39;</pre></td> </tr> <tr> <td>CSRF_TRUSTED_ORIGINS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>DATABASES</td> <td class="code"><pre>{&#39;default&#39;: {&#39;ATOMIC_REQUESTS&#39;: True, &#39;AUTOCOMMIT&#39;: True, &#39;CONN_MAX_AGE&#39;: 0, &#39;ENGINE&#39;: &#39;django.db.backends.postgresql_psycopg2&#39;, &#39;HOST&#39;: &#39;&#39;, &#39;NAME&#39;: &#39;gmn2&#39;, &#39;OPTIONS&#39;: {}, &#39;PASSWORD&#39;: u&#39;********************&#39;, &#39;PORT&#39;: &#39;&#39;, &#39;TEST&#39;: {&#39;CHARSET&#39;: None, &#39;COLLATION&#39;: None, &#39;MIRROR&#39;: None, &#39;NAME&#39;: None}, &#39;TIME_ZONE&#39;: None, &#39;USER&#39;: &#39;&#39;}}</pre></td> </tr> <tr> <td>DATABASE_ROUTERS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>DATAONE_ROOT</td> <td class="code"><pre>&#39;https://cn-stage.test.dataone.org/cn&#39;</pre></td> </tr> <tr> <td>DATAONE_TRUSTED_SUBJECTS</td> <td class="code"><pre>set([&#39;gmn_test_subject_trusted&#39;])</pre></td> </tr> <tr> <td>DATA_UPLOAD_MAX_MEMORY_SIZE</td> <td class="code"><pre>2621440</pre></td> </tr> <tr> <td>DATA_UPLOAD_MAX_NUMBER_FIELDS</td> <td class="code"><pre>1000</pre></td> </tr> <tr> <td>DATETIME_FORMAT</td> <td class="code"><pre>u&#39;N j, Y, P&#39;</pre></td> </tr> <tr> <td>DATETIME_INPUT_FORMATS</td> <td class="code"><pre>[u&#39;%Y-%m-%d %H:%M:%S&#39;, u&#39;%Y-%m-%d %H:%M:%S.%f&#39;, u&#39;%Y-%m-%d %H:%M&#39;, u&#39;%Y-%m-%d&#39;, u&#39;%m/%d/%Y %H:%M:%S&#39;, u&#39;%m/%d/%Y %H:%M:%S.%f&#39;, u&#39;%m/%d/%Y %H:%M&#39;, u&#39;%m/%d/%Y&#39;, u&#39;%m/%d/%y %H:%M:%S&#39;, u&#39;%m/%d/%y %H:%M:%S.%f&#39;, u&#39;%m/%d/%y %H:%M&#39;, u&#39;%m/%d/%y&#39;]</pre></td> </tr> <tr> <td>DATE_FORMAT</td> <td class="code"><pre>u&#39;N j, Y&#39;</pre></td> </tr> <tr> <td>DATE_INPUT_FORMATS</td> <td class="code"><pre>[u&#39;%Y-%m-%d&#39;, u&#39;%m/%d/%Y&#39;, u&#39;%m/%d/%y&#39;, u&#39;%b %d %Y&#39;, u&#39;%b %d, %Y&#39;, u&#39;%d %b %Y&#39;, u&#39;%d %b, %Y&#39;, u&#39;%B %d %Y&#39;, u&#39;%B %d, %Y&#39;, u&#39;%d %B %Y&#39;, u&#39;%d %B, %Y&#39;]</pre></td> </tr> <tr> <td>DEBUG</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>DEBUG_GMN</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>DEBUG_PROPAGATE_EXCEPTIONS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>DEBUG_PYCHARM</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>DECIMAL_SEPARATOR</td> <td class="code"><pre>u&#39;.&#39;</pre></td> </tr> <tr> <td>DEFAULT_CHARSET</td> <td class="code"><pre>u&#39;utf-8&#39;</pre></td> </tr> <tr> <td>DEFAULT_CONTENT_TYPE</td> <td class="code"><pre>u&#39;text/html&#39;</pre></td> </tr> <tr> <td>DEFAULT_EXCEPTION_REPORTER_FILTER</td> <td class="code"><pre>u&#39;django.views.debug.SafeExceptionReporterFilter&#39;</pre></td> </tr> <tr> <td>DEFAULT_FILE_STORAGE</td> <td class="code"><pre>u&#39;django.core.files.storage.FileSystemStorage&#39;</pre></td> </tr> <tr> <td>DEFAULT_FROM_EMAIL</td> <td class="code"><pre>u&#39;webmaster@localhost&#39;</pre></td> </tr> <tr> <td>DEFAULT_INDEX_TABLESPACE</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>DEFAULT_TABLESPACE</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>DISALLOWED_USER_AGENTS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>ECHO_REQUEST_OBJECT</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>EMAIL_BACKEND</td> <td class="code"><pre>u&#39;django.core.mail.backends.smtp.EmailBackend&#39;</pre></td> </tr> <tr> <td>EMAIL_HOST</td> <td class="code"><pre>u&#39;localhost&#39;</pre></td> </tr> <tr> <td>EMAIL_HOST_PASSWORD</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>EMAIL_HOST_USER</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>EMAIL_PORT</td> <td class="code"><pre>25</pre></td> </tr> <tr> <td>EMAIL_SSL_CERTFILE</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>EMAIL_SSL_KEYFILE</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>EMAIL_SUBJECT_PREFIX</td> <td class="code"><pre>u&#39;[Django] &#39;</pre></td> </tr> <tr> <td>EMAIL_TIMEOUT</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>EMAIL_USE_SSL</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>EMAIL_USE_TLS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>FILE_CHARSET</td> <td class="code"><pre>u&#39;utf-8&#39;</pre></td> </tr> <tr> <td>FILE_UPLOAD_DIRECTORY_PERMISSIONS</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FILE_UPLOAD_HANDLERS</td> <td class="code"><pre>[u&#39;django.core.files.uploadhandler.MemoryFileUploadHandler&#39;, u&#39;django.core.files.uploadhandler.TemporaryFileUploadHandler&#39;]</pre></td> </tr> <tr> <td>FILE_UPLOAD_MAX_MEMORY_SIZE</td> <td class="code"><pre>2621440</pre></td> </tr> <tr> <td>FILE_UPLOAD_PERMISSIONS</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FILE_UPLOAD_TEMP_DIR</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FIRST_DAY_OF_WEEK</td> <td class="code"><pre>0</pre></td> </tr> <tr> <td>FIXTURE_DIRS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>FORCE_SCRIPT_NAME</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FORMAT_MODULE_PATH</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>IGNORABLE_404_URLS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>INSTALLED_APPS</td> <td class="code"><pre>[&#39;django.contrib.staticfiles&#39;, &#39;app&#39;]</pre></td> </tr> <tr> <td>INTERNAL_IPS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>LANGUAGES</td> <td class="code"><pre>[(u&#39;af&#39;, u&#39;Afrikaans&#39;), (u&#39;ar&#39;, u&#39;Arabic&#39;), (u&#39;ast&#39;, u&#39;Asturian&#39;), (u&#39;az&#39;, u&#39;Azerbaijani&#39;), (u&#39;bg&#39;, u&#39;Bulgarian&#39;), (u&#39;be&#39;, u&#39;Belarusian&#39;), (u&#39;bn&#39;, u&#39;Bengali&#39;), (u&#39;br&#39;, u&#39;Breton&#39;), (u&#39;bs&#39;, u&#39;Bosnian&#39;), (u&#39;ca&#39;, u&#39;Catalan&#39;), (u&#39;cs&#39;, u&#39;Czech&#39;), (u&#39;cy&#39;, u&#39;Welsh&#39;), (u&#39;da&#39;, u&#39;Danish&#39;), (u&#39;de&#39;, u&#39;German&#39;), (u&#39;dsb&#39;, u&#39;Lower Sorbian&#39;), (u&#39;el&#39;, u&#39;Greek&#39;), (u&#39;en&#39;, u&#39;English&#39;), (u&#39;en-au&#39;, u&#39;Australian English&#39;), (u&#39;en-gb&#39;, u&#39;British English&#39;), (u&#39;eo&#39;, u&#39;Esperanto&#39;), (u&#39;es&#39;, u&#39;Spanish&#39;), (u&#39;es-ar&#39;, u&#39;Argentinian Spanish&#39;), (u&#39;es-co&#39;, u&#39;Colombian Spanish&#39;), (u&#39;es-mx&#39;, u&#39;Mexican Spanish&#39;), (u&#39;es-ni&#39;, u&#39;Nicaraguan Spanish&#39;), (u&#39;es-ve&#39;, u&#39;Venezuelan Spanish&#39;), (u&#39;et&#39;, u&#39;Estonian&#39;), (u&#39;eu&#39;, u&#39;Basque&#39;), (u&#39;fa&#39;, u&#39;Persian&#39;), (u&#39;fi&#39;, u&#39;Finnish&#39;), (u&#39;fr&#39;, u&#39;French&#39;), (u&#39;fy&#39;, u&#39;Frisian&#39;), (u&#39;ga&#39;, u&#39;Irish&#39;), (u&#39;gd&#39;, u&#39;Scottish Gaelic&#39;), (u&#39;gl&#39;, u&#39;Galician&#39;), (u&#39;he&#39;, u&#39;Hebrew&#39;), (u&#39;hi&#39;, u&#39;Hindi&#39;), (u&#39;hr&#39;, u&#39;Croatian&#39;), (u&#39;hsb&#39;, u&#39;Upper Sorbian&#39;), (u&#39;hu&#39;, u&#39;Hungarian&#39;), (u&#39;ia&#39;, u&#39;Interlingua&#39;), (u&#39;id&#39;, u&#39;Indonesian&#39;), (u&#39;io&#39;, u&#39;Ido&#39;), (u&#39;is&#39;, u&#39;Icelandic&#39;), (u&#39;it&#39;, u&#39;Italian&#39;), (u&#39;ja&#39;, u&#39;Japanese&#39;), (u&#39;ka&#39;, u&#39;Georgian&#39;), (u&#39;kk&#39;, u&#39;Kazakh&#39;), (u&#39;km&#39;, u&#39;Khmer&#39;), (u&#39;kn&#39;, u&#39;Kannada&#39;), (u&#39;ko&#39;, u&#39;Korean&#39;), (u&#39;lb&#39;, u&#39;Luxembourgish&#39;), (u&#39;lt&#39;, u&#39;Lithuanian&#39;), (u&#39;lv&#39;, u&#39;Latvian&#39;), (u&#39;mk&#39;, u&#39;Macedonian&#39;), (u&#39;ml&#39;, u&#39;Malayalam&#39;), (u&#39;mn&#39;, u&#39;Mongolian&#39;), (u&#39;mr&#39;, u&#39;Marathi&#39;), (u&#39;my&#39;, u&#39;Burmese&#39;), (u&#39;nb&#39;, u&#39;Norwegian Bokm\xe5l&#39;), (u&#39;ne&#39;, u&#39;Nepali&#39;), (u&#39;nl&#39;, u&#39;Dutch&#39;), (u&#39;nn&#39;, u&#39;Norwegian Nynorsk&#39;), (u&#39;os&#39;, u&#39;Ossetic&#39;), (u&#39;pa&#39;, u&#39;Punjabi&#39;), (u&#39;pl&#39;, u&#39;Polish&#39;), (u&#39;pt&#39;, u&#39;Portuguese&#39;), (u&#39;pt-br&#39;, u&#39;Brazilian Portuguese&#39;), (u&#39;ro&#39;, u&#39;Romanian&#39;), (u&#39;ru&#39;, u&#39;Russian&#39;), (u&#39;sk&#39;, u&#39;Slovak&#39;), (u&#39;sl&#39;, u&#39;Slovenian&#39;), (u&#39;sq&#39;, u&#39;Albanian&#39;), (u&#39;sr&#39;, u&#39;Serbian&#39;), (u&#39;sr-latn&#39;, u&#39;Serbian Latin&#39;), (u&#39;sv&#39;, u&#39;Swedish&#39;), (u&#39;sw&#39;, u&#39;Swahili&#39;), (u&#39;ta&#39;, u&#39;Tamil&#39;), (u&#39;te&#39;, u&#39;Telugu&#39;), (u&#39;th&#39;, u&#39;Thai&#39;), (u&#39;tr&#39;, u&#39;Turkish&#39;), (u&#39;tt&#39;, u&#39;Tatar&#39;), (u&#39;udm&#39;, u&#39;Udmurt&#39;), (u&#39;uk&#39;, u&#39;Ukrainian&#39;), (u&#39;ur&#39;, u&#39;Urdu&#39;), (u&#39;vi&#39;, u&#39;Vietnamese&#39;), (u&#39;zh-hans&#39;, u&#39;Simplified Chinese&#39;), (u&#39;zh-hant&#39;, u&#39;Traditional Chinese&#39;)]</pre></td> </tr> <tr> <td>LANGUAGES_BIDI</td> <td class="code"><pre>[u&#39;he&#39;, u&#39;ar&#39;, u&#39;fa&#39;, u&#39;ur&#39;]</pre></td> </tr> <tr> <td>LANGUAGE_CODE</td> <td class="code"><pre>&#39;en-us&#39;</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_AGE</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_DOMAIN</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_NAME</td> <td class="code"><pre>u&#39;django_language&#39;</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_PATH</td> <td class="code"><pre>u&#39;/&#39;</pre></td> </tr> <tr> <td>LOCALE_PATHS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>LOGGING</td> <td class="code"><pre>{&#39;disable_existing_loggers&#39;: True, &#39;formatters&#39;: {&#39;simple&#39;: {&#39;format&#39;: &#39;%(levelname)s %(message)s&#39;}, &#39;verbose&#39;: {&#39;datefmt&#39;: &#39;%Y-%m-%d %H:%M:%S&#39;, &#39;format&#39;: &#39;%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s&#39;}}, &#39;handlers&#39;: {&#39;file&#39;: {&#39;class&#39;: &#39;logging.FileHandler&#39;, &#39;filename&#39;: &#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log&#39;, &#39;formatter&#39;: &#39;verbose&#39;, &#39;level&#39;: &#39;DEBUG&#39;}, &#39;null&#39;: {&#39;class&#39;: &#39;logging.NullHandler&#39;, &#39;level&#39;: &#39;DEBUG&#39;}}, &#39;loggers&#39;: {&#39;&#39;: {&#39;handlers&#39;: [&#39;file&#39;], &#39;level&#39;: &#39;DEBUG&#39;, &#39;propagate&#39;: True}, &#39;django&#39;: {&#39;handlers&#39;: [&#39;file&#39;], &#39;level&#39;: &#39;DEBUG&#39;, &#39;propagate&#39;: False}, &#39;django.db.backends&#39;: {&#39;handlers&#39;: [&#39;null&#39;], &#39;level&#39;: &#39;WARNING&#39;, &#39;propagate&#39;: False}}, &#39;version&#39;: 1}</pre></td> </tr> <tr> <td>LOGGING_CONFIG</td> <td class="code"><pre>u&#39;logging.config.dictConfig&#39;</pre></td> </tr> <tr> <td>LOGIN_REDIRECT_URL</td> <td class="code"><pre>u&#39;/accounts/profile/&#39;</pre></td> </tr> <tr> <td>LOGIN_URL</td> <td class="code"><pre>u&#39;/accounts/login/&#39;</pre></td> </tr> <tr> <td>LOGOUT_REDIRECT_URL</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>LOG_LEVEL</td> <td class="code"><pre>&#39;DEBUG&#39;</pre></td> </tr> <tr> <td>LOG_PATH</td> <td class="code"><pre>&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log&#39;</pre></td> </tr> <tr> <td>MANAGERS</td> <td class="code"><pre>((&#39;Roger Dahl&#39;, &#39;dahl@unm.edu&#39;), (&#39;Mark Servilla&#39;, &#39;mark.servilla@gmail.com&#39;))</pre></td> </tr> <tr> <td>MAX_XML_DOCUMENT_SIZE</td> <td class="code"><pre>10485760</pre></td> </tr> <tr> <td>MEDIA_ROOT</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>MEDIA_URL</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>MESSAGE_STORAGE</td> <td class="code"><pre>u&#39;django.contrib.messages.storage.fallback.FallbackStorage&#39;</pre></td> </tr> <tr> <td>MIDDLEWARE</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>MIDDLEWARE_CLASSES</td> <td class="code"><pre>(&#39;app.middleware.request_handler.RequestHandler&#39;, &#39;app.middleware.exception_handler.ExceptionHandler&#39;, &#39;app.middleware.response_handler.ResponseHandler&#39;, &#39;app.middleware.profiling_handler.ProfilingHandler&#39;, &#39;app.middleware.view_handler.ViewHandler&#39;, &#39;app.middleware.startup_handler.StartupHandler&#39;)</pre></td> </tr> <tr> <td>MIGRATION_MODULES</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>MONITOR</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>MONTH_DAY_FORMAT</td> <td class="code"><pre>u&#39;F j&#39;</pre></td> </tr> <tr> <td>NODE_BASEURL</td> <td class="code"><pre>&#39;https://gmn-s.lternet.edu/mn&#39;</pre></td> </tr> <tr> <td>NODE_CONTACT_SUBJECT</td> <td class="code"><pre>&#39;CN=Mark Servilla A6788,O=LTERN (Long Term Ecological Research Network),C=US,DC=cilogon,DC=org&#39;</pre></td> </tr> <tr> <td>NODE_DESCRIPTION</td> <td class="code"><pre>&#39;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.&#39;</pre></td> </tr> <tr> <td>NODE_IDENTIFIER</td> <td class="code"><pre>&#39;urn:node:mnTestLTER&#39;</pre></td> </tr> <tr> <td>NODE_NAME</td> <td class="code"><pre>&#39;Stage test for PASTA-GMN&#39;</pre></td> </tr> <tr> <td>NODE_REPLICATE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>NODE_STATE</td> <td class="code"><pre>&#39;up&#39;</pre></td> </tr> <tr> <td>NODE_SUBJECT</td> <td class="code"><pre>&#39;CN=urn:node:mnTestLTER,DC=dataone,DC=org&#39;</pre></td> </tr> <tr> <td>NODE_SYNCHRONIZE</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_HOUR</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_MINUTE</td> <td class="code"><pre>&#39;23&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_MONTH</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_MONTHDAY</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_SECOND</td> <td class="code"><pre>&#39;0&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_WEEKDAY</td> <td class="code"><pre>&#39;?&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_YEAR</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NUMBER_GROUPING</td> <td class="code"><pre>0</pre></td> </tr> <tr> <td>NUM_CHUNK_BYTES</td> <td class="code"><pre>1048576</pre></td> </tr> <tr> <td>OBJECT_STORE_PATH</td> <td class="code"><pre>&#39;/var/local/dataone/gmn_object_store&#39;</pre></td> </tr> <tr> <td>PASSWORD_HASHERS</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>PASSWORD_RESET_TIMEOUT_DAYS</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>PREPEND_WWW</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>PROXY_MODE_BASIC_AUTH_ENABLED</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>PROXY_MODE_BASIC_AUTH_PASSWORD</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>PROXY_MODE_BASIC_AUTH_USERNAME</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>PROXY_MODE_STREAM_TIMEOUT</td> <td class="code"><pre>30</pre></td> </tr> <tr> <td>PUBLIC_LOG_RECORDS</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>PUBLIC_OBJECT_LIST</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>PYCHARM_BIN</td> <td class="code"><pre>&#39;pycharm.sh&#39;</pre></td> </tr> <tr> <td>REPLICATION_ALLOWEDNODE</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>REPLICATION_ALLOWEDOBJECTFORMAT</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>REPLICATION_MAXOBJECTSIZE</td> <td class="code"><pre>-1</pre></td> </tr> <tr> <td>REPLICATION_MAX_ATTEMPTS</td> <td class="code"><pre>24</pre></td> </tr> <tr> <td>REPLICATION_SPACEALLOCATED</td> <td class="code"><pre>10737418240</pre></td> </tr> <tr> <td>REQUIRE_WHITELIST_FOR_UPDATE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>ROOT_URLCONF</td> <td class="code"><pre>&#39;app.urls&#39;</pre></td> </tr> <tr> <td>SECRET_KEY</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>SECURE_BROWSER_XSS_FILTER</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECURE_CONTENT_TYPE_NOSNIFF</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECURE_HSTS_INCLUDE_SUBDOMAINS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECURE_HSTS_SECONDS</td> <td class="code"><pre>0</pre></td> </tr> <tr> <td>SECURE_PROXY_SSL_HEADER</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SECURE_REDIRECT_EXEMPT</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>SECURE_SSL_HOST</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SECURE_SSL_REDIRECT</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SERVER_EMAIL</td> <td class="code"><pre>u&#39;root@localhost&#39;</pre></td> </tr> <tr> <td>SESSION_CACHE_ALIAS</td> <td class="code"><pre>u&#39;default&#39;</pre></td> </tr> <tr> <td>SESSION_COOKIE_AGE</td> <td class="code"><pre>1209600</pre></td> </tr> <tr> <td>SESSION_COOKIE_DOMAIN</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SESSION_COOKIE_HTTPONLY</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>SESSION_COOKIE_NAME</td> <td class="code"><pre>u&#39;sessionid&#39;</pre></td> </tr> <tr> <td>SESSION_COOKIE_PATH</td> <td class="code"><pre>u&#39;/&#39;</pre></td> </tr> <tr> <td>SESSION_COOKIE_SECURE</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>SESSION_ENGINE</td> <td class="code"><pre>u&#39;django.contrib.sessions.backends.db&#39;</pre></td> </tr> <tr> <td>SESSION_EXPIRE_AT_BROWSER_CLOSE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SESSION_FILE_PATH</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SESSION_SAVE_EVERY_REQUEST</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SESSION_SERIALIZER</td> <td class="code"><pre>u&#39;django.contrib.sessions.serializers.JSONSerializer&#39;</pre></td> </tr> <tr> <td>SETTINGS_MODULE</td> <td class="code"><pre>&#39;settings&#39;</pre></td> </tr> <tr> <td>SHORT_DATETIME_FORMAT</td> <td class="code"><pre>u&#39;m/d/Y P&#39;</pre></td> </tr> <tr> <td>SHORT_DATE_FORMAT</td> <td class="code"><pre>u&#39;m/d/Y&#39;</pre></td> </tr> <tr> <td>SIGNING_BACKEND</td> <td class="code"><pre>u&#39;django.core.signing.TimestampSigner&#39;</pre></td> </tr> <tr> <td>SILENCED_SYSTEM_CHECKS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>STAND_ALONE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>STATICFILES_DIRS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>STATICFILES_FINDERS</td> <td class="code"><pre>[u&#39;django.contrib.staticfiles.finders.FileSystemFinder&#39;, u&#39;django.contrib.staticfiles.finders.AppDirectoriesFinder&#39;]</pre></td> </tr> <tr> <td>STATICFILES_STORAGE</td> <td class="code"><pre>u&#39;django.contrib.staticfiles.storage.StaticFilesStorage&#39;</pre></td> </tr> <tr> <td>STATIC_ROOT</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>STATIC_URL</td> <td class="code"><pre>&#39;/static/&#39;</pre></td> </tr> <tr> <td>SYSMETA_REFRESH_MAX_ATTEMPTS</td> <td class="code"><pre>24</pre></td> </tr> <tr> <td>TEMPLATES</td> <td class="code"><pre>[{&#39;BACKEND&#39;: &#39;django.template.backends.django.DjangoTemplates&#39;, &#39;DIRS&#39;: [&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/templates&#39;], &#39;OPTIONS&#39;: {&#39;context_processors&#39;: [&#39;django.contrib.auth.context_processors.auth&#39;, &#39;django.template.context_processors.debug&#39;, &#39;django.template.context_processors.i18n&#39;, &#39;django.template.context_processors.media&#39;, &#39;django.template.context_processors.static&#39;, &#39;django.template.context_processors.tz&#39;, &#39;django.contrib.messages.context_processors.messages&#39;], &#39;loaders&#39;: [&#39;django.template.loaders.filesystem.Loader&#39;]}}]</pre></td> </tr> <tr> <td>TEST_NON_SERIALIZED_APPS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>TEST_RUNNER</td> <td class="code"><pre>u&#39;django.test.runner.DiscoverRunner&#39;</pre></td> </tr> <tr> <td>THOUSAND_SEPARATOR</td> <td class="code"><pre>u&#39;,&#39;</pre></td> </tr> <tr> <td>TIME_FORMAT</td> <td class="code"><pre>u&#39;P&#39;</pre></td> </tr> <tr> <td>TIME_INPUT_FORMATS</td> <td class="code"><pre>[u&#39;%H:%M:%S&#39;, u&#39;%H:%M:%S.%f&#39;, u&#39;%H:%M&#39;]</pre></td> </tr> <tr> <td>TIME_ZONE</td> <td class="code"><pre>&#39;UTC&#39;</pre></td> </tr> <tr> <td>TRUST_CLIENT_AUTHORITATIVEMEMBERNODE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_DATESYSMETADATAMODIFIED</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_DATEUPLOADED</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>TRUST_CLIENT_ORIGINMEMBERNODE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_SERIALVERSION</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_SUBMITTER</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_ETAGS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_I18N</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>USE_L10N</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_THOUSAND_SEPARATOR</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_TZ</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_X_FORWARDED_HOST</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_X_FORWARDED_PORT</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>WSGI_APPLICATION</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>X_FRAME_OPTIONS</td> <td class="code"><pre>u&#39;SAMEORIGIN&#39;</pre></td> </tr> <tr> <td>YEAR_MONTH_FORMAT</td> <td class="code"><pre>u&#39;F Y&#39;</pre></td> </tr> </tbody> </table> </div> <div id="explanation"> <p> You're seeing this error because you have <code>DEBUG = True</code> in your Django settings file. Change that to <code>False</code>, and Django will display a standard page generated by the handler for this status code. </p> </div> </body> </html> at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(UpdateSystemMetadataTestImplementations.java:616) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(UpdateSystemMetadataTestImplementations.java:603) at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(MNStorageV2IT.java:283) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.rules.Verifier$1.evaluate(Verifier.java:34) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at com.sun.proxy.$Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body: <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="robots" content="NONE,NOARCHIVE"> <title>InvalidToken at /v2/object</title> <style type="text/css"> html * { padding:0; margin:0; } body * { padding:10px 20px; } body * * { padding:0; } body { font:small sans-serif; } body>div { border-bottom:1px solid #ddd; } h1 { font-weight:normal; } h2 { margin-bottom:.8em; } h2 span { font-size:80%; color:#666; font-weight:normal; } h3 { margin:1em 0 .5em 0; } h4 { margin:0 0 .5em 0; font-weight: normal; } code, pre { font-size: 100%; white-space: pre-wrap; } table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; } tbody td, tbody th { vertical-align:top; padding:2px 3px; } thead th { padding:1px 6px 1px 3px; background:#fefefe; text-align:left; font-weight:normal; font-size:11px; border:1px solid #ddd; } tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; } table.vars { margin:5px 0 2px 40px; } table.vars td, table.req td { font-family:monospace; } table td.code { width:100%; } table td.code pre { overflow:hidden; } table.source th { color:#666; } table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; } ul.traceback { list-style-type:none; color: #222; } ul.traceback li.frame { padding-bottom:1em; color:#666; } ul.traceback li.user { background-color:#e0e0e0; color:#000 } div.context { padding:10px 0; overflow:hidden; } div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; } div.context ol li { font-family:monospace; white-space:pre; color:#777; cursor:pointer; padding-left: 2px; } div.context ol li pre { display:inline; } div.context ol.context-line li { color:#505050; background-color:#dfdfdf; padding: 3px 2px; } div.context ol.context-line li span { position:absolute; right:32px; } .user div.context ol.context-line li { background-color:#bbb; color:#000; } .user div.context ol li { color:#666; } div.commands { margin-left: 40px; } div.commands a { color:#555; text-decoration:none; } .user div.commands a { color: black; } #summary { background: #ffc; } #summary h2 { font-weight: normal; color: #666; } #explanation { background:#eee; } #template, #template-not-exist { background:#f6f6f6; } #template-not-exist ul { margin: 0 0 10px 20px; } #template-not-exist .postmortem-section { margin-bottom: 3px; } #unicode-hint { background:#eee; } #traceback { background:#eee; } #requestinfo { background:#f6f6f6; padding-left:120px; } #summary table { border:none; background:transparent; } #requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; } #requestinfo h3 { margin-bottom:-1em; } .error { background: #ffc; } .specific { color:#cc3300; font-weight:bold; } h2 span.commands { font-size:.7em;} span.commands a:link {color:#5E5694;} pre.exception_value { font-family: sans-serif; color: #666; font-size: 1.5em; margin: 10px 0 10px 0; } .append-bottom { margin-bottom: 10px; } </style> <script type="text/javascript"> //<!-- function getElementsByClassName(oElm, strTagName, strClassName){ // Written by Jonathan Snook, http://www.snook.ca/jon; Add-ons by Robert Nyman, http://www.robertnyman.com var arrElements = (strTagName == "*" && document.all)? document.all : oElm.getElementsByTagName(strTagName); var arrReturnElements = new Array(); strClassName = strClassName.replace(/\-/g, "\-"); var oRegExp = new RegExp("(^|\s)" + strClassName + "(\s|$)"); var oElement; for(var i=0; i<arrElements.length; i++){ oElement = arrElements[i]; if(oRegExp.test(oElement.className)){ arrReturnElements.push(oElement); } } return (arrReturnElements) } function hideAll(elems) { for (var e = 0; e < elems.length; e++) { elems[e].style.display = 'none'; } } window.onload = function() { hideAll(getElementsByClassName(document, 'table', 'vars')); hideAll(getElementsByClassName(document, 'ol', 'pre-context')); hideAll(getElementsByClassName(document, 'ol', 'post-context')); hideAll(getElementsByClassName(document, 'div', 'pastebin')); } function toggle() { for (var i = 0; i < arguments.length; i++) { var e = document.getElementById(arguments[i]); if (e) { e.style.display = e.style.display == 'none' ? 'block': 'none'; } } return false; } function varToggle(link, id) { toggle('v' + id); var s = link.getElementsByTagName('span')[0]; var uarr = String.fromCharCode(0x25b6); var darr = String.fromCharCode(0x25bc); s.textContent = s.textContent == uarr ? darr : uarr; return false; } function switchPastebinFriendly(link) { s1 = "Switch to copy-and-paste view"; s2 = "Switch back to interactive view"; link.textContent = link.textContent.trim() == s1 ? s2: s1; toggle('browserTraceback', 'pastebinTraceback'); return false; } //--> </script> </head> <body> <div id="summary"> <h1>InvalidToken at /v2/object</h1> <pre class="exception_value">name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error=&quot;name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info=&quot;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;d1:subjectInfo xmlns:d1=&quot;http://ns.dataone.org/service/types/v1&quot;&gt;.&lt;person&gt;..&lt;subject&gt;CN=testRightsHolder,DC=dataone,DC=org&lt;/subject&gt;..&lt;givenName&gt;testRightsHolder_givenName&lt;/givenName&gt;..&lt;familyName&gt;testRightsHolder_familyName&lt;/familyName&gt;.&lt;/person&gt;&lt;/d1:subjectInfo&gt;&quot;, error=&quot;Invalid non-element content at &lt;unknown&gt;[1:113]&quot; &quot; </pre> <table class="meta"> <tr> <th>Request Method:</th> <td>POST</td> </tr> <tr> <th>Request URL:</th> <td>https://gmn-s.lternet.edu/mn/v2/object</td> </tr> <tr> <th>Django Version:</th> <td>1.10.1</td> </tr> <tr> <th>Exception Type:</th> <td>InvalidToken</td> </tr> <tr> <th>Exception Value:</th> <td><pre>name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error=&quot;name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info=&quot;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;d1:subjectInfo xmlns:d1=&quot;http://ns.dataone.org/service/types/v1&quot;&gt;.&lt;person&gt;..&lt;subject&gt;CN=testRightsHolder,DC=dataone,DC=org&lt;/subject&gt;..&lt;givenName&gt;testRightsHolder_givenName&lt;/givenName&gt;..&lt;familyName&gt;testRightsHolder_familyName&lt;/familyName&gt;.&lt;/person&gt;&lt;/d1:subjectInfo&gt;&quot;, error=&quot;Invalid non-element content at &lt;unknown&gt;[1:113]&quot; &quot; </pre></td> </tr> <tr> <th>Exception Location:</th> <td>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py in get_subjects, line 65</td> </tr> <tr> <th>Python Executable:</th> <td>/usr/bin/python</td> </tr> <tr> <th>Python Version:</th> <td>2.7.6</td> </tr> <tr> <th>Python Path:</th> <td><pre>[&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages&#39;, &#39;/var/local/dataone/gmn/lib/python2.7&#39;, &#39;/var/local/dataone/gmn/lib/python2.7/plat-x86_64-linux-gnu&#39;, &#39;/var/local/dataone/gmn/lib/python2.7/lib-tk&#39;, &#39;/var/local/dataone/gmn/lib/python2.7/lib-old&#39;, &#39;/var/local/dataone/gmn/lib/python2.7/lib-dynload&#39;, &#39;/usr/lib/python2.7&#39;, &#39;/usr/lib/python2.7/plat-x86_64-linux-gnu&#39;, &#39;/usr/lib/python2.7/lib-tk&#39;, &#39;/var/local/dataone/gmn/local/lib/python2.7/site-packages&#39;, &#39;/var/local/dataone/gmn/lib/python2.7/site-packages&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/.&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/..&#39;]</pre></td> </tr> <tr> <th>Server time:</th> <td>Tue, 25 Apr 2017 05:47:49 +0000</td> </tr> </table> </div> <div id="traceback"> <h2>Traceback <span class="commands"><a href="#" onclick="return switchPastebinFriendly(this);"> Switch to copy-and-paste view</a></span> </h2> <div id="browserTraceback"> <ul class="traceback"> <li class="frame django"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py</code> in <code>inner</code> <div class="context" id="c139739909559864"> <ol start="32" class="pre-context" id="pre139739909559864"> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> This decorator is automatically applied to all middleware to ensure that</pre></li> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> no middleware leaks an exception and that the next middleware in the stack</pre></li> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> can rely on getting a response instead of an exception.</pre></li> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> &quot;&quot;&quot;</pre></li> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> @wraps(get_response, assigned=available_attrs(get_response))</pre></li> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> def inner(request):</pre></li> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> try:</pre></li> </ol> <ol start="39" class="context-line"> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> response = get_response(request)</pre> <span>...</span></li></ol> <ol start='40' class="post-context" id="post139739909559864"> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> except Exception as exc:</pre></li> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> response = response_for_exception(request, exc)</pre></li> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> return response</pre></li> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre> return inner</pre></li> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre></pre></li> <li onclick="toggle('pre139739909559864', 'post139739909559864')"><pre></pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739909559864')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739909559864"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>exc</td> <td class="code"><pre>InvalidToken()</pre></td> </tr> <tr> <td>get_response</td> <td class="code"><pre>&lt;bound method D1WSGIHandler._legacy_get_response of &lt;_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7f17caf0d790&gt;&gt;</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame django"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py</code> in <code>_legacy_get_response</code> <div class="context" id="c139739909562024"> <ol start="242" class="pre-context" id="pre139739909562024"> <li onclick="toggle('pre139739909562024', 'post139739909562024')"><pre> # Apply request middleware</pre></li> <li onclick="toggle('pre139739909562024', 'post139739909562024')"><pre> for middleware_method in self._request_middleware:</pre></li> <li onclick="toggle('pre139739909562024', 'post139739909562024')"><pre> response = middleware_method(request)</pre></li> <li onclick="toggle('pre139739909562024', 'post139739909562024')"><pre> if response:</pre></li> <li onclick="toggle('pre139739909562024', 'post139739909562024')"><pre> break</pre></li> <li onclick="toggle('pre139739909562024', 'post139739909562024')"><pre></pre></li> <li onclick="toggle('pre139739909562024', 'post139739909562024')"><pre> if response is None:</pre></li> </ol> <ol start="249" class="context-line"> <li onclick="toggle('pre139739909562024', 'post139739909562024')"><pre> response = self._get_response(request)</pre> <span>...</span></li></ol> <ol start='250' class="post-context" id="post139739909562024"> <li onclick="toggle('pre139739909562024', 'post139739909562024')"><pre> return response</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739909562024')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739909562024"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>middleware_method</td> <td class="code"><pre>&lt;bound method RequestHandler.process_request of &lt;app.middleware.request_handler.RequestHandler object at 0x7f17c2c08590&gt;&gt;</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>response</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7f17caf0d790&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame django"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py</code> in <code>_get_response</code> <div class="context" id="c139739986673888"> <ol start="171" class="pre-context" id="pre139739986673888"> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre></pre></li> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre> resolver_match = resolver.resolve(request.path_info)</pre></li> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre> callback, callback_args, callback_kwargs = resolver_match</pre></li> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre> request.resolver_match = resolver_match</pre></li> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre></pre></li> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre> # Apply view middleware</pre></li> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre> for middleware_method in self._view_middleware:</pre></li> </ol> <ol start="178" class="context-line"> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre> response = middleware_method(request, callback, callback_args, callback_kwargs)</pre> <span>...</span></li></ol> <ol start='179' class="post-context" id="post139739986673888"> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre> if response:</pre></li> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre> break</pre></li> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre></pre></li> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre> if response is None:</pre></li> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre> wrapped_callback = self.make_view_atomic(callback)</pre></li> <li onclick="toggle('pre139739986673888', 'post139739986673888')"><pre> try:</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739986673888')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739986673888"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>callback</td> <td class="code"><pre>&lt;function dispatch_object_list at 0x7f17c11bd758&gt;</pre></td> </tr> <tr> <td>callback_args</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>callback_kwargs</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>middleware_method</td> <td class="code"><pre>&lt;bound method ViewHandler.process_view of &lt;app.middleware.view_handler.ViewHandler object at 0x7f17c183db50&gt;&gt;</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>resolver</td> <td class="code"><pre>&lt;RegexURLResolver &#39;app.urls&#39; (None:None) ^/&gt;</pre></td> </tr> <tr> <td>resolver_match</td> <td class="code"><pre>ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[])</pre></td> </tr> <tr> <td>response</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7f17caf0d790&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py</code> in <code>process_view</code> <div class="context" id="c139739890996936"> <ol start="39" class="pre-context" id="pre139739890996936"> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> logging.info(</pre></li> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> u&#39;View: func_name=&quot;{}&quot;, method=&quot;{}&quot;, args=&quot;{}&quot;, kwargs=&quot;{}&quot;, url=&quot;{}&quot;&#39;</pre></li> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> .format(view_func.func_name, request.method, view_args, view_kwargs,</pre></li> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> request.path_info</pre></li> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> )</pre></li> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> )</pre></li> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> # logging.debug(request.headers)</pre></li> </ol> <ol start="46" class="context-line"> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> self.process_session(request)</pre> <span>...</span></li></ol> <ol start='47' class="post-context" id="post139739890996936"> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre></pre></li> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> def process_session(self, request):</pre></li> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> # For simulating an HTTPS connection with client authentication when</pre></li> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> # debugging via regular HTTP, two mechanisms are supported. (1) A full</pre></li> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> # client side certificate can be included and (2) a list of subjects can be</pre></li> <li onclick="toggle('pre139739890996936', 'post139739890996936')"><pre> # included. Both use vendor specific extensions (HTTP headers that start</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739890996936')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739890996936"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;app.middleware.view_handler.ViewHandler object at 0x7f17c183db50&gt;</pre></td> </tr> <tr> <td>view_args</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>view_func</td> <td class="code"><pre>&lt;function dispatch_object_list at 0x7f17c11bd758&gt;</pre></td> </tr> <tr> <td>view_kwargs</td> <td class="code"><pre>{}</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py</code> in <code>process_session</code> <div class="context" id="c139739890998016"> <ol start="60" class="pre-context" id="pre139739890998016"> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> if &#39;HTTP_VENDOR_INCLUDE_CERTIFICATE&#39; in request.META:</pre></li> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> request.META[&#39;SSL_CLIENT_CERT&#39;] = \</pre></li> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> self.pem_in_http_header_to_pem_in_string(</pre></li> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> request.META[&#39;HTTP_VENDOR_INCLUDE_CERTIFICATE&#39;])</pre></li> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre></pre></li> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> # Add subjects from any provided certificate and JWT and store them in</pre></li> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> # the Django request obj.</pre></li> </ol> <ol start="67" class="context-line"> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request)</pre> <span>...</span></li></ol> <ol start='68' class="post-context" id="post139739890998016"> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> jwt_subject_list = session_jwt.validate_jwt_and_get_subject_list(request)</pre></li> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> primary_subject_str = cert_primary_str</pre></li> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> all_subjects_set = cert_equivalent_set | {cert_primary_str} | set(jwt_subject_list)</pre></li> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> if len(jwt_subject_list) == 1:</pre></li> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> jwt_primary_str = jwt_subject_list[0]</pre></li> <li onclick="toggle('pre139739890998016', 'post139739890998016')"><pre> if jwt_primary_str != cert_primary_str:</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739890998016')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739890998016"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;app.middleware.view_handler.ViewHandler object at 0x7f17c183db50&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py</code> in <code>get_subjects</code> <div class="context" id="c139739909559936"> <ol start="58" class="pre-context" id="pre139739909559936"> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre> &quot;&quot;&quot;</pre></li> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre> if _is_certificate_provided(request):</pre></li> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre> try:</pre></li> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre> return get_authenticated_subjects(request.META[&#39;SSL_CLIENT_CERT&#39;])</pre></li> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre> except Exception as e:</pre></li> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre> raise d1_common.types.exceptions.InvalidToken(</pre></li> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre> 0,</pre></li> </ol> <ol start="65" class="context-line"> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre> u&#39;Error extracting session from certificate. error=&quot;{}&quot;&#39;.format(str(e))</pre> <span>...</span></li></ol> <ol start='66' class="post-context" id="post139739909559936"> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre> )</pre></li> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre> else:</pre></li> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre> return d1_common.const.SUBJECT_PUBLIC, set()</pre></li> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre></pre></li> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre></pre></li> <li onclick="toggle('pre139739909559936', 'post139739909559936')"><pre>def get_authenticated_subjects(cert_pem):</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '139739909559936')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v139739909559936"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>e</td> <td class="code"><pre>InvalidToken()</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> </tbody> </table> </li> </ul> </div> <form action="http://dpaste.com/" name="pasteform" id="pasteform" method="post"> <div id="pastebinTraceback" class="pastebin"> <input type="hidden" name="language" value="PythonConsole"> <input type="hidden" name="title" value="InvalidToken at /v2/object"> <input type="hidden" name="source" value="Django Dpaste Agent"> <input type="hidden" name="poster" value="Django"> <textarea name="content" id="traceback_area" cols="140" rows="25"> 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: [&#39;django.contrib.staticfiles&#39;, &#39;app&#39;] Installed Middleware: (&#39;app.middleware.request_handler.RequestHandler&#39;, &#39;app.middleware.exception_handler.ExceptionHandler&#39;, &#39;app.middleware.response_handler.ResponseHandler&#39;, &#39;app.middleware.profiling_handler.ProfilingHandler&#39;, &#39;app.middleware.view_handler.ViewHandler&#39;, &#39;app.middleware.startup_handler.StartupHandler&#39;) 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&#39;Error extracting session from certificate. error=&quot;{}&quot;&#39;.format(str(e)) Exception Type: InvalidToken at /v2/object Exception Value: name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error=&quot;name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info=&quot;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;d1:subjectInfo xmlns:d1=&quot;http://ns.dataone.org/service/types/v1&quot;&gt;.&lt;person&gt;..&lt;subject&gt;CN=testRightsHolder,DC=dataone,DC=org&lt;/subject&gt;..&lt;givenName&gt;testRightsHolder_givenName&lt;/givenName&gt;..&lt;familyName&gt;testRightsHolder_familyName&lt;/familyName&gt;.&lt;/person&gt;&lt;/d1:subjectInfo&gt;&quot;, error=&quot;Invalid non-element content at &lt;unknown&gt;[1:113]&quot; &quot; </textarea> <br><br> <input type="submit" value="Share this traceback on a public website"> </div> </form> </div> <div id="requestinfo"> <h2>Request information</h2> <h3 id="get-info">GET</h3> <p>No GET data</p> <h3 id="post-info">POST</h3> <table class="req"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>pid</td> <td class="code"><pre>u&#39;testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225910683&#39;</pre></td> </tr> </tbody> </table> <h3 id="files-info">FILES</h3> <table class="req"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>sysmeta</td> <td class="code"><pre>&lt;InMemoryUploadedFile: mmp.output.5314556878409566314.tmp (application/octet-stream)&gt;</pre></td> </tr> <tr> <td>object</td> <td class="code"><pre>&lt;InMemoryUploadedFile: mmp.output.5603940079203006677.tmp (application/octet-stream)&gt;</pre></td> </tr> </tbody> </table> <h3 id="cookie-info">COOKIES</h3> <p>No cookie data</p> <h3 id="meta-info">META</h3> <table class="req"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>CONTENT_LENGTH</td> <td class="code"><pre>&#39;18959&#39;</pre></td> </tr> <tr> <td>CONTENT_TYPE</td> <td class="code"><pre>&#39;multipart/form-data; boundary=saRiI6vTK2Ll7nAbUt8qArqFiHhhWn&#39;</pre></td> </tr> <tr> <td>CONTEXT_DOCUMENT_ROOT</td> <td class="code"><pre>&#39;/var/www&#39;</pre></td> </tr> <tr> <td>CONTEXT_PREFIX</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>DOCUMENT_ROOT</td> <td class="code"><pre>&#39;/var/www&#39;</pre></td> </tr> <tr> <td>GATEWAY_INTERFACE</td> <td class="code"><pre>&#39;CGI/1.1&#39;</pre></td> </tr> <tr> <td>HTTP_ACCEPT_ENCODING</td> <td class="code"><pre>&#39;gzip,deflate&#39;</pre></td> </tr> <tr> <td>HTTP_CONNECTION</td> <td class="code"><pre>&#39;Keep-Alive&#39;</pre></td> </tr> <tr> <td>HTTP_HOST</td> <td class="code"><pre>&#39;gmn-s.lternet.edu&#39;</pre></td> </tr> <tr> <td>HTTP_USER_AGENT</td> <td class="code"><pre>&#39;Apache-HttpClient/4.3.6 (java 1.5)&#39;</pre></td> </tr> <tr> <td>HTTP_VIA</td> <td class="code"><pre>&#39;1.1 localhost (Apache-HttpClient/4.3.6 (cache))&#39;</pre></td> </tr> <tr> <td>PATH_INFO</td> <td class="code"><pre>u&#39;/v2/object&#39;</pre></td> </tr> <tr> <td>PATH_TRANSLATED</td> <td class="code"><pre>&#39;/var/www/v2/object&#39;</pre></td> </tr> <tr> <td>QUERY_STRING</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>REMOTE_ADDR</td> <td class="code"><pre>&#39;64.106.40.19&#39;</pre></td> </tr> <tr> <td>REMOTE_PORT</td> <td class="code"><pre>&#39;43574&#39;</pre></td> </tr> <tr> <td>REQUEST_METHOD</td> <td class="code"><pre>&#39;POST&#39;</pre></td> </tr> <tr> <td>REQUEST_SCHEME</td> <td class="code"><pre>&#39;https&#39;</pre></td> </tr> <tr> <td>REQUEST_URI</td> <td class="code"><pre>&#39;/mn/v2/object&#39;</pre></td> </tr> <tr> <td>SCRIPT_FILENAME</td> <td class="code"><pre>&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py&#39;</pre></td> </tr> <tr> <td>SCRIPT_NAME</td> <td class="code"><pre>u&#39;/mn&#39;</pre></td> </tr> <tr> <td>SERVER_ADDR</td> <td class="code"><pre>&#39;129.24.124.173&#39;</pre></td> </tr> <tr> <td>SERVER_ADMIN</td> <td class="code"><pre>&#39;webmaster@localhost&#39;</pre></td> </tr> <tr> <td>SERVER_NAME</td> <td class="code"><pre>&#39;gmn-s.lternet.edu&#39;</pre></td> </tr> <tr> <td>SERVER_PORT</td> <td class="code"><pre>&#39;443&#39;</pre></td> </tr> <tr> <td>SERVER_PROTOCOL</td> <td class="code"><pre>&#39;HTTP/1.1&#39;</pre></td> </tr> <tr> <td>SERVER_SIGNATURE</td> <td class="code"><pre>&#39;&lt;address&gt;Apache/2.4.7 (Ubuntu) Server at gmn-s.lternet.edu Port 443&lt;/address&gt;\n&#39;</pre></td> </tr> <tr> <td>SERVER_SOFTWARE</td> <td class="code"><pre>&#39;Apache/2.4.7 (Ubuntu)&#39;</pre></td> </tr> <tr> <td>SSL_CLIENT_CERT</td> <td class="code"><pre>&#39;-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ/zMSGAS2UN3OfmwImsGOJTabIJ1g\nr0Yza+M1dlg4U9w4sw2AKymWRKhwWB5kcbGwqaU799a7+p3whBsy90ymw5wnxaWd\nXrPYU237PE3t3GoDUMm5ksMotcx7zyWD7X6ULTpK0mCUcts/P5Nyz9a5MY8ONyX9\n79iEza7yY8h2WUlPUcAiWC8mNmtWKnkbDMj3J8hftPsHVvQZS/sUV3qZXY+0sTc1\nnfyI3Ki+SVq4pbfXYC67mwCHfEAQkSvDsNHp20R9d53h3DI8iXtkElz1JQKUhYeB\nIRVqcgOsBXCJ3WmabhlOPPr3TQiGGEoT2PnbJ2rzRv9L+UEOgJs10FuBAgMBAAGj\nggLJMIICxTAJBgNVHRMEAjAAMCwGCWCGSAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVy\nYXRlZCBDZXJ0aWZpY2F0ZTAdBgNVHQ4EFgQUXWYvIzSx6xMxPwx6yADxN5TQNXsw\nHwYDVR0jBBgwFoAU7y7BJ2wqigmrbMNFfzv5V9UWqbMwggEBBgNVHR8EgfkwgfYw\nPKA6oDiGNmh0dHA6Ly9yZWxlYXNlcy5kYXRhb25lLm9yZy9jcmwvRGF0YU9ORVRl\nc3RJbnRfQ1JMLnBlbTA9oDugOYY3aHR0cDovL2NuLXVjc2ItMS5kYXRhb25lLm9y\nZy9jcmwvRGF0YU9ORVRlc3RJbnRfQ1JMLnBlbTA5oDegNYYzaHR0cDovL2NuLXVu\nbS0xLmRhdGFvbmUub3JnL2NybC9EYXRhT05FVGVzdF9DUkwucGVtMDygOqA4hjZo\ndHRwOi8vY24tb3JjLTEuZGF0YW9uZS5vcmcvY3JsL0RhdGFPTkVUZXN0SW50X0NS\nTC5wZW0wggFDBgorBgEEAYKRNgIBBIIBMwyCAS88P3htbCB2ZXJzaW9uPSIxLjAi\nIGVuY29kaW5nPSJVVEYtOCI/PjxkMTpzdWJqZWN0SW5mbyB4bWxuczpkMT0iaHR0\ncDovL25zLmRhdGFvbmUub3JnL3NlcnZpY2UvdHlwZXMvdjEiPi48cGVyc29uPi4u\nPHN1YmplY3Q+Q049dGVzdFJpZ2h0c0hvbGRlcixEQz1kYXRhb25lLERDPW9yZzwv\nc3ViamVjdD4uLjxnaXZlbk5hbWU+dGVzdFJpZ2h0c0hvbGRlcl9naXZlbk5hbWU8\nL2dpdmVuTmFtZT4uLjxmYW1pbHlOYW1lPnRlc3RSaWdodHNIb2xkZXJfZmFtaWx5\nTmFtZTwvZmFtaWx5TmFtZT4uPC9wZXJzb24+PC9kMTpzdWJqZWN0SW5mbz4wDQYJ\nKoZIhvcNAQEFBQADggIBALrwobQ7Vjwdn5Kxul6+JNz3RXs+8a+CnBZ011uA3M0g\n2Bkxm8ysKHttBctdyzKJ1BXub/WiKMKg5LgJIXGI34Xo4bl5/clrEl6hCsChs6XY\nmWA2YVPPoO/KvwdkOa1gnvU/+n6oxH/AxPBqG4+Zf/guLXs32LasPHGs5CN0rtRz\nwgDZpU1KCnIdCeV6gcGp+W18X1+OJ5eDxFsg0ZVSZzKCVOuL7Tp1aEnOwVfzQBzo\nHQ3mMPMaEt6mBR3c2U7PHtCSGty+R6IHNBiG6bjNO4aD/ZsZVG4FklfQMaClN5U7\nvaNCOS5UZ8H3HPu08/UeimouDx1E/+Y5mqwH2C6JMH+PGUf/ViSci4LuzPY9WYfx\nus42uW+k4PrJv/KrVqHn4rjniOdMFyBvBEuwYIrcE9vvgI3qMa9idWeDX7gKreeR\nj9OnBbVm19+xuU8mijY9mbMqjCzM/L73CxdVXsK6yQ2HjdBVwvmfsCd92Ikpkfvv\nComGDHE7I9/RO5RckZ95uS2AqaWboPHxGGJhSd8+ZfuVjnLBPkQd9mTcGFmzC+UM\n34b4lxZlQ2aEo6/ZWDcjh6afbSixVs9CJZejor6RB0Dg2LYqApYHcjQEVnzW/hF+\nP5tMTrd4EQj+tsyTFQgdj7NtoDY1EkgD0ohYPA9PF6t3R2w7hHVs5hyb/xY/55CV\n-----END CERTIFICATE-----\n&#39;</pre></td> </tr> <tr> <td>SSL_SERVER_CERT</td> <td class="code"><pre>&#39;-----BEGIN CERTIFICATE-----\nMIIHADCCBeigAwIBAgIQA09MoxiEA3fqnsrSvOHDBDANBgkqhkiG9w0BAQsFADB6\nMQswCQYDVQQGEwJVUzELMAkGA1UECBMCVkExEDAOBgNVBAcTB0hlcm5kb24xITAf\nBgNVBAoTGE5ldHdvcmsgU29sdXRpb25zIEwuTC5DLjEpMCcGA1UEAxMgTmV0d29y\nayBTb2x1dGlvbnMgT1YgU2VydmVyIENBIDIwHhcNMTYxMDA0MDAwMDAwWhcNMTcx\nMDIyMjM1OTU5WjCCARExCzAJBgNVBAYTAlVTMRMwEQYDVQQREwo4NzEzMS0wMDAx\nMQswCQYDVQQIEwJOTTEUMBIGA1UEBxMLQWxidXF1ZXJxdWUxIzAhBgNVBAkTGjEg\nVW5pdmVyc2l0eSBvZiBOZXcgTWV4aWNvMSkwJwYDVQQJEyBEZXBhcnRtZW50IG9m\nIEJpb2xvZ3kgTVNDMDMgMjAyMDEhMB8GA1UEChMYVW5pdmVyc2l0eSBvZiBOZXcg\nTWV4aWNvMRwwGgYDVQQLExNMVEVSIE5ldHdvcmsgT2ZmaWNlMSEwHwYDVQQLExhT\nZWN1cmUgTGluayBTU0wgV2lsZGNhcmQxFjAUBgNVBAMMDSoubHRlcm5ldC5lZHUw\nggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQC/hDQ+aqpYpk2X3hCMlhw2\nRWpOQV5vwFIskZ5MlewRrpCGVpqiOGDVVSSCxmNhAkuOmN5COQJfvmQ5COUrMlT8\n8nPzuOnkqiI9L/Mq7fM8r+N6iYBBnXbxVJ54fkVtawl7FAmBvEqniWNFyEp4Et1E\nnVnZZY5J2pmt3ljIQV5LjCwOlxMSuKbF0KReX0dN9k+zxmN8Ei4VSb7c5RRUXTOA\nnECli56ViljC46VFxEESoURzILGNK8kAyhq1OAZzg4pyuhWQNdgT7YQEZASpCahq\nWOdTtYWhQ0zOgkzW4hqPRAgjsDo5hKj2rELVQyV2BFf0gG4mdgq/NvQgFCmzYAkj\n8IqmHbRc/FPLn4P1zIy6PBTc5Lwp+upEga1zUmvUd9bU/0Wmh9aeNngbtFmK/B+X\nZEIE27VxDBYq0LxzsIGoXtCRiFK7SigbOVrldzJKkiuYFCNTd+6ceKOTjy8tuRki\nLrpRZ5QZRi6MNjzvqQI1oGvEcW5kCzW4Wt4OxOZsp9tTDmg4YkJKKza3X/w3DP+y\n76BfFGzAm1NglqsW0WlNLzp7NaqMeCW3lLofDMZmlYOEPx0mn1BrN+XN5CCUGEVx\nho09GiA23X33AZqFQxGhHpT0ua9TfEKJjJSFtH4lRlOa52rnmbz1+RvRQJQ80bJO\nBOEsshMpYk9nTBR/deHr/QIDAQABo4IB5zCCAeMwHwYDVR0jBBgwFoAUIDPNt2H2\npYZP3MnXc2q8ClFlmOwwHQYDVR0OBBYEFJTuLsEk9g68lrwO7Udn+sHQfEqeMA4G\nA1UdDwEB/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&#39;</pre></td> </tr> 20170425-05:59:10: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] <tr> <td>SSL_TLS_SNI</td> <td class="code"><pre>&#39;gmn-s.lternet.edu&#39;</pre></td> </tr> <tr> 20170425-05:59:10: [INFO]: <td>mod_wsgi.application_group</td> ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>mod_wsgi.callable_object</td> <td class="code"><pre>&#39;application&#39;</pre></td> </tr> <tr> <td>mod_wsgi.enable_sendfile</td> <td class="code"><pre>&#39;0&#39;</pre></td> </tr> <tr> <td>mod_wsgi.handler_script</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>mod_wsgi.input_chunked</td> <td class="code"><pre>&#39;0&#39;</pre></td> </tr> <tr> <td>mod_wsgi.listener_host</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>mod_wsgi.listener_port</td> <td class="code"><pre>&#39;443&#39;</pre></td> </tr> <tr> <td>mod_wsgi.process_group</td> <td class="code"><pre>&#39;gmn2&#39;</pre></td> </tr> <tr> <td>mod_wsgi.queue_start</td> <td class="code"><pre>&#39;1493099269390738&#39;</pre></td> </tr> <tr> <td>mod_wsgi.request_handler</td> <td class="code"><pre>&#39;wsgi-script&#39;</pre></td> </tr> <tr> <td>mod_wsgi.script_reloading</td> <td class="code"><pre>&#39;1&#39;</pre></td> </tr> <tr> <td>mod_wsgi.version</td> <td class="code"><pre>(3, 4)</pre></td> </tr> <tr> <td>wsgi.errors</td> <td class="code"><pre>&lt;mod_wsgi.Log object at 0x7f17c08ab330&gt;</pre></td> </tr> <tr> <td>wsgi.file_wrapper</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>wsgi.input</td> <td class="code"><pre>&lt;mod_wsgi.Input object at 0x7f17c0654a70&gt;</pre></td> </tr> <tr> <td>wsgi.multiprocess</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>wsgi.multithread</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>wsgi.run_once</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>wsgi.url_scheme</td> <td class="code"><pre>&#39;https&#39;</pre></td> </tr> <tr> <td>wsgi.version</td> <td class="code"><pre>(1, 0)</pre></td> </tr> </tbody> </table> <h3 id="settings-info">Settings</h3> <h4>Using settings module <code>settings</code></h4> <table class="req"> <thead> <tr> 20170425-05:59:10: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] <th>Setting</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>ABSOLUTE_URL_OVERRIDES</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>ADMINS</td> <td class="code"><pre>((&#39;Roger Dahl&#39;, &#39;dahl@unm.edu&#39;), (&#39;Mark Servilla&#39;, &#39;mark.servilla@gmail.com&#39;))</pre></td> </tr> <tr> <td>ALLOWED_HOSTS</td> <td class="code"><pre>[&#39;localhost&#39;, &#39;127.0.0.1&#39;]</pre></td> </tr> <tr> <td>ALLOW_INTEGRATION_TESTS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>APPEND_SLASH</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>AUTHENTICATION_BACKENDS</td> <td class="code"><pre>[u&#39;django.contrib.auth.backends.ModelBackend&#39;]</pre></td> </tr> <tr> <td>AUTH_PASSWORD_VALIDATORS</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>AUTH_USER_MODEL</td> <td class="code"><pre>u&#39;auth.User&#39;</pre></td> </tr> <tr> <td>BASE_DIR</td> <td class="code"><pre>&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages&#39;</pre></td> </tr> <tr> <td>CACHES</td> <td class="code"><pre>{&#39;default&#39;: {&#39;BACKEND&#39;: &#39;django.core.cache.backends.locmem.LocMemCache&#39;, 20170425-05:59:10: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] &#39;TIMEOUT&#39;: 3600}}</pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_ALIAS</td> <td class="code"><pre>u&#39;default&#39;</pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_KEY_PREFIX</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_SECONDS</td> <td class="code"><pre>600</pre></td> </tr> <tr> <td>CLIENT_CERT_PATH</td> <td class="code"><pre>&#39;/var/local/dataone/certs/client/client_cert.pem&#39;</pre></td> </tr> <tr> <td>CLIENT_CERT_PRIVATE_KEY_PATH</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>CSRF_COOKIE_AGE</td> <td class="code"><pre>31449600</pre></td> </tr> <tr> <td>CSRF_COOKIE_DOMAIN</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>CSRF_COOKIE_HTTPONLY</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>CSRF_COOKIE_NAME</td> <td class="code"><pre>u&#39;csrftoken&#39;</pre></td> </tr> <tr> <td>CSRF_COOKIE_PATH</td> <td class="code"><pre>u&#39;/&#39;</pre></td> </tr> <tr> <td>CSRF_COOKIE_SECURE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>CSRF_FAILURE_VIEW</td> <td class="code"><pre>u&#39;django.views.csrf.csrf_failure&#39;</pre></td> </tr> <tr> <td>CSRF_HEADER_NAME</td> <td class="code"><pre>u&#39;HTTP_X_CSRFTOKEN&#39;</pre></td> </tr> <tr> <td>CSRF_TRUSTED_ORIGINS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>DATABASES</td> <td class="code"><pre>{&#39;default&#39;: {&#39;ATOMIC_REQUESTS&#39;: True, &#39;AUTOCOMMIT&#39;: True, &#39;CONN_MAX_AGE&#39;: 0, &#39;ENGINE&#39;: &#39;django.db.backends.postgresql_psycopg2&#39;, &#39;HOST&#39;: &#39;&#39;, &#39;NAME&#39;: &#39;gmn2&#39;, &#39;OPTIONS&#39;: {}, &#39;PASSWORD&#39;: u&#39;********************&#39;, &#39;PORT&#39;: &#39;&#39;, &#39;TEST&#39;: {&#39;CHARSET&#39;: None, &#39;COLLATION&#39;: None, &#39;MIRROR&#39;: None, &#39;NAME&#39;: None}, &#39;TIME_ZONE&#39;: None, &#39;USER&#39;: &#39;&#39;}}</pre></td> </tr> <tr> <td>DATABASE_ROUTERS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>DATAONE_ROOT</td> <td class="code"><pre>&#39;https://cn-stage.test.dataone.org/cn&#39;</pre></td> </tr> <tr> <td>DATAONE_TRUSTED_SUBJECTS</td> <td class="code"><pre>set([&#39;gmn_test_subject_trusted&#39;])</pre></td> </tr> <tr> <td>DATA_UPLOAD_MAX_MEMORY_SIZE</td> <td class="code"><pre>2621440</pre></td> </tr> <tr> <td>DATA_UPLOAD_MAX_NUMBER_FIELDS</td> <td class="code"><pre>1000</pre></td> </tr> <tr> <td>DATETIME_FORMAT</td> <td class="code"><pre>u&#39;N j, Y, P&#39;</pre></td> </tr> <tr> <td>DATETIME_INPUT_FORMATS</td> <td class="code"><pre>[u&#39;%Y-%m-%d %H:%M:%S&#39;, u&#39;%Y-%m-%d %H:%M:%S.%f&#39;, u&#39;%Y-%m-%d %H:%M&#39;, u&#39;%Y-%m-%d&#39;, u&#39;%m/%d/%Y %H:%M:%S&#39;, u&#39;%m/%d/%Y %H:%M:%S.%f&#39;, u&#39;%m/%d/%Y %H:%M&#39;, u&#39;%m/%d/%Y&#39;, u&#39;%m/%d/%y %H:%M:%S&#39;, u&#39;%m/%d/%y %H:%M:%S.%f&#39;, u&#39;%m/%d/%y %H:%M&#39;, u&#39;%m/%d/%y&#39;]</pre></td> </tr> <tr> <td>DATE_FORMAT</td> <td class="code"><pre>u&#39;N j, Y&#39;</pre></td> </tr> <tr> <td>DATE_INPUT_FORMATS</td> <td class="code"><pre>[u&#39;%Y-%m-%d&#39;, u&#39;%m/%d/%Y&#39;, u&#39;%m/%d/%y&#39;, u&#39;%b %d %Y&#39;, u&#39;%b %d, %Y&#39;, u&#39;%d %b %Y&#39;, u&#39;%d %b, %Y&#39;, u&#39;%B %d %Y&#39;, u&#39;%B %d, %Y&#39;, u&#39;%d %B %Y&#39;, u&#39;%d %B, %Y&#39;]</pre></td> </tr> <tr> <td>DEBUG</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>DEBUG_GMN</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>DEBUG_PROPAGATE_EXCEPTIONS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>DEBUG_PYCHARM</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>DECIMAL_SEPARATOR</td> <td class="code"><pre>u&#39;.&#39;</pre></td> </tr> <tr> <td>DEFAULT_CHARSET</td> <td class="code"><pre>u&#39;utf-8&#39;</pre></td> </tr> <tr> <td>DEFAULT_CONTENT_TYPE</td> <td class="code"><pre>u&#39;text/html&#39;</pre></td> </tr> <tr> <td>DEFAULT_EXCEPTION_REPORTER_FILTER</td> <td class="code"><pre>u&#39;django.views.debug.SafeExceptionReporterFilter&#39;</pre></td> </tr> <tr> <td>DEFAULT_FILE_STORAGE</td> <td class="code"><pre>u&#39;django.core.files.storage.FileSystemStorage&#39;</pre></td> </tr> <tr> <td>DEFAULT_FROM_EMAIL</td> <td class="code"><pre>u&#39;webmaster@localhost&#39;</pre></td> </tr> <tr> <td>DEFAULT_INDEX_TABLESPACE</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>DEFAULT_TABLESPACE</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>DISALLOWED_USER_AGENTS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>ECHO_REQUEST_OBJECT</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>EMAIL_BACKEND</td> <td class="code"><pre>u&#39;django.core.mail.backends.smtp.EmailBackend&#39;</pre></td> </tr> <tr> <td>EMAIL_HOST</td> <td class="code"><pre>u&#39;localhost&#39;</pre></td> </tr> <tr> <td>EMAIL_HOST_PASSWORD</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>EMAIL_HOST_USER</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>EMAIL_PORT</td> <td class="code"><pre>25</pre></td> </tr> <tr> <td>EMAIL_SSL_CERTFILE</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>EMAIL_SSL_KEYFILE</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>EMAIL_SUBJECT_PREFIX</td> <td class="code"><pre>u&#39;[Django] &#39;</pre></td> </tr> <tr> <td>EMAIL_TIMEOUT</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>EMAIL_USE_SSL</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>EMAIL_USE_TLS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>FILE_CHARSET</td> <td class="code"><pre>u&#39;utf-8&#39;</pre></td> </tr> <tr> <td>FILE_UPLOAD_DIRECTORY_PERMISSIONS</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FILE_UPLOAD_HANDLERS</td> <td class="code"><pre>[u&#39;django.core.files.uploadhandler.MemoryFileUploadHandler&#39;, u&#39;django.core.files.uploadhandler.TemporaryFileUploadHandler&#39;]</pre></td> </tr> <tr> <td>FILE_UPLOAD_MAX_MEMORY_SIZE</td> <td class="code"><pre>2621440</pre></td> </tr> <tr> <td>FILE_UPLOAD_PERMISSIONS</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FILE_UPLOAD_TEMP_DIR</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FIRST_DAY_OF_WEEK</td> <td class="code"><pre>0</pre></td> </tr> <tr> <td>FIXTURE_DIRS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>FORCE_SCRIPT_NAME</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FORMAT_MODULE_PATH</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>IGNORABLE_404_URLS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>INSTALLED_APPS</td> <td class="code"><pre>[&#39;django.contrib.staticfiles&#39;, &#39;app&#39;]</pre></td> </tr> <tr> <td>INTERNAL_IPS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>LANGUAGES</td> <td class="code"><pre>[(u&#39;af&#39;, u&#39;Afrikaans&#39;), (u&#39;ar&#39;, u&#39;Arabic&#39;), (u&#39;ast&#39;, u&#39;Asturian&#39;), (u&#39;az&#39;, u&#39;Azerbaijani&#39;), (u&#39;bg&#39;, u&#39;Bulgarian&#39;), (u&#39;be&#39;, u&#39;Belarusian&#39;), (u&#39;bn&#39;, u&#39;Bengali&#39;), (u&#39;br&#39;, u&#39;Breton&#39;), (u&#39;bs&#39;, u&#39;Bosnian&#39;), (u&#39;ca&#39;, u&#39;Catalan&#39;), (u&#39;cs&#39;, u&#39;Czech&#39;), (u&#39;cy&#39;, u&#39;Welsh&#39;), (u&#39;da&#39;, u&#39;Danish&#39;), (u&#39;de&#39;, u&#39;German&#39;), (u&#39;dsb&#39;, u&#39;Lower Sorbian&#39;), (u&#39;el&#39;, u&#39;Greek&#39;), (u&#39;en&#39;, u&#39;English&#39;), (u&#39;en-au&#39;, u&#39;Australian English&#39;), (u&#39;en-gb&#39;, u&#39;British English&#39;), (u&#39;eo&#39;, u&#39;Esperanto&#39;), (u&#39;es&#39;, u&#39;Spanish&#39;), (u&#39;es-ar&#39;, u&#39;Argentinian Spanish&#39;), (u&#39;es-co&#39;, u&#39;Colombian Spanish&#39;), (u&#39;es-mx&#39;, u&#39;Mexican Spanish&#39;), (u&#39;es-ni&#39;, u&#39;Nicaraguan Spanish&#39;), (u&#39;es-ve&#39;, u&#39;Venezuelan Spanish&#39;), (u&#39;et&#39;, u&#39;Estonian&#39;), (u&#39;eu&#39;, u&#39;Basque&#39;), (u&#39;fa&#39;, u&#39;Persian&#39;), (u&#39;fi&#39;, u&#39;Finnish&#39;), (u&#39;fr&#39;, u&#39;French&#39;), (u&#39;fy&#39;, u&#39;Frisian&#39;), (u&#39;ga&#39;, u&#39;Irish&#39;), (u&#39;gd&#39;, u&#39;Scottish Gaelic&#39;), (u&#39;gl&#39;, u&#39;Galician&#39;), (u&#39;he&#39;, u&#39;Hebrew&#39;), (u&#39;hi&#39;, u&#39;Hindi&#39;), (u&#39;hr&#39;, u&#39;Croatian&#39;), (u&#39;hsb&#39;, u&#39;Upper Sorbian&#39;), (u&#39;hu&#39;, u&#39;Hungarian&#39;), (u&#39;ia&#39;, u&#39;Interlingua&#39;), (u&#39;id&#39;, u&#39;Indonesian&#39;), (u&#39;io&#39;, u&#39;Ido&#39;), (u&#39;is&#39;, u&#39;Icelandic&#39;), (u&#39;it&#39;, u&#39;Italian&#39;), (u&#39;ja&#39;, u&#39;Japanese&#39;), (u&#39;ka&#39;, u&#39;Georgian&#39;), (u&#39;kk&#39;, u&#39;Kazakh&#39;), (u&#39;km&#39;, u&#39;Khmer&#39;), (u&#39;kn&#39;, u&#39;Kannada&#39;), (u&#39;ko&#39;, u&#39;Korean&#39;), (u&#39;lb&#39;, u&#39;Luxembourgish&#39;), (u&#39;lt&#39;, u&#39;Lithuanian&#39;), (u&#39;lv&#39;, u&#39;Latvian&#39;), (u&#39;mk&#39;, u&#39;Macedonian&#39;), (u&#39;ml&#39;, u&#39;Malayalam&#39;), (u&#39;mn&#39;, u&#39;Mongolian&#39;), (u&#39;mr&#39;, u&#39;Marathi&#39;), (u&#39;my&#39;, u&#39;Burmese&#39;), (u&#39;nb&#39;, u&#39;Norwegian Bokm\xe5l&#39;), (u&#39;ne&#39;, u&#39;Nepali&#39;), (u&#39;nl&#39;, u&#39;Dutch&#39;), (u&#39;nn&#39;, u&#39;Norwegian Nynorsk&#39;), (u&#39;os&#39;, u&#39;Ossetic&#39;), (u&#39;pa&#39;, u&#39;Punjabi&#39;), (u&#39;pl&#39;, u&#39;Polish&#39;), (u&#39;pt&#39;, u&#39;Portuguese&#39;), (u&#39;pt-br&#39;, u&#39;Brazilian Portuguese&#39;), (u&#39;ro&#39;, u&#39;Romanian&#39;), (u&#39;ru&#39;, u&#39;Russian&#39;), (u&#39;sk&#39;, u&#39;Slovak&#39;), (u&#39;sl&#39;, u&#39;Slovenian&#39;), (u&#39;sq&#39;, u&#39;Albanian&#39;), (u&#39;sr&#39;, u&#39;Serbian&#39;), (u&#39;sr-latn&#39;, u&#39;Serbian Latin&#39;), (u&#39;sv&#39;, u&#39;Swedish&#39;), (u&#39;sw&#39;, u&#39;Swahili&#39;), (u&#39;ta&#39;, u&#39;Tamil&#39;), (u&#39;te&#39;, u&#39;Telugu&#39;), (u&#39;th&#39;, u&#39;Thai&#39;), (u&#39;tr&#39;, u&#39;Turkish&#39;), (u&#39;tt&#39;, u&#39;Tatar&#39;), (u&#39;udm&#39;, u&#39;Udmurt&#39;), (u&#39;uk&#39;, u&#39;Ukrainian&#39;), (u&#39;ur&#39;, u&#39;Urdu&#39;), (u&#39;vi&#39;, u&#39;Vietnamese&#39;), (u&#39;zh-hans&#39;, u&#39;Simplified Chinese&#39;), (u&#39;zh-hant&#39;, u&#39;Traditional Chinese&#39;)]</pre></td> </tr> <tr> <td>LANGUAGES_BIDI</td> <td class="code"><pre>[u&#39;he&#39;, u&#39;ar&#39;, u&#39;fa&#39;, u&#39;ur&#39;]</pre></td> </tr> <tr> <td>LANGUAGE_CODE</td> <td class="code"><pre>&#39;en-us&#39;</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_AGE</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_DOMAIN</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_NAME</td> <td class="code"><pre>u&#39;django_language&#39;</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_PATH</td> <td class="code"><pre>u&#39;/&#39;</pre></td> </tr> <tr> <td>LOCALE_PATHS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>LOGGING</td> <td class="code"><pre>{&#39;disable_existing_loggers&#39;: True, &#39;formatters&#39;: {&#39;simple&#39;: {&#39;format&#39;: &#39;%(levelname)s %(message)s&#39;}, &#39;verbose&#39;: {&#39;datefmt&#39;: &#39;%Y-%m-%d %H:%M:%S&#39;, &#39;format&#39;: &#39;%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s&#39;}}, &#39;handlers&#39;: {&#39;file&#39;: {&#39;class&#39;: &#39;logging.FileHandler&#39;, &#39;filename&#39;: &#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log&#39;, &#39;formatter&#39;: &#39;verbose&#39;, &#39;level&#39;: &#39;DEBUG&#39;}, &#39;null&#39;: {&#39;class&#39;: &#39;logging.NullHandler&#39;, &#39;level&#39;: &#39;DEBUG&#39;}}, &#39;loggers&#39;: {&#39;&#39;: {&#39;handlers&#39;: [&#39;file&#39;], &#39;level&#39;: &#39;DEBUG&#39;, &#39;propagate&#39;: True}, &#39;django&#39;: {&#39;handlers&#39;: [&#39;file&#39;], &#39;level&#39;: &#39;DEBUG&#39;, &#39;propagate&#39;: False}, &#39;django.db.backends&#39;: {&#39;handlers&#39;: [&#39;null&#39;], &#39;level&#39;: &#39;WARNING&#39;, &#39;propagate&#39;: False}}, &#39;version&#39;: 1}</pre></td> </tr> <tr> <td>LOGGING_CONFIG</td> <td class="code"><pre>u&#39;logging.config.dictConfig&#39;</pre></td> </tr> <tr> <td>LOGIN_REDIRECT_URL</td> <td class="code"><pre>u&#39;/accounts/profile/&#39;</pre></td> </tr> <tr> <td>LOGIN_URL</td> <td class="code"><pre>u&#39;/accounts/login/&#39;</pre></td> </tr> <tr> <td>LOGOUT_REDIRECT_URL</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>LOG_LEVEL</td> <td class="code"><pre>&#39;DEBUG&#39;</pre></td> </tr> <tr> <td>LOG_PATH</td> <td class="code"><pre>&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log&#39;</pre></td> </tr> <tr> <td>MANAGERS</td> <td class="code"><pre>((&#39;Roger Dahl&#39;, &#39;dahl@unm.edu&#39;), (&#39;Mark Servilla&#39;, &#39;mark.servilla@gmail.com&#39;))</pre></td> </tr> <tr> <td>MAX_XML_DOCUMENT_SIZE</td> <td class="code"><pre>10485760</pre></td> </tr> <tr> <td>MEDIA_ROOT</td> <td class="code"><pre>u&#39;&#39;</pre></td> </tr> <tr> <td>MEDIA_URL</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>MESSAGE_STORAGE</td> <td class="code"><pre>u&#39;django.contrib.messages.storage.fallback.FallbackStorage&#39;</pre></td> </tr> <tr> <td>MIDDLEWARE</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>MIDDLEWARE_CLASSES</td> <td class="code"><pre>(&#39;app.middleware.request_handler.RequestHandler&#39;, &#39;app.middleware.exception_handler.ExceptionHandler&#39;, &#39;app.middleware.response_handler.ResponseHandler&#39;, &#39;app.middleware.profiling_handler.ProfilingHandler&#39;, &#39;app.middleware.view_handler.ViewHandler&#39;, &#39;app.middleware.startup_handler.StartupHandler&#39;)</pre></td> </tr> <tr> <td>MIGRATION_MODULES</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>MONITOR</td> <td class="code"><pre>True</pre></td> 20170425-05:59:10: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] </tr> <tr> <td>MONTH_DAY_FORMAT</td> <td class="code"><pre>u&#39;F j&#39;</pre></td> </tr> <tr> <td>NODE_BASEURL</td> <td class="code"><pre>&#39;https://gmn-s.lternet.edu/mn&#39;</pre></td> </tr> <tr> <td>NODE_CONTACT_SUBJECT</td> <td class="code"><pre>&#39;CN=Mark Servilla A6788,O=LTERN (Long Term Ecological Research Network),C=US,DC=cilogon,DC=org&#39;</pre></td> </tr> <tr> <td>NODE_DESCRIPTION</td> <td class="code"><pre>&#39;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.&#39;</pre></td> </tr> <tr> <td>NODE_IDENTIFIER</td> <td class="code"><pre>&#39;urn:node:mnTestLTER&#39;</pre></td> </tr> <tr> <td>NODE_NAME</td> <td class="code"><pre>&#39;Stage test for PASTA-GMN&#39;</pre></td> </tr> <tr> <td>NODE_REPLICATE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>NODE_STATE</td> <td class="code"><pre>&#39;up&#39;</pre></td> </tr> <tr> <td>NODE_SUBJECT</td> <td class="code"><pre>&#39;CN=urn:node:mnTestLTER,DC=dataone,DC=org&#39;</pre></td> </tr> <tr> <td>NODE_SYNCHRONIZE</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_HOUR</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_MINUTE</td> <td class="code"><pre>&#39;23&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_MONTH</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_MONTHDAY</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_SECOND</td> <td class="code"><pre>&#39;0&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_WEEKDAY</td> <td class="code"><pre>&#39;?&#39;</pre></td> </tr> <tr> <td>NODE_SYNC_SCHEDULE_YEAR</td> <td class="code"><pre>&#39;*&#39;</pre></td> </tr> <tr> <td>NUMBER_GROUPING</td> <td class="code"><pre>0</pre></td> </tr> <tr> <td>NUM_CHUNK_BYTES</td> <td class="code"><pre>1048576</pre></td> </tr> <tr> <td>OBJECT_STORE_PATH</td> <td class="code"><pre>&#39;/var/local/dataone/gmn_object_store&#39;</pre></td> </tr> <tr> <td>PASSWORD_HASHERS</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>PASSWORD_RESET_TIMEOUT_DAYS</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>PREPEND_WWW</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>PROXY_MODE_BASIC_AUTH_ENABLED</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>PROXY_MODE_BASIC_AUTH_PASSWORD</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>PROXY_MODE_BASIC_AUTH_USERNAME</td> <td class="code"><pre>&#39;&#39;</pre></td> </tr> <tr> <td>PROXY_MODE_STREAM_TIMEOUT</td> <td class="code"><pre>30</pre></td> </tr> <tr> <td>PUBLIC_LOG_RECORDS</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>PUBLIC_OBJECT_LIST</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>PYCHARM_BIN</td> <td class="code"><pre>&#39;pycharm.sh&#39;</pre></td> </tr> <tr> <td>REPLICATION_ALLOWEDNODE</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>REPLICATION_ALLOWEDOBJECTFORMAT</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>REPLICATION_MAXOBJECTSIZE</td> <td class="code"><pre>-1</pre></td> </tr> <tr> <td>REPLICATION_MAX_ATTEMPTS</td> <td class="code"><pre>24</pre></td> </tr> <tr> <td>REPLICATION_SPACEALLOCATED</td> <td class="code"><pre>10737418240</pre></td> </tr> <tr> <td>REQUIRE_WHITELIST_FOR_UPDATE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>ROOT_URLCONF</td> <td class="code"><pre>&#39;app.urls&#39;</pre></td> </tr> <tr> <td>SECRET_KEY</td> <td class="code"><pre>u&#39;********************&#39;</pre></td> </tr> <tr> <td>SECURE_BROWSER_XSS_FILTER</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECURE_CONTENT_TYPE_NOSNIFF</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECURE_HSTS_INCLUDE_SUBDOMAINS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECURE_HSTS_SECONDS</td> <td class="code"><pre>0</pre></td> </tr> <tr> <td>SECURE_PROXY_SSL_HEADER</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SECURE_REDIRECT_EXEMPT</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>SECURE_SSL_HOST</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SECURE_SSL_REDIRECT</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SERVER_EMAIL</td> <td class="code"><pre>u&#39;root@localhost&#39;</pre></td> </tr> <tr> <td>SESSION_CACHE_ALIAS</td> <td class="code"><pre>u&#39;default&#39;</pre></td> </tr> <tr> <td>SESSION_COOKIE_AGE</td> <td class="code"><pre>1209600</pre></td> </tr> <tr> <td>SESSION_COOKIE_DOMAIN</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SESSION_COOKIE_HTTPONLY</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>SESSION_COOKIE_NAME</td> <td class="code"><pre>u&#39;sessionid&#39;</pre></td> </tr> <tr> <td>SESSION_COOKIE_PATH</td> <td class="code"><pre>u&#39;/&#39;</pre></td> </tr> <tr> <td>SESSION_COOKIE_SECURE</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>SESSION_ENGINE</td> <td class="code"><pre>u&#39;django.contrib.sessions.backends.db&#39;</pre></td> </tr> <tr> <td>SESSION_EXPIRE_AT_BROWSER_CLOSE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SESSION_FILE_PATH</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SESSION_SAVE_EVERY_REQUEST</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SESSION_SERIALIZER</td> <td class="code"><pre>u&#39;django.contrib.sessions.serializers.JSONSerializer&#39;</pre></td> </tr> <tr> <td>SETTINGS_MODULE</td> <td class="code"><pre>&#39;settings&#39;</pre></td> </tr> <tr> <td>SHORT_DATETIME_FORMAT</td> <td class="code"><pre>u&#39;m/d/Y P&#39;</pre></td> </tr> <tr> <td>SHORT_DATE_FORMAT</td> <td class="code"><pre>u&#39;m/d/Y&#39;</pre></td> </tr> <tr> <td>SIGNING_BACKEND</td> <td class="code"><pre>u&#39;django.core.signing.TimestampSigner&#39;</pre></td> </tr> <tr> <td>SILENCED_SYSTEM_CHECKS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>STAND_ALONE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>STATICFILES_DIRS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>STATICFILES_FINDERS</td> <td class="code"><pre>[u&#39;django.contrib.staticfiles.finders.FileSystemFinder&#39;, u&#39;django.contrib.staticfiles.finders.AppDirectoriesFinder&#39;]</pre></td> </tr> <tr> <td>STATICFILES_STORAGE</td> <td class="code"><pre>u&#39;django.contrib.staticfiles.storage.StaticFilesStorage&#39;</pre></td> </tr> <tr> <td>STATIC_ROOT</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>STATIC_URL</td> <td class="code"><pre>&#39;/static/&#39;</pre></td> </tr> <tr> <td>SYSMETA_REFRESH_MAX_ATTEMPTS</td> <td class="code"><pre>24</pre></td> </tr> <tr> <td>TEMPLATES</td> <td class="code"><pre>[{&#39;BACKEND&#39;: &#39;django.template.backends.django.DjangoTemplates&#39;, &#39;DIRS&#39;: [&#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/templates&#39;], &#39;OPTIONS&#39;: {&#39;context_processors&#39;: [&#39;django.contrib.auth.context_processors.auth&#39;, &#39;django.template.context_processors.debug&#39;, &#39;django.template.context_processors.i18n&#39;, &#39;django.template.context_processors.media&#39;, &#39;django.template.context_processors.static&#39;, &#39;django.template.context_processors.tz&#39;, &#39;django.contrib.messages.context_processors.messages&#39;], &#39;loaders&#39;: [&#39;django.template.loaders.filesystem.Loader&#39;]}}]</pre></td> </tr> <tr> <td>TEST_NON_SERIALIZED_APPS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>TEST_RUNNER</td> <td class="code"><pre>u&#39;django.test.runner.DiscoverRunner&#39;</pre></td> </tr> <tr> <td>THOUSAND_SEPARATOR</td> <td class="code"><pre>u&#39;,&#39;</pre></td> </tr> <tr> <td>TIME_FORMAT</td> <td class="code"><pre>u&#39;P&#39;</pre></td> </tr> <tr> <td>TIME_INPUT_FORMATS</td> <td class="code"><pre>[u&#39;%H:%M:%S&#39;, u&#39;%H:%M:%S.%f&#39;, u&#39;%H:%M&#39;]</pre></td> </tr> <tr> <td>TIME_ZONE</td> <td class="code"><pre>&#39;UTC&#39;</pre></td> </tr> <tr> <td>TRUST_CLIENT_AUTHORITATIVEMEMBERNODE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_DATESYSMETADATAMODIFIED</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_DATEUPLOADED</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>TRUST_CLIENT_ORIGINMEMBERNODE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_SERIALVERSION</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TRUST_CLIENT_SUBMITTER</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_ETAGS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_I18N</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>USE_L10N</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_THOUSAND_SEPARATOR</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_TZ</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_X_FORWARDED_HOST</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>USE_X_FORWARDED_PORT</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>WSGI_APPLICATION</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>X_FRAME_OPTIONS</td> <td class="code"><pre>u&#39;SAMEORIGIN&#39;</pre></td> </tr> <tr> <td>YEAR_MONTH_FORMAT</td> <td class="code"><pre>u&#39;F Y&#39;</pre></td> </tr> </tbody> </table> </div> <div id="explanation"> <p> You're seeing this error because you have <code>DEBUG = True</code> in your Django settings file. Change that to <code>False</code>, and Django will display a standard page generated by the handler for this status code. </p> </div> </body> </html> 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) 20170425-05:59:10: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] ... 38 more 20170425-05:59:10: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225910885 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:10: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225910885 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225910885</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:59:10.896+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:59:10.896+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestNEON</originMemberNode> <authoritativeMemberNode>urn:node:mnTestNEON</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:11: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225910885; FilePart:object = /tmp/mmp.output.645738158922719371.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5416271148875915895.tmp (1098 bytes); [org.dataone.client.rest.RestClient] 20170425-05:59:11: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(UpdateSystemMetadataTestImplementations.java:616) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(UpdateSystemMetadataTestImplementations.java:603) at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(MNStorageV2IT.java:283) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.rules.Verifier$1.evaluate(Verifier.java:34) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at com.sun.proxy.$Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node. at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628) at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82) at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463) at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495) at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600) ... 38 more 20170425-05:59:11: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:11: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:11: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:11: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:11: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:59:11: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:11: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225911193 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:11: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225911193 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225911193</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:59:11.204+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:59:11.204+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestARCTIC</originMemberNode> <authoritativeMemberNode>urn:node:mnTestARCTIC</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:12: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225911193; FilePart:object = /tmp/mmp.output.6228553429847271826.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7936852969007444224.tmp (1102 bytes); [org.dataone.client.rest.RestClient] 20170425-05:59:12: [INFO]: object created. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225911193 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:12: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:59:13: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225911193 [org.dataone.client.rest.RestClient] 20170425-05:59:14: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225911193; FilePart:sysmeta = /tmp/mmp.output.3601596083988404357.tmp (1184 bytes); [org.dataone.client.rest.RestClient] 20170425-05:59:15: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225911193; FilePart:sysmeta = /tmp/mmp.output.6451142387259851255.tmp (1184 bytes); [org.dataone.client.rest.RestClient] 20170425-05:59:15: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:15: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:15: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:15: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:15: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:59:15: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:15: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225915363 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:15: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225915363 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225915363</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:59:15.375+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:59:15.375+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestCLOEBIRD</originMemberNode> <authoritativeMemberNode>urn:node:mnTestCLOEBIRD</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:15: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225915363; FilePart:object = /tmp/mmp.output.1624275757327017734.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1770023382528363198.tmp (1106 bytes); [org.dataone.client.rest.RestClient] 20170425-05:59: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.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(UpdateSystemMetadataTestImplementations.java:616) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(UpdateSystemMetadataTestImplementations.java:603) at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(MNStorageV2IT.java:283) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.rules.Verifier$1.evaluate(Verifier.java:34) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at com.sun.proxy.$Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node. at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628) at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82) at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463) at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495) at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600) ... 38 more 20170425-05:59:15: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:15: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:15: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:15: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:15: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:59:15: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:15: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225915690 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:15: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225915690 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225915690</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:59:15.701+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:59:15.701+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestRW</originMemberNode> <authoritativeMemberNode>urn:node:mnTestRW</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:15: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225915690; FilePart:object = /tmp/mmp.output.6026663060032578288.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1517060589442559180.tmp (1094 bytes); [org.dataone.client.rest.RestClient] 20170425-05:59: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: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>500 Internal server error</title> </head> <body> <p> <h3 style="color:red;">500 Internal server error</h3> </p> <p> Please notify the administrator. </p> <p> <a href="/">Home</a> </p> </body> </html> at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(UpdateSystemMetadataTestImplementations.java:616) at org.dataone.integration.it.testImplementations.UpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(UpdateSystemMetadataTestImplementations.java:603) at org.dataone.integration.it.apiTests.MNStorageV2IT.testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(MNStorageV2IT.java:283) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.rules.Verifier$1.evaluate(Verifier.java:34) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at com.sun.proxy.$Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>500 Internal server error</title> </head> <body> <p> <h3 style="color:red;">500 Internal server error</h3> </p> <p> Please notify the administrator. </p> <p> <a href="/">Home</a> </p> </body> </html> at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372) at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107) at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82) at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463) at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495) at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505) at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600) ... 38 more 20170425-05:59:15: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:15: [INFO]: ***************** running test for testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:15: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:15: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:15: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-05:59:15: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:15: [INFO]: creating a test object. pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225915925 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:15: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225915925 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns3:systemMetadata xmlns:ns2="http://ns.dataone.org/service/types/v1" xmlns:ns3="http://ns.dataone.org/service/types/v2.0"> <serialVersion>1</serialVersion> <identifier>testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225915925</identifier> <formatId>eml://ecoinformatics.org/eml-2.0.1</formatId> <size>17181</size> <checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum> <submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter> <rightsHolder>CN=testRightsHolder,DC=dataone,DC=org</rightsHolder> <accessPolicy> <allow> <subject>testRightsHolder</subject> <permission>changePermission</permission> </allow> </accessPolicy> <dateUploaded>2017-04-25T05:59:15.937+00:00</dateUploaded> <dateSysMetadataModified>2017-04-25T05:59:15.937+00:00</dateSysMetadataModified> <originMemberNode>urn:node:mnTestEDI</originMemberNode> <authoritativeMemberNode>urn:node:mnTestEDI</authoritativeMemberNode> </ns3:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-05:59:16: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_InvalidRequest_ModifiedSeriesId_2017114225915925; FilePart:object = /tmp/mmp.output.4811072307207546049.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1409559235497081045.tmp (1096 bytes); [org.dataone.client.rest.RestClient] 20170425-05:59:16: [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: <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="robots" content="NONE,NOARCHIVE"> <title>InvalidToken at /v2/object</title> <style type="text/css"> html * { padding:0; margin:0; } body * { padding:10px 20px; } body * * { padding:0; } body { font:small sans-serif; } body>div { border-bottom:1px solid #ddd; } h1 { font-weight:normal; } h2 { margin-bottom:.8em; } h2 span { font-size:80%; color:#666; font-weight:normal; } h3 { margin:1em 0 .5em 0; } h4 { margin:0 0 .5em 0; font-weight: normal; } code, pre { font-size: 100%; white-space: pre-wrap; } table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; } tbody td, tbody th { vertical-align:top; padding:2px 3px; } thead th { padding:1px 6px 1px 3px; background:#fefefe; text-align:left; font-weight:normal; font-size:11px; border:1px solid #ddd; } tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; } table.vars { margin:5px 0 2px 40px; } table.vars td, table.req td { font-family:monospace; } table td.code { width:100%; } table td.code pre { overflow:hidden; } table.source th { color:#666; } table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; } ul.traceback { list-style-type:none; color: #222; } ul.traceback li.frame { padding-bottom:1em; color:#666; } ul.traceback li.user { background-color:#e0e0e0; color:#000 } div.context { padding:10px 0; overflow:hidden; } div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; } div.context ol li { font-family:monospace; white-space:pre; color:#777; cursor:pointer; padding-left: 2px; } div.context ol li pre { display:inline; } div.context ol.context-line li { color:#505050; background-color:#dfdfdf; padding: 3px 2px; } div.context ol.context-line li span { position:absolute; right:32px; } .user div.context ol.context-line li { background-color:#bbb; color:#000; } .user div.context ol li { color:#666; } div.commands { margin-left: 40px; } div.commands a { color:#555; text-decoration:none; } .user div.commands a { color: black; } #summary { background: #ffc; } #summary h2 { font-weight: normal; color: #666; } #explanation { background:#eee; } #template, #template-not-exist { background:#f6f6f6; } #template-not-exist ul { margin: 0 0 10px 20px; } #template-not-exist .postmortem-section { margin-bottom: 3px; } #unicode-hint { background:#eee; } #traceback { background:#eee; } #requestinfo { background:#f6f6f6; padding-left:120px; } #summary table { border:none; background:transparent; } #requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; } #requestinfo h3 { margin-bottom:-1em; } .error { background: #ffc; } .specific { color:#cc3300; font-weight:bold; } h2 span.commands { font-size:.7em;} span.commands a:link {color:#5E5694;} pre.exception_value { font-family: sans-serif; color: #666; font-size: 1.5em; margin: 10px 0 10px 0; } .append-bottom { margin-bottom: 10px; } </style> <script type="text/javascript"> //<!-- function getElementsByClassName(oElm, strTagName, strClassName){ // Written by Jonathan Snook, http://www.snook.ca/jon; Add-ons by Robert Nyman, http://www.robertnyman.com var arrElements = (strTagName == "*" && document.all)? document.all : oElm.getElementsByTagName(strTagName); var arrReturnElements = new Array(); strClassName = strClassName.replace(/\-/g, "\-"); var oRegExp = new RegExp("(^|\s)" + strClassName + "(\s|$)"); var oElement; for(var i=0; i<arrElements.length; i++){ oElement = arrElements[i]; if(oRegExp.test(oElement.className)){ arrReturnElements.push(oElement); } } return (arrReturnElements) } function hideAll(elems) { for (var e = 0; e < elems.length; e++) { elems[e].style.display = 'none'; } } window.onload = function() { hideAll(getElementsByClassName(document, 'table', 'vars')); hideAll(getElementsByClassName(document, 'ol', 'pre-context')); hideAll(getElementsByClassName(document, 'ol', 'post-context')); hideAll(getElementsByClassName(document, 'div', 'pastebin')); } function toggle() { for (var i = 0; i < arguments.length; i++) { var e = document.getElementById(arguments[i]); if (e) { e.style.display = e.style.display == 'none' ? 'block': 'none'; } } return false; } function varToggle(link, id) { toggle('v' + id); var s = link.getElementsByTagName('span')[0]; var uarr = String.fromCharCode(0x25b6); var darr = String.fromCharCode(0x25bc); s.textContent = s.textContent == uarr ? darr : uarr; return false; } function switchPastebinFriendly(link) { s1 = "Switch to copy-and-paste view"; s2 = "Switch back to interactive view"; link.textContent = link.textContent.trim() == s1 ? s2: s1; toggle('browserTraceback', 'pastebinTraceback'); return false; } //--> </script> </head> <body> <div id="summary"> <h1>InvalidToken at /v2/object</h1> <pre class="exception_value">name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error=&quot;name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info=&quot;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;d1:subjectInfo xmlns:d1=&quot;http://ns.dataone.org/service/types/v1&quot;&gt;.&lt;person&gt;..&lt;subject&gt;CN=testRightsHolder,DC=dataone,DC=org&lt;/subject&gt;..&lt;givenName&gt;testRightsHolder_givenName&lt;/givenName&gt;..&lt;familyName&gt;testRightsHolder_familyName&lt;/familyName&gt;.&lt;/person&gt;&lt;/d1:subjectInfo&gt;&quot;, error=&quot;Invalid non-element content at &lt;unknown&gt;[1:113]&quot; &quot; </pre> <table class="meta"> <tr> <th>Request Method:</th> <td>POST</td> </tr> <tr> <th>Request URL:</th> <td>https://gmn-s.edirepository.org/mn/v2/object</td> </tr> <tr> <th>Django Version:</th> <td>1.10.1</td> </tr> <tr> <th>Exception Type:</th> <td>InvalidToken</td> </tr> <tr> <th>Exception Value:</th> <td><pre>name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error=&quot;name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info=&quot;&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;d1:subjectInfo xmlns:d1=&quot;http://ns.dataone.org/service/types/v1&quot;&gt;.&lt;person&gt;..&lt;subject&gt;CN=testRightsHolder,DC=dataone,DC=org&lt;/subject&gt;..&lt;givenName&gt;testRightsHolder_givenName&lt;/givenName&gt;..&lt;familyName&gt;testRightsHolder_familyName&lt;/familyName&gt;.&lt;/person&gt;&lt;/d1:subjectInfo&gt;&quot;, error=&quot;Invalid non-element content at &lt;unknown&gt;[1:113]&quot; &quot; </pre></td> </tr> <tr> <th>Exception Location:</th> <td>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py in get_subjects, line 69</td> </tr> <tr> <th>Python Executable:</th> <td>/var/local/dataone/gmn_venv/bin/python</td> </tr> <tr> <th>Python Version:</th> <td>2.7.12</td> </tr> <tr> <th>Python Path:</th> <td><pre>[&#39;/var/local/dataone/gmn_venv/lib/python2.7&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/plat-x86_64-linux-gnu&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/lib-tk&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/lib-old&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/lib-dynload&#39;, &#39;/usr/lib/python2.7&#39;, &#39;/usr/lib/python2.7/plat-x86_64-linux-gnu&#39;, &#39;/usr/lib/python2.7/lib-tk&#39;, &#39;/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/.&#39;, &#39;/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/..&#39;]</pre></td> </tr> <tr> <th>Server time:</th> <td>Tue, 25 Apr 2017 05:59:15 +0000</td> </tr> </table> </div> <div id="traceback"> <h2>Traceback <span class="commands"><a href="#" onclick="return switchPastebinFriendly(this);"> Switch to copy-and-paste view</a></span> </h2> <div id="browserTraceback"> <ul class="traceback"> <li class="frame django"> <code>/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py</code> in <code>inner</code> <div class="context" id="c140453977981368"> <ol start="32" class="pre-context" id="pre140453977981368"> <li onclick="toggle('pre140453977981368', 'post140453977981368')"><pre> This decorator is automatically applied to all middleware to ensure that</pre></li> <li onclick="toggle('pre140453977981368', 'post140453977981368')"><pre> no middleware leaks an exception and that the next middleware in the stack</pre></li> <li onclick="toggle('pre140453977981368', 'post140453977981368')"><pre> can rely on getting a response instead of an exception.</pre></li> <li onclick="toggle('pre140453977981368', 'post140453977981368')"><pre> &quot;&quot;&quot;</pre></li> <li onclick="toggle('pre140453977981368', 'post140453977981368')"><pre> @wraps(get_response, assigned=available_attrs(get_response))</pre></li> <li onclick="toggle('pre140453977981368', 'post140453977981368')"><pre> def inner(request):</pre></li> <li onclick="toggle('pre140453977981368', 'post140453977981368')"><pre> try:</pre></li> </ol> <ol start="39" class="context-line"> <li onclick="toggle('pre140453977981368', 'post140453977981368')"><pre> response = get_response(request)</pre> <span>...</span></li></ol> <ol start='40' class="post-context" id="post140453977981368"> <li onclick="toggle('pre140453977981368', 'post140453977981368')"><pre> except Exception as exc:</pre></li> <li onclick="toggle('pre140453977981368', 'post140453977981368')"><pre> response = response_for_exception(request, exc)</pre></li> <li onclick="toggle('pre140453977981368', 'post140453977981368')"><pre> return response</pre></li> <li onclick="toggle('pre140453977981368', 'post140453977981368')"><pre> return inner</pre></li> <li onclick="toggle('pre140453977981368', 'post140453977981368')"><pre></pre></li> <li onclick="toggle('pre140453977981368', 'post140453977981368')"><pre></pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '140453977981368')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v140453977981368"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>exc</td> <td class="code"><pre>InvalidToken()</pre></td> </tr> <tr> <td>get_response</td> <td class="code"><pre>&lt;bound method D1WSGIHandler._legacy_get_response of &lt;_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbe0e182950&gt;&gt;</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame django"> <code>/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py</code> in <code>_legacy_get_response</code> <div class="context" id="c140453990908056"> <ol start="242" class="pre-context" id="pre140453990908056"> <li onclick="toggle('pre140453990908056', 'post140453990908056')"><pre> # Apply request middleware</pre></li> <li onclick="toggle('pre140453990908056', 'post140453990908056')"><pre> for middleware_method in self._request_middleware:</pre></li> <li onclick="toggle('pre140453990908056', 'post140453990908056')"><pre> response = middleware_method(request)</pre></li> <li onclick="toggle('pre140453990908056', 'post140453990908056')"><pre> if response:</pre></li> <li onclick="toggle('pre140453990908056', 'post140453990908056')"><pre> break</pre></li> <li onclick="toggle('pre140453990908056', 'post140453990908056')"><pre></pre></li> <li onclick="toggle('pre140453990908056', 'post140453990908056')"><pre> if response is None:</pre></li> </ol> <ol start="249" class="context-line"> <li onclick="toggle('pre140453990908056', 'post140453990908056')"><pre> response = self._get_response(request)</pre> <span>...</span></li></ol> <ol start='250' class="post-context" id="post140453990908056"> <li onclick="toggle('pre140453990908056', 'post140453990908056')"><pre> return response</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '140453990908056')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v140453990908056"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>middleware_method</td> <td class="code"><pre>&lt;bound method RequestHandler.process_request of &lt;app.middleware.request_handler.RequestHandler object at 0x7fbe0c0bcc10&gt;&gt;</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>response</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbe0e182950&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame django"> <code>/var/local/dataone/gmn_venv/local/lib/python2.7/site-packages/django/core/handlers/base.py</code> in <code>_get_response</code> <div class="context" id="c140453974990432"> <ol start="171" class="pre-context" id="pre140453974990432"> <li onclick="toggle('pre140453974990432', 'post140453974990432')"><pre></pre></li> <li onclick="toggle('pre140453974990432', 'post140453974990432')"><pre> resolver_match = resolver.resolve(request.path_info)</pre></li> <li onclick="toggle('pre140453974990432', 'post140453974990432')"><pre> callback, callback_args, callback_kwargs = resolver_match</pre></li> <li onclick="toggle('pre140453974990432', 'post140453974990432')"><pre> request.resolver_match = resolver_match</pre></li> <li onclick="toggle('pre140453974990432', 'post140453974990432')"><pre></pre></li> <li onclick="toggle('pre140453974990432', 'post140453974990432')"><pre> # Apply view middleware</pre></li> <li onclick="toggle('pre140453974990432', 'post140453974990432')"><pre> for middleware_method in self._view_middleware:</pre></li> </ol> <ol start="178" class="context-line"> <li onclick="toggle('pre140453974990432', 'post140453974990432')"><pre> response = middleware_method(request, callback, callback_args, callback_kwargs)</pre> <span>...</span></li></ol> <ol start='179' class="post-context" id="post140453974990432"> <li onclick="toggle('pre140453974990432', 'post140453974990432')"><pre> if response:</pre></li> <li onclick="toggle('pre140453974990432', 'post140453974990432')"><pre> break</pre></li> <li onclick="toggle('pre140453974990432', 'post140453974990432')"><pre></pre></li> <li onclick="toggle('pre140453974990432', 'post140453974990432')"><pre> if response is None:</pre></li> <li onclick="toggle('pre140453974990432', 'post140453974990432')"><pre> wrapped_callback = self.make_view_atomic(callback)</pre></li> <li onclick="toggle('pre140453974990432', 'post140453974990432')"><pre> try:</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '140453974990432')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v140453974990432"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>callback</td> <td class="code"><pre>&lt;function dispatch_object_list at 0x7fbe041786e0&gt;</pre></td> </tr> <tr> <td>callback_args</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>callback_kwargs</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>middleware_method</td> <td class="code"><pre>&lt;bound method ViewHandler.process_view of &lt;app.middleware.view_handler.ViewHandler object at 0x7fbe059a7090&gt;&gt;</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>resolver</td> <td class="code"><pre>&lt;RegexURLResolver &#39;app.urls&#39; (None:None) ^/&gt;</pre></td> </tr> <tr> <td>resolver_match</td> <td class="code"><pre>ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=dispatch_object_list, app_names=[], namespaces=[])</pre></td> </tr> <tr> <td>response</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbe0e182950&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py</code> in <code>process_view</code> <div class="context" id="c140453978110936"> <ol start="44" class="pre-context" id="pre140453978110936"> <li onclick="toggle('pre140453978110936', 'post140453978110936')"><pre> logging.info(</pre></li> <li onclick="toggle('pre140453978110936', 'post140453978110936')"><pre> u&#39;View: func_name=&quot;{}&quot;, method=&quot;{}&quot;, args=&quot;{}&quot;, kwargs=&quot;{}&quot;, url=&quot;{}&quot;&#39;</pre></li> <li onclick="toggle('pre140453978110936', 'post140453978110936')"><pre> .format(</pre></li> <li onclick="toggle('pre140453978110936', 'post140453978110936')"><pre> view_func.func_name, request.method, view_args, view_kwargs, request.path_info</pre></li> <li onclick="toggle('pre140453978110936', 'post140453978110936')"><pre> )</pre></li> <li onclick="toggle('pre140453978110936', 'post140453978110936')"><pre> )</pre></li> <li onclick="toggle('pre140453978110936', 'post140453978110936')"><pre> # logging.debug(request.headers)</pre></li> </ol> <ol start="51" class="context-line"> <li onclick="toggle('pre140453978110936', 'post140453978110936')"><pre> self.process_session(request)</pre> <span>...</span></li></ol> <ol start='52' class="post-context" id="post140453978110936"> <li onclick="toggle('pre140453978110936', 'post140453978110936')"><pre></pre></li> <li onclick="toggle('pre140453978110936', 'post140453978110936')"><pre> def process_session(self, request):</pre></li> <li onclick="toggle('pre140453978110936', 'post140453978110936')"><pre> # For simulating an HTTPS connection with client authentication when</pre></li> <li onclick="toggle('pre140453978110936', 'post140453978110936')"><pre> # debugging via regular HTTP, two mechanisms are supported. (1) A full</pre></li> <li onclick="toggle('pre140453978110936', 'post140453978110936')"><pre> # client side certificate can be included and (2) a list of subjects can be</pre></li> <li onclick="toggle('pre140453978110936', 'post140453978110936')"><pre> # included. Both use vendor specific extensions (HTTP headers that start</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '140453978110936')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v140453978110936"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;app.middleware.view_handler.ViewHandler object at 0x7fbe059a7090&gt;</pre></td> </tr> <tr> <td>view_args</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>view_func</td> <td class="code"><pre>&lt;function dispatch_object_list at 0x7fbe041786e0&gt;</pre></td> </tr> <tr> <td>view_kwargs</td> <td class="code"><pre>{}</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py</code> in <code>process_session</code> <div class="context" id="c140453978110360"> <ol start="66" class="pre-context" id="pre140453978110360"> <li onclick="toggle('pre140453978110360', 'post140453978110360')"><pre> request.META[&#39;SSL_CLIENT_CERT&#39;] = \</pre></li> <li onclick="toggle('pre140453978110360', 'post140453978110360')"><pre> self.pem_in_http_header_to_pem_in_string(</pre></li> <li onclick="toggle('pre140453978110360', 'post140453978110360')"><pre> request.META[&#39;HTTP_VENDOR_INCLUDE_CERTIFICATE&#39;])</pre></li> <li onclick="toggle('pre140453978110360', 'post140453978110360')"><pre></pre></li> <li onclick="toggle('pre140453978110360', 'post140453978110360')"><pre> # Add subjects from any provided certificate and JWT and store them in</pre></li> <li onclick="toggle('pre140453978110360', 'post140453978110360')"><pre> # the Django request obj.</pre></li> <li onclick="toggle('pre140453978110360', 'post140453978110360')"><pre> cert_primary_str, cert_equivalent_set = app.middleware.session_cert.get_subjects(</pre></li> </ol> <ol start="73" class="context-line"> <li onclick="toggle('pre140453978110360', 'post140453978110360')"><pre> request</pre> <span>...</span></li></ol> <ol start='74' class="post-context" id="post140453978110360"> <li onclick="toggle('pre140453978110360', 'post140453978110360')"><pre> )</pre></li> <li onclick="toggle('pre140453978110360', 'post140453978110360')"><pre> jwt_subject_list = app.middleware.session_jwt.validate_jwt_and_get_subject_list(</pre></li> <li onclick="toggle('pre140453978110360', 'post140453978110360')"><pre> request</pre></li> <li onclick="toggle('pre140453978110360', 'post140453978110360')"><pre> )</pre></li> <li onclick="toggle('pre140453978110360', 'post140453978110360')"><pre> primary_subject_str = cert_primary_str</pre></li> <li onclick="toggle('pre140453978110360', 'post140453978110360')"><pre> all_subjects_set = cert_equivalent_set | {cert_primary_str</pre></li> </ol> </div> <div class="commands"> <a href="#" onclick="return varToggle(this, '140453978110360')"><span>&#x25b6;</span> Local vars</a> </div> <table class="vars" id="v140453978110360"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>request</td> <td class="code"><pre>&lt;D1WSGIRequest: POST &#39;/mn/v2/object&#39;&gt;</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre>&lt;app.middleware.view_handler.ViewHandler object at 0x7fbe059a7090&gt;</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py</code> in <code>get_subjects</code> <div class="context" id="c140453978109784"> <ol start="62" class="pre-context" id="pre140453978109784"> <li onclick="toggle('pre140453978109784', 'post140453978109784')"><pre> &quot;&quot;&quot;</pre></li> <li onclick="toggle('pre140453978109784', 'post140453978109784')"><pre> if _is_certificate_provided(request):</pre></li> <li onclick="toggle('pre140453978109784', 'post140453978109784')"><pre> try:</pre></li> <li onclick="toggle('pre140453978109784', 'post140453978109784')"><pre> return get_authenticated_subjects(request.META[&#39;SSL_CLIENT_CERT&#39;])</pre></li> <li onclick="toggle('pre140453978109784', 'post140453978109784')"><pre> except Exception as e:</pre></li> <li onclick="toggle('pre140453978109784', 'post140453978109784')"><pre> raise d1_common.types.exceptions.InvalidToken(</pre></li> <li onclick="toggle('pre140453978109784', 'post140453978109784')"><pre> 0,</pre></li> </ol> <ol start="69" class="context-line"> <li onclick="toggle('pre140453978109784', 'post140453978109784')"><pre> u&#39;Error extracting session from certificate. error=&quot;{}&quot;&#39;.format(str(e))</pre> <span>...</span></li></ol> <ol start='70' class="post-context" id="post140453978109784"> <li onclick="toggle('pre140453978109784', 'post140453978109784')"><pre> )</pre></li> <li onclick="toggle('pre140453978109784', 'post140453978109784')"><pre> else:</pre></li> <li onclick="toggle('pre140453978109784', 'post140453978109784')"><pre> return d1_common.const.SUBJECT_PUBLIC, set()</pre></li> <li onclick="toggle('pre140453978109784', 'post140453978109784')"><pre></pre></li> <li onclick="toggle('pre140453978109784', 'post140453978109784')"><pre></pre></li> <li onclick="toggle('pre140453978109784', 'post140453978109784')"><pre>def get_authenticated_subjects(cert_pem):</pre></li> </ol> </div> <div cla