Established TCP socket on 53814
<===[JENKINS REMOTING CAPACITY]===> channel started
Executing Maven: -B -f /var/lib/jenkins/jobs/d1_integration_Stage_MN_sid_functional/workspace/pom.xml -Dit.test=SidMNTestImplementations -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_sid_functional/workspace' && 'svn' '--non-interactive' 'info'
[INFO] Working directory: /var/lib/jenkins/jobs/d1_integration_Stage_MN_sid_functional/workspace
[INFO] Storing buildNumber: 18813 at timestamp: 1493099992756
[INFO] Executing: /bin/sh -c cd '/var/lib/jenkins/jobs/d1_integration_Stage_MN_sid_functional/workspace' && 'svn' '--non-interactive' 'info'
[INFO] Working directory: /var/lib/jenkins/jobs/d1_integration_Stage_MN_sid_functional/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_sid_functional/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_sid_functional/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_sid_functional/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.089 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_sid_functional/workspace/target/classes
[copy] Copying 3 files to /var/lib/jenkins/jobs/d1_integration_Stage_MN_sid_functional/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_sid_functional/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_sid_functional/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_sid_functional/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_sid_functional/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_sid_functional/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_sid_functional/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_sid_functional/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_sid_functional/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_sid_functional/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_sid_functional/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_sid_functional/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_sid_functional/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_sid_functional/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_sid_functional/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_sid_functional/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_sid_functional/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_sid_functional/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_sid_functional/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_sid_functional/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_sid_functional/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_sid_functional/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_sid_functional/workspace/target/d1_integration-2.3-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [/var/lib/jenkins/jobs/d1_integration_Stage_MN_sid_functional/workspace/src/main/webapp]
[INFO] Processing overlay [ id edu.uiuc.ncsa.myproxy:oa4mp-client-oauth1]
[INFO] Webapp assembled in [661 msecs]
[INFO] Building war: /var/lib/jenkins/jobs/d1_integration_Stage_MN_sid_functional/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_sid_functional/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_sid_functional/workspace/target/failsafe-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.dataone.integration.it.testImplementations.SidMNTestImplementations
20170425-06:00:21: [WARN]: Starting monitor thread [org.dataone.client.utils.HttpConnectionMonitorService]
20170425-06:00:21: [WARN]: Starting monitoring... [org.dataone.client.utils.HttpConnectionMonitorService]
20170425-06:00:21: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170425-06:00:21: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:21: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:21: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
~~~ Context is from d1client.properties: https://cn-stage.test.dataone.org/cn
20170425-06:00:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage.test.dataone.org/cn/v1/node [org.dataone.client.rest.RestClient]
20170425-06:00:23: [INFO]: isNodeAlive for Node: https://cn-stage.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:23: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:23: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:23: [INFO]: *** Adding CN to list: cn-stage [ https://cn-stage.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:23: [INFO]: isNodeAlive for Node: https://cn-stage-orc-1.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:23: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:24: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:24: [INFO]: *** Adding CN to list: cn-stage-orc-1 [ https://cn-stage-orc-1.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:24: [INFO]: isNodeAlive for Node: https://mn-stage-unm-1.test.dataone.org/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:24: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:33: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:33: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:34: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:34: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:34: [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-06:00:34: [INFO]: isNodeAlive for Node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:34: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:34: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:34: [INFO]: *** Adding MN to list: mn-stage-ucsb-2 [ https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:34: [INFO]: isNodeAlive for Node: https://cn-stage-ucsb-1.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:34: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:35: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:35: [INFO]: *** Adding CN to list: cn-stage-ucsb-1 [ https://cn-stage-ucsb-1.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:35: [INFO]: isNodeAlive for Node: https://cn-stage-unm-1.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:35: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:35: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:35: [INFO]: *** Adding CN to list: cn-stage-unm-1 [ https://cn-stage-unm-1.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:35: [INFO]: isNodeAlive for Node: http://test.piscoweb.org/catalog/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:35: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:36: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:36: [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-06:00:36: [INFO]: isNodeAlive for Node: http://seadva-test.d2i.indiana.edu/sead/rest/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:36: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:36: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:36: [INFO]: *** Adding MN to list: SEAD Virtual Archive [ http://seadva-test.d2i.indiana.edu/sead/rest/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:36: [INFO]: isNodeAlive for Node: https://mn-demo-11.test.dataone.org/knb/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:36: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:36: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:36: [INFO]: *** Adding MN to list: mn-demo-11 [ https://mn-demo-11.test.dataone.org/knb/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:36: [INFO]: isNodeAlive for Node: https://gmn-s.lternet.edu/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:36: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:37: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:37: [INFO]: *** Adding MN to list: Stage test for PASTA-GMN [ https://gmn-s.lternet.edu/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:37: [INFO]: isNodeAlive for Node: https://dataone-test.pop.umn.edu/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:37: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:44: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:44: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:45: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:45: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:46: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:46: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:46: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:47: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:47: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:47: [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-06:00:47: [INFO]: isNodeAlive for Node: https://dataone-dev.ecoinformatics.org.au/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:47: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:48: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:48: [INFO]: *** Adding MN to list: TERN Australia DEV [ https://dataone-dev.ecoinformatics.org.au/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:48: [INFO]: isNodeAlive for Node: https://dataonetest.tamucc.edu/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:48: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:48: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:48: [WARN]: *** Failed to add MN to list: GRIIDC Test DataONE member node [ https://dataonetest.tamucc.edu/mn ]. Could not reach the node:GET https://cn-stage.test.dataone.org/cn/v1/node [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:48: [INFO]: isNodeAlive for Node: http://dataone.neonscience.org/metacat/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:48: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:48: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:48: [INFO]: *** Adding MN to list: NEON Test Member Node [ http://dataone.neonscience.org/metacat/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:48: [INFO]: isNodeAlive for Node: https://test.arcticdata.io/metacat/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:48: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:49: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:49: [INFO]: *** Adding MN to list: NSF Arctic Data Center Test Repository [ https://test.arcticdata.io/metacat/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:49: [INFO]: isNodeAlive for Node: http://dataone.ornith.cornell.edu/metacat/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:49: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:49: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:49: [INFO]: *** Adding MN to list: Cornell Lab of Ornithology - eBird [ http://dataone.ornith.cornell.edu/metacat/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:49: [INFO]: isNodeAlive for Node: https://dataone-test.researchworkspace.com/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:49: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:49: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:49: [INFO]: *** Adding MN to list: Research Workspace Testing [ https://dataone-test.researchworkspace.com/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:49: [INFO]: isNodeAlive for Node: https://r2r-node.test.dataone.org/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:49: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [WARN]: *** Failed to add MN to list: Rolling Deck to Repository (R2R) [ https://r2r-node.test.dataone.org/mn ]. Could not reach the node:GET https://cn-stage.test.dataone.org/cn/v1/node [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: isNodeAlive for Node: https://dataone.lib.uic.edu/metacat/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [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-06:00:50: [INFO]: isNodeAlive for Node: https://gmn-s.edirepository.org/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: *** Adding MN to list: Environmental Data Initiative Member Node [ https://gmn-s.edirepository.org/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: isNodeAlive for Node: https://ncei.nceas.ucsb.edu/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: *** Adding MN to list: NCEI Test Member Node at NCEAS [ https://ncei.nceas.ucsb.edu/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: trying to filter CN list for the round robin CN... original size: 4, includes nodes: [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: CN: https://cn-stage.test.dataone.org/cn "Round Robin staging router of Coordinating Nodes" [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: CN: https://cn-stage-orc-1.test.dataone.org/cn "Oak Ridge National Laboratory Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: CN: https://cn-stage-ucsb-1.test.dataone.org/cn "UCSB Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: CN: https://cn-stage-unm-1.test.dataone.org/cn "UNM Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: excluding round robin CN: https://cn-stage.test.dataone.org/cn "Round Robin staging router of Coordinating Nodes" [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: including CN: https://cn-stage-orc-1.test.dataone.org/cn "Oak Ridge National Laboratory Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: including CN: https://cn-stage-ucsb-1.test.dataone.org/cn "UCSB Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: including CN: https://cn-stage-unm-1.test.dataone.org/cn "UNM Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: filtered CN list without round robin CN. size: 3, including nodes: [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: CN: https://cn-stage-orc-1.test.dataone.org/cn "Oak Ridge National Laboratory Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: CN: https://cn-stage-ucsb-1.test.dataone.org/cn "UCSB Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: CN: https://cn-stage-unm-1.test.dataone.org/cn "UNM Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170425-06:00:50: [INFO]: Testing update() method ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: Testing update(), Case1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:50: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170425-06:00:50: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170425-06:00:51: [INFO]: MN included in test: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170425-06:00:51: [INFO]: MN excluded from test: http://seadva-test.d2i.indiana.edu/sead/rest/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:51: [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-06:00:51: [INFO]: MN included in test: https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:51: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170425-06:00:51: [INFO]: MN included in test: https://gmn-s.lternet.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:51: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:53: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170425-06:00:53: [INFO]: MN excluded from test: https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:53: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:53: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://dataone.neonscience.org/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170425-06:00:53: [INFO]: MN included in test: http://dataone.neonscience.org/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:53: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:53: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170425-06:00:53: [INFO]: MN included in test: https://test.arcticdata.io/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:53: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:53: [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-06:00:53: [INFO]: MN included in test: http://dataone.ornith.cornell.edu/metacat/d1/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:53: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.researchworkspace.com/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170425-06:00:54: [INFO]: MN included in test: https://dataone-test.researchworkspace.com/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:54: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.edirepository.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170425-06:00:54: [INFO]: MN included in test: https://gmn-s.edirepository.org/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:54: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://ncei.nceas.ucsb.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170425-06:00:54: [INFO]: MN included in test: https://ncei.nceas.ucsb.edu/mn [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:54: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:54: [INFO]: certificate filename: testRightsHolder [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:54: [INFO]: client setup as Subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:54: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170425-06:00:54: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:54: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170425-06:00:54: [INFO]: CREATING test object... pid: P1_201711423054822 with a sid: S1_201711423054825 obsoletes: null obsoletedBy: null [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:54: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:54: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:54: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:54: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:54: [INFO]: entering refreshCache()... [org.dataone.client.v2.formats.ObjectFormatCache]
20170425-06:00:54: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170425-06:00:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170425-06:00:55: [INFO]: refreshing objectFormatCache from cn: null [org.dataone.client.v2.formats.ObjectFormatCache]
20170425-06:00:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage.test.dataone.org/cn/v2/formats [org.dataone.client.rest.RestClient]
20170425-06:00:56: [INFO]: successfully refreshed cache from cn.listFormats() [org.dataone.client.v2.formats.ObjectFormatCache]
20170425-06:00:56: [INFO]: creating a test object. pid = P1_201711423054822 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170425-06:00:56: [INFO]: SystemMetadata for pid: P1_201711423054822
name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error="name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]" "
Request Method: | GET |
---|---|
Request URL: | https://gmn-s.lternet.edu/mn/v2/node |
Django Version: | 1.10.1 |
Exception Type: | InvalidToken |
Exception Value: | name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error="name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]" " |
Exception Location: | /var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py in get_subjects, line 65 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.6 |
Python Path: | ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages', '/var/local/dataone/gmn/lib/python2.7', '/var/local/dataone/gmn/lib/python2.7/plat-x86_64-linux-gnu', '/var/local/dataone/gmn/lib/python2.7/lib-tk', '/var/local/dataone/gmn/lib/python2.7/lib-old', '/var/local/dataone/gmn/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/var/local/dataone/gmn/local/lib/python2.7/site-packages', '/var/local/dataone/gmn/lib/python2.7/site-packages', '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/.', '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/..'] |
Server time: | Tue, 25 Apr 2017 05:50:05 +0000 |
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request)...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | InvalidToken() |
get_response | <bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7f17caf0d790>> |
request | <D1WSGIRequest: GET '/mn/v2/node'> |
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request)...
return response
Variable | Value |
---|---|
middleware_method | <bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7f17c2c08590>> |
request | <D1WSGIRequest: GET '/mn/v2/node'> |
response | None |
self | <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7f17caf0d790> |
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs)...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable | Value |
---|---|
callback | <function get_node at 0x7f17c11bdaa0> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7f17c183db50>> |
request | <D1WSGIRequest: GET '/mn/v2/node'> |
resolver | <RegexURLResolver 'app.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=app.restrict_to_verb.get_node, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[]) |
response | None |
self | <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7f17caf0d790> |
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(view_func.func_name, request.method, view_args, view_kwargs,
request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request)...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable | Value |
---|---|
request | <D1WSGIRequest: GET '/mn/v2/node'> |
self | <app.middleware.view_handler.ViewHandler object at 0x7f17c183db50> |
view_args | () |
view_func | <function get_node at 0x7f17c11bdaa0> |
view_kwargs | {} |
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
if 'HTTP_VENDOR_INCLUDE_CERTIFICATE' in request.META:
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request)...
jwt_subject_list = session_jwt.validate_jwt_and_get_subject_list(request)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str} | set(jwt_subject_list)
if len(jwt_subject_list) == 1:
jwt_primary_str = jwt_subject_list[0]
if jwt_primary_str != cert_primary_str:
Variable | Value |
---|---|
request | <D1WSGIRequest: GET '/mn/v2/node'> |
self | <app.middleware.view_handler.ViewHandler object at 0x7f17c183db50> |
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e))...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable | Value |
---|---|
e | InvalidToken() |
request | <D1WSGIRequest: GET '/mn/v2/node'> |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTEXT_DOCUMENT_ROOT | '/var/www' |
CONTEXT_PREFIX | '' |
DOCUMENT_ROOT | '/var/www' |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_ACCEPT_ENCODING | 'gzip,deflate' |
HTTP_CONNECTION | 'Keep-Alive' |
HTTP_HOST | 'gmn-s.lternet.edu' |
HTTP_USER_AGENT | 'Apache-HttpClient/4.3.6 (java 1.5)' |
HTTP_VIA | '1.1 localhost (Apache-HttpClient/4.3.6 (cache))' |
PATH_INFO | u'/v2/node' |
PATH_TRANSLATED | '/var/www/v2/node' |
QUERY_STRING | '' |
REMOTE_ADDR | '64.106.40.19' |
REMOTE_PORT | '43981' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'https' |
REQUEST_URI | '/mn/v2/node' |
SCRIPT_FILENAME | '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py' |
SCRIPT_NAME | u'/mn' |
SERVER_ADDR | '129.24.124.173' |
SERVER_ADMIN | 'webmaster@localhost' |
SERVER_NAME | 'gmn-s.lternet.edu' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SIGNATURE | '<address>Apache/2.4.7 (Ubuntu) Server at gmn-s.lternet.edu Port 443</address>\n' |
SERVER_SOFTWARE | 'Apache/2.4.7 (Ubuntu)' |
SSL_CLIENT_CERT | '-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ/zMSGAS2UN3OfmwImsGOJTabIJ1g\nr0Yza+M1dlg4U9w4sw2AKymWRKhwWB5kcbGwqaU799a7+p3whBsy90ymw5wnxaWd\nXrP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OoNYooZTQhIAx5DwDB+2FSlq7wDLB1kpKt8wtlVpjDA5\nk6mI0Yfs2HFm/HgxFmVblUfFEoWRJDXL1vm0aZv/pQyDhZW15Wh5HjZIJSFbqtsb\n3wI2a4rzmjUAEwUXNfdb8Z7NPKBzMyqxXMMr6TT0F/pGc/GJSx1icNsR91P50FYN\nglU2kNul1FX5FffrIDnYT1PLmmon63zzoKgcA89H/mzb2eWN46ud6BvoaYI96+nA\nvFdhSzHKeFXzpQeKCG07BRuHqcU=\n-----END CERTIFICATE-----\n' |
SSL_TLS_SNI | 'gmn-s.lternet.edu' |
mod_wsgi.application_group | '' |
mod_wsgi.callable_object | 'application' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
mod_wsgi.input_chunked | '0' |
mod_wsgi.listener_host | '' |
mod_wsgi.listener_port | '443' |
mod_wsgi.process_group | 'gmn2' |
mod_wsgi.queue_start | '1493099405710812' |
mod_wsgi.request_handler | 'wsgi-script' |
mod_wsgi.script_reloading | '1' |
mod_wsgi.version | (3, 4) |
wsgi.errors | <mod_wsgi.Log object at 0x7f17c0956370> |
wsgi.file_wrapper | '' |
wsgi.input | <mod_wsgi.Input object at 0x7f17c0274830> |
wsgi.multiprocess | True |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | (('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com')) |
ALLOWED_HOSTS | ['localhost', '127.0.0.1'] |
ALLOW_INTEGRATION_TESTS | False |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | [u'django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | u'********************' |
AUTH_USER_MODEL | u'auth.User' |
BASE_DIR | '/var/local/dataone/gmn_venv/lib/python2.7/site-packages' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'TIMEOUT': 3600}} |
CACHE_MIDDLEWARE_ALIAS | u'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CLIENT_CERT_PATH | '/var/local/dataone/certs/client/client_cert.pem' |
CLIENT_CERT_PRIVATE_KEY_PATH | u'********************' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | u'csrftoken' |
CSRF_COOKIE_PATH | u'/' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | u'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | u'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
DATABASES | {'default': {'ATOMIC_REQUESTS': True, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': '', 'NAME': 'gmn2', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}} |
DATABASE_ROUTERS | [] |
DATAONE_ROOT | 'https://cn-stage.test.dataone.org/cn' |
DATAONE_TRUSTED_SUBJECTS | set(['gmn_test_subject_trusted']) |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | u'N j, Y, P' |
DATETIME_INPUT_FORMATS | [u'%Y-%m-%d %H:%M:%S', u'%Y-%m-%d %H:%M:%S.%f', u'%Y-%m-%d %H:%M', u'%Y-%m-%d', u'%m/%d/%Y %H:%M:%S', u'%m/%d/%Y %H:%M:%S.%f', u'%m/%d/%Y %H:%M', u'%m/%d/%Y', u'%m/%d/%y %H:%M:%S', u'%m/%d/%y %H:%M:%S.%f', u'%m/%d/%y %H:%M', u'%m/%d/%y'] |
DATE_FORMAT | u'N j, Y' |
DATE_INPUT_FORMATS | [u'%Y-%m-%d', u'%m/%d/%Y', u'%m/%d/%y', u'%b %d %Y', u'%b %d, %Y', u'%d %b %Y', u'%d %b, %Y', u'%B %d %Y', u'%B %d, %Y', u'%d %B %Y', u'%d %B, %Y'] |
DEBUG | True |
DEBUG_GMN | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DEBUG_PYCHARM | False |
DECIMAL_SEPARATOR | u'.' |
DEFAULT_CHARSET | u'utf-8' |
DEFAULT_CONTENT_TYPE | u'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | u'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | u'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | u'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | u'' |
DEFAULT_TABLESPACE | u'' |
DISALLOWED_USER_AGENTS | [] |
ECHO_REQUEST_OBJECT | False |
EMAIL_BACKEND | u'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | u'localhost' |
EMAIL_HOST_PASSWORD | u'********************' |
EMAIL_HOST_USER | u'' |
EMAIL_PORT | 25 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | u'********************' |
EMAIL_SUBJECT_PREFIX | u'[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
FILE_CHARSET | u'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | [u'django.core.files.uploadhandler.MemoryFileUploadHandler', u'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['django.contrib.staticfiles', 'app'] |
INTERNAL_IPS | [] |
LANGUAGES | [(u'af', u'Afrikaans'), (u'ar', u'Arabic'), (u'ast', u'Asturian'), (u'az', u'Azerbaijani'), (u'bg', u'Bulgarian'), (u'be', u'Belarusian'), (u'bn', u'Bengali'), (u'br', u'Breton'), (u'bs', u'Bosnian'), (u'ca', u'Catalan'), (u'cs', u'Czech'), (u'cy', u'Welsh'), (u'da', u'Danish'), (u'de', u'German'), (u'dsb', u'Lower Sorbian'), (u'el', u'Greek'), (u'en', u'English'), (u'en-au', u'Australian English'), (u'en-gb', u'British English'), (u'eo', u'Esperanto'), (u'es', u'Spanish'), (u'es-ar', u'Argentinian Spanish'), (u'es-co', u'Colombian Spanish'), (u'es-mx', u'Mexican Spanish'), (u'es-ni', u'Nicaraguan Spanish'), (u'es-ve', u'Venezuelan Spanish'), (u'et', u'Estonian'), (u'eu', u'Basque'), (u'fa', u'Persian'), (u'fi', u'Finnish'), (u'fr', u'French'), (u'fy', u'Frisian'), (u'ga', u'Irish'), (u'gd', u'Scottish Gaelic'), (u'gl', u'Galician'), (u'he', u'Hebrew'), (u'hi', u'Hindi'), (u'hr', u'Croatian'), (u'hsb', u'Upper Sorbian'), (u'hu', u'Hungarian'), (u'ia', u'Interlingua'), (u'id', u'Indonesian'), (u'io', u'Ido'), (u'is', u'Icelandic'), (u'it', u'Italian'), (u'ja', u'Japanese'), (u'ka', u'Georgian'), (u'kk', u'Kazakh'), (u'km', u'Khmer'), (u'kn', u'Kannada'), (u'ko', u'Korean'), (u'lb', u'Luxembourgish'), (u'lt', u'Lithuanian'), (u'lv', u'Latvian'), (u'mk', u'Macedonian'), (u'ml', u'Malayalam'), (u'mn', u'Mongolian'), (u'mr', u'Marathi'), (u'my', u'Burmese'), (u'nb', u'Norwegian Bokm\xe5l'), (u'ne', u'Nepali'), (u'nl', u'Dutch'), (u'nn', u'Norwegian Nynorsk'), (u'os', u'Ossetic'), (u'pa', u'Punjabi'), (u'pl', u'Polish'), (u'pt', u'Portuguese'), (u'pt-br', u'Brazilian Portuguese'), (u'ro', u'Romanian'), (u'ru', u'Russian'), (u'sk', u'Slovak'), (u'sl', u'Slovenian'), (u'sq', u'Albanian'), (u'sr', u'Serbian'), (u'sr-latn', u'Serbian Latin'), (u'sv', u'Swedish'), (u'sw', u'Swahili'), (u'ta', u'Tamil'), (u'te', u'Telugu'), (u'th', u'Thai'), (u'tr', u'Turkish'), (u'tt', u'Tatar'), (u'udm', u'Udmurt'), (u'uk', u'Ukrainian'), (u'ur', u'Urdu'), (u'vi', u'Vietnamese'), (u'zh-hans', u'Simplified Chinese'), (u'zh-hant', u'Traditional Chinese')] |
LANGUAGES_BIDI | [u'he', u'ar', u'fa', u'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | u'django_language' |
LANGUAGE_COOKIE_PATH | u'/' |
LOCALE_PATHS | [] |
LOGGING | {'disable_existing_loggers': True, 'formatters': {'simple': {'format': '%(levelname)s %(message)s'}, 'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S', 'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}}, 'handlers': {'file': {'class': 'logging.FileHandler', 'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log', 'formatter': 'verbose', 'level': 'DEBUG'}, 'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}}, 'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True}, 'django': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': False}, 'django.db.backends': {'handlers': ['null'], 'level': 'WARNING', 'propagate': False}}, 'version': 1} |
LOGGING_CONFIG | u'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | u'/accounts/profile/' |
LOGIN_URL | u'/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
LOG_LEVEL | 'DEBUG' |
LOG_PATH | '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log' |
MANAGERS | (('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com')) |
MAX_XML_DOCUMENT_SIZE | 10485760 |
MEDIA_ROOT | u'' |
MEDIA_URL | '' |
MESSAGE_STORAGE | u'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | None |
MIDDLEWARE_CLASSES | ('app.middleware.request_handler.RequestHandler', 'app.middleware.exception_handler.ExceptionHandler', 'app.middleware.response_handler.ResponseHandler', 'app.middleware.profiling_handler.ProfilingHandler', 'app.middleware.view_handler.ViewHandler', 'app.middleware.startup_handler.StartupHandler') |
MIGRATION_MODULES | {} |
MONITOR | True |
MONTH_DAY_FORMAT | u'F j' |
NODE_BASEURL | 'https://gmn-s.lternet.edu/mn' |
NODE_CONTACT_SUBJECT | 'CN=Mark Servilla A6788,O=LTERN (Long Term Ecological Research Network),C=US,DC=cilogon,DC=org' |
NODE_DESCRIPTION | 'The U.S. Long Term Ecological Research Network (LTER) data include ecological observations from the study of pattern and control of primary production, movement of both organic and inorganic matter, disturbance patterns, and the spatial and temporal distribution of populations selected to represent trophic structure. The data originates from 27 sites across the conterminous United States of America, Alaska, Antarctica, Puerto Rico, and French Polynesia and spans a period from over 100 years ago to the present.' |
NODE_IDENTIFIER | 'urn:node:mnTestLTER' |
NODE_NAME | 'Stage test for PASTA-GMN' |
NODE_REPLICATE | False |
NODE_STATE | 'up' |
NODE_SUBJECT | 'CN=urn:node:mnTestLTER,DC=dataone,DC=org' |
NODE_SYNCHRONIZE | True |
NODE_SYNC_SCHEDULE_HOUR | '*' |
NODE_SYNC_SCHEDULE_MINUTE | '23' |
NODE_SYNC_SCHEDULE_MONTH | '*' |
NODE_SYNC_SCHEDULE_MONTHDAY | '*' |
NODE_SYNC_SCHEDULE_SECOND | '0' |
NODE_SYNC_SCHEDULE_WEEKDAY | '?' |
NODE_SYNC_SCHEDULE_YEAR | '*' |
NUMBER_GROUPING | 0 |
NUM_CHUNK_BYTES | 1048576 |
OBJECT_STORE_PATH | '/var/local/dataone/gmn_object_store' |
PASSWORD_HASHERS | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
PREPEND_WWW | False |
PROXY_MODE_BASIC_AUTH_ENABLED | False |
PROXY_MODE_BASIC_AUTH_PASSWORD | u'********************' |
PROXY_MODE_BASIC_AUTH_USERNAME | '' |
PROXY_MODE_STREAM_TIMEOUT | 30 |
PUBLIC_LOG_RECORDS | True |
PUBLIC_OBJECT_LIST | True |
PYCHARM_BIN | 'pycharm.sh' |
REPLICATION_ALLOWEDNODE | () |
REPLICATION_ALLOWEDOBJECTFORMAT | () |
REPLICATION_MAXOBJECTSIZE | -1 |
REPLICATION_MAX_ATTEMPTS | 24 |
REPLICATION_SPACEALLOCATED | 10737418240 |
REQUIRE_WHITELIST_FOR_UPDATE | False |
ROOT_URLCONF | 'app.urls' |
SECRET_KEY | u'********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | u'root@localhost' |
SESSION_CACHE_ALIAS | u'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | u'sessionid' |
SESSION_COOKIE_PATH | u'/' |
SESSION_COOKIE_SECURE | True |
SESSION_ENGINE | u'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | u'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'settings' |
SHORT_DATETIME_FORMAT | u'm/d/Y P' |
SHORT_DATE_FORMAT | u'm/d/Y' |
SIGNING_BACKEND | u'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
STAND_ALONE | False |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | [u'django.contrib.staticfiles.finders.FileSystemFinder', u'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | u'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | None |
STATIC_URL | '/static/' |
SYSMETA_REFRESH_MAX_ATTEMPTS | 24 |
TEMPLATES | [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/templates'], 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages'], 'loaders': ['django.template.loaders.filesystem.Loader']}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | u'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | u',' |
TIME_FORMAT | u'P' |
TIME_INPUT_FORMATS | [u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M'] |
TIME_ZONE | 'UTC' |
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE | False |
TRUST_CLIENT_DATESYSMETADATAMODIFIED | False |
TRUST_CLIENT_DATEUPLOADED | True |
TRUST_CLIENT_ORIGINMEMBERNODE | False |
TRUST_CLIENT_SERIALVERSION | False |
TRUST_CLIENT_SUBMITTER | False |
USE_ETAGS | False |
USE_I18N | True |
USE_L10N | False |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | False |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | None |
X_FRAME_OPTIONS | u'SAMEORIGIN' |
YEAR_MONTH_FORMAT | u'F Y' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.
name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error="name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]" "
Request Method: | POST |
---|---|
Request URL: | https://gmn-s.lternet.edu/mn/v2/object |
Django Version: | 1.10.1 |
Exception Type: | InvalidToken |
Exception Value: | name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error="name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]" " |
Exception Location: | /var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py in get_subjects, line 65 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.6 |
Python Path: | ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages', '/var/local/dataone/gmn/lib/python2.7', '/var/local/dataone/gmn/lib/python2.7/plat-x86_64-linux-gnu', '/var/local/dataone/gmn/lib/python2.7/lib-tk', '/var/local/dataone/gmn/lib/python2.7/lib-old', '/var/local/dataone/gmn/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/var/local/dataone/gmn/local/lib/python2.7/site-packages', '/var/local/dataone/gmn/lib/python2.7/site-packages', '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/.', '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/..'] |
Server time: | Tue, 25 Apr 2017 05:50:06 +0000 |
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request)...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | InvalidToken() |
get_response | <bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7f17caf0d790>> |
request | <D1WSGIRequest: POST '/mn/v2/object'> |
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request)...
return response
Variable | Value |
---|---|
middleware_method | <bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7f17c2c08590>> |
request | <D1WSGIRequest: POST '/mn/v2/object'> |
response | None |
self | <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7f17caf0d790> |
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs)...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable | Value |
---|---|
callback | <function dispatch_object_list at 0x7f17c11bd758> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7f17c183db50>> |
request | <D1WSGIRequest: POST '/mn/v2/object'> |
resolver | <RegexURLResolver 'app.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[]) |
response | None |
self | <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7f17caf0d790> |
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(view_func.func_name, request.method, view_args, view_kwargs,
request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request)...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable | Value |
---|---|
request | <D1WSGIRequest: POST '/mn/v2/object'> |
self | <app.middleware.view_handler.ViewHandler object at 0x7f17c183db50> |
view_args | () |
view_func | <function dispatch_object_list at 0x7f17c11bd758> |
view_kwargs | {} |
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
if 'HTTP_VENDOR_INCLUDE_CERTIFICATE' in request.META:
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request)...
jwt_subject_list = session_jwt.validate_jwt_and_get_subject_list(request)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str} | set(jwt_subject_list)
if len(jwt_subject_list) == 1:
jwt_primary_str = jwt_subject_list[0]
if jwt_primary_str != cert_primary_str:
Variable | Value |
---|---|
request | <D1WSGIRequest: POST '/mn/v2/object'> |
self | <app.middleware.view_handler.ViewHandler object at 0x7f17c183db50> |
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e))...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable | Value |
---|---|
e | InvalidToken() |
request | <D1WSGIRequest: POST '/mn/v2/object'> |
No GET data
Variable | Value |
---|---|
pid | u'P1_201711423142505' |
Variable | Value |
---|---|
sysmeta | <InMemoryUploadedFile: mmp.output.8327457667987942549.tmp (application/octet-stream)> |
object | <InMemoryUploadedFile: mmp.output.240673297550403287.tmp (application/octet-stream)> |
No cookie data
Variable | Value |
---|---|
CONTENT_LENGTH | '18882' |
CONTENT_TYPE | 'multipart/form-data; boundary=MACY8jGHyD8gXFONVnkKrCaCBRtMf5wZ2' |
CONTEXT_DOCUMENT_ROOT | '/var/www' |
CONTEXT_PREFIX | '' |
DOCUMENT_ROOT | '/var/www' |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_ACCEPT_ENCODING | 'gzip,deflate' |
HTTP_CONNECTION | 'Keep-Alive' |
HTTP_HOST | 'gmn-s.lternet.edu' |
HTTP_USER_AGENT | 'Apache-HttpClient/4.3.6 (java 1.5)' |
HTTP_VIA | '1.1 localhost (Apache-HttpClient/4.3.6 (cache))' |
PATH_INFO | u'/v2/object' |
PATH_TRANSLATED | '/var/www/v2/object' |
QUERY_STRING | '' |
REMOTE_ADDR | '64.106.40.19' |
REMOTE_PORT | '43982' |
REQUEST_METHOD | 'POST' |
REQUEST_SCHEME | 'https' |
REQUEST_URI | '/mn/v2/object' |
SCRIPT_FILENAME | '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py' |
SCRIPT_NAME | u'/mn' |
SERVER_ADDR | '129.24.124.173' |
SERVER_ADMIN | 'webmaster@localhost' |
SERVER_NAME | 'gmn-s.lternet.edu' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SIGNATURE | '<address>Apache/2.4.7 (Ubuntu) Server at gmn-s.lternet.edu Port 443</address>\n' |
SERVER_SOFTWARE | 'Apache/2.4.7 (Ubuntu)' |
SSL_CLIENT_CERT | '-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUxEzARBgoJ\nkiaJk/IsZAEZFgNvcmcxFzAVBgoJkiaJk/IsZAEZFgdkYXRhb25lMSUwIwYDVQQD\nDBxEYXRhT05FIFRlc3QgSW50ZXJtZWRpYXRlIENBMB4XDTE1MDUyMDE4NTcyMloX\nDTE4MDUxOTE4NTcyMlowSTETMBEGCgmSJomT8ixkARkWA29yZzEXMBUGCgmSJomT\n8ixkARkWB2RhdGFvbmUxGTAXBgNVBAMMEHRlc3RSaWdodHNIb2xkZXIwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZ/zMSGAS2UN3OfmwImsGOJTabIJ1g\nr0Yza+M1dlg4U9w4sw2AKymWRKhwWB5kcbGwqaU799a7+p3whBsy90ymw5wnxaWd\nXrPYU237PE3t3GoDUMm5ksMotcx7zyWD7X6ULTpK0mCUcts/P5Nyz9a5MY8ONyX9\n79iEza7yY8h2WUlPUcAiWC8mNmtWKnkbDMj3J8hftPsHVvQZS/sUV3qZXY+0sTc1\nnfyI3Ki+SVq4pbfXYC67mwCHfEAQkSvDsNHp20R9d53h3DI8iXtkElz1JQKUhYeB\nIRVqcgOsBXCJ3WmabhlOPPr3TQiGGEoT2PnbJ2rzRv9L+UEOgJs10FuBAgMBAAGj\nggLJMIICxTAJBgNVHRMEAjAAMCwGCWCGSAGG+EIBDQQfFh1PcGVuU1NMIEdlbmVy\nYXRlZCBDZXJ0aWZpY2F0ZTAdBgNV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_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
mod_wsgi.input_chunked | '0' |
mod_wsgi.listener_host | '' |
mod_wsgi.listener_port | '443' |
mod_wsgi.process_group | 'gmn2' |
mod_wsgi.queue_start | '1493099405972706' |
mod_wsgi.request_handler | 'wsgi-script' |
mod_wsgi.script_reloading | '1' |
mod_wsgi.version | (3, 4) |
wsgi.errors | <mod_wsgi.Log object at 0x7f17bf9b3c70> |
wsgi.file_wrapper | '' |
wsgi.input | <mod_wsgi.Input object at 0x7f17bf9b32f0> |
wsgi.multiprocess | True |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | (('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com')) |
ALLOWED_HOSTS | ['localhost', '127.0.0.1'] |
ALLOW_INTEGRATION_TESTS | False |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | [u'django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | u'********************' |
AUTH_USER_MODEL | u'auth.User' |
BASE_DIR | '/var/local/dataone/gmn_venv/lib/python2.7/site-packages' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'TIMEOUT': 3600}} |
CACHE_MIDDLEWARE_ALIAS | u'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CLIENT_CERT_PATH | '/var/local/dataone/certs/client/client_cert.pem' |
CLIENT_CERT_PRIVATE_KEY_PATH | u'********************' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | u'csrftoken' |
CSRF_COOKIE_PATH | u'/' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | u'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | u'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
DATABASES | {'default': {'ATOMIC_REQUESTS': True, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': '', 'NAME': 'gmn2', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}} |
DATABASE_ROUTERS | [] |
DATAONE_ROOT | 'https://cn-stage.test.dataone.org/cn' |
DATAONE_TRUSTED_SUBJECTS | set(['gmn_test_subject_trusted']) |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | u'N j, Y, P' |
DATETIME_INPUT_FORMATS | [u'%Y-%m-%d %H:%M:%S', u'%Y-%m-%d %H:%M:%S.%f', u'%Y-%m-%d %H:%M', u'%Y-%m-%d', u'%m/%d/%Y %H:%M:%S', u'%m/%d/%Y %H:%M:%S.%f', u'%m/%d/%Y %H:%M', u'%m/%d/%Y', u'%m/%d/%y %H:%M:%S', u'%m/%d/%y %H:%M:%S.%f', u'%m/%d/%y %H:%M', u'%m/%d/%y'] |
DATE_FORMAT | u'N j, Y' |
DATE_INPUT_FORMATS | [u'%Y-%m-%d', u'%m/%d/%Y', u'%m/%d/%y', u'%b %d %Y', u'%b %d, %Y', u'%d %b %Y', u'%d %b, %Y', u'%B %d %Y', u'%B %d, %Y', u'%d %B %Y', u'%d %B, %Y'] |
DEBUG | True |
DEBUG_GMN | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DEBUG_PYCHARM | False |
DECIMAL_SEPARATOR | u'.' |
DEFAULT_CHARSET | u'utf-8' |
DEFAULT_CONTENT_TYPE | u'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | u'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | u'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | u'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | u'' |
DEFAULT_TABLESPACE | u'' |
DISALLOWED_USER_AGENTS | [] |
ECHO_REQUEST_OBJECT | False |
EMAIL_BACKEND | u'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | u'localhost' |
EMAIL_HOST_PASSWORD | u'********************' |
EMAIL_HOST_USER | u'' |
EMAIL_PORT | 25 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | u'********************' |
EMAIL_SUBJECT_PREFIX | u'[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
FILE_CHARSET | u'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | [u'django.core.files.uploadhandler.MemoryFileUploadHandler', u'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['django.contrib.staticfiles', 'app'] |
INTERNAL_IPS | [] |
LANGUAGES | [(u'af', u'Afrikaans'), (u'ar', u'Arabic'), (u'ast', u'Asturian'), (u'az', u'Azerbaijani'), (u'bg', u'Bulgarian'), (u'be', u'Belarusian'), (u'bn', u'Bengali'), (u'br', u'Breton'), (u'bs', u'Bosnian'), (u'ca', u'Catalan'), (u'cs', u'Czech'), (u'cy', u'Welsh'), (u'da', u'Danish'), (u'de', u'German'), (u'dsb', u'Lower Sorbian'), (u'el', u'Greek'), (u'en', u'English'), (u'en-au', u'Australian English'), (u'en-gb', u'British English'), (u'eo', u'Esperanto'), (u'es', u'Spanish'), (u'es-ar', u'Argentinian Spanish'), (u'es-co', u'Colombian Spanish'), (u'es-mx', u'Mexican Spanish'), (u'es-ni', u'Nicaraguan Spanish'), (u'es-ve', u'Venezuelan Spanish'), (u'et', u'Estonian'), (u'eu', u'Basque'), (u'fa', u'Persian'), (u'fi', u'Finnish'), (u'fr', u'French'), (u'fy', u'Frisian'), (u'ga', u'Irish'), (u'gd', u'Scottish Gaelic'), (u'gl', u'Galician'), (u'he', u'Hebrew'), (u'hi', u'Hindi'), (u'hr', u'Croatian'), (u'hsb', u'Upper Sorbian'), (u'hu', u'Hungarian'), (u'ia', u'Interlingua'), (u'id', u'Indonesian'), (u'io', u'Ido'), (u'is', u'Icelandic'), (u'it', u'Italian'), (u'ja', u'Japanese'), (u'ka', u'Georgian'), (u'kk', u'Kazakh'), (u'km', u'Khmer'), (u'kn', u'Kannada'), (u'ko', u'Korean'), (u'lb', u'Luxembourgish'), (u'lt', u'Lithuanian'), (u'lv', u'Latvian'), (u'mk', u'Macedonian'), (u'ml', u'Malayalam'), (u'mn', u'Mongolian'), (u'mr', u'Marathi'), (u'my', u'Burmese'), (u'nb', u'Norwegian Bokm\xe5l'), (u'ne', u'Nepali'), (u'nl', u'Dutch'), (u'nn', u'Norwegian Nynorsk'), (u'os', u'Ossetic'), (u'pa', u'Punjabi'), (u'pl', u'Polish'), (u'pt', u'Portuguese'), (u'pt-br', u'Brazilian Portuguese'), (u'ro', u'Romanian'), (u'ru', u'Russian'), (u'sk', u'Slovak'), (u'sl', u'Slovenian'), (u'sq', u'Albanian'), (u'sr', u'Serbian'), (u'sr-latn', u'Serbian Latin'), (u'sv', u'Swedish'), (u'sw', u'Swahili'), (u'ta', u'Tamil'), (u'te', u'Telugu'), (u'th', u'Thai'), (u'tr', u'Turkish'), (u'tt', u'Tatar'), (u'udm', u'Udmurt'), (u'uk', u'Ukrainian'), (u'ur', u'Urdu'), (u'vi', u'Vietnamese'), (u'zh-hans', u'Simplified Chinese'), (u'zh-hant', u'Traditional Chinese')] |
LANGUAGES_BIDI | [u'he', u'ar', u'fa', u'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | u'django_language' |
LANGUAGE_COOKIE_PATH | u'/' |
LOCALE_PATHS | [] |
LOGGING | {'disable_existing_loggers': True, 'formatters': {'simple': {'format': '%(levelname)s %(message)s'}, 'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S', 'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}}, 'handlers': {'file': {'class': 'logging.FileHandler', 'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log', 'formatter': 'verbose', 'level': 'DEBUG'}, 'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}}, 'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True}, 'django': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': False}, 'django.db.backends': {'handlers': ['null'], 'level': 'WARNING', 'propagate': False}}, 'version': 1} |
LOGGING_CONFIG | u'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | u'/accounts/profile/' |
LOGIN_URL | u'/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
LOG_LEVEL | 'DEBUG' |
LOG_PATH | '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log' |
MANAGERS | (('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com')) |
MAX_XML_DOCUMENT_SIZE | 10485760 |
MEDIA_ROOT | u'' |
MEDIA_URL | '' |
MESSAGE_STORAGE | u'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | None |
MIDDLEWARE_CLASSES | ('app.middleware.request_handler.RequestHandler', 'app.middleware.exception_handler.ExceptionHandler', 'app.middleware.response_handler.ResponseHandler', 'app.middleware.profiling_handler.ProfilingHandler', 'app.middleware.view_handler.ViewHandler', 'app.middleware.startup_handler.StartupHandler') |
MIGRATION_MODULES | {} |
MONITOR | True |
MONTH_DAY_FORMAT | u'F j' |
NODE_BASEURL | 'https://gmn-s.lternet.edu/mn' |
NODE_CONTACT_SUBJECT | 'CN=Mark Servilla A6788,O=LTERN (Long Term Ecological Research Network),C=US,DC=cilogon,DC=org' |
NODE_DESCRIPTION | 'The U.S. Long Term Ecological Research Network (LTER) data include ecological observations from the study of pattern and control of primary production, movement of both organic and inorganic matter, disturbance patterns, and the spatial and temporal distribution of populations selected to represent trophic structure. The data originates from 27 sites across the conterminous United States of America, Alaska, Antarctica, Puerto Rico, and French Polynesia and spans a period from over 100 years ago to the present.' |
NODE_IDENTIFIER | 'urn:node:mnTestLTER' |
NODE_NAME | 'Stage test for PASTA-GMN' |
NODE_REPLICATE | False |
NODE_STATE | 'up' |
NODE_SUBJECT | 'CN=urn:node:mnTestLTER,DC=dataone,DC=org' |
NODE_SYNCHRONIZE | True |
NODE_SYNC_SCHEDULE_HOUR | '*' |
NODE_SYNC_SCHEDULE_MINUTE | '23' |
NODE_SYNC_SCHEDULE_MONTH | '*' |
NODE_SYNC_SCHEDULE_MONTHDAY | '*' |
NODE_SYNC_SCHEDULE_SECOND | '0' |
NODE_SYNC_SCHEDULE_WEEKDAY | '?' |
NODE_SYNC_SCHEDULE_YEAR | '*' |
NUMBER_GROUPING | 0 |
NUM_CHUNK_BYTES | 1048576 |
OBJECT_STORE_PATH | '/var/local/dataone/gmn_object_store' |
PASSWORD_HASHERS | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
PREPEND_WWW | False |
PROXY_MODE_BASIC_AUTH_ENABLED | False |
PROXY_MODE_BASIC_AUTH_PASSWORD | u'********************' |
PROXY_MODE_BASIC_AUTH_USERNAME | '' |
PROXY_MODE_STREAM_TIMEOUT | 30 |
PUBLIC_LOG_RECORDS | True |
PUBLIC_OBJECT_LIST | True |
PYCHARM_BIN | 'pycharm.sh' |
REPLICATION_ALLOWEDNODE | () |
REPLICATION_ALLOWEDOBJECTFORMAT | () |
REPLICATION_MAXOBJECTSIZE | -1 |
REPLICATION_MAX_ATTEMPTS | 24 |
REPLICATION_SPACEALLOCATED | 10737418240 |
REQUIRE_WHITELIST_FOR_UPDATE | False |
ROOT_URLCONF | 'app.urls' |
SECRET_KEY | u'********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | u'root@localhost' |
SESSION_CACHE_ALIAS | u'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | u'sessionid' |
SESSION_COOKIE_PATH | u'/' |
SESSION_COOKIE_SECURE | True |
SESSION_ENGINE | u'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | u'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'settings' |
SHORT_DATETIME_FORMAT | u'm/d/Y P' |
SHORT_DATE_FORMAT | u'm/d/Y' |
SIGNING_BACKEND | u'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
STAND_ALONE | False |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | [u'django.contrib.staticfiles.finders.FileSystemFinder', u'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | u'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | None |
STATIC_URL | '/static/' |
SYSMETA_REFRESH_MAX_ATTEMPTS | 24 |
TEMPLATES | [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/templates'], 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages'], 'loaders': ['django.template.loaders.filesystem.Loader']}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | u'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | u',' |
TIME_FORMAT | u'P' |
TIME_INPUT_FORMATS | [u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M'] |
TIME_ZONE | 'UTC' |
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE | False |
TRUST_CLIENT_DATESYSMETADATAMODIFIED | False |
TRUST_CLIENT_DATEUPLOADED | True |
TRUST_CLIENT_ORIGINMEMBERNODE | False |
TRUST_CLIENT_SERIALVERSION | False |
TRUST_CLIENT_SUBMITTER | False |
USE_ETAGS | False |
USE_I18N | True |
USE_L10N | False |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | False |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | None |
X_FRAME_OPTIONS | u'SAMEORIGIN' |
YEAR_MONTH_FORMAT | u'F Y' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.
name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error="name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]" "
Request Method: | POST |
---|---|
Request URL: | https://gmn-s.lternet.edu/mn/v2/object |
Django Version: | 1.10.1 |
Exception Type: | InvalidToken |
Exception Value: | name: InvalidToken errorCode: 401 detailCode: 0 description: Error extracting session from certificate. error="name: InvalidToken errorCode: 401 detailCode: 0 description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]" " |
Exception Location: | /var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py in get_subjects, line 65 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.6 |
Python Path: | ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages', '/var/local/dataone/gmn/lib/python2.7', '/var/local/dataone/gmn/lib/python2.7/plat-x86_64-linux-gnu', '/var/local/dataone/gmn/lib/python2.7/lib-tk', '/var/local/dataone/gmn/lib/python2.7/lib-old', '/var/local/dataone/gmn/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/var/local/dataone/gmn/local/lib/python2.7/site-packages', '/var/local/dataone/gmn/lib/python2.7/site-packages', '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/.', '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/..'] |
Server time: | Tue, 25 Apr 2017 05:50:06 +0000 |
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request)...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | InvalidToken() |
get_response | <bound method D1WSGIHandler._legacy_get_response of <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7f17caf0d790>> |
request | <D1WSGIRequest: POST '/mn/v2/object'> |
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request)...
return response
Variable | Value |
---|---|
middleware_method | <bound method RequestHandler.process_request of <app.middleware.request_handler.RequestHandler object at 0x7f17c2c08590>> |
request | <D1WSGIRequest: POST '/mn/v2/object'> |
response | None |
self | <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7f17caf0d790> |
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
resolver_match = resolver.resolve(request.path_info)
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs)...
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
Variable | Value |
---|---|
callback | <function dispatch_object_list at 0x7f17c11bd758> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method ViewHandler.process_view of <app.middleware.view_handler.ViewHandler object at 0x7f17c183db50>> |
request | <D1WSGIRequest: POST '/mn/v2/object'> |
resolver | <RegexURLResolver 'app.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=app.views.external.dispatch_object_list, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[]) |
response | None |
self | <_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7f17caf0d790> |
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_view
logging.info(
u'View: func_name="{}", method="{}", args="{}", kwargs="{}", url="{}"'
.format(view_func.func_name, request.method, view_args, view_kwargs,
request.path_info
)
)
# logging.debug(request.headers)
self.process_session(request)...
def process_session(self, request):
# For simulating an HTTPS connection with client authentication when
# debugging via regular HTTP, two mechanisms are supported. (1) A full
# client side certificate can be included and (2) a list of subjects can be
# included. Both use vendor specific extensions (HTTP headers that start
Variable | Value |
---|---|
request | <D1WSGIRequest: POST '/mn/v2/object'> |
self | <app.middleware.view_handler.ViewHandler object at 0x7f17c183db50> |
view_args | () |
view_func | <function dispatch_object_list at 0x7f17c11bd758> |
view_kwargs | {} |
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py
in process_session
if 'HTTP_VENDOR_INCLUDE_CERTIFICATE' in request.META:
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request)...
jwt_subject_list = session_jwt.validate_jwt_and_get_subject_list(request)
primary_subject_str = cert_primary_str
all_subjects_set = cert_equivalent_set | {cert_primary_str} | set(jwt_subject_list)
if len(jwt_subject_list) == 1:
jwt_primary_str = jwt_subject_list[0]
if jwt_primary_str != cert_primary_str:
Variable | Value |
---|---|
request | 20170425-06:01:42: [INFO]: testSidReuse() method ... [org.dataone.integration.ContextAwareTestCaseDataone]<D1WSGIRequest: POST '/mn/v2/object'> |
self | <app.middleware.view_handler.ViewHandler object at 0x7f17c183db50> |
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py
in get_subjects
"""
if _is_certificate_provided(request):
try:
return get_authenticated_subjects(request.META['SSL_CLIENT_CERT'])
except Exception as e:
raise d1_common.types.exceptions.InvalidToken(
0,
u'Error extracting session from certificate. error="{}"'.format(str(e))...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
Variable | Value |
---|---|
e | InvalidToken() |
request | <D1WSGIRequest: POST '/mn/v2/object'> |
No GET data
Variable | Value |
---|---|
pid | u'P1_201711423142505' |
Variable | Value |
---|---|
sysmeta | <InMemoryUploadedFile: mmp.output.8327457667987942549.tmp (application/octet-stream)> |
object | <InMemoryUploadedFile: mmp.output.240673297550403287.tmp (application/octet-stream)> |
No cookie data
Variable | Value |
---|---|
CONTENT_LENGTH | '18882' |
CONTENT_TYPE | 'multipart/form-data; boundary=MACY8jGHyD8gXFONVnkKrCaCBRtMf5wZ2' |
CONTEXT_DOCUMENT_ROOT | '/var/www' |
CONTEXT_PREFIX | '' |
DOCUMENT_ROOT | '/var/www' |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_ACCEPT_ENCODING | 'gzip,deflate' |
HTTP_CONNECTION | 'Keep-Alive' |
HTTP_HOST | 'gmn-s.lternet.edu' |
HTTP_USER_AGENT | 'Apache-HttpClient/4.3.6 (java 1.5)' |
HTTP_VIA | '1.1 localhost (Apache-HttpClient/4.3.6 (cache))' |
PATH_INFO | u'/v2/object' |
PATH_TRANSLATED | '/var/www/v2/object' |
QUERY_STRING | '' |
REMOTE_ADDR | '64.106.40.19' |
REMOTE_PORT | '43982' |
REQUEST_METHOD | 'POST' |
REQUEST_SCHEME | 'https' |
REQUEST_URI | '/mn/v2/object' |
SCRIPT_FILENAME | '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/wsgi.py' |
SCRIPT_NAME | u'/mn' |
SERVER_ADDR | '129.24.124.173' |
SERVER_ADMIN | 'webmaster@localhost' |
SERVER_NAME | 'gmn-s.lternet.edu' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SIGNATURE | '<address>Apache/2.4.7 (Ubuntu) Server at gmn-s.lternet.edu Port 443</address>\n' |
SERVER_SOFTWARE | 'Apache/2.4.7 (Ubuntu)' |
SSL_CLIENT_CERT | '-----BEGIN CERTIFICATE-----\nMIIG7DCCBNSgAwIBAgIJANoyY6KhLQC/MA0GCSqGSIb3DQEBBQUAMFUx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jcmwubmV0c29sc3NsLmNvbS9OZXR3b3JrU29sdXRpb25zT1ZT\nZXJ2ZXJDQTIuY3JsMHsGCCsGAQUFBwEBBG8wbTBEBggrBgEFBQcwAoY4aHR0cDov\nL2NydC5uZXRzb2xzc2wuY29tL05ldHdvcmtTb2x1dGlvbnNPVlNlcnZlckNBMi5j\ncnQwJQYIKwYBBQUHMAGGGWh0dHA6Ly9vY3NwLm5ldHNvbHNzbC5jb20wJQYDVR0R\nBB4wHIINKi5sdGVybmV0LmVkdYILbHRlcm5ldC5lZHUwDQYJKoZIhvcNAQELBQAD\nggEBAHtmSxZVSFBGRzfRuEkZmEKK0Cs2wpIg+Rr6vboVix//H4ZAlc6Mz/WF0ffu\nkrgX4cdpD1y+WcnNj8KsOoNYooZTQhIAx5DwDB+2FSlq7wDLB1kpKt8wtlVpjDA5\nk6mI0Yfs2HFm/HgxFmVblUfFEoWRJDXL1vm0aZv/pQyDhZW15Wh5HjZIJSFbqtsb\n3wI2a4rzmjUAEwUXNfdb8Z7NPKBzMyqxXMMr6TT0F/pGc/GJSx1icNsR91P50FYN\nglU2kNul1FX5FffrIDnYT1PLmmon63zzoKgcA89H/mzb2eWN46ud6BvoaYI96+nA\nvFdhSzHKeFXzpQeKCG07BRuHqcU=\n-----END CERTIFICATE-----\n' |
SSL_TLS_SNI | 'gmn-s.lternet.edu' |
mod_wsgi.application_group | '' |
mod_wsgi.callable_object | 'application' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
mod_wsgi.input_chunked | '0' |
mod_wsgi.listener_host | '' |
mod_wsgi.listener_port | '443' |
mod_wsgi.process_group | 'gmn2' |
mod_wsgi.queue_start | '1493099405972706' |
mod_wsgi.request_handler | 'wsgi-script' |
mod_wsgi.script_reloading | '1' |
mod_wsgi.version | (3, 4) |
wsgi.errors | <mod_wsgi.Log object at 0x7f17bf9b3c70> |
wsgi.file_wrapper | '' |
wsgi.input | <mod_wsgi.Input object at 0x7f17bf9b32f0> |
wsgi.multiprocess | True |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | (('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com')) |
ALLOWED_HOSTS | ['localhost', '127.0.0.1'] |
ALLOW_INTEGRATION_TESTS | False |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | [u'django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | u'********************' |
AUTH_USER_MODEL | u'auth.User' |
BASE_DIR | '/var/local/dataone/gmn_venv/lib/python2.7/site-packages' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'TIMEOUT': 3600}} |
CACHE_MIDDLEWARE_ALIAS | u'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CLIENT_CERT_PATH | '/var/local/dataone/certs/client/client_cert.pem' |
CLIENT_CERT_PRIVATE_KEY_PATH | u'********************' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | u'csrftoken' |
CSRF_COOKIE_PATH | u'/' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | u'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | u'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
DATABASES | {'default': {'ATOMIC_REQUESTS': True, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': '', 'NAME': 'gmn2', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}} |
DATABASE_ROUTERS | [] |
DATAONE_ROOT | 'https://cn-stage.test.dataone.org/cn' |
DATAONE_TRUSTED_SUBJECTS | set(['gmn_test_subject_trusted']) |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | u'N j, Y, P' |
DATETIME_INPUT_FORMATS | [u'%Y-%m-%d %H:%M:%S', u'%Y-%m-%d %H:%M:%S.%f', u'%Y-%m-%d %H:%M', u'%Y-%m-%d', u'%m/%d/%Y %H:%M:%S', u'%m/%d/%Y %H:%M:%S.%f', u'%m/%d/%Y %H:%M', u'%m/%d/%Y', u'%m/%d/%y %H:%M:%S', u'%m/%d/%y %H:%M:%S.%f', u'%m/%d/%y %H:%M', u'%m/%d/%y'] |
DATE_FORMAT | u'N j, Y' |
DATE_INPUT_FORMATS | [u'%Y-%m-%d', u'%m/%d/%Y', u'%m/%d/%y', u'%b %d %Y', u'%b %d, %Y', u'%d %b %Y', u'%d %b, %Y', u'%B %d %Y', u'%B %d, %Y', u'%d %B %Y', u'%d %B, %Y'] |
DEBUG | True |
DEBUG_GMN | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DEBUG_PYCHARM | False |
DECIMAL_SEPARATOR | u'.' |
DEFAULT_CHARSET | u'utf-8' |
DEFAULT_CONTENT_TYPE | u'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | u'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | u'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | u'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | u'' |
DEFAULT_TABLESPACE | u'' |
DISALLOWED_USER_AGENTS | [] |
ECHO_REQUEST_OBJECT | False |
EMAIL_BACKEND | u'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | u'localhost' |
EMAIL_HOST_PASSWORD | u'********************' |
EMAIL_HOST_USER | u'' |
EMAIL_PORT | 25 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | u'********************' |
EMAIL_SUBJECT_PREFIX | u'[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
FILE_CHARSET | u'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | [u'django.core.files.uploadhandler.MemoryFileUploadHandler', u'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['django.contrib.staticfiles', 'app'] |
INTERNAL_IPS | [] |
LANGUAGES | [(u'af', u'Afrikaans'), (u'ar', u'Arabic'), (u'ast', u'Asturian'), (u'az', u'Azerbaijani'), (u'bg', u'Bulgarian'), (u'be', u'Belarusian'), (u'bn', u'Bengali'), (u'br', u'Breton'), (u'bs', u'Bosnian'), (u'ca', u'Catalan'), (u'cs', u'Czech'), (u'cy', u'Welsh'), (u'da', u'Danish'), (u'de', u'German'), (u'dsb', u'Lower Sorbian'), (u'el', u'Greek'), (u'en', u'English'), (u'en-au', u'Australian English'), (u'en-gb', u'British English'), (u'eo', u'Esperanto'), (u'es', u'Spanish'), (u'es-ar', u'Argentinian Spanish'), (u'es-co', u'Colombian Spanish'), (u'es-mx', u'Mexican Spanish'), (u'es-ni', u'Nicaraguan Spanish'), (u'es-ve', u'Venezuelan Spanish'), (u'et', u'Estonian'), (u'eu', u'Basque'), (u'fa', u'Persian'), (u'fi', u'Finnish'), (u'fr', u'French'), (u'fy', u'Frisian'), (u'ga', u'Irish'), (u'gd', u'Scottish Gaelic'), (u'gl', u'Galician'), (u'he', u'Hebrew'), (u'hi', u'Hindi'), (u'hr', u'Croatian'), (u'hsb', u'Upper Sorbian'), (u'hu', u'Hungarian'), (u'ia', u'Interlingua'), (u'id', u'Indonesian'), (u'io', u'Ido'), (u'is', u'Icelandic'), (u'it', u'Italian'), (u'ja', u'Japanese'), (u'ka', u'Georgian'), (u'kk', u'Kazakh'), (u'km', u'Khmer'), (u'kn', u'Kannada'), (u'ko', u'Korean'), (u'lb', u'Luxembourgish'), (u'lt', u'Lithuanian'), (u'lv', u'Latvian'), (u'mk', u'Macedonian'), (u'ml', u'Malayalam'), (u'mn', u'Mongolian'), (u'mr', u'Marathi'), (u'my', u'Burmese'), (u'nb', u'Norwegian Bokm\xe5l'), (u'ne', u'Nepali'), (u'nl', u'Dutch'), (u'nn', u'Norwegian Nynorsk'), (u'os', u'Ossetic'), (u'pa', u'Punjabi'), (u'pl', u'Polish'), (u'pt', u'Portuguese'), (u'pt-br', u'Brazilian Portuguese'), (u'ro', u'Romanian'), (u'ru', u'Russian'), (u'sk', u'Slovak'), (u'sl', u'Slovenian'), (u'sq', u'Albanian'), (u'sr', u'Serbian'), (u'sr-latn', u'Serbian Latin'), (u'sv', u'Swedish'), (u'sw', u'Swahili'), (u'ta', u'Tamil'), (u'te', u'Telugu'), (u'th', u'Thai'), (u'tr', u'Turkish'), (u'tt', u'Tatar'), (u'udm', u'Udmurt'), (u'uk', u'Ukrainian'), (u'ur', u'Urdu'), (u'vi', u'Vietnamese'), (u'zh-hans', u'Simplified Chinese'), (u'zh-hant', u'Traditional Chinese')] |
LANGUAGES_BIDI | [u'he', u'ar', u'fa', u'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | u'django_language' |
LANGUAGE_COOKIE_PATH | u'/' |
LOCALE_PATHS | [] |
LOGGING | {'disable_existing_loggers': True, 'formatters': {'simple': {'format': '%(levelname)s %(message)s'}, 'verbose': {'datefmt': '%Y-%m-%d %H:%M:%S', 'format': '%(asctime)s %(levelname)-8s %(name)s %(module)s %(process)d %(thread)d %(message)s'}}, 'handlers': {'file': {'class': 'logging.FileHandler', 'filename': '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log', 'formatter': 'verbose', 'level': 'DEBUG'}, 'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'}}, 'loggers': {'': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True}, 'django': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': False}, 'django.db.backends': {'handlers': ['null'], 'level': 'WARNING', 'propagate': False}}, 'version': 1} |
LOGGING_CONFIG | u'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | u'/accounts/profile/' |
LOGIN_URL | u'/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
LOG_LEVEL | 'DEBUG' |
LOG_PATH | '/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./gmn.log' |
MANAGERS | (('Roger Dahl', 'dahl@unm.edu'), ('Mark Servilla', 'mark.servilla@gmail.com')) |
MAX_XML_DOCUMENT_SIZE | 10485760 |
MEDIA_ROOT | u'' |
MEDIA_URL | '' |
MESSAGE_STORAGE | u'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | None |
MIDDLEWARE_CLASSES | ('app.middleware.request_handler.RequestHandler', 'app.middleware.exception_handler.ExceptionHandler', 'app.middleware.response_handler.ResponseHandler', 'app.middleware.profiling_handler.ProfilingHandler', 'app.middleware.view_handler.ViewHandler', 'app.middleware.startup_handler.StartupHandler') |
MIGRATION_MODULES | {} |
MONITOR | True |
MONTH_DAY_FORMAT | u'F j' |
NODE_BASEURL | 'https://gmn-s.lternet.edu/mn' |
NODE_CONTACT_SUBJECT | 'CN=Mark Servilla A6788,O=LTERN (Long Term Ecological Research Network),C=US,DC=cilogon,DC=org' |
NODE_DESCRIPTION | 'The U.S. Long Term Ecological Research Network (LTER) data include ecological observations from the study of pattern and control of primary production, movement of both organic and inorganic matter, disturbance patterns, and the spatial and temporal distribution of populations selected to represent trophic structure. The data originates from 27 sites across the conterminous United States of America, Alaska, Antarctica, Puerto Rico, and French Polynesia and spans a period from over 100 years ago to the present.' |
NODE_IDENTIFIER | 'urn:node:mnTestLTER' |
NODE_NAME | 'Stage test for PASTA-GMN' |
NODE_REPLICATE | False |
NODE_STATE | 'up' |
NODE_SUBJECT | 'CN=urn:node:mnTestLTER,DC=dataone,DC=org' |
NODE_SYNCHRONIZE | True |
NODE_SYNC_SCHEDULE_HOUR | '*' |
NODE_SYNC_SCHEDULE_MINUTE | '23' |
NODE_SYNC_SCHEDULE_MONTH | '*' |
NODE_SYNC_SCHEDULE_MONTHDAY | '*' |
NODE_SYNC_SCHEDULE_SECOND | '0' |
NODE_SYNC_SCHEDULE_WEEKDAY | '?' |
NODE_SYNC_SCHEDULE_YEAR | '*' |
NUMBER_GROUPING | 0 |
NUM_CHUNK_BYTES | 1048576 |
OBJECT_STORE_PATH | '/var/local/dataone/gmn_object_store' |
PASSWORD_HASHERS | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
PREPEND_WWW | False |
PROXY_MODE_BASIC_AUTH_ENABLED | False |
PROXY_MODE_BASIC_AUTH_PASSWORD | u'********************' |
PROXY_MODE_BASIC_AUTH_USERNAME | '' |
PROXY_MODE_STREAM_TIMEOUT | 30 |
PUBLIC_LOG_RECORDS | True |
PUBLIC_OBJECT_LIST | True |
PYCHARM_BIN | 'pycharm.sh' |
REPLICATION_ALLOWEDNODE | () |
REPLICATION_ALLOWEDOBJECTFORMAT | () |
REPLICATION_MAXOBJECTSIZE | -1 |
REPLICATION_MAX_ATTEMPTS | 24 |
REPLICATION_SPACEALLOCATED | 10737418240 |
REQUIRE_WHITELIST_FOR_UPDATE | False |
ROOT_URLCONF | 'app.urls' |
SECRET_KEY | u'********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | u'root@localhost' |
SESSION_CACHE_ALIAS | u'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | u'sessionid' |
SESSION_COOKIE_PATH | u'/' |
SESSION_COOKIE_SECURE | True |
SESSION_ENGINE | u'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | u'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'settings' |
SHORT_DATETIME_FORMAT | u'm/d/Y P' |
SHORT_DATE_FORMAT | u'm/d/Y' |
SIGNING_BACKEND | u'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
STAND_ALONE | False |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | [u'django.contrib.staticfiles.finders.FileSystemFinder', u'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | u'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | None |
STATIC_URL | '/static/' |
SYSMETA_REFRESH_MAX_ATTEMPTS | 24 |
TEMPLATES | [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/templates'], 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages'], 'loaders': ['django.template.loaders.filesystem.Loader']}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | u'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | u',' |
TIME_FORMAT | u'P' |
TIME_INPUT_FORMATS | [u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M'] |
TIME_ZONE | 'UTC' |
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE | False |
TRUST_CLIENT_DATESYSMETADATAMODIFIED | False |
TRUST_CLIENT_DATEUPLOADED | True |
TRUST_CLIENT_ORIGINMEMBERNODE | False |
TRUST_CLIENT_SERIALVERSION | False |
TRUST_CLIENT_SUBMITTER | False |
USE_ETAGS | False |
USE_I18N | True |
USE_L10N | False |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | False |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | None |
X_FRAME_OPTIONS | u'SAMEORIGIN' |
YEAR_MONTH_FORMAT | u'F Y' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.
Request Method: | GET |
---|---|
Request URL: | https://gmn-s.lternet.edu/mn/v2/packages/application%252Fbagit-097/S1_201711423430454 |
Using the URLconf defined in app.urls
,
Django tried these URL patterns, in this order:
The current URL, v2/packages/application%2Fbagit-097/S1_201711423430454
, didn't match any of these.
You're seeing this error because you have DEBUG = True
in
your Django settings file. Change that to False
, and Django
will display a standard 404 page.
Request Method: | GET |
---|---|
Request URL: | https://gmn-s.lternet.edu/mn/v2/views/default/S1_2017114231551386 |
Using the URLconf defined in app.urls
,
Django tried these URL patterns, in this order:
The current URL, v2/views/default/S1_2017114231551386
, didn't match any of these.
You're seeing this error because you have DEBUG = True
in
your Django settings file. Change that to False
, and Django
will display a standard 404 page.
Please notify the administrator.
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.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:343) at org.dataone.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:328) at org.dataone.client.rest.MultipartD1Node.view(MultipartD1Node.java:902) at org.dataone.client.v2.impl.MultipartMNode.view(MultipartMNode.java:709) at org.dataone.integration.adapters.CommonCallAdapter.view(CommonCallAdapter.java:596) at org.dataone.integration.it.testImplementations.SidCommonTestImplementations.testView(SidCommonTestImplementations.java:722) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.rules.Verifier$1.evaluate(Verifier.java:34) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at com.sun.proxy.$Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) 20170425-06:16:28: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-06:16:28: [INFO]: CREATING test object... pid: P1_2017114231628904 with a sid: S1_2017114231628906 obsoletes: null obsoletedBy: null [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-06:16:28: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-06:16:28: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-06:16:28: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-06:16:28: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService] 20170425-06:16:28: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-06:16:28: [WARN]: Unable to find a valid authoritative MN to use for the object: P1_2017114231628904 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-06:16:28: [INFO]: creating a test object. pid = P1_2017114231628904 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone] 20170425-06:16:28: [INFO]: SystemMetadata for pid: P1_2017114231628904Request Method: | GET |
---|---|
Request URL: | https://gmn-s.edirepository.org/mn/v2/views/default/S1_2017114231628906 |
Using the URLconf defined in app.urls
,
Django tried these URL patterns, in this order:
The current URL, v2/views/default/S1_2017114231628906
, didn't match any of these.
You're seeing this error because you have DEBUG = True
in
your Django settings file. Change that to False
, and Django
will display a standard 404 page.
Please notify the administrator.
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.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:343) at org.dataone.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:328) at org.dataone.client.rest.MultipartD1Node.view(MultipartD1Node.java:902) at org.dataone.client.v2.impl.MultipartMNode.view(MultipartMNode.java:709) at org.dataone.integration.adapters.CommonCallAdapter.view(CommonCallAdapter.java:596) at org.dataone.integration.it.testImplementations.SidCommonTestImplementations.testView(SidCommonTestImplementations.java:722) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.rules.Verifier$1.evaluate(Verifier.java:34) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at com.sun.proxy.$Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Tests run: 24, Failures: 23, Errors: 0, Skipped: 1, Time elapsed: 990.335 sec <<< FAILURE! Results : Failed tests: testUpdate(org.dataone.integration.it.testImplementations.SidMNTestImplementations): testUpdate unable to set up : https://gmn-s.lternet.edu/mn/v2 : InvocationTargetException : null testSidReuse(org.dataone.integration.it.testImplementations.SidMNTestImplementations): testSidReuse() : unable to set up test! : InvalidRequest : A different SID is already assigned to the obsolescence chain to which the object being created or updated belongs. A SID cannot be changed once it has been has been assigned to a chain. existing_sid="S1_201711423232813", new_sid="S2_201711423232816", pid="P1_201711423232807" testSidReuseDiffChain(org.dataone.integration.it.testImplementations.SidMNTestImplementations): testSidReuseDiffChain() : unable to set up test! : InvalidRequest : A different SID is already assigned to the obsolescence chain to which the object being created or updated belongs. A SID cannot be changed once it has been has been assigned to a chain. existing_sid="S1_201711423356312", new_sid="S2_201711423356315", pid="P1_201711423356303" testGetPackage(org.dataone.integration.it.testImplementations.SidMNTestImplementations): https://gmn-s.lternet.edu/mn/v2 Case: 1 : ServiceFailure : -1 : 404: Not Found: parser for deserializing HTML not written yet. Providing message body: testGetSystemMetadata(org.dataone.integration.it.testImplementations.SidMNTestImplementations): Case: 0 : nullUnable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ] testGetSystemMetadata(org.dataone.integration.it.testImplementations.SidMNTestImplementations): Case: 0 : nullUnable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ] testGet(org.dataone.integration.it.testImplementations.SidMNTestImplementations): Case: 0 : nullUnable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ] testGet(org.dataone.integration.it.testImplementations.SidMNTestImplementations): Case: 0 : nullUnable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ] testDescribe(org.dataone.integration.it.testImplementations.SidMNTestImplementations): Case: 0 : nullUnable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ] testDescribe(org.dataone.integration.it.testImplementations.SidMNTestImplementations): Case: 0 : nullUnable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ] testCreate(org.dataone.integration.it.testImplementations.SidMNTestImplementations): Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ] testCreate(org.dataone.integration.it.testImplementations.SidMNTestImplementations): Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ] testDelete(org.dataone.integration.it.testImplementations.SidMNTestImplementations): Case: 0 : nullUnable to create test object!/Session is required to WRITE to the Node. [for host POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = P1_2017114231114169; FilePart:object = /tmp/mmp.output.748399915462110383.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8699663846628324797.tmp (1073 bytes); ] testDelete(org.dataone.integration.it.testImplementations.SidMNTestImplementations): Case: 0 : nullUnable to create test object!/Session is required to WRITE to the Node. [for host POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = P1_2017114231138513; FilePart:object = /tmp/mmp.output.8474485744766545120.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8100549460556471061.tmp (1073 bytes); ] testListObjects(org.dataone.integration.it.testImplementations.SidMNTestImplementations): listObjects() Case 1, filter down to 1 pid expected:<1> but was:<1000> testIsAuthorized(org.dataone.integration.it.testImplementations.SidMNTestImplementations): Case: 0 : nullUnable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ] testIsAuthorized(org.dataone.integration.it.testImplementations.SidMNTestImplementations): Case: 0 : nullUnable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ] testView(org.dataone.integration.it.testImplementations.SidMNTestImplementations): 404: Not Found: parser for deserializing HTML not written yet. Providing message body: testView(org.dataone.integration.it.testImplementations.SidMNTestImplementations): nullUnable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ] testView(org.dataone.integration.it.testImplementations.SidMNTestImplementations): nullUnable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ] testView(org.dataone.integration.it.testImplementations.SidMNTestImplementations): 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body: testView(org.dataone.integration.it.testImplementations.SidMNTestImplementations): 404: Not Found: parser for deserializing HTML not written yet. Providing message body: testView(org.dataone.integration.it.testImplementations.SidMNTestImplementations): 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body: Tests run: 24, Failures: 23, Errors: 0, Skipped: 1 [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [JENKINS] Recording test results [INFO] [INFO] --- maven-failsafe-plugin:2.8.1:verify (verify) @ d1_integration --- [INFO] Failsafe report directory: /var/lib/jenkins/jobs/d1_integration_Stage_MN_sid_functional/workspace/target/failsafe-reports [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [ERROR] There are test failures. Please refer to /var/lib/jenkins/jobs/d1_integration_Stage_MN_sid_functional/workspace/target/failsafe-reports for the individual test results. [JENKINS] Recording test results Notifying upstream projects of job completion Join notifier requires a CauseAction [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 17:01.962s [INFO] Finished at: Tue Apr 25 06:16:50 UTC 2017 [INFO] Final Memory: 56M/768M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data