UnstableConsole Output

Established TCP socket on 32774
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f /var/lib/jenkins/jobs/d1_integration_Stage_authToken/workspace/d1_integration/pom.xml verify -Dit.test=AuthTokenFunctionalIT -Dtest=TestDefaultSettings -Dcontext.label=STAGE
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.dataone:d1_integration:war:2.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 201, column 15
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:buildnumber-maven-plugin is missing. @ line 225, column 15
[WARNING] 'build.plugins.plugin.version' for com.mycila.maven-license-plugin:maven-license-plugin is missing. @ line 218, column 15
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ line 241, column 15
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building DataONE Integration Testing Package 2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.2:create (default) @ d1_integration ---
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd /var/lib/jenkins/jobs/d1_integration_Stage_authToken/workspace/d1_integration && svn --non-interactive info
[INFO] Working directory: /var/lib/jenkins/jobs/d1_integration_Stage_authToken/workspace/d1_integration
[INFO] Storing buildNumber: 17232 at timestamp: 1450126986851
[INFO] Executing: /bin/sh -c cd /var/lib/jenkins/jobs/d1_integration_Stage_authToken/workspace/d1_integration && svn --non-interactive info
[INFO] Working directory: /var/lib/jenkins/jobs/d1_integration_Stage_authToken/workspace/d1_integration
[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 22 source files to /var/lib/jenkins/jobs/d1_integration_Stage_authToken/workspace/d1_integration/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 60 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_authToken/workspace/d1_integration/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_authToken/workspace/d1_integration/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.081 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 239 files to /var/lib/jenkins/jobs/d1_integration_Stage_authToken/workspace/d1_integration/target/classes
     [copy] Copying 3 files to /var/lib/jenkins/jobs/d1_integration_Stage_authToken/workspace/d1_integration/target/d1_integration-2.0-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_authToken/workspace/d1_integration/target/d1_integration-2.0-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_authToken/workspace/d1_integration/target/d1_integration-2.0-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_authToken/workspace/d1_integration/target/d1_integration-2.0-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_authToken/workspace/d1_integration/target/d1_integration-2.0-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_authToken/workspace/d1_integration/target/d1_integration-2.0-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_authToken/workspace/d1_integration/target/d1_integration-2.0-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_authToken/workspace/d1_integration/target/d1_integration-2.0-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_authToken/workspace/d1_integration/target/d1_integration-2.0-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_authToken/workspace/d1_integration/target/d1_integration-2.0-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_authToken/workspace/d1_integration/target/d1_integration-2.0-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_authToken/workspace/d1_integration/target/d1_integration-2.0-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_authToken/workspace/d1_integration/target/d1_integration-2.0-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_authToken/workspace/d1_integration/target/d1_integration-2.0-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_authToken/workspace/d1_integration/target/d1_integration-2.0-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_authToken/workspace/d1_integration/target/d1_integration-2.0-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_authToken/workspace/d1_integration/target/d1_integration-2.0-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_authToken/workspace/d1_integration/target/d1_integration-2.0-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_authToken/workspace/d1_integration/target/d1_integration-2.0-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_authToken/workspace/d1_integration/target/d1_integration-2.0-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_authToken/workspace/d1_integration/target/d1_integration-2.0-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_authToken/workspace/d1_integration/target/d1_integration-2.0-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_authToken/workspace/d1_integration/target/d1_integration-2.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [/var/lib/jenkins/jobs/d1_integration_Stage_authToken/workspace/d1_integration/src/main/webapp]
[INFO] Webapp assembled in [436 msecs]
[INFO] Building war: /var/lib/jenkins/jobs/d1_integration_Stage_authToken/workspace/d1_integration/target/d1_integration-2.0-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_authToken/workspace/d1_integration/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_authToken/workspace/d1_integration/target/failsafe-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.dataone.integration.it.functional.v2.AuthTokenFunctionalIT
20151214-21:03:31: [INFO]: attempting to load context-specific configuration file (context STAGE): org/dataone/configuration/context.STAGE.test.properties [org.dataone.configuration.TestSettings]
20151214-21:03:31: [INFO]: attempting to load context-specific configuration file (context STAGE): org/dataone/configuration/context.STAGE.test.properties [org.dataone.configuration.TestSettings]
20151214-21:03:31: [INFO]: resource: org/dataone/configuration/context.STAGE.test.properties [org.dataone.configuration.TestSettings]
20151214-21:03:31: [INFO]: configuration url: file:/var/lib/jenkins/jobs/d1_integration_Stage_authToken/workspace/d1_integration/target/classes/org/dataone/configuration/context.STAGE.test.properties [org.dataone.configuration.TestSettings]
20151214-21:03:31: [INFO]: resource: org/dataone/configuration/default.common.test.properties [org.dataone.configuration.TestSettings]
20151214-21:03:31: [INFO]: configuration url: file:/var/lib/jenkins/jobs/d1_integration_Stage_authToken/workspace/d1_integration/target/classes/org/dataone/configuration/default.common.test.properties [org.dataone.configuration.TestSettings]
20151214-21:03:32: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:32: [INFO]: ***  context label:   STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:32: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
~~~ Context is from d1client.properties: https://cn-stage.test.dataone.org/cn
20151214-21:03:33: [INFO]: rest call info: GET https://cn-stage.test.dataone.org/cn/v1/node [org.dataone.client.rest.RestClient]
20151214-21:03:33: [INFO]: response httpCode: 200 [org.dataone.service.util.ExceptionHandler]
20151214-21:03:34: [INFO]: isNodeAlive for Node: https://cn-stage.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:34: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:34: [INFO]: rest call info: GET https://cn-stage.test.dataone.org/cn [org.dataone.client.rest.RestClient]
20151214-21:03:34: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:34: [INFO]: *** Adding CN to list: cn-stage [ https://cn-stage.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:34: [INFO]: isNodeAlive for Node: https://cn-stage-orc-1.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:34: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:35: [INFO]: rest call info: GET https://cn-stage-orc-1.test.dataone.org/cn [org.dataone.client.rest.RestClient]
20151214-21:03:35: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:35: [INFO]: *** Adding CN to list: cn-stage-orc-1 [ https://cn-stage-orc-1.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:35: [INFO]: isNodeAlive for Node: https://mn-stage-unm-1.test.dataone.org/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:35: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:45: [INFO]: rest call info: GET https://mn-stage-unm-1.test.dataone.org/mn [org.dataone.client.rest.RestClient]
20151214-21:03:45: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:45: [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]
20151214-21:03:45: [INFO]: isNodeAlive for Node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:45: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:46: [INFO]: rest call info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn [org.dataone.client.rest.RestClient]
20151214-21:03:46: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:46: [INFO]: *** Adding MN to list: mn-stage-ucsb-2 [ https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:46: [INFO]: isNodeAlive for Node: https://cn-stage-ucsb-1.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:46: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:47: [INFO]: rest call info: GET https://cn-stage-ucsb-1.test.dataone.org/cn [org.dataone.client.rest.RestClient]
20151214-21:03:47: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:47: [INFO]: *** Adding CN to list: cn-stage-ucsb-1 [ https://cn-stage-ucsb-1.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:47: [INFO]: isNodeAlive for Node: https://cn-stage-unm-1.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:47: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:47: [INFO]: rest call info: GET https://cn-stage-unm-1.test.dataone.org/cn [org.dataone.client.rest.RestClient]
20151214-21:03:47: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:47: [INFO]: *** Adding CN to list: cn-stage-unm-1 [ https://cn-stage-unm-1.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:47: [INFO]: isNodeAlive for Node: https://test.piscoweb.org/catalog/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:47: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:48: [INFO]: rest call info: GET https://test.piscoweb.org/catalog/d1/mn [org.dataone.client.rest.RestClient]
20151214-21:03:48: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:48: [WARN]: *** Failed to add MN to list: PISCO Test MN [ https://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]
20151214-21:03:48: [INFO]: isNodeAlive for Node: https://mn-demo-11.test.dataone.org/knb/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:48: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:48: [INFO]: rest call info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn [org.dataone.client.rest.RestClient]
20151214-21:03:48: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:48: [INFO]: *** Adding MN to list: mn-demo-11 [ https://mn-demo-11.test.dataone.org/knb/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:48: [INFO]: isNodeAlive for Node: http://mercury-ops2.ornl.gov/EDORA_MN_TEST/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:48: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:49: [INFO]: rest call info: GET http://mercury-ops2.ornl.gov/EDORA_MN_TEST/mn [org.dataone.client.rest.RestClient]
20151214-21:03:49: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:49: [INFO]: *** Adding MN to list: Environmental Data for the Oak Ridge Area (EDORA) [ http://mercury-ops2.ornl.gov/EDORA_MN_TEST/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:49: [INFO]: isNodeAlive for Node: http://mercury-ops2.ornl.gov/RGD_MN_TEST/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:49: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:49: [INFO]: rest call info: GET http://mercury-ops2.ornl.gov/RGD_MN_TEST/mn [org.dataone.client.rest.RestClient]
20151214-21:03:49: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:49: [INFO]: *** Adding MN to list: Regional and Global biogeochemical dynamics Data (RGD)  [ http://mercury-ops2.ornl.gov/RGD_MN_TEST/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:49: [INFO]: isNodeAlive for Node: https://gmn-s.lternet.edu/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:49: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:49: [INFO]: rest call info: GET https://gmn-s.lternet.edu/mn [org.dataone.client.rest.RestClient]
20151214-21:03:49: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:49: [INFO]: *** Adding MN to list: Stage test for PASTA-GMN [ https://gmn-s.lternet.edu/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:49: [INFO]: isNodeAlive for Node: https://dataone-test.pop.umn.edu/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:49: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:49: [INFO]: rest call info: GET https://dataone-test.pop.umn.edu/mn [org.dataone.client.rest.RestClient]
20151214-21:03:49: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:49: [INFO]: *** Adding MN to list: mn Test MPC [ https://dataone-test.pop.umn.edu/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:49: [INFO]: isNodeAlive for Node: https://dataone-dev.ecoinformatics.org.au/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:49: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:50: [INFO]: rest call info: GET https://dataone-dev.ecoinformatics.org.au/mn [org.dataone.client.rest.RestClient]
20151214-21:03:50: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:50: [WARN]: *** Failed to add MN to list: TERN Australia DEV [ https://dataone-dev.ecoinformatics.org.au/mn ].  Could not reach the node:GET https://cn-stage.test.dataone.org/cn/v1/node [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:50: [INFO]: trying to filter CN list for the round robin CN... original size: 4, includes nodes: [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:50: [INFO]:     CN: https://cn-stage.test.dataone.org/cn "Round Robin staging router of Coordinating Nodes" [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:50: [INFO]:     CN: https://cn-stage-orc-1.test.dataone.org/cn "Oak Ridge National Laboratory Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:50: [INFO]:     CN: https://cn-stage-ucsb-1.test.dataone.org/cn "UCSB Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:50: [INFO]:     CN: https://cn-stage-unm-1.test.dataone.org/cn "UNM Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:50: [INFO]: excluding round robin CN: https://cn-stage.test.dataone.org/cn "Round Robin staging router of Coordinating Nodes" [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:50: [INFO]: including CN: https://cn-stage-orc-1.test.dataone.org/cn "Oak Ridge National Laboratory Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:50: [INFO]: including CN: https://cn-stage-ucsb-1.test.dataone.org/cn "UCSB Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:50: [INFO]: including CN: https://cn-stage-unm-1.test.dataone.org/cn "UNM Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:50: [INFO]: filtered CN list without round robin CN. size: 3, including nodes: [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:50: [INFO]:     CN: https://cn-stage-orc-1.test.dataone.org/cn "Oak Ridge National Laboratory Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:50: [INFO]:     CN: https://cn-stage-ucsb-1.test.dataone.org/cn "UCSB Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:50: [INFO]:     CN: https://cn-stage-unm-1.test.dataone.org/cn "UNM Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:50: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:51: [INFO]: rest call info: GET https://cn-stage.test.dataone.org/cn/v1/node [org.dataone.client.rest.RestClient]
20151214-21:03:51: [INFO]: response httpCode: 200 [org.dataone.service.util.ExceptionHandler]
20151214-21:03:51: [INFO]: rest call info: GET https://cn-stage.test.dataone.org/cn/v1/accounts/testId [org.dataone.client.rest.RestClient]
20151214-21:03:51: [INFO]: response httpCode: 500 [org.dataone.service.util.ExceptionHandler]
20151214-21:03:51: [WARN]: Problem looking up entry: testId : testId: [LDAP: error code 34 - invalid DN] [org.dataone.portal.TokenGenerator]
org.dataone.service.exceptions.ServiceFailure: Problem looking up entry: testId : testId: [LDAP: error code 34 - invalid DN]
	at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:633)
	at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
	at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
	at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
	at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
	at org.dataone.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:333)
	at org.dataone.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:318)
	at org.dataone.client.v1.impl.MultipartCNode.getSubjectInfo(MultipartCNode.java:1498)
	at org.dataone.client.v1.impl.MultipartCNode.getSubjectInfo(MultipartCNode.java:1479)
	at org.dataone.portal.TokenGenerator.getSession(TokenGenerator.java:176)
	at org.dataone.integration.it.testImplementations.AuthTokenTestImplementation.getTokenSesssion(AuthTokenTestImplementation.java:45)
	at org.dataone.integration.it.testImplementations.AuthTokenTestImplementation.testEchoCredentials(AuthTokenTestImplementation.java:65)
	at org.dataone.integration.it.testImplementations.AuthTokenTestImplementation.testEchoCredentials(AuthTokenTestImplementation.java:58)
	at org.dataone.integration.it.functional.v2.AuthTokenFunctionalIT.testEchoCredentials(AuthTokenFunctionalIT.java:26)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.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)
20151214-21:03:51: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:51: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:51: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:52: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:52: [INFO]: 
***************** running test for testEchoCredentials(...) vs. node: https://cn-stage-orc-1.test.dataone.org/cn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:54: [INFO]: rest call info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/diag/subject [org.dataone.client.rest.RestClient]
20151214-21:03:54: [INFO]: response httpCode: 401 [org.dataone.service.util.ExceptionHandler]
20151214-21:03:54: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:54: [INFO]: ***  context label:   STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:54: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:54: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:54: [INFO]: rest call info: GET https://cn-stage.test.dataone.org/cn/v1/accounts/testId [org.dataone.client.rest.RestClient]
20151214-21:03:54: [INFO]: response httpCode: 500 [org.dataone.service.util.ExceptionHandler]
20151214-21:03:54: [WARN]: Problem looking up entry: testId : testId: [LDAP: error code 34 - invalid DN] [org.dataone.portal.TokenGenerator]
org.dataone.service.exceptions.ServiceFailure: Problem looking up entry: testId : testId: [LDAP: error code 34 - invalid DN]
	at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:633)
	at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
	at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
	at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
	at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
	at org.dataone.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:333)
	at org.dataone.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:318)
	at org.dataone.client.v1.impl.MultipartCNode.getSubjectInfo(MultipartCNode.java:1498)
	at org.dataone.client.v1.impl.MultipartCNode.getSubjectInfo(MultipartCNode.java:1479)
	at org.dataone.portal.TokenGenerator.getSession(TokenGenerator.java:176)
	at org.dataone.integration.it.testImplementations.AuthTokenTestImplementation.getTokenSesssion(AuthTokenTestImplementation.java:45)
	at org.dataone.integration.it.testImplementations.AuthTokenTestImplementation.testCnIsAuthorized(AuthTokenTestImplementation.java:101)
	at org.dataone.integration.it.testImplementations.AuthTokenTestImplementation.testCnIsAuthorized(AuthTokenTestImplementation.java:94)
	at org.dataone.integration.it.functional.v2.AuthTokenFunctionalIT.testCnIsAuthorized(AuthTokenFunctionalIT.java:31)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.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)
20151214-21:03:54: [INFO]: Created auth token: eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE0NTAxOTE4MzQsInN1YiI6InRlc3RJZCIsImNvbnN1bWVyS2V5IjpudWxsLCJpc3N1ZWRBdCI6IjIwMTUtMTItMTRUMjE6MDM6NTQuMTI4KzAwOjAwIiwidXNlcklkIjoidGVzdElkIiwiZnVsbE5hbWUiOiJKYW5lIFNjaWVudGlzdCIsInR0bCI6NjQ4MDAsImlhdCI6MTQ1MDEyNzAzNH0.GjUoIPChAVDbTTqfEFNIJ-i-YsFE2cu6wR-2o98t8-e2ALJZQqbDi5tAtnCz4b9-U8Q3dwuVpqCB5o43FArTtOYNwyoP1LkDOePnG5jbZzrPfnGafoyyBx_QFxkt7DQ1QpSRI9Buwl-0FAM1X9NDLW4EzpMRkBaWTh1EkC75ePEkuZSzy8iQb1ktAzJj8Ye2IWLSWkFHP2jhO9jGM-l7AR_9_NhPXLBIz8hmHw4AKkT9o2X8WNKpPcZVZGnAuYgiRYrjuii6putgua2D5KJ2hIyZu4MeDrBI23Wgab0b7Bqu4vSgo0Fy5pBKrPgEaqylbruUVJTvfZjys6a1i_gg8zuSTKczrGqfxI-r4fXlvZDsFW0tqabDYEekqgNmw_5jo6PijbfFYNd6s6ZlgTNIuaSCEEx_Dap1zUatgldwvmi6rIS7SwSKuLGquYw5v7Ls9BtKvmv5OCL4-klfaDDWIQWkBbJ9JuT8fd62w5SPsKpukzhLtUKSk1dSBHzwHYWFfsYfv_98_QM3BF7zQUB7EHBN6oflYJctM9mnNc8-zEOcz5U__MEAW-b9LHJ9unWGSpzqhT2ILBkWtSkXntE9Bw4X4bQ8rhgdDFycaFZTvycu9enkSQ6xazbl2NU4GjwTRa8RNvUVVwHK29BgZL0DctWjK_H9QJfaGK6amBGbF70 [org.dataone.integration.it.ContextAwareAdapter]
20151214-21:03:54: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:54: [INFO]: 
***************** running test for testCnIsAuthorized(...) vs. node: https://cn-stage-orc-1.test.dataone.org/cn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:56: [INFO]: rest call info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testCnIsAuthorized_token_5 [org.dataone.client.rest.RestClient]
20151214-21:03:56: [INFO]: response httpCode: 404 [org.dataone.service.util.ExceptionHandler]
20151214-21:03:56: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:56: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:56: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:56: [INFO]: rest call info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20151214-21:03:56: [INFO]: response httpCode: 200 [org.dataone.service.util.ExceptionHandler]
20151214-21:03:56: [INFO]: refreshing objectFormatCache from cn: null [org.dataone.client.v2.formats.ObjectFormatCache]
20151214-21:03:57: [INFO]: rest call info: GET https://cn-stage.test.dataone.org/cn/v2/formats [org.dataone.client.rest.RestClient]
20151214-21:03:57: [INFO]: response httpCode: 200 [org.dataone.service.util.ExceptionHandler]
20151214-21:03:57: [INFO]: successful cache refresh from cn.listFormats() [org.dataone.client.v2.formats.ObjectFormatCache]
20151214-21:03:57: [INFO]: creating a test object.  pid = testCnIsAuthorized_token_5 on https://cn-stage-orc-1.test.dataone.org/cn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:57: [INFO]: SystemMetadata for pid: testCnIsAuthorized_token_5
<?xml version="1.0" encoding="UTF-8"?><d1_v2.0:systemMetadata xmlns:d1_v2.0="http://ns.dataone.org/service/types/v2.0" xmlns:d1="http://ns.dataone.org/service/types/v1"><serialVersion>1</serialVersion><identifier>testCnIsAuthorized_token_5</identifier><formatId>eml://ecoinformatics.org/eml-2.0.1</formatId><size>17181</size><checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum><submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter><rightsHolder>testId</rightsHolder><accessPolicy><allow><subject>testId</subject><permission>read</permission></allow></accessPolicy><replicationPolicy replicationAllowed="false" numberReplicas="0"/><dateUploaded>2015-12-14T21:03:57.402+00:00</dateUploaded><dateSysMetadataModified>2015-12-14T21:03:57.402+00:00</dateSysMetadataModified><originMemberNode>urn:node:mnStageUCSB2</originMemberNode><authoritativeMemberNode>urn:node:mnStageUCSB2</authoritativeMemberNode></d1_v2.0:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:03:57: [INFO]: temp outputFile is: /tmp/mmp.output.4003862084257047610.tmp [org.dataone.mimemultipart.SimpleMultipartEntity]
20151214-21:03:57: [INFO]: temp outputFile is: /tmp/mmp.output.18531907200546715.tmp [org.dataone.mimemultipart.SimpleMultipartEntity]
20151214-21:04:01: [INFO]: rest call info: POST https://cn-stage-orc-1.test.dataone.org/cn/v2/object; MMP message has: ParamPart:pid = testCnIsAuthorized_token_5; FilePart:object = /tmp/mmp.output.4003862084257047610.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.18531907200546715.tmp (950 bytes);  [org.dataone.client.rest.RestClient]
20151214-21:04:01: [INFO]: response httpCode: 200 [org.dataone.service.util.ExceptionHandler]
20151214-21:04:01: [INFO]: object created.  pid = testCnIsAuthorized_token_5 [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:01: [INFO]:  ====>>>>> pid of procured test Object: testCnIsAuthorized_token_5 [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:05: [INFO]: rest call info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/isAuthorized/testCnIsAuthorized_token_5?action=read [org.dataone.client.rest.RestClient]
20151214-21:04:05: [INFO]: response httpCode: 200 [org.dataone.service.util.ExceptionHandler]
20151214-21:04:05: [INFO]: rest call info: GET https://cn-stage.test.dataone.org/cn/v1/accounts/testId [org.dataone.client.rest.RestClient]
20151214-21:04:05: [INFO]: response httpCode: 500 [org.dataone.service.util.ExceptionHandler]
20151214-21:04:05: [WARN]: Problem looking up entry: testId : testId: [LDAP: error code 34 - invalid DN] [org.dataone.portal.TokenGenerator]
org.dataone.service.exceptions.ServiceFailure: Problem looking up entry: testId : testId: [LDAP: error code 34 - invalid DN]
	at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:633)
	at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
	at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
	at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
	at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
	at org.dataone.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:333)
	at org.dataone.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:318)
	at org.dataone.client.v1.impl.MultipartCNode.getSubjectInfo(MultipartCNode.java:1498)
	at org.dataone.client.v1.impl.MultipartCNode.getSubjectInfo(MultipartCNode.java:1479)
	at org.dataone.portal.TokenGenerator.getSession(TokenGenerator.java:176)
	at org.dataone.integration.it.testImplementations.AuthTokenTestImplementation.getTokenSesssion(AuthTokenTestImplementation.java:45)
	at org.dataone.integration.it.testImplementations.AuthTokenTestImplementation.testCnIsAuthorized(AuthTokenTestImplementation.java:101)
	at org.dataone.integration.it.testImplementations.AuthTokenTestImplementation.testCnIsAuthorized(AuthTokenTestImplementation.java:94)
	at org.dataone.integration.it.functional.v2.AuthTokenFunctionalIT.testCnIsAuthorized(AuthTokenFunctionalIT.java:31)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.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)
20151214-21:04:05: [INFO]: Created auth token: eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE0NTAxOTE4NDUsInN1YiI6InRlc3RJZCIsImNvbnN1bWVyS2V5IjpudWxsLCJpc3N1ZWRBdCI6IjIwMTUtMTItMTRUMjE6MDQ6MDUuMDUwKzAwOjAwIiwidXNlcklkIjoidGVzdElkIiwiZnVsbE5hbWUiOiJKYW5lIFNjaWVudGlzdCIsInR0bCI6NjQ4MDAsImlhdCI6MTQ1MDEyNzA0NX0.AQrOHoKheuPJ-ZLD5Szmbt1gB_W89TpFTnfEGxJ2xovXI_HRWJdFOgYPonxOE0hK1xaDh9Rr3CD_8Iqui0ZmKpbStcxwTQib6371bbeQExiEykGddORGyYLmSm5kcYtsQn6ZxPkIg0Gff6cfhxK24J3QDZGnxrj5lmy332WPk-4A7h1afrkGkAt_CJ_PHtPVUXaBAD8OAQBt553yZdRYmFamS0Tel9KexDfZ7L9b4uqZ6KphxtwdbYZx5-8uiVi3m5YB7NZRRIIEDkr3SdfYtG-HJcIH1GP-NOhY__dCpDx09ANpHwRA_o603sRSo-UtZBAKfqJcL7ZxOCmZOlmt1gGX3ISzcvn-0Kja0bu_I9lnFDfbC30N9HjdbH1BBqXB8XkZhy-BpvZ7aDZdnmrKon7z14kuf8tKz1dY30M10dmuL_PING44uaYZ-CybHqaD4NJmfy8oVsj7EU7ZoRQtCEQlhdckITCGuciZjjRrKjBg836I_-8nbNVQd9r-YDiE5ibX19gpuPBjAC9xjCTyQfq0y819q5927eZ7Aje7-LthpN0CnT7CjNgIbkXyvu7dofyEm10jt9P5bRUsKeVufez3FxiuKp_gyWCD9pWe4H7Ap1b_7wxG46bR7BWHuo6Py0MhaCWvPU8mIyooQchijJG5guesw46WG9HqPIRTs_c [org.dataone.integration.it.ContextAwareAdapter]
20151214-21:04:05: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:05: [INFO]: 
***************** running test for testCnIsAuthorized(...) vs. node: https://cn-stage-ucsb-1.test.dataone.org/cn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:06: [INFO]: rest call info: GET https://cn-stage-ucsb-1.test.dataone.org/cn/v2/meta/testCnIsAuthorized_token_5 [org.dataone.client.rest.RestClient]
20151214-21:04:06: [INFO]: response httpCode: 200 [org.dataone.service.util.ExceptionHandler]
20151214-21:04:06: [INFO]:  ====>>>>> pid of procured test Object: testCnIsAuthorized_token_5 [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:07: [INFO]: rest call info: GET https://cn-stage-ucsb-1.test.dataone.org/cn/v2/isAuthorized/testCnIsAuthorized_token_5?action=read [org.dataone.client.rest.RestClient]
20151214-21:04:07: [INFO]: response httpCode: 200 [org.dataone.service.util.ExceptionHandler]
20151214-21:04:07: [INFO]: rest call info: GET https://cn-stage.test.dataone.org/cn/v1/accounts/testId [org.dataone.client.rest.RestClient]
20151214-21:04:07: [INFO]: response httpCode: 500 [org.dataone.service.util.ExceptionHandler]
20151214-21:04:07: [WARN]: Problem looking up entry: testId : testId: [LDAP: error code 34 - invalid DN] [org.dataone.portal.TokenGenerator]
org.dataone.service.exceptions.ServiceFailure: Problem looking up entry: testId : testId: [LDAP: error code 34 - invalid DN]
	at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:633)
	at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
	at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
	at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
	at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
	at org.dataone.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:333)
	at org.dataone.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:318)
	at org.dataone.client.v1.impl.MultipartCNode.getSubjectInfo(MultipartCNode.java:1498)
	at org.dataone.client.v1.impl.MultipartCNode.getSubjectInfo(MultipartCNode.java:1479)
	at org.dataone.portal.TokenGenerator.getSession(TokenGenerator.java:176)
	at org.dataone.integration.it.testImplementations.AuthTokenTestImplementation.getTokenSesssion(AuthTokenTestImplementation.java:45)
	at org.dataone.integration.it.testImplementations.AuthTokenTestImplementation.testCnIsAuthorized(AuthTokenTestImplementation.java:101)
	at org.dataone.integration.it.testImplementations.AuthTokenTestImplementation.testCnIsAuthorized(AuthTokenTestImplementation.java:94)
	at org.dataone.integration.it.functional.v2.AuthTokenFunctionalIT.testCnIsAuthorized(AuthTokenFunctionalIT.java:31)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.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)
20151214-21:04:07: [INFO]: Created auth token: eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE0NTAxOTE4NDcsInN1YiI6InRlc3RJZCIsImNvbnN1bWVyS2V5IjpudWxsLCJpc3N1ZWRBdCI6IjIwMTUtMTItMTRUMjE6MDQ6MDcuNDE0KzAwOjAwIiwidXNlcklkIjoidGVzdElkIiwiZnVsbE5hbWUiOiJKYW5lIFNjaWVudGlzdCIsInR0bCI6NjQ4MDAsImlhdCI6MTQ1MDEyNzA0N30.YX8xI_nQ60X_ygw5yWYSd4d01HIjGzyFGo7X4sDzf5I-4-KdfUNqi4C2sbkXhCTvDAXDTOosNtWQfP0uZINBLdytIzAkcMh_mO-0Yczu4ZRxBvJ4BPm1qLfXdUczmJdh4OBEKNmWYjkBupK4ytrxBDrCfz4a_Mylte6L1G1GvEu2k5B-iBTvFGNp-52w4bCmzMx_ymRlbu_1b4rpZAXNKtoqhlmAJAXXcEvzosZgAUEALwr__rnJ7kh4YZUY6AL8Xh5uVSrPgWczDqVeXg6rXNL2VVYnnMK6PjxA4puq39rMWcoMtgRdH8uH1EviJykRQ5eUMluf9Si_05zPPQQoiwLLEEqmKJRlnTOo1spqKlw7NulbaW3acYTdfdCj5nbTQf3G94PBIXAdgJsov8IkmLcX0HMRF8HmG3Fq0hC3frP4Lzp7xoj6BnYmqoYdOegnGvwS3NJY9KsKuy9zbLKEWF1hN9l3eKHgAEArSbD63R9D9NcfeQyik_9eTQcCrtm2izT1PlsV5TlimKuSF6HBqUdae1IaHEa6vFVb0dEUkAhiFOSp2qLU13DEhPp7k0l1ZcnXRbC5RROL7bdcJyED1NU_wWxa1mOP-ePgUEVSj8tRbmU8YjgpXm6QbVodzTbucdp4_D5IjqCSDgJrm3SWLuEH7GDidJ7kqGufcOwXt7w [org.dataone.integration.it.ContextAwareAdapter]
20151214-21:04:07: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:07: [INFO]: 
***************** running test for testCnIsAuthorized(...) vs. node: https://cn-stage-unm-1.test.dataone.org/cn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:10: [INFO]: rest call info: GET https://cn-stage-unm-1.test.dataone.org/cn/v2/meta/testCnIsAuthorized_token_5 [org.dataone.client.rest.RestClient]
20151214-21:04:10: [INFO]: response httpCode: 200 [org.dataone.service.util.ExceptionHandler]
20151214-21:04:10: [INFO]:  ====>>>>> pid of procured test Object: testCnIsAuthorized_token_5 [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:12: [INFO]: rest call info: GET https://cn-stage-unm-1.test.dataone.org/cn/v2/isAuthorized/testCnIsAuthorized_token_5?action=read [org.dataone.client.rest.RestClient]
20151214-21:04:12: [INFO]: response httpCode: 200 [org.dataone.service.util.ExceptionHandler]
20151214-21:04:12: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:12: [INFO]: ***  context label:   STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:12: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:12: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:12: [INFO]: rest call info: GET https://cn-stage.test.dataone.org/cn/v1/accounts/testId [org.dataone.client.rest.RestClient]
20151214-21:04:12: [INFO]: response httpCode: 500 [org.dataone.service.util.ExceptionHandler]
20151214-21:04:12: [WARN]: Problem looking up entry: testId : testId: [LDAP: error code 34 - invalid DN] [org.dataone.portal.TokenGenerator]
org.dataone.service.exceptions.ServiceFailure: Problem looking up entry: testId : testId: [LDAP: error code 34 - invalid DN]
	at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:633)
	at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
	at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
	at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
	at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
	at org.dataone.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:333)
	at org.dataone.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:318)
	at org.dataone.client.v1.impl.MultipartCNode.getSubjectInfo(MultipartCNode.java:1498)
	at org.dataone.client.v1.impl.MultipartCNode.getSubjectInfo(MultipartCNode.java:1479)
	at org.dataone.portal.TokenGenerator.getSession(TokenGenerator.java:176)
	at org.dataone.integration.it.testImplementations.AuthTokenTestImplementation.getTokenSesssion(AuthTokenTestImplementation.java:45)
	at org.dataone.integration.it.testImplementations.AuthTokenTestImplementation.testMnIsAuthorized(AuthTokenTestImplementation.java:156)
	at org.dataone.integration.it.testImplementations.AuthTokenTestImplementation.testMnIsAuthorized(AuthTokenTestImplementation.java:149)
	at org.dataone.integration.it.functional.v2.AuthTokenFunctionalIT.testMnIsAuthorized(AuthTokenFunctionalIT.java:36)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.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)
20151214-21:04:12: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:12: [INFO]: 
***************** running test for testMnIsAuthorized(...) vs. node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:14: [INFO]: rest call info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/meta/testMnIsAuthorized_token_5 [org.dataone.client.rest.RestClient]
20151214-21:04:14: [INFO]: response httpCode: 404 [org.dataone.service.util.ExceptionHandler]
20151214-21:04:14: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:14: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:14: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:14: [INFO]: creating a test object.  pid = testMnIsAuthorized_token_5 on https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:14: [INFO]: SystemMetadata for pid: testMnIsAuthorized_token_5
<?xml version="1.0" encoding="UTF-8"?><d1_v2.0:systemMetadata xmlns:d1_v2.0="http://ns.dataone.org/service/types/v2.0" xmlns:d1="http://ns.dataone.org/service/types/v1"><serialVersion>1</serialVersion><identifier>testMnIsAuthorized_token_5</identifier><formatId>eml://ecoinformatics.org/eml-2.0.1</formatId><size>17181</size><checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum><submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter><rightsHolder>testId</rightsHolder><accessPolicy><allow><subject>testId</subject><permission>read</permission></allow></accessPolicy><replicationPolicy replicationAllowed="false" numberReplicas="0"/><dateUploaded>2015-12-14T21:04:14.198+00:00</dateUploaded><dateSysMetadataModified>2015-12-14T21:04:14.198+00:00</dateSysMetadataModified><originMemberNode>urn:node:mnStageUCSB2</originMemberNode><authoritativeMemberNode>urn:node:mnStageUCSB2</authoritativeMemberNode></d1_v2.0:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:14: [INFO]: temp outputFile is: /tmp/mmp.output.8142138914532939740.tmp [org.dataone.mimemultipart.SimpleMultipartEntity]
20151214-21:04:14: [INFO]: temp outputFile is: /tmp/mmp.output.4870469376919178066.tmp [org.dataone.mimemultipart.SimpleMultipartEntity]
20151214-21:04:20: [INFO]: rest call info: POST https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testMnIsAuthorized_token_5; FilePart:object = /tmp/mmp.output.8142138914532939740.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4870469376919178066.tmp (950 bytes);  [org.dataone.client.rest.RestClient]
20151214-21:04:20: [INFO]: response httpCode: 200 [org.dataone.service.util.ExceptionHandler]
20151214-21:04:20: [INFO]: object created.  pid = testMnIsAuthorized_token_5 [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:20: [INFO]:  ====>>>>> pid of procured test Object: testMnIsAuthorized_token_5 [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:25: [INFO]: rest call info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2/isAuthorized/testMnIsAuthorized_token_5?action=read [org.dataone.client.rest.RestClient]
20151214-21:04:25: [INFO]: response httpCode: 200 [org.dataone.service.util.ExceptionHandler]
20151214-21:04:26: [INFO]: rest call info: GET https://cn-stage.test.dataone.org/cn/v1/accounts/testId [org.dataone.client.rest.RestClient]
20151214-21:04:26: [INFO]: response httpCode: 500 [org.dataone.service.util.ExceptionHandler]
20151214-21:04:26: [WARN]: Problem looking up entry: testId : testId: [LDAP: error code 34 - invalid DN] [org.dataone.portal.TokenGenerator]
org.dataone.service.exceptions.ServiceFailure: Problem looking up entry: testId : testId: [LDAP: error code 34 - invalid DN]
	at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:633)
	at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
	at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
	at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
	at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
	at org.dataone.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:333)
	at org.dataone.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:318)
	at org.dataone.client.v1.impl.MultipartCNode.getSubjectInfo(MultipartCNode.java:1498)
	at org.dataone.client.v1.impl.MultipartCNode.getSubjectInfo(MultipartCNode.java:1479)
	at org.dataone.portal.TokenGenerator.getSession(TokenGenerator.java:176)
	at org.dataone.integration.it.testImplementations.AuthTokenTestImplementation.getTokenSesssion(AuthTokenTestImplementation.java:45)
	at org.dataone.integration.it.testImplementations.AuthTokenTestImplementation.testMnIsAuthorized(AuthTokenTestImplementation.java:156)
	at org.dataone.integration.it.testImplementations.AuthTokenTestImplementation.testMnIsAuthorized(AuthTokenTestImplementation.java:149)
	at org.dataone.integration.it.functional.v2.AuthTokenFunctionalIT.testMnIsAuthorized(AuthTokenFunctionalIT.java:36)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.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)
20151214-21:04:26: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:26: [INFO]: 
***************** running test for testMnIsAuthorized(...) vs. node: https://mn-demo-11.test.dataone.org/knb/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:26: [INFO]: rest call info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/meta/testMnIsAuthorized_token_5 [org.dataone.client.rest.RestClient]
20151214-21:04:26: [INFO]: response httpCode: 404 [org.dataone.service.util.ExceptionHandler]
20151214-21:04:26: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:26: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:26: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:26: [INFO]: creating a test object.  pid = testMnIsAuthorized_token_5 on https://mn-demo-11.test.dataone.org/knb/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:26: [INFO]: SystemMetadata for pid: testMnIsAuthorized_token_5
<?xml version="1.0" encoding="UTF-8"?><d1_v2.0:systemMetadata xmlns:d1_v2.0="http://ns.dataone.org/service/types/v2.0" xmlns:d1="http://ns.dataone.org/service/types/v1"><serialVersion>1</serialVersion><identifier>testMnIsAuthorized_token_5</identifier><formatId>eml://ecoinformatics.org/eml-2.0.1</formatId><size>17181</size><checksum algorithm="MD5">03ce09c6b4c3efc1681f3023402998a2</checksum><submitter>CN=urn:node:cnStageUNM1,DC=dataone,DC=org</submitter><rightsHolder>testId</rightsHolder><accessPolicy><allow><subject>testId</subject><permission>read</permission></allow></accessPolicy><replicationPolicy replicationAllowed="false" numberReplicas="0"/><dateUploaded>2015-12-14T21:04:26.808+00:00</dateUploaded><dateSysMetadataModified>2015-12-14T21:04:26.808+00:00</dateSysMetadataModified><originMemberNode>urn:node:mnDemo11</originMemberNode><authoritativeMemberNode>urn:node:mnDemo11</authoritativeMemberNode></d1_v2.0:systemMetadata> [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:26: [INFO]: temp outputFile is: /tmp/mmp.output.6728113896782668473.tmp [org.dataone.mimemultipart.SimpleMultipartEntity]
20151214-21:04:26: [INFO]: temp outputFile is: /tmp/mmp.output.2897064006083135845.tmp [org.dataone.mimemultipart.SimpleMultipartEntity]
20151214-21:04:29: [INFO]: rest call info: POST https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/object; MMP message has: ParamPart:pid = testMnIsAuthorized_token_5; FilePart:object = /tmp/mmp.output.6728113896782668473.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2897064006083135845.tmp (942 bytes);  [org.dataone.client.rest.RestClient]
20151214-21:04:29: [INFO]: response httpCode: 200 [org.dataone.service.util.ExceptionHandler]
20151214-21:04:29: [INFO]: object created.  pid = testMnIsAuthorized_token_5 [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:29: [INFO]:  ====>>>>> pid of procured test Object: testMnIsAuthorized_token_5 [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:33: [INFO]: rest call info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/isAuthorized/testMnIsAuthorized_token_5?action=read [org.dataone.client.rest.RestClient]
20151214-21:04:33: [INFO]: response httpCode: 200 [org.dataone.service.util.ExceptionHandler]
20151214-21:04:33: [INFO]: rest call info: GET https://cn-stage.test.dataone.org/cn/v1/accounts/testId [org.dataone.client.rest.RestClient]
20151214-21:04:33: [INFO]: response httpCode: 500 [org.dataone.service.util.ExceptionHandler]
20151214-21:04:33: [WARN]: Problem looking up entry: testId : testId: [LDAP: error code 34 - invalid DN] [org.dataone.portal.TokenGenerator]
org.dataone.service.exceptions.ServiceFailure: Problem looking up entry: testId : testId: [LDAP: error code 34 - invalid DN]
	at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:633)
	at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
	at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
	at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
	at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
	at org.dataone.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:333)
	at org.dataone.client.rest.HttpMultipartRestClient.doGetRequest(HttpMultipartRestClient.java:318)
	at org.dataone.client.v1.impl.MultipartCNode.getSubjectInfo(MultipartCNode.java:1498)
	at org.dataone.client.v1.impl.MultipartCNode.getSubjectInfo(MultipartCNode.java:1479)
	at org.dataone.portal.TokenGenerator.getSession(TokenGenerator.java:176)
	at org.dataone.integration.it.testImplementations.AuthTokenTestImplementation.getTokenSesssion(AuthTokenTestImplementation.java:45)
	at org.dataone.integration.it.testImplementations.AuthTokenTestImplementation.testMnIsAuthorized(AuthTokenTestImplementation.java:156)
	at org.dataone.integration.it.testImplementations.AuthTokenTestImplementation.testMnIsAuthorized(AuthTokenTestImplementation.java:149)
	at org.dataone.integration.it.functional.v2.AuthTokenFunctionalIT.testMnIsAuthorized(AuthTokenFunctionalIT.java:36)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.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)
20151214-21:04:33: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:33: [INFO]: 
***************** running test for testMnIsAuthorized(...) vs. node: http://mercury-ops2.ornl.gov/EDORA_MN_TEST/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20151214-21:04:33: [INFO]: rest call info: GET http://mercury-ops2.ornl.gov/EDORA_MN_TEST/mn/v2/meta/testMnIsAuthorized_token_5 [org.dataone.client.rest.RestClient]
20151214-21:04:33: [INFO]: response httpCode: 404 [org.dataone.service.util.ExceptionHandler]
Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 62.728 sec <<< FAILURE!

Results :

Failed tests: 
  testEchoCredentials(org.dataone.integration.it.functional.v2.AuthTokenFunctionalIT): echoCredentials failed with token (testId, Jane Scientist). got InvalidToken [401,4967] : No credentials were received in the request. (Session was null) from null
  testMnIsAuthorized(org.dataone.integration.it.functional.v2.AuthTokenFunctionalIT): Unable to create object (org.dataone.service.types.v1.Identifier@75b20e08), got ServiceFailure : 404: Not Found: parser for deserializing HTML not written yet.  Providing message body:

Tests run: 3, Failures: 2, Errors: 0, Skipped: 0

[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_authToken/workspace/d1_integration/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_authToken/workspace/d1_integration/target/failsafe-reports for the individual test results.
[JENKINS] Recording test results
Notifying upstream projects of job completion
Join notifier requires a CauseAction
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:31.267s
[INFO] Finished at: Mon Dec 14 21:04:34 UTC 2015
[INFO] Final Memory: 50M/631M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data