Started by timer
Building in workspace /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace
Cleaning local Directory .
Checking out https://repository.dataone.org/software/cicore/trunk/d1_integration at revision '2017-05-02T08:05:06.779 +0000'
A GeneratingITCertificates.txt
A cnTestMethodTemplate.pl
A src
A src/test
A src/test/resources
A src/test/resources/org
A src/test/resources/org/dataone
A src/test/resources/org/dataone/configuration
A src/test/resources/org/dataone/configuration/overriding.properties
AU src/test/resources/log4j.properties
A src/test/resources/d1_testdocs
A src/test/resources/d1_testdocs/knb-lter-luq.76.2.xml
A src/test/resources/d1_testdocs/checksumTestSet
A src/test/resources/d1_testdocs/checksumTestSet/sciMD-eml-201-NoLastLForCR.xml
A src/test/resources/d1_testdocs/BAYXXX_015ADCP015R00_20051215.50.9.xml
A src/test/resources/d1_testdocs/nodelist
A src/test/resources/d1_testdocs/nodelist/nodeRegistry.xml
A src/test/resources/d1_testdocs/EXAMPLE_MANIFEST.MF
A src/test/resources/d1_testdocs/BAYXXX_015ADCP015R00_20051215.50.9_SYSMETA.xml
A src/test/resources/d1_testdocs/knb-lter-luq.76.2-broken.xml
A src/test/resources/d1_testdocs/ore_example_from_openarchives.xml
A src/test/resources/d1_testdocs/iso19115
A src/test/resources/d1_testdocs/iso19115/ornldaac_iso_122.xml
A src/test/resources/d1_testdocs/iso19115/ornldaac_iso_868.xml
A src/test/resources/d1_testdocs/iso19115/ornldaac_iso_645.xml
A src/test/resources/d1_testdocs/iso19115/README.txt
A src/test/resources/d1_testdocs/iso19115/test.xml
A src/test/resources/d1_testdocs/knb-lter-gce.114.11.xml
A src/test/resources/d1_testdocs/eml200
A src/test/resources/d1_testdocs/eml200/IPCC.200802107062739.1
A src/test/resources/d1_testdocs/eml200/dpennington.195.2
A src/test/resources/d1_testdocs/eml200/SystemMetadata
A src/test/resources/d1_testdocs/eml200/SystemMetadata/dpennington.resourcemap
A src/test/resources/d1_testdocs/eml200/SystemMetadata/IPCC.200802107062739.1
A src/test/resources/d1_testdocs/eml200/SystemMetadata/README.txt
A src/test/resources/d1_testdocs/eml200/SystemMetadata/dpennington.195.2
A src/test/resources/d1_testdocs/eml200/dpennington.resourcemap
A src/test/resources/d1_testdocs/eml201
A src/test/resources/d1_testdocs/eml201/TPT001_018MHP2000R00_20110121.50.1.xml
A src/test/resources/d1_testdocs/eml201/SystemMetadata
A src/test/resources/d1_testdocs/eml201/SystemMetadata/msucci.24.1
A src/test/resources/d1_testdocs/eml201/SystemMetadata/msucci.23.3
A src/test/resources/d1_testdocs/eml201/SystemMetadata/msucci.resourcemap
A src/test/resources/d1_testdocs/eml201/SystemMetadata/README.txt
A src/test/resources/d1_testdocs/eml201/msucci.24.1
A src/test/resources/d1_testdocs/eml201/msucci.23.3
A src/test/resources/d1_testdocs/eml201/msucci.resourcemap
A src/test/resources/d1_testdocs/eml201/TPT001_018MHP2000R00_20110121.40.1.csv
A src/test/resources/d1_testdocs/eml210
A src/test/resources/d1_testdocs/eml210/peggym.127.1
A src/test/resources/d1_testdocs/eml210/peggym.128.1
A src/test/resources/d1_testdocs/eml210/peggym.129.1
A src/test/resources/d1_testdocs/eml210/SystemMetadata
A src/test/resources/d1_testdocs/eml210/SystemMetadata/README.txt
A src/test/resources/d1_testdocs/eml210/SystemMetadata/peggym.130.4
A src/test/resources/d1_testdocs/eml210/SystemMetadata/peggym.resourcemap
A src/test/resources/d1_testdocs/eml210/SystemMetadata/peggym.127.1
A src/test/resources/d1_testdocs/eml210/SystemMetadata/peggym.128.1
A src/test/resources/d1_testdocs/eml210/SystemMetadata/peggym.129.1
A src/test/resources/d1_testdocs/eml210/peggym.130.4
A src/test/resources/d1_testdocs/eml210/peggym.resourcemap
A src/test/resources/d1_testdocs/encodingTestSet
AU src/test/resources/d1_testdocs/encodingTestSet/IMPORTANT_README.txt
A src/test/resources/d1_testdocs/encodingTestSet/singleAsciiCharacterTests.utf8.txt
AU src/test/resources/d1_testdocs/encodingTestSet/testUnicodeStrings.utf8.txt
A src/test/resources/d1_testdocs/encodingTestSet/testAsciiStrings.utf8.txt
A src/test/resources/d1_testdocs/IT_contexts
A src/test/resources/d1_testdocs/IT_contexts/default.LOCAL.test.properties
A src/test/resources/d1_testdocs/IT_contexts/default.DEV.test.properties
A src/test/resources/d1_testdocs/fgdc
A src/test/resources/d1_testdocs/fgdc/www.nbii.gov_metadata_mdata_NASA_nasa_d_FEDGPS1293.xml
A src/test/resources/d1_testdocs/fgdc/www.nbii.gov_metadata_mdata_USGS_PIERC_brdpierc0020.xml
A src/test/resources/d1_testdocs/fgdc/www.nbii.gov_metadata_mdata_CSIRO_csiro_d_abayadultprawns.xml
A src/test/resources/d1_testdocs/fgdc/www.nbii.gov_metadata_mdata_NASA_nasa_d_FEDGPS1293.sysmeta.xml
A src/test/resources/d1_testdocs/fgdc/www.nbii.gov_metadata_mdata_NPS_VegMap_nps_d_metawababdy.xml
A src/test/resources/d1_testdocs/fgdc/www.nbii.gov_metadata_mdata_USGS_PIERC_brdpierc0020.sysmeta.xml
A src/test/resources/d1_testdocs/fgdc/www.nbii.gov_metadata_mdata_CSIRO_csiro_d_abayadultprawns.sysmeta.xml
A src/test/resources/d1_testdocs/fgdc/www.nbii.gov_metadata_mdata_NPS_VegMap_nps_d_metawababdy.sysmeta.xml
A src/test/resources/d1_testdocs/fgdc/README.txt
A src/test/resources/d1_testdocs/knb-lter-cdr.329066.1.data
A src/test/resources/d1_testdocs/knb-lter-gce.247.12.xml
A src/test/resources/nodes.json
A src/test/java
A src/test/java/org
A src/test/java/org/dataone
A src/test/java/org/dataone/integration
A src/test/java/org/dataone/integration/tools
A src/test/java/org/dataone/integration/tools/RegisterNodeTools.java
A src/test/java/org/dataone/integration/tools/ProductionContentCheckingTools.java
A src/test/java/org/dataone/integration/tools/ProductionResourceMapParsingChecks.java
A src/test/java/org/dataone/integration/CommonResourcesTest.java
A src/test/java/org/dataone/integration/contextTests
A src/test/java/org/dataone/integration/contextTests/TestDefaultSettings.java
A src/test/java/org/dataone/integration/ContextAwareTestCaseDataoneTest.java
A src/test/java/org/dataone/integration/it
A src/test/java/org/dataone/integration/it/CNodeTier1_identity_IT.java
A src/test/java/org/dataone/integration/it/MNodeTier0IT.java
A src/test/java/org/dataone/integration/it/CNodeTier2_identity_IT.java
A src/test/java/org/dataone/integration/it/MNodeTier1IT.java
A src/test/java/org/dataone/integration/it/MNodeTier2IT.java
A src/test/java/org/dataone/integration/it/ContextAwareAdapter.java
A src/test/java/org/dataone/integration/it/MNodeTier3IT.java
A src/test/java/org/dataone/integration/it/MNodeTier4IT.java
A src/test/java/org/dataone/integration/it/CNodeTier1_logAgg_IT.java
A src/test/java/org/dataone/integration/it/MNodeTier1SlowIT.java
A src/test/java/org/dataone/integration/it/CNodeTier2Auth_metacat_IT.java
A src/test/java/org/dataone/integration/it/apiTests
A src/test/java/org/dataone/integration/it/apiTests/MNContentIntegrityV1V2IT.java
A src/test/java/org/dataone/integration/it/apiTests/CNAuthorizationV2IT.java
A src/test/java/org/dataone/integration/it/apiTests/MNAuthenticationV1V2IT.java
A src/test/java/org/dataone/integration/it/apiTests/MNCoreV1IT.java
A src/test/java/org/dataone/integration/it/apiTests/CNQueryV1IT.java
A src/test/java/org/dataone/integration/it/apiTests/MNPackageV2IT.java
A src/test/java/org/dataone/integration/it/apiTests/MNCoreV1SlowIT.java
A src/test/java/org/dataone/integration/it/apiTests/CNReplicationV2IT.java
A src/test/java/org/dataone/integration/it/apiTests/MNAuthorizationV2IT.java
A src/test/java/org/dataone/integration/it/apiTests/CNReadV1IT.java
A src/test/java/org/dataone/integration/it/apiTests/MNStorageV2IT.java
A src/test/java/org/dataone/integration/it/apiTests/MNQueryV1IT.java
A src/test/java/org/dataone/integration/it/apiTests/MNReplicationV2IT.java
A src/test/java/org/dataone/integration/it/apiTests/MNReadV1IT.java
A src/test/java/org/dataone/integration/it/apiTests/CNDiagnosticV2IT.java
A src/test/java/org/dataone/integration/it/apiTests/CNRegisterV2IT.java
A src/test/java/org/dataone/integration/it/apiTests/CNCoreV2IT.java
A src/test/java/org/dataone/integration/it/apiTests/CNIdentityV2IT.java
A src/test/java/org/dataone/integration/it/apiTests/MNUpdateSystemMetadataIT.java
A src/test/java/org/dataone/integration/it/apiTests/MNSystemMetadataMutabilityIt.java
A src/test/java/org/dataone/integration/it/apiTests/CNv1TestSuite.java
A src/test/java/org/dataone/integration/it/apiTests/CNv2TestSuite.java
A src/test/java/org/dataone/integration/it/apiTests/CNAuthorizationV1IT.java
A src/test/java/org/dataone/integration/it/apiTests/MNCoreV2IT.java
A src/test/java/org/dataone/integration/it/apiTests/CNQueryV2IT.java
A src/test/java/org/dataone/integration/it/apiTests/MNv1TestSuite.java
A src/test/java/org/dataone/integration/it/apiTests/MNCoreV2SlowIT.java
A src/test/java/org/dataone/integration/it/apiTests/CNReplicationV1IT.java
A src/test/java/org/dataone/integration/it/apiTests/MNAuthorizationV1IT.java
A src/test/java/org/dataone/integration/it/apiTests/CNViewV2IT.java
A src/test/java/org/dataone/integration/it/apiTests/CNReadV2IT.java
A src/test/java/org/dataone/integration/it/apiTests/MNStorageV1IT.java
A src/test/java/org/dataone/integration/it/apiTests/MNQueryV2IT.java
A src/test/java/org/dataone/integration/it/apiTests/CNContentIntegrityV1V2IT.java
A src/test/java/org/dataone/integration/it/apiTests/MNReplicationV1IT.java
A src/test/java/org/dataone/integration/it/apiTests/CNRegisterV1IT.java
A src/test/java/org/dataone/integration/it/apiTests/MNViewV2IT.java
A src/test/java/org/dataone/integration/it/apiTests/MNReadV2IT.java
A src/test/java/org/dataone/integration/it/apiTests/CNAuthenticationV1V2IT.java
A src/test/java/org/dataone/integration/it/apiTests/CNCoreV1IT.java
A src/test/java/org/dataone/integration/it/apiTests/CNIdentityV1IT.java
A src/test/java/org/dataone/integration/it/CNodeTier1_search_IT.java
A src/test/java/org/dataone/integration/it/functional
A src/test/java/org/dataone/integration/it/functional/XNodeWebServerBasicIT.java
A src/test/java/org/dataone/integration/it/functional/MNReplicationIT.java
A src/test/java/org/dataone/integration/it/functional/ResourceMapXParsing.java
A src/test/java/org/dataone/integration/it/functional/SysmetaChangeFuncIT.java
AU src/test/java/org/dataone/integration/it/functional/MNodeObjectLifecycleIT.java
A src/test/java/org/dataone/integration/it/functional/ChecksumAnalysis.java
A src/test/java/org/dataone/integration/it/functional/MNCreateFuncIT.java
A src/test/java/org/dataone/integration/it/functional/v2
A src/test/java/org/dataone/integration/it/functional/v2/CNDiagnosticFunctionalIT.java
A src/test/java/org/dataone/integration/it/functional/v2/CNRegisterFunctionalIT.java
A src/test/java/org/dataone/integration/it/functional/v2/MNViewFunctionalIT.java
A src/test/java/org/dataone/integration/it/functional/v2/MNPackageFunctionalIT.java
A src/test/java/org/dataone/integration/it/functional/v2/LogAggregationFunctionalIT.java
A src/test/java/org/dataone/integration/it/functional/v2/CNViewFunctionalIT.java
A src/test/java/org/dataone/integration/it/functional/v2/V1V2InteropFunctionalIT.java
A src/test/java/org/dataone/integration/it/functional/v2/AuthTokenFunctionalIT.java
A src/test/java/org/dataone/integration/it/functional/CNCNReplicationIT.java
A src/test/java/org/dataone/integration/it/functional/MNv2FunctionalTestSuite.java
A src/test/java/org/dataone/integration/it/functional/PreRegNodeContentCheck.java
A src/test/java/org/dataone/integration/it/functional/EnvironmentsCheck.java
A src/test/java/org/dataone/integration/it/functional/SyncInventoryIT.java
A src/test/java/org/dataone/integration/it/functional/WebTestConcurrency.java
A src/test/java/org/dataone/integration/it/functional/D1ObjectIT.java
A src/test/java/org/dataone/integration/it/functional/PackageIT.java
A src/test/java/org/dataone/integration/it/functional/ClientAuthIT.java
A src/test/java/org/dataone/integration/it/functional/SynchronizationIT.java
A src/test/java/org/dataone/integration/it/functional/MNodeMiscFunctionalIT.java
A src/test/java/org/dataone/integration/it/functional/ClientCertificateInstallationIT.java
A src/test/java/org/dataone/integration/it/functional/D1ClientIT.java
A src/test/java/org/dataone/integration/it/functional/DataReplicationIT.java
A src/test/java/org/dataone/integration/it/CNodeTier1_metacat_IT.java
A src/test/java/org/dataone/integration/it/CNodeTier1_nodeRegistry_IT.java
A src/test/java/org/dataone/integration/it/testImplementations
A src/test/java/org/dataone/integration/it/testImplementations/MNStorageTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/EnvironmentStatusTestImpl.java
A src/test/java/org/dataone/integration/it/testImplementations/SSLTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/CNRegisterTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/CNDiagnosticTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/MNReadTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/CNUpdateSystemMetadataTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/CNCoreTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/ReadTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/LogAggregationFunctionalTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/SynchronizeMetadataTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/CNAuthTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/V1V2InteropFunctionalTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/MNUpdateSystemMetadataTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataMutabilityImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/MNPackageTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/CNDiagnosticFunctionalTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/CoreTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/UpdateSystemMetadataTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/CNReplicationTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/NodeRegistryExtensibilityTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/MNSystemMetadataChangedMethodTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/V1IsAuthorizedAuthorizationTestImpl.java
A src/test/java/org/dataone/integration/it/testImplementations/V2IsAuthorizedAuthorizationTestImpl.java
A src/test/java/org/dataone/integration/it/testImplementations/SidCNTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/AuthTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/MNReplicationTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/QueryTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/MNPackageFunctionalTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/ContentIntegrityTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/SidMNTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/CNIdentityTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/ViewTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/AuthTokenTestImplementation.java
A src/test/java/org/dataone/integration/it/testImplementations/AbstractAuthorizationTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/SystemMetadataFunctionalTestImplementation.java
A src/test/java/org/dataone/integration/it/testImplementations/SidCommonTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/IsAuthorizedAuthorizationTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/AuthAPITestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/CNReadTestImplementations.java
A src/test/java/org/dataone/integration/it/testImplementations/ViewFunctionalTestImplementations.java
A src/test/java/org/dataone/integration/it/CNodeTier2_nodeRegistry_IT.java
A src/test/java/org/dataone/integration/it/CNodeTier1_cnService_IT.java
A src/test/java/org/dataone/integration/it/CNodeTier4_metacat_IT.java
A src/test/java/org/dataone/integration/it/testDefinitions
A src/test/java/org/dataone/integration/it/testDefinitions/ContentIntegrityTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/CNCoreSidTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/CNIdentityTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/ViewTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/MNAuthAPITestDefnitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/CNv2RegisterTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/CNAuthorizationSidTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/CNv2CoreTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/MNPackageTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/MNCoreSlowTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/SynchronizeMetadataTestDefinition.java
A src/test/java/org/dataone/integration/it/testDefinitions/CNReplicationTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/CNReplicationSidTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/NodeRegistryExtensibilityTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/MNAuthorizationSidTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/CNReadTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/CNReadSidTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/GeneralAuthorizationTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/MNStorageSidTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/MNv2SystemMetadataChangedTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/MNReplicationTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/QueryTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/CNRegisterTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/CNDiagnosticTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/MNReadTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/MNReadSidTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/MNv2StorageTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/V2AuthorizationTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/CNCoreTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/CNUpdateSystemMetadataTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/ReadTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/CNAuthTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/MNUpdateSystemMetadataTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/MNCoreTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/SystemMetadataChangedMethodTestDefnitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/CoreTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/MNSystemMetadataChangedTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/AuthAPITestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/MNStorageTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/MNQueryTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/AuthTestDefinitions.java
A src/test/java/org/dataone/integration/it/testDefinitions/SSLTestDefinitions.java
A src/test/java/org/dataone/integration/webTest
A src/test/java/org/dataone/integration/webTest/TestLauncher.java
A src/test/java/org/dataone/integration/webTest/TestManifestAccess.java
A src/test/java/org/dataone/integration/webTest/MockV1ITCase.java
A src/test/java/org/dataone/integration/webTest/TestingTestRunnerServlet.java
A src/test/java/org/dataone/configuration
A src/test/java/org/dataone/configuration/TestSettingsTest.java
A src/test/java/org/dataone/client
A src/test/java/org/dataone/client/V1ClientArchitectureConformityIT.java
A src/test/java/org/dataone/client/CNRestURLTest.java
A src/test/java/org/dataone/client/PoolingHttpClientConnectionManagerTest.java
A src/test/java/org/dataone/client/ArchitectureUtils.java
A src/test/java/org/dataone/client/RetryHandler.java
A src/test/java/org/dataone/client/ClientArchitectureConformityIT.java
A src/test/python
A src/test/python/org
A src/test/python/org/dataone
A src/test/python/org/dataone/client
AU src/test/python/org/dataone/client/test_client.py
A src/test/python/org/dataone/client/d1_test_case.py
A src/test/python/org/dataone/integration
A src/test/python/org/dataone/integration/tier_1_mn_core_getstatus.py
A src/test/python/org/dataone/integration/tier_1_mn_read_getchecksum.py
A src/test/python/org/dataone/integration/tier_1_mn_core_getcapabilities.py
A src/test/python/org/dataone/integration/tier_1_mn_read_synchronizationfailed.py
A src/test/python/org/dataone/integration/tier_1_mn_core_ping.py
A src/test/python/org/dataone/integration/tier_3_mn_storage_update.py
AU src/test/python/org/dataone/integration/test_all.py
A src/test/python/org/dataone/integration/tier_1_mn_read_get.py
A src/test/python/org/dataone/integration/tier_1_mn_core_getlogrecords.py
A src/test/python/org/dataone/integration/tier_1_mn_read_describe.py
A src/test/python/org/dataone/integration/test_utilities.py
A src/test/python/org/dataone/integration/tier_1_mn_read_getsystemmetadata.py
A src/test/python/org/dataone/integration/tier_1_mn_read_listobjects.py
A src/test/python/org/dataone/integration/tier_1_mn_core_getoperationstatistics.py
A src/test/python/org/dataone/integration/context.py
A src/test/python/org/dataone/integration/tier_1_mn_core_getobjectstatistics.py
A src/test/python/org/dataone/integration/tier_3_mn_storage_create.py
A src/main
A src/main/resources
A src/main/resources/org
A src/main/resources/org/dataone
A src/main/resources/org/dataone/configuration
A src/main/resources/org/dataone/configuration/context.LOCAL.test.properties
A src/main/resources/org/dataone/configuration/context.DEV.test.properties
A src/main/resources/org/dataone/configuration/context.SANDBOX.test.properties
A src/main/resources/org/dataone/configuration/customHudsonDevNodelist.xml
AU src/main/resources/org/dataone/configuration/context.DEV2.test.properties
A src/main/resources/org/dataone/configuration/context.STAGE-2.test.properties
A src/main/resources/org/dataone/configuration/context.STAGE.test.properties
A src/main/resources/org/dataone/configuration/context.LOCAL_METACAT.test.properties
A src/main/resources/org/dataone/configuration/default.common.test.properties
A src/main/resources/commons-logging.properties
AU src/main/resources/log4j.properties
AU src/main/resources/logback.xml
A src/main/resources/results.html
A src/main/resources/results_head.html
A src/main/webapp
A src/main/webapp/index.jsp
A src/main/webapp/results.html
A src/main/webapp/images
AU src/main/webapp/images/yellow.png
AU src/main/webapp/images/sunny.gif
AU src/main/webapp/images/grey.png
AU src/main/webapp/images/blue.png
AU src/main/webapp/images/help.png
AU src/main/webapp/images/red.png
A src/main/webapp/results_head.html
A src/main/webapp/WEB-INF
AU src/main/webapp/WEB-INF/web.xml
A src/main/webapp/resultsHelp.html
A src/main/java
A src/main/java/org
A src/main/java/org/dataone
A src/main/java/org/dataone/configuration
A src/main/java/org/dataone/configuration/TestSettings.java
A src/main/java/org/dataone/client
A src/main/java/org/dataone/service
A src/main/java/org/dataone/service/util
A src/main/java/org/dataone/integration
A src/main/java/org/dataone/integration/adapters
A src/main/java/org/dataone/integration/adapters/CommonCallAdapter.java
A src/main/java/org/dataone/integration/adapters/MNCallAdapter.java
A src/main/java/org/dataone/integration/adapters/CNCallAdapter.java
A src/main/java/org/dataone/integration/EMLBuilderUtils.java
AU src/main/java/org/dataone/integration/ExampleUtilities.java
A src/main/java/org/dataone/integration/APITestUtils.java
A src/main/java/org/dataone/integration/TestObjectCache.java
A src/main/java/org/dataone/integration/ContextAwareTestCaseDataone.java
A src/main/java/org/dataone/integration/IntegrationTestContextParameters.java
A src/main/java/org/dataone/integration/webTest
A src/main/java/org/dataone/integration/webTest/MavenTestRunnerHttpServlet.java
AU src/main/java/org/dataone/integration/webTest/TestRunnerIndexServlet.java
A src/main/java/org/dataone/integration/webTest/StreamableSerializer.java
A src/main/java/org/dataone/integration/webTest/TestRunnerApp.java
A src/main/java/org/dataone/integration/webTest/AtomicTest.java
A src/main/java/org/dataone/integration/webTest/StreamingWebTestListener.java
A src/main/java/org/dataone/integration/webTest/TestRunnerHttpServlet.java
A src/main/java/org/dataone/integration/webTest/WebTestName.java
A src/main/java/org/dataone/integration/webTest/Launcher.java
A src/main/java/org/dataone/integration/webTest/WebTestDescription.java
A src/main/java/org/dataone/integration/webTest/WebTestImplementation.java
A src/main/java/org/dataone/integration/webTest/WebTestListener.java
A src/main/java/org/dataone/integration/hazelcast
A src/main/java/org/dataone/integration/TestIterationEndingException.java
A src/license-header.txt
A pom.xml
A tierTestingMethodTemplater.pl
A README.txt
A nbactions.xml
AU LICENSE.txt
U .
At revision 18815
No changes for https://repository.dataone.org/software/cicore/trunk/d1_integration since the previous build
Parsing POMs
Established TCP socket on 44143
[workspace] $ /usr/lib/jvm/java-7-openjdk-amd64/bin/java -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.8.1.jar:/usr/share/maven/boot/plexus-classworlds-2.x.jar org.jvnet.hudson.maven3.agent.Maven3Main /usr/share/maven /var/cache/jenkins/war/WEB-INF/lib/remoting-3.5.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.8.1.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.8.1.jar 44143
<===[JENKINS REMOTING CAPACITY]===> channel started
Executing Maven: -B -f /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/pom.xml -Dit.test=MNUpdateSystemMetadataIT,MNSystemMetadataMutabilityIt -Dtest=TestDefaultSettings -Dcontext.label=STAGE verify
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.dataone:d1_integration:war:2.4-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 201, column 15
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:buildnumber-maven-plugin is missing. @ line 225, column 15
[WARNING] 'build.plugins.plugin.version' for com.mycila.maven-license-plugin:maven-license-plugin is missing. @ line 218, column 15
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ line 241, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building DataONE Integration Testing Package 2.4-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ d1_integration ---
[INFO] Executing: /bin/sh -c cd '/var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace' && 'svn' '--non-interactive' 'info'
[INFO] Working directory: /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace
[INFO] Storing buildNumber: 18815 at timestamp: 1493712320848
[INFO] Executing: /bin/sh -c cd '/var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace' && 'svn' '--non-interactive' 'info'
[INFO] Working directory: /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace
[INFO] Storing buildScmBranch: trunk
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ d1_integration ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 14 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ d1_integration ---
[INFO] Compiling 23 source files to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.3:testResources (default-testResources) @ d1_integration ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 61 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:testCompile (default-testCompile) @ d1_integration ---
[INFO] Compiling 147 source files to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.10:test (default-test) @ d1_integration ---
[INFO] Surefire report directory: /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.dataone.integration.contextTests.TestDefaultSettings
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.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_sysmeta_mutability/workspace/target/classes
[copy] Copying 3 files to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT/org/dataone/integration/webTest
[INFO] Executed tasks
[INFO]
[INFO] --- maven-dependency-plugin:2.3:unpack-dependencies (jetty-classpath) @ d1_integration ---
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/org.apache.jasper.glassfish/2.2.2.v201112011158/org.apache.jasper.glassfish-2.2.2.v201112011158.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/slf4j/slf4j-simple/1.6.4/slf4j-simple-1.6.4.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/javax/servlet/javax.servlet-api/3.0.1/javax.servlet-api-3.0.1.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/jetty-websocket/8.1.15.v20140411/jetty-websocket-8.1.15.v20140411.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/javax.security.auth.message/1.0.0.v201108011116/javax.security.auth.message-1.0.0.v201108011116.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/javax.servlet.jsp.jstl/1.2.0.v201105211821/javax.servlet.jsp.jstl-1.2.0.v201105211821.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/com.sun.el/2.2.0.v201108011116/com.sun.el-2.2.0.v201108011116.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/javax.mail.glassfish/1.4.1.v201005082020/javax.mail.glassfish-1.4.1.v201005082020.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/jetty-io/8.1.15.v20140411/jetty-io-8.1.15.v20140411.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/javax.servlet.jsp/2.2.0.v201112011158/javax.servlet.jsp-2.2.0.v201112011158.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/aggregate/jetty-all-server/8.1.15.v20140411/jetty-all-server-8.1.15.v20140411.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/jetty-jsp/8.1.15.v20140411/jetty-jsp-8.1.15.v20140411.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/org.apache.taglibs.standard.glassfish/1.2.0.v201112081803/org.apache.taglibs.standard.glassfish-1.2.0.v201112081803.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/javax.activation/1.1.0.v201105071233/javax.activation-1.1.0.v201105071233.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/javax.annotation/1.1.0.v201108011116/javax.annotation-1.1.0.v201108011116.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/jetty-http/8.1.15.v20140411/jetty-http-8.1.15.v20140411.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/jetty-util/8.1.15.v20140411/jetty-util-8.1.15.v20140411.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/org.eclipse.jdt.core/3.7.1/org.eclipse.jdt.core-3.7.1.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO] Unpacking /var/lib/jenkins/.m2/repository/org/eclipse/jetty/orbit/javax.el/2.2.0.v201108011116/javax.el-2.2.0.v201108011116.jar to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT with includes "" and excludes ""
[INFO]
[INFO] --- maven-war-plugin:2.1.1:war (default-war) @ d1_integration ---
[INFO] Packaging webapp
[INFO] Assembling webapp [d1_integration] in [/var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT]
[INFO] Processing war project
[INFO] Copying webapp resources [/var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/src/main/webapp]
[INFO] Processing overlay [ id edu.uiuc.ncsa.myproxy:oa4mp-client-oauth1]
[INFO] Webapp assembled in [701 msecs]
[INFO] Building war: /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/d1_integration-2.4-SNAPSHOT.war
[INFO] WEB-INF/web.xml already added, skipping
[INFO]
[INFO] --- maven-antrun-plugin:1.3:run (execution2) @ d1_integration ---
[INFO] Executing tasks
[move] Moving 1 file to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target
[INFO] Executed tasks
[INFO]
[INFO] --- maven-failsafe-plugin:2.8.1:integration-test (integration-test) @ d1_integration ---
[INFO] Failsafe report directory: /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/failsafe-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.dataone.integration.it.apiTests.MNSystemMetadataMutabilityIt
20170502-08:05:48: [WARN]: Starting monitor thread [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-08:05:48: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-08:05:48: [WARN]: Starting monitoring... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-08:05:48: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:05:48: [INFO]: *** context label: STAGE [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:05:48: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
~~~ Context is from d1client.properties: https://cn-stage.test.dataone.org/cn
20170502-08:05:49: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage.test.dataone.org/cn/v1/node [org.dataone.client.rest.RestClient]
20170502-08:05:50: [INFO]: isNodeAlive for Node: https://cn-stage.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:05:50: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:05:50: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:05:50: [INFO]: *** Adding CN to list: cn-stage [ https://cn-stage.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:05:50: [INFO]: isNodeAlive for Node: https://cn-stage-orc-1.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:05:50: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:05:51: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:05:51: [INFO]: *** Adding CN to list: cn-stage-orc-1 [ https://cn-stage-orc-1.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:05:51: [INFO]: isNodeAlive for Node: https://mn-stage-unm-1.test.dataone.org/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:05:51: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:00: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:00: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:01: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:01: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:01: [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]
20170502-08:06:01: [INFO]: isNodeAlive for Node: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:01: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:01: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:01: [INFO]: *** Adding MN to list: mn-stage-ucsb-2 [ https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:01: [INFO]: isNodeAlive for Node: https://cn-stage-ucsb-1.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:01: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:02: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:02: [INFO]: *** Adding CN to list: cn-stage-ucsb-1 [ https://cn-stage-ucsb-1.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:02: [INFO]: isNodeAlive for Node: https://cn-stage-unm-1.test.dataone.org/cn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:02: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:02: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:02: [INFO]: *** Adding CN to list: cn-stage-unm-1 [ https://cn-stage-unm-1.test.dataone.org/cn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:02: [INFO]: isNodeAlive for Node: http://test.piscoweb.org/catalog/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:02: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:03: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:03: [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]
20170502-08:06:03: [INFO]: isNodeAlive for Node: http://seadva-test.d2i.indiana.edu/sead/rest/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:03: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:03: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:03: [INFO]: *** Adding MN to list: SEAD Virtual Archive [ http://seadva-test.d2i.indiana.edu/sead/rest/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:03: [INFO]: isNodeAlive for Node: https://mn-demo-11.test.dataone.org/knb/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:03: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:04: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:04: [INFO]: *** Adding MN to list: mn-demo-11 [ https://mn-demo-11.test.dataone.org/knb/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:04: [INFO]: isNodeAlive for Node: https://gmn-s.lternet.edu/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:04: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:04: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:04: [INFO]: *** Adding MN to list: Stage test for PASTA-GMN [ https://gmn-s.lternet.edu/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:04: [INFO]: isNodeAlive for Node: https://dataone-test.pop.umn.edu/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:04: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:11: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:11: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:12: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:12: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:13: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:13: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:14: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:14: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:14: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:14: [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]
20170502-08:06:14: [INFO]: isNodeAlive for Node: https://dataone-dev.ecoinformatics.org.au/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:14: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:15: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:15: [INFO]: *** Adding MN to list: TERN Australia DEV [ https://dataone-dev.ecoinformatics.org.au/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:15: [INFO]: isNodeAlive for Node: https://dataonetest.tamucc.edu/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:15: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:16: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:16: [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]
20170502-08:06:16: [INFO]: isNodeAlive for Node: http://dataone.neonscience.org/metacat/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:16: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:16: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:16: [INFO]: *** Adding MN to list: NEON Test Member Node [ http://dataone.neonscience.org/metacat/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:16: [INFO]: isNodeAlive for Node: https://test.arcticdata.io/metacat/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:16: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:17: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:17: [INFO]: *** Adding MN to list: NSF Arctic Data Center Test Repository [ https://test.arcticdata.io/metacat/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:17: [INFO]: isNodeAlive for Node: http://dataone.ornith.cornell.edu/metacat/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:17: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:17: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:17: [INFO]: *** Adding MN to list: Cornell Lab of Ornithology - eBird [ http://dataone.ornith.cornell.edu/metacat/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:17: [INFO]: isNodeAlive for Node: https://dataone-test.researchworkspace.com/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:17: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:18: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:18: [INFO]: *** Adding MN to list: Research Workspace Testing [ https://dataone-test.researchworkspace.com/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:18: [INFO]: isNodeAlive for Node: https://r2r-node.test.dataone.org/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:18: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:18: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:18: [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]
20170502-08:06:18: [INFO]: isNodeAlive for Node: https://dataone.lib.uic.edu/metacat/d1/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:18: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: *** Adding MN to list: UIC DataONE Member Node [ https://dataone.lib.uic.edu/metacat/d1/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: isNodeAlive for Node: https://gmn-s.edirepository.org/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: *** Adding MN to list: Environmental Data Initiative Member Node [ https://gmn-s.edirepository.org/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: isNodeAlive for Node: https://ncei.nceas.ucsb.edu/mn ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: ... calling node ... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: ... called node [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: *** Adding MN to list: NCEI Test Member Node at NCEAS [ https://ncei.nceas.ucsb.edu/mn ] [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: trying to filter CN list for the round robin CN... original size: 4, includes nodes: [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: CN: https://cn-stage.test.dataone.org/cn "Round Robin staging router of Coordinating Nodes" [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: CN: https://cn-stage-orc-1.test.dataone.org/cn "Oak Ridge National Laboratory Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: CN: https://cn-stage-ucsb-1.test.dataone.org/cn "UCSB Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: CN: https://cn-stage-unm-1.test.dataone.org/cn "UNM Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: excluding round robin CN: https://cn-stage.test.dataone.org/cn "Round Robin staging router of Coordinating Nodes" [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: including CN: https://cn-stage-orc-1.test.dataone.org/cn "Oak Ridge National Laboratory Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: including CN: https://cn-stage-ucsb-1.test.dataone.org/cn "UCSB Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: including CN: https://cn-stage-unm-1.test.dataone.org/cn "UNM Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: filtered CN list without round robin CN. size: 3, including nodes: [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: CN: https://cn-stage-orc-1.test.dataone.org/cn "Oak Ridge National Laboratory Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: CN: https://cn-stage-ucsb-1.test.dataone.org/cn "UCSB Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: CN: https://cn-stage-unm-1.test.dataone.org/cn "UNM Stage Coordinating Node" [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: **************************************************** [org.dataone.integration.ContextAwareTestCaseDataone]
nodeId key value
=============================================================================================================
20170502-08:06:19: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:19: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:20: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:20: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-08:06:20: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:20: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170502-08:06:20: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:20: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:24: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:25: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:26: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:26: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:27: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:27: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:28: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:28: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:29: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:29: [WARN]: ...aborting connection... [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:06:50: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-unm-1.test.dataone.org/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170502-08:06:50: [INFO]: Unable to assess v1 capabilities for MN : https://mn-stage-unm-1.test.dataone.org/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Connect to mn-stage-unm-1.test.dataone.org:443 [mn-stage-unm-1.test.dataone.org/64.106.40.13] failed: connect timed out [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:07:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-unm-1.test.dataone.org/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170502-08:07:21: [INFO]: Unable to assess v2 capabilities for MN: https://mn-stage-unm-1.test.dataone.org/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Connect to mn-stage-unm-1.test.dataone.org:443 [mn-stage-unm-1.test.dataone.org/64.106.40.13] failed: connect timed out [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:07:21: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:07:21: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:07:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170502-08:07:21: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170502-08:07:21: [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]
20170502-08:07:22: [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]
20170502-08:07:22: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:07:22: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:07:22: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://test.piscoweb.org/catalog/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170502-08:07:22: [INFO]: Unable to assess v1 capabilities for MN : http://test.piscoweb.org/catalog/d1/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:07:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://test.piscoweb.org/catalog/d1/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170502-08:07:23: [INFO]: Unable to assess v2 capabilities for MN: http://test.piscoweb.org/catalog/d1/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:07:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:07:23: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:07:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170502-08:07:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET http://seadva-test.d2i.indiana.edu/sead/rest/mn/v1/node [org.dataone.client.rest.RestClient]
20170502-08:07:24: [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]
20170502-08:07:24: [INFO]: Unable to assess v2 capabilities for MN: http://seadva-test.d2i.indiana.edu/sead/rest/mn/v2 : ServiceFailure : 404: Not Found: parser for deserializing HTML not written yet. Providing message body:
Apache Tomcat/7.0.57 - Error report
HTTP Status 404 - Not Found
type Status report
messageNot Found
descriptionThe requested resource is not available.
Apache Tomcat/7.0.57
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:07:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:07:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:07:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170502-08:07:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v1/node [org.dataone.client.rest.RestClient]
20170502-08:07:24: [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]
20170502-08:07:24: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://mn-demo-11.test.dataone.org/knb/d1/mn/v2/node [org.dataone.client.rest.RestClient]
20170502-08:07:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:07:24: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:07:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170502-08:07:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v1/node [org.dataone.client.rest.RestClient]
20170502-08:07:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170502-08:07:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://gmn-s.lternet.edu/mn/v2/node [org.dataone.client.rest.RestClient]
20170502-08:07:25: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:07:25: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:07:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.pop.umn.edu/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170502-08:07:55: [INFO]: Unable to assess v1 capabilities for MN : https://dataone-test.pop.umn.edu/mn/v1 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Connect to dataone-test.pop.umn.edu:443 [dataone-test.pop.umn.edu/134.84.88.240] failed: connect timed out [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:08:25: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-test.pop.umn.edu/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170502-08:08:25: [INFO]: Unable to assess v2 capabilities for MN: https://dataone-test.pop.umn.edu/mn/v2 : ServiceFailure : class org.dataone.client.exception.ClientSideException: /Connect to dataone-test.pop.umn.edu:443 [dataone-test.pop.umn.edu/134.84.88.240] failed: connect timed out [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:08:25: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:08:25: [INFO]: created client for certificate file: cnStageUNM1 with subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-08:08:27: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v1/monitor/ping [org.dataone.client.rest.RestClient]
20170502-08:08:28: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v1/node [org.dataone.client.rest.RestClient]
20170502-08:08:28: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://dataone-dev.ecoinformatics.org.au/mn/v2/monitor/ping [org.dataone.client.rest.RestClient]
20170502-08:08:28: [INFO]: Unable to assess v2 capabilities for MN: https://dataone-dev.ecoinformatics.org.au/mn/v2 : ServiceFailure : 404: NOT FOUND: parser for deserializing HTML not written yet. Providing message body:
404 Not Found
'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.'
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:366)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:350)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataIT.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
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
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd0fe758>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py in process_session
if 'HTTP_VENDOR_INCLUDE_CERTIFICATE' in request.META:
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
# the Django request obj.
20170502-09:06:56: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:06:56: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:06:56: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
cert_primary_str, cert_equivalent_set = session_cert.get_subjects(request)
u'Error extracting session from certificate. error="{}"'.format(str(e))
...
)
else:
return d1_common.const.SUBJECT_PUBLIC, set()
def get_authenticated_subjects(cert_pem):
▶ Local vars
20170502-09:06:56: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
'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.'
20170502-09:06:56: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_20171222656640 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-09:06:56: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableReplPolicy_20171222656640
1testUpdateSystemMetadata_MutableReplPolicy_20171222656640eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T09:06:56.657+00:002017-05-02T09:06:56.657+00:00urn:node:mnTestNEONurn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:06:56: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_20171222656640; FilePart:object = /tmp/mmp.output.4862568468926393542.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7935484092512316172.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170502-09:06:56: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:366)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:350)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataIT.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-09:06:56: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:06:56: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:06:56: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:06:56: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:06:56: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:06:56: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-09:06:56: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:06:56: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_20171222656957 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:06:56: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableReplPolicy_20171222656957
1testUpdateSystemMetadata_MutableReplPolicy_20171222656957eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T09:06:56.973+00:002017-05-02T09:06:56.973+00:00urn:node:mnTestARCTICurn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:06:58: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_20171222656957; FilePart:object = /tmp/mmp.output.3534888937608407541.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4035217482191829873.tmp (1107 bytes); [org.dataone.client.rest.RestClient]
20170502-09:06:58: [INFO]: object created. pid = testUpdateSystemMetadata_MutableReplPolicy_20171222656957 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:06:58: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-09:07:00: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableReplPolicy_20171222656957 [org.dataone.client.rest.RestClient]
20170502-09:07:00: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_20171222656957; FilePart:sysmeta = /tmp/mmp.output.434264019488830028.tmp (1206 bytes); [org.dataone.client.rest.RestClient]
20170502-09:07:11: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableReplPolicy_20171222656957 [org.dataone.client.rest.RestClient]
20170502-09:07:11: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:11: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:11: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:11: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:11: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:11: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-09:07:11: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:11: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_20171222711683 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:11: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableReplPolicy_20171222711683
1testUpdateSystemMetadata_MutableReplPolicy_20171222711683eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T09:07:11.701+00:002017-05-02T09:07:11.701+00:00urn:node:mnTestCLOEBIRDurn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:12: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_20171222711683; FilePart:object = /tmp/mmp.output.1904253977139072031.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3965230126450465738.tmp (1111 bytes); [org.dataone.client.rest.RestClient]
20170502-09:07:12: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:366)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:350)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataIT.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-09:07:12: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:12: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:12: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:12: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:12: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:12: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-09:07:12: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:12: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_20171222712212 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:12: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableReplPolicy_20171222712212
1testUpdateSystemMetadata_MutableReplPolicy_20171222712212eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T09:07:12.228+00:002017-05-02T09:07:12.228+00:00urn:node:mnTestRWurn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:12: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_20171222712212; FilePart:object = /tmp/mmp.output.3541668940098813850.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7724070876134493452.tmp (1099 bytes); [org.dataone.client.rest.RestClient]
20170502-09:07:12: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:366)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:350)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataIT.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-09:07:12: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:12: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:12: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:12: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:12: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:12: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-09:07:12: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:12: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_20171222712743 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:12: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableReplPolicy_20171222712743
1testUpdateSystemMetadata_MutableReplPolicy_20171222712743eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T09:07:12.763+00:002017-05-02T09:07:12.763+00:00urn:node:mnTestEDIurn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:13: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_20171222712743; FilePart:object = /tmp/mmp.output.5816385574672935186.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2335969791313012479.tmp (1101 bytes); [org.dataone.client.rest.RestClient]
20170502-09:07:13: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Request Method:
POST
Request URL:
https://gmn-s.edirepository.org/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 69
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:366)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:350)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataIT.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Request Method:
POST
Request URL:
https://gmn-s.edirepository.org/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 69
20170502-09:07:13: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
# 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
20170502-09:07:13: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableReplPolicy(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
▶ Local vars
Variable
Value
20170502-09:07:13: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
view_args
()
view_func
<function dispatch_object_list at 0x7efc72a7f6e0>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py in process_session
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
20170502-09:07:13: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableReplPolicy_20171222713301 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-09:07:13: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableReplPolicy_20171222713301; FilePart:object = /tmp/mmp.output.6272283471271383844.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5707560692440961798.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170502-09:07:13: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:366)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataTestImplementations.java:350)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableReplPolicy(MNUpdateSystemMetadataIT.java:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
'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.'
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:428)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:412)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataIT.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
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
'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
20170502-09:07:44: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
[{'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',
20170502-09:07:44: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.media',
'django.template.context_processors.static',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages'],
'loaders': ['django.template.loaders.filesystem.Loader']}}]
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'UTC'
TRUST_CLIENT_AUTHORITATIVEMEMBERNODE
False
TRUST_CLIENT_DATESYSMETADATAMODIFIED
False
TRUST_CLIENT_DATEUPLOADED
True
TRUST_CLIENT_ORIGINMEMBERNODE
False
TRUST_CLIENT_SERIALVERSION
False
TRUST_CLIENT_SUBMITTER
False
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-09:07:44: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:44: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:44: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-09:07:44: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:44: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171222744570 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:44: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171222744570
1testUpdateSystemMetadata_MutableAuthMN_20171222744570eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T09:07:44.584+00:002017-05-02T09:07:44.584+00:00urn:node:mnTestNEONurn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:44: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171222744570; FilePart:object = /tmp/mmp.output.3740906193981670459.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6667181086226299603.tmp (1099 bytes); [org.dataone.client.rest.RestClient]
20170502-09:07:44: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:428)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:412)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataIT.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-09:07:44: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:44: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:44: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:44: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:44: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:44: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-09:07:44: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:44: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171222744887 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:44: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171222744887
1testUpdateSystemMetadata_MutableAuthMN_20171222744887eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T09:07:44.900+00:002017-05-02T09:07:44.900+00:00urn:node:mnTestARCTICurn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:46: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171222744887; FilePart:object = /tmp/mmp.output.2541471951504473708.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7954652420061425438.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170502-09:07:46: [INFO]: object created. pid = testUpdateSystemMetadata_MutableAuthMN_20171222744887 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:46: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-09:07:47: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAuthMN_20171222744887 [org.dataone.client.rest.RestClient]
20170502-09:07:47: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170502-09:07:48: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171222744887; FilePart:sysmeta = /tmp/mmp.output.3930706725142433483.tmp (1128 bytes); [org.dataone.client.rest.RestClient]
20170502-09:07:59: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAuthMN_20171222744887 [org.dataone.client.rest.RestClient]
20170502-09:07:59: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:59: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:59: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:59: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:59: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:59: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-09:07:59: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:59: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171222759335 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:59: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171222759335
1testUpdateSystemMetadata_MutableAuthMN_20171222759335eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T09:07:59.349+00:002017-05-02T09:07:59.349+00:00urn:node:mnTestCLOEBIRDurn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:59: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171222759335; FilePart:object = /tmp/mmp.output.7441557141878910354.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6360923317689224651.tmp (1107 bytes); [org.dataone.client.rest.RestClient]
20170502-09:07:59: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:428)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:412)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataIT.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-09:07:59: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:59: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:59: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:59: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:59: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:59: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-09:07:59: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:59: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171222759805 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:07:59: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171222759805
1testUpdateSystemMetadata_MutableAuthMN_20171222759805eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T09:07:59.818+00:002017-05-02T09:07:59.818+00:00urn:node:mnTestRWurn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:00: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171222759805; FilePart:object = /tmp/mmp.output.7352379539593161918.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4773010483048126223.tmp (1095 bytes); [org.dataone.client.rest.RestClient]
20170502-09:08:00: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:428)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:412)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataIT.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-09:08:00: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:00: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:00: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:00: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:00: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:00: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-09:08:00: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:00: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_2017122280232 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:00: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_2017122280232
1testUpdateSystemMetadata_MutableAuthMN_2017122280232eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T09:08:00.245+00:002017-05-02T09:08:00.245+00:00urn:node:mnTestEDIurn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:00: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_2017122280232; FilePart:object = /tmp/mmp.output.1490393664691726956.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4879114967313355015.tmp (1096 bytes); [org.dataone.client.rest.RestClient]
20170502-09:08:00: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Request Method:
POST
Request URL:
https://gmn-s.edirepository.org/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 69
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:428)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:412)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataIT.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Request Method:
POST
Request URL:
https://gmn-s.edirepository.org/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 69
20170502-09:08:00: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:00: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:00: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:00: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-09:08:00: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_2017122280558 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:00: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_2017122280558
1testUpdateSystemMetadata_MutableAuthMN_2017122280558eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T09:08:00.571+00:002017-05-02T09:08:00.571+00:00urn:node:mnTestNCEIurn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:00: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_2017122280558; FilePart:object = /tmp/mmp.output.2607115641443977186.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4074796634460829855.tmp (1098 bytes); [org.dataone.client.rest.RestClient]
20170502-09:08:00: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:428)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataTestImplementations.java:412)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAuthMN(MNUpdateSystemMetadataIT.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
'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.'
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:492)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:476)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataIT.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
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
20170502-09:08:20: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
mod_wsgi.listener_host
''
mod_wsgi.listener_port
'443'
mod_wsgi.process_group
'gmn2'
mod_wsgi.queue_start
'1493715884325754'
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.script_reloading
'1'
mod_wsgi.version
(3, 4)
wsgi.errors
<mod_wsgi.Log object at 0x7fbdd7f41ab0>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7fbdd7f52ab0>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
20170502-09:08:20: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
'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.'
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-09:08:20: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:20: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_20171222820321 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:20: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_20171222820321
1testUpdateSystemMetadata_MutableArchived_20171222820321eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T09:08:20.333+00:002017-05-02T09:08:20.333+00:00urn:node:mnTestNEONurn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:20: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableArchived_20171222820321; FilePart:object = /tmp/mmp.output.4119533495016131284.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5061989882432142903.tmp (1101 bytes); [org.dataone.client.rest.RestClient]
20170502-09:08:20: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:492)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:476)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataIT.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-09:08:20: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:20: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:20: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:20: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:20: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:20: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-09:08:20: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:20: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_20171222820630 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:20: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_20171222820630
1testUpdateSystemMetadata_MutableArchived_20171222820630eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T09:08:20.642+00:002017-05-02T09:08:20.642+00:00urn:node:mnTestARCTICurn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:22: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableArchived_20171222820630; FilePart:object = /tmp/mmp.output.4020430247996893987.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1698052587773976102.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170502-09:08:22: [INFO]: object created. pid = testUpdateSystemMetadata_MutableArchived_20171222820630 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:22: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-09:08:23: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableArchived_20171222820630 [org.dataone.client.rest.RestClient]
20170502-09:08:24: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableArchived_20171222820630; FilePart:sysmeta = /tmp/mmp.output.3642965537313278969.tmp (1131 bytes); [org.dataone.client.rest.RestClient]
20170502-09:08:35: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableArchived_20171222820630 [org.dataone.client.rest.RestClient]
20170502-09:08:35: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:35: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:35: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:35: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:35: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:35: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-09:08:35: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:35: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_20171222835860 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:35: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_20171222835860
1testUpdateSystemMetadata_MutableArchived_20171222835860eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T09:08:35.873+00:002017-05-02T09:08:35.873+00:00urn:node:mnTestCLOEBIRDurn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:36: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableArchived_20171222835860; FilePart:object = /tmp/mmp.output.6798240223182399594.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5643874700741401286.tmp (1109 bytes); [org.dataone.client.rest.RestClient]
20170502-09:08:36: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:492)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:476)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataIT.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-09:08:36: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:36: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:36: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:36: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:36: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:36: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-09:08:36: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:36: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_20171222836428 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:36: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_20171222836428
1testUpdateSystemMetadata_MutableArchived_20171222836428eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T09:08:36.439+00:002017-05-02T09:08:36.439+00:00urn:node:mnTestRWurn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:36: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableArchived_20171222836428; FilePart:object = /tmp/mmp.output.6483292654023459536.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8534960298701261757.tmp (1097 bytes); [org.dataone.client.rest.RestClient]
20170502-09:08:36: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:492)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:476)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataIT.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-09:08:36: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:36: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:36: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:36: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:36: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:36: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-09:08:36: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:36: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_20171222836830 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:36: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_20171222836830
1testUpdateSystemMetadata_MutableArchived_20171222836830eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T09:08:36.852+00:002017-05-02T09:08:36.852+00:00urn:node:mnTestEDIurn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:37: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableArchived_20171222836830; FilePart:object = /tmp/mmp.output.8598471434008076159.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3366192875406427308.tmp (1099 bytes); [org.dataone.client.rest.RestClient]
20170502-09:08:37: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Request Method:
POST
Request URL:
https://gmn-s.edirepository.org/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 69
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:492)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:476)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataIT.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Request Method:
POST
Request URL:
https://gmn-s.edirepository.org/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 69
<app.middleware.view_handler.ViewHandler object at 0x7efc788a2090>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/session_cert.py in get_subjects
"""
if _is_certificate_provided(request):
20170502-09:08:37: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
***************** running test for testUpdateSystemMetadata_MutableArchived(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:37: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
u'Error extracting session from certificate. error="{}"'.format(str(e))
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-09:08:37: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableArchived_20171222837162 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:37: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableArchived_20171222837162
1testUpdateSystemMetadata_MutableArchived_20171222837162eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T09:08:37.174+00:002017-05-02T09:08:37.174+00:00urn:node:mnTestNCEIurn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:37: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableArchived_20171222837162; FilePart:object = /tmp/mmp.output.7907662712436403460.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4669315564831306892.tmp (1101 bytes); [org.dataone.client.rest.RestClient]
20170502-09:08:37: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:492)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataTestImplementations.java:476)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableArchived(MNUpdateSystemMetadataIT.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
'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.'
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:545)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:529)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataIT.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
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
20170502-09:08:45: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
CSRF_COOKIE_SECURE
False
20170502-09:08:45: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:45: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:45: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:45: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
'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.'
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-09:08:45: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:45: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171222845517 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:45: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171222845517
1testUpdateSystemMetadata_MutableAuthMN_20171222845517eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T09:08:45.529+00:002017-05-02T09:08:45.529+00:00urn:node:mnTestNEONurn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:45: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171222845517; FilePart:object = /tmp/mmp.output.4735053631759916380.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.299636535322195070.tmp (1099 bytes); [org.dataone.client.rest.RestClient]
20170502-09:08:45: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:545)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:529)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataIT.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-09:08:45: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:45: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:45: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:45: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:45: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:45: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-09:08:45: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:45: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171222845826 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:45: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171222845826
1testUpdateSystemMetadata_MutableAuthMN_20171222845826eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T09:08:45.836+00:002017-05-02T09:08:45.836+00:00urn:node:mnTestARCTICurn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:47: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171222845826; FilePart:object = /tmp/mmp.output.577537448280206762.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7066799077697727822.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170502-09:08:47: [INFO]: object created. pid = testUpdateSystemMetadata_MutableAuthMN_20171222845826 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:47: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-09:08:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAuthMN_20171222845826 [org.dataone.client.rest.RestClient]
20170502-09:08:48: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/node [org.dataone.client.rest.RestClient]
20170502-09:08:48: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://ncei.nceas.ucsb.edu/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171222845826; FilePart:sysmeta = /tmp/mmp.output.1999296188565307916.tmp (1130 bytes); [org.dataone.client.rest.RestClient]
20170502-09:08:48: [WARN]: MN.updateSystemMetadata() returned a ServiceFailure, was expecting an InvalidRequest or NotAuthorized. [org.dataone.integration.it.ContextAwareAdapter]
20170502-09:08:48: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-09:08:48: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171222848332 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171222848332
1testUpdateSystemMetadata_MutableAuthMN_20171222848332eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T09:08:48.353+00:002017-05-02T09:08:48.353+00:00urn:node:mnTestCLOEBIRDurn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171222848332; FilePart:object = /tmp/mmp.output.1032833795953336026.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5362427445749977107.tmp (1107 bytes); [org.dataone.client.rest.RestClient]
20170502-09:08:48: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:545)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:529)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataIT.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-09:08:48: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-09:08:48: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171222848677 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171222848677
1testUpdateSystemMetadata_MutableAuthMN_20171222848677eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T09:08:48.686+00:002017-05-02T09:08:48.686+00:00urn:node:mnTestRWurn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171222848677; FilePart:object = /tmp/mmp.output.1670803517519467161.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3023927151115518082.tmp (1095 bytes); [org.dataone.client.rest.RestClient]
20170502-09:08:48: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:545)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:529)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataIT.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-09:08:48: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-09:08:48: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_20171222848908 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:48: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_20171222848908
1testUpdateSystemMetadata_MutableAuthMN_20171222848908eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T09:08:48.917+00:002017-05-02T09:08:48.917+00:00urn:node:mnTestEDIurn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:49: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_20171222848908; FilePart:object = /tmp/mmp.output.5274268002949778953.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5665966755827657615.tmp (1097 bytes); [org.dataone.client.rest.RestClient]
20170502-09:08:49: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Request Method:
POST
Request URL:
https://gmn-s.edirepository.org/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 69
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:545)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:529)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataIT.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Request Method:
POST
Request URL:
https://gmn-s.edirepository.org/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 69
20170502-09:08:49: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
'gmn-s.edirepository.org'
apache.version
(2, 4, 18)
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.daemon_connects
20170502-09:08:49: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAuthMN(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:49: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:49: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:49: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
20170502-09:08:49: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAuthMN_2017122284985 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-09:08:49: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAuthMN_2017122284985
1testUpdateSystemMetadata_MutableAuthMN_2017122284985eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T09:08:49.095+00:002017-05-02T09:08:49.095+00:00urn:node:mnTestNCEIurn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-09:08:49: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAuthMN_2017122284985; FilePart:object = /tmp/mmp.output.7181116973103950019.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6148511900410108435.tmp (1098 bytes); [org.dataone.client.rest.RestClient]
20170502-09:08:49: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:545)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataTestImplementations.java:529)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolderNonAuthMN(MNUpdateSystemMetadataIT.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
'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.'
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:136)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:120)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataIT.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
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
20170502-10:01:05: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
***************** running test for testUpdateSystemMetadata_RightsHolder(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
CSRF_COOKIE_PATH
u'/'
20170502-10:01:05: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:05: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:05: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
'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.'
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
20170502-10:01:05: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-10:01:05: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_2017122315104 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:05: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_2017122315104
1testUpdateSystemMetadata_RightsHolder_2017122315104eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:01:05.113+00:002017-05-02T10:01:05.113+00:00urn:node:mnTestNEONurn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:05: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_RightsHolder_2017122315104; FilePart:object = /tmp/mmp.output.7286051389853956829.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4931315692486829292.tmp (1097 bytes); [org.dataone.client.rest.RestClient]
20170502-10:01:05: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:136)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:120)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataIT.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-10:01:05: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:05: [INFO]:
***************** running test for testUpdateSystemMetadata_RightsHolder(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:05: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:05: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:05: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:05: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-10:01:05: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:05: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_2017122315689 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:05: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_2017122315689
1testUpdateSystemMetadata_RightsHolder_2017122315689eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:01:05.698+00:002017-05-02T10:01:05.698+00:00urn:node:mnTestARCTICurn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:07: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_RightsHolder_2017122315689; FilePart:object = /tmp/mmp.output.7311892957732461517.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8055789187901642742.tmp (1101 bytes); [org.dataone.client.rest.RestClient]
20170502-10:01:07: [INFO]: object created. pid = testUpdateSystemMetadata_RightsHolder_2017122315689 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:07: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-10:01:08: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_RightsHolder_2017122315689 [org.dataone.client.rest.RestClient]
20170502-10:01:09: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_RightsHolder_2017122315689; FilePart:sysmeta = /tmp/mmp.output.7991619198743791987.tmp (1128 bytes); [org.dataone.client.rest.RestClient]
20170502-10:01:20: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_RightsHolder_2017122315689 [org.dataone.client.rest.RestClient]
20170502-10:01:20: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:20: [INFO]:
***************** running test for testUpdateSystemMetadata_RightsHolder(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:20: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:20: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:20: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:20: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-10:01:20: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:20: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_2017122312044 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:20: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_2017122312044
1testUpdateSystemMetadata_RightsHolder_2017122312044eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:01:20.054+00:002017-05-02T10:01:20.054+00:00urn:node:mnTestCLOEBIRDurn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:20: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_RightsHolder_2017122312044; FilePart:object = /tmp/mmp.output.7977480443214086783.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3172609835298015842.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170502-10:01:20: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:136)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:120)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataIT.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-10:01:20: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:20: [INFO]:
***************** running test for testUpdateSystemMetadata_RightsHolder(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:20: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:20: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:20: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:20: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-10:01:20: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:20: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_20171223120524 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:20: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_20171223120524
1testUpdateSystemMetadata_RightsHolder_20171223120524eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:01:20.534+00:002017-05-02T10:01:20.534+00:00urn:node:mnTestRWurn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:21: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_RightsHolder_20171223120524; FilePart:object = /tmp/mmp.output.78603741518803294.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4111906974299896191.tmp (1094 bytes); [org.dataone.client.rest.RestClient]
20170502-10:01:21: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:136)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:120)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataIT.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-10:01:21: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:21: [INFO]:
***************** running test for testUpdateSystemMetadata_RightsHolder(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:21: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:21: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:21: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:21: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-10:01:21: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:21: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_20171223121169 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:21: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_20171223121169
1testUpdateSystemMetadata_RightsHolder_20171223121169eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:01:21.178+00:002017-05-02T10:01:21.178+00:00urn:node:mnTestEDIurn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:21: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_RightsHolder_20171223121169; FilePart:object = /tmp/mmp.output.7792407613687693500.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4434298699462145423.tmp (1096 bytes); [org.dataone.client.rest.RestClient]
20170502-10:01:21: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Request Method:
POST
Request URL:
https://gmn-s.edirepository.org/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 69
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:136)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:120)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataIT.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Request Method:
POST
Request URL:
https://gmn-s.edirepository.org/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 69
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-10:01:21: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:21: [INFO]: creating a test object. pid = testUpdateSystemMetadata_RightsHolder_20171223121753 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:21: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_RightsHolder_20171223121753
1testUpdateSystemMetadata_RightsHolder_20171223121753eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:01:21.765+00:002017-05-02T10:01:21.765+00:00urn:node:mnTestNCEIurn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:22: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_RightsHolder_20171223121753; FilePart:object = /tmp/mmp.output.2298993606081599564.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3549003870867297606.tmp (1098 bytes); [org.dataone.client.rest.RestClient]
20170502-10:01:22: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:136)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataTestImplementations.java:120)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_RightsHolder(MNUpdateSystemMetadataIT.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
'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.'
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:190)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:174)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataIT.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
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
<_mod_wsgi_64fd1b214d55a1b65e7308653383672c.D1WSGIHandler object at 0x7fbde6e4d790>
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py in process_view
20170502-10:01:51: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
request
<D1WSGIRequest: POST '/mn/v2/object'>
self
<app.middleware.view_handler.ViewHandler object at 0x7fbddd77db50>
view_args
()
view_func
<function dispatch_object_list at 0x7fbddd0fe758>
view_kwargs
{}
/var/local/dataone/gmn_venv/lib/python2.7/site-packages/gmn/./app/middleware/view_handler.py in process_session
if 'HTTP_VENDOR_INCLUDE_CERTIFICATE' in request.META:
request.META['SSL_CLIENT_CERT'] = \
self.pem_in_http_header_to_pem_in_string(
request.META['HTTP_VENDOR_INCLUDE_CERTIFICATE'])
# Add subjects from any provided certificate and JWT and store them in
20170502-10:01:51: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
'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
20170502-10:01:51: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_20171223151932 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-10:01:51: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_20171223151932
1testUpdateSystemMetadata_MutableRightsHolder_20171223151932eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:01:51.940+00:002017-05-02T10:01:51.940+00:00urn:node:mnTestNEONurn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:52: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_20171223151932; FilePart:object = /tmp/mmp.output.7952861733209789838.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4154200504207106615.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170502-10:01:52: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:190)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:174)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataIT.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-10:01:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:52: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:52: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:52: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:52: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:52: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-10:01:52: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:52: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_20171223152394 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:52: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_20171223152394
1testUpdateSystemMetadata_MutableRightsHolder_20171223152394eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:01:52.402+00:002017-05-02T10:01:52.402+00:00urn:node:mnTestARCTICurn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:54: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_20171223152394; FilePart:object = /tmp/mmp.output.412955884338617687.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8492819774456672795.tmp (1109 bytes); [org.dataone.client.rest.RestClient]
20170502-10:01:54: [INFO]: object created. pid = testUpdateSystemMetadata_MutableRightsHolder_20171223152394 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:54: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-10:01:55: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableRightsHolder_20171223152394 [org.dataone.client.rest.RestClient]
20170502-10:01:55: [INFO]: created client for certificate file: testPerson with subject: CN=testPerson,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:01:55: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_20171223152394; FilePart:sysmeta = /tmp/mmp.output.3471020868035944761.tmp (1130 bytes); [org.dataone.client.rest.RestClient]
20170502-10:02:07: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableRightsHolder_20171223152394 [org.dataone.client.rest.RestClient]
20170502-10:02:07: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:07: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:07: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:07: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:07: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:07: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-10:02:07: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:07: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_2017122327111 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:07: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_2017122327111
1testUpdateSystemMetadata_MutableRightsHolder_2017122327111eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:02:07.121+00:002017-05-02T10:02:07.121+00:00urn:node:mnTestCLOEBIRDurn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:07: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_2017122327111; FilePart:object = /tmp/mmp.output.3633723187273054396.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2047066046354227941.tmp (1112 bytes); [org.dataone.client.rest.RestClient]
20170502-10:02:07: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:190)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:174)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataIT.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-10:02:07: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:07: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:07: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:07: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:07: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:07: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-10:02:07: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:07: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_2017122327580 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:07: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_2017122327580
1testUpdateSystemMetadata_MutableRightsHolder_2017122327580eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:02:07.588+00:002017-05-02T10:02:07.588+00:00urn:node:mnTestRWurn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:07: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_2017122327580; FilePart:object = /tmp/mmp.output.1224610242244052515.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4616894364528023786.tmp (1100 bytes); [org.dataone.client.rest.RestClient]
20170502-10:02:07: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:190)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:174)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataIT.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-10:02:07: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:07: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:07: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:07: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:07: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:07: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-10:02:07: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:07: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_2017122327962 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:07: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_2017122327962
1testUpdateSystemMetadata_MutableRightsHolder_2017122327962eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:02:07.971+00:002017-05-02T10:02:07.971+00:00urn:node:mnTestEDIurn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:08: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_2017122327962; FilePart:object = /tmp/mmp.output.2934237826104293439.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.6310290600410690079.tmp (1102 bytes); [org.dataone.client.rest.RestClient]
20170502-10:02:08: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Request Method:
POST
Request URL:
https://gmn-s.edirepository.org/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 69
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:190)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:174)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataIT.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Request Method:
POST
Request URL:
https://gmn-s.edirepository.org/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 69
20170502-10:02:08: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
except Exception as e:
20170502-10:02:08: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableRightsHolder(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
raise d1_common.types.exceptions.InvalidToken(
20170502-10:02:08: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:08: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableRightsHolder_2017122328317 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
USE_ETAGS
False
USE_I18N
True
USE_L10N
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-10:02:08: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableRightsHolder_2017122328317
1testUpdateSystemMetadata_MutableRightsHolder_2017122328317eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:02:08.326+00:002017-05-02T10:02:08.326+00:00urn:node:mnTestNCEIurn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:08: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableRightsHolder_2017122328317; FilePart:object = /tmp/mmp.output.4830224427830831072.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.113913171447305511.tmp (1104 bytes); [org.dataone.client.rest.RestClient]
20170502-10:02:08: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:190)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataTestImplementations.java:174)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableRightsHolder(MNUpdateSystemMetadataIT.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
'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.'
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:245)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:229)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataIT.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
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
'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
''
20170502-10:02:37: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-10:02:37: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_20171223237921 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:37: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_20171223237921
1testUpdateSystemMetadata_MutableFormat_20171223237921eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:02:37.933+00:002017-05-02T10:02:37.933+00:00urn:node:mnTestNEONurn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:38: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_20171223237921; FilePart:object = /tmp/mmp.output.1330849755417080507.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3220360731563398384.tmp (1099 bytes); [org.dataone.client.rest.RestClient]
20170502-10:02:38: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:245)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:229)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataIT.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-10:02:38: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:38: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableFormat(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:38: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:38: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:38: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:38: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-10:02:38: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:38: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_20171223238404 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:38: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_20171223238404
1testUpdateSystemMetadata_MutableFormat_20171223238404eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:02:38.412+00:002017-05-02T10:02:38.412+00:00urn:node:mnTestARCTICurn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:40: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_20171223238404; FilePart:object = /tmp/mmp.output.4915144242801507311.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8555655148713743453.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170502-10:02:40: [INFO]: object created. pid = testUpdateSystemMetadata_MutableFormat_20171223238404 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:40: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-10:02:41: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableFormat_20171223238404 [org.dataone.client.rest.RestClient]
20170502-10:02:42: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_20171223238404; FilePart:sysmeta = /tmp/mmp.output.5489472247882375417.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170502-10:02:53: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableFormat_20171223238404 [org.dataone.client.rest.RestClient]
20170502-10:02:53: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:53: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableFormat(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:53: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:53: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:53: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:53: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-10:02:53: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:53: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_20171223253540 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:53: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_20171223253540
1testUpdateSystemMetadata_MutableFormat_20171223253540eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:02:53.556+00:002017-05-02T10:02:53.556+00:00urn:node:mnTestCLOEBIRDurn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:54: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_20171223253540; FilePart:object = /tmp/mmp.output.5566021561200349326.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.4883140818464343146.tmp (1107 bytes); [org.dataone.client.rest.RestClient]
20170502-10:02:54: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:245)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:229)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataIT.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-10:02:54: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:54: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableFormat(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:54: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:54: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:54: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:54: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-10:02:54: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:54: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_2017122325420 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:54: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_2017122325420
1testUpdateSystemMetadata_MutableFormat_2017122325420eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:02:54.028+00:002017-05-02T10:02:54.028+00:00urn:node:mnTestRWurn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:54: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_2017122325420; FilePart:object = /tmp/mmp.output.7152581856526850919.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3319246177480264587.tmp (1094 bytes); [org.dataone.client.rest.RestClient]
20170502-10:02:54: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:245)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:229)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataIT.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-10:02:54: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:54: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableFormat(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:54: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:54: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:54: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:54: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-10:02:54: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:54: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_20171223254418 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:54: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_20171223254418
1testUpdateSystemMetadata_MutableFormat_20171223254418eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:02:54.426+00:002017-05-02T10:02:54.426+00:00urn:node:mnTestEDIurn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:54: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_20171223254418; FilePart:object = /tmp/mmp.output.5508865603314451716.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8727935017397431075.tmp (1097 bytes); [org.dataone.client.rest.RestClient]
20170502-10:02:54: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Request Method:
POST
Request URL:
https://gmn-s.edirepository.org/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 69
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:245)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:229)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataIT.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Request Method:
POST
Request URL:
https://gmn-s.edirepository.org/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 69
20170502-10:02:54: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1493719374688599'
mod_wsgi.version
(4, 3, 0)
wsgi.errors
<mod_wsgi.Log object at 0x7efc72544810>
wsgi.file_wrapper
''
wsgi.input
<mod_wsgi.Input object at 0x7efc723b4430>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'https'
wsgi.version
(1, 0)
Settings
Using settings module settings
Setting
Value
20170502-10:02:54: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableFormat(...) vs. node: https://ncei.nceas.ucsb.edu/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:54: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:54: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
WSGI_APPLICATION
None
X_FRAME_OPTIONS
u'SAMEORIGIN'
YEAR_MONTH_FORMAT
u'F Y'
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-10:02:54: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableFormat_20171223254839 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:54: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableFormat_20171223254839
1testUpdateSystemMetadata_MutableFormat_20171223254839eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:02:54.847+00:002017-05-02T10:02:54.847+00:00urn:node:mnTestNCEIurn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:02:55: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableFormat_20171223254839; FilePart:object = /tmp/mmp.output.7419496140964123522.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8750529704949486757.tmp (1099 bytes); [org.dataone.client.rest.RestClient]
20170502-10:02:55: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:245)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataTestImplementations.java:229)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableFormat(MNUpdateSystemMetadataIT.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
'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.'
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:298)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:282)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataIT.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
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
20170502-10:03:24: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
CSRF_COOKIE_DOMAIN
None
CSRF_COOKIE_HTTPONLY
False
CSRF_COOKIE_NAME
u'csrftoken'
20170502-10:03:24: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAccessPolicy(...) vs. node: http://dataone.neonscience.org/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:24: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
'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.'
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-10:03:24: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:24: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171223324196 on http://dataone.neonscience.org/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:24: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_20171223324196
1testUpdateSystemMetadata_MutableAccessPolicy_20171223324196eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:03:24.205+00:002017-05-02T10:03:24.205+00:00urn:node:mnTestNEONurn:node:mnTestNEON
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:24: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.neonscience.org/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_20171223324196; FilePart:object = /tmp/mmp.output.7615105664873518560.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7131492456177868101.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170502-10:03:24: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:298)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:282)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataIT.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-10:03:24: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:24: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAccessPolicy(...) vs. node: https://test.arcticdata.io/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:24: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:24: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:24: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:24: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-10:03:24: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:24: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171223324685 on https://test.arcticdata.io/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:24: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_20171223324685
1testUpdateSystemMetadata_MutableAccessPolicy_20171223324685eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:03:24.694+00:002017-05-02T10:03:24.694+00:00urn:node:mnTestARCTICurn:node:mnTestARCTIC
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:26: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://test.arcticdata.io/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_20171223324685; FilePart:object = /tmp/mmp.output.1428302850246729420.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.9022816166624229474.tmp (1109 bytes); [org.dataone.client.rest.RestClient]
20170502-10:03:26: [INFO]: object created. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171223324685 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:26: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-10:03:27: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAccessPolicy_20171223324685 [org.dataone.client.rest.RestClient]
20170502-10:03:27: [INFO]: created client for certificate file: testGroup with subject: public [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:27: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: PUT https://test.arcticdata.io/metacat/d1/mn/v2/meta; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_20171223324685; FilePart:sysmeta = /tmp/mmp.output.1543485071230338176.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170502-10:03:38: [INFO]: RestClient.doRequestNoBody, thread(1) call Info: GET https://test.arcticdata.io/metacat/d1/mn/v2/meta/testUpdateSystemMetadata_MutableAccessPolicy_20171223324685 [org.dataone.client.rest.RestClient]
20170502-10:03:38: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:38: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAccessPolicy(...) vs. node: http://dataone.ornith.cornell.edu/metacat/d1/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:38: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:38: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:38: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:38: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-10:03:38: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:38: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171223338973 on http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:38: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_20171223338973
1testUpdateSystemMetadata_MutableAccessPolicy_20171223338973eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:03:38.982+00:002017-05-02T10:03:38.982+00:00urn:node:mnTestCLOEBIRDurn:node:mnTestCLOEBIRD
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:39: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST http://dataone.ornith.cornell.edu/metacat/d1/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_20171223338973; FilePart:object = /tmp/mmp.output.8769854187762324333.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5116650473735570702.tmp (1113 bytes); [org.dataone.client.rest.RestClient]
20170502-10:03:39: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:298)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:282)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataIT.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.InvalidToken: Session is required to WRITE to the Node.
at org.dataone.service.util.ExceptionHandler.deserializeXml(ExceptionHandler.java:628)
at org.dataone.service.util.ExceptionHandler.deserializeXmlAndThrowException(ExceptionHandler.java:517)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:363)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-10:03:39: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:39: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAccessPolicy(...) vs. node: https://dataone-test.researchworkspace.com/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:39: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:39: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:39: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:39: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-10:03:39: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:39: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171223339444 on https://dataone-test.researchworkspace.com/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:39: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_20171223339444
1testUpdateSystemMetadata_MutableAccessPolicy_20171223339444eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:03:39.456+00:002017-05-02T10:03:39.456+00:00urn:node:mnTestRWurn:node:mnTestRW
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:39: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_20171223339444; FilePart:object = /tmp/mmp.output.2311720947604177417.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1676931663062640153.tmp (1101 bytes); [org.dataone.client.rest.RestClient]
20170502-10:03:39: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:298)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:282)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataIT.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-10:03:39: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:39: [INFO]:
***************** running test for testUpdateSystemMetadata_MutableAccessPolicy(...) vs. node: https://gmn-s.edirepository.org/mn ***************** [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:39: [INFO]: created client for certificate file: testRightsHolder with subject: CN=testRightsHolder,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:39: [INFO]: certificate directory: /etc/dataone/client/testClientCerts/ [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:39: [INFO]: certificate filename: cnStageUNM1 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:39: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
20170502-10:03:39: [INFO]: client setup as Subject: CN=urn:node:cnStageUNM1,DC=dataone,DC=org [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:39: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171223339877 on https://gmn-s.edirepository.org/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:39: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_20171223339877
1testUpdateSystemMetadata_MutableAccessPolicy_20171223339877eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:03:39.885+00:002017-05-02T10:03:39.885+00:00urn:node:mnTestEDIurn:node:mnTestEDI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:40: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_20171223339877; FilePart:object = /tmp/mmp.output.9144243996340781661.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.7713645331293343676.tmp (1103 bytes); [org.dataone.client.rest.RestClient]
20170502-10:03:40: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Request Method:
POST
Request URL:
https://gmn-s.edirepository.org/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 69
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:298)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:282)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataIT.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
InvalidToken at /v2/object
InvalidToken at /v2/object
name: InvalidToken
errorCode: 401
detailCode: 0
description:
Error extracting session from certificate. error="name: InvalidToken
errorCode: 401
detailCode: 0
description: Could not deserialize SubjectInfo. subject_info="<?xml version="1.0" encoding="UTF-8"?><d1:subjectInfo xmlns:d1="http://ns.dataone.org/service/types/v1">.<person>..<subject>CN=testRightsHolder,DC=dataone,DC=org</subject>..<givenName>testRightsHolder_givenName</givenName>..<familyName>testRightsHolder_familyName</familyName>.</person></d1:subjectInfo>", error="Invalid non-element content at <unknown>[1:113]"
"
Request Method:
POST
Request URL:
https://gmn-s.edirepository.org/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 69
You're seeing this error because you have DEBUG = True in your
Django settings file. Change that to False, and Django will
display a standard page generated by the handler for this status code.
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
20170502-10:03:40: [INFO]: creating a test object. pid = testUpdateSystemMetadata_MutableAccessPolicy_20171223340242 on https://ncei.nceas.ucsb.edu/mn/v2 [org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:40: [INFO]: SystemMetadata for pid: testUpdateSystemMetadata_MutableAccessPolicy_20171223340242
1testUpdateSystemMetadata_MutableAccessPolicy_20171223340242eml://ecoinformatics.org/eml-2.0.11718103ce09c6b4c3efc1681f3023402998a2CN=urn:node:cnStageUNM1,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgCN=testRightsHolder,DC=dataone,DC=orgchangePermission2017-05-02T10:03:40.251+00:002017-05-02T10:03:40.251+00:00urn:node:mnTestNCEIurn:node:mnTestNCEI
[org.dataone.integration.ContextAwareTestCaseDataone]
20170502-10:03:40: [INFO]: RestClient.doRequestMMPBody, thread(1) call Info: POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testUpdateSystemMetadata_MutableAccessPolicy_20171223340242; FilePart:object = /tmp/mmp.output.6223268709086875277.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.2488917284444600590.tmp (1105 bytes); [org.dataone.client.rest.RestClient]
20170502-10:03:40: [WARN]: registering ConnectionManager... [org.dataone.client.utils.HttpConnectionMonitorService]
org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1609)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1430)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1383)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1342)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1359)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:298)
at org.dataone.integration.it.testImplementations.MNUpdateSystemMetadataTestImplementations.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataTestImplementations.java:282)
at org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT.testUpdateSystemMetadata_MutableAccessPolicy(MNUpdateSystemMetadataIT.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
Caused by: org.dataone.service.exceptions.ServiceFailure: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
at org.dataone.service.util.ExceptionHandler.deserializeHtmlAndThrowException(ExceptionHandler.java:423)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:372)
at org.dataone.service.util.ExceptionHandler.deserializeAndThrowException(ExceptionHandler.java:313)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:107)
at org.dataone.service.util.ExceptionHandler.filterErrors(ExceptionHandler.java:82)
at org.dataone.client.rest.HttpMultipartRestClient.doPostRequest(HttpMultipartRestClient.java:463)
at org.dataone.client.v2.impl.MultipartMNode.create(MultipartMNode.java:495)
at org.dataone.integration.adapters.CommonCallAdapter.create(CommonCallAdapter.java:505)
at org.dataone.integration.ContextAwareTestCaseDataone.createTestObject(ContextAwareTestCaseDataone.java:1600)
... 37 more
Tests run: 54, Failures: 53, Errors: 0, Skipped: 1, Time elapsed: 3,435.342 sec <<< FAILURE!
Results :
Failed tests:
testSetReplicationStatus_dateModified(org.dataone.integration.it.apiTests.MNSystemMetadataMutabilityIt): testRegisterSystemMetadata_dateModified: Unable to get or create a test object with pid: testRegisterSystemMetadata_dateModified_obj7
testSetReplicationMetadata_dateModified(org.dataone.integration.it.apiTests.MNSystemMetadataMutabilityIt): testUpdateReplicationMetadata_dateModified: Unable to get or create a test object with pid: testUpdateReplicationMetadata_dateModified_obj7
testDeleteReplicationMetadata_dateModified(org.dataone.integration.it.apiTests.MNSystemMetadataMutabilityIt): GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_20171221135873 testDeleteReplicationMetadata_dateModified: unable to fetch sysmeta with valid replicas from CN for pid testDeleteReplicationMetadata_dateModified_20171221135873 Got exception: NotFound : CN sysmeta contained no replica for a v2 MN! GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testDeleteReplicationMetadata_dateModified_20171221135873
testUpdateSystemMetadata_MutableReplPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableReplPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableReplPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableReplPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableReplPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableReplPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableArchived(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableArchived(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableArchived(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableArchived(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableArchived(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableArchived(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_RightsHolderNonAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_RightsHolderNonAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_RightsHolderNonAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_RightsHolderNonAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_RightsHolderNonAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_RightsHolderNonAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_ObsoletesFail(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): https://gmn-s.lternet.edu/mn/v2 testUpdateSystemMetadata_ObsoletesFail() setup steps failed! org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_ObsoletedByFail(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): https://gmn-s.lternet.edu/mn/v2 testUpdateSystemMetadata_ObsoletedByFail() setup steps failed! org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableObsoletedBy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): https://gmn-s.lternet.edu/mn/v2 testUpdateSystemMetadata_MutableObsoletedBy() setup steps failed! org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableObsoletes(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): https://gmn-s.lternet.edu/mn/v2 testUpdateSystemMetadata_MutableObsoletes() setup steps failed! org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_CNCertNonAuthMN(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): Test setup failed. Couldn't fetch sysmeta (testUpdateSystemMetadata_CNCertNonAuthMN_201712221142262) from CN: GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712221142262, origin MN: https://mn-stage-ucsb-2.test.dataone.org/knb/d1/mn/v2 : NotFound: 404: CN sysmeta contained no replica for a v2 MN! GET https://cn-stage-orc-1.test.dataone.org/cn/v2/meta/testUpdateSystemMetadata_CNCertNonAuthMN_201712221142262
testUpdateSystemMetadata_RightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_RightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_RightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_RightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_RightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_RightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableRightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableRightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableRightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableRightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableRightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableRightsHolder(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableFormat(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableFormat(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableFormat(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableFormat(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableFormat(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableFormat(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableAccessPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableAccessPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableAccessPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ]
testUpdateSystemMetadata_MutableAccessPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableAccessPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
testUpdateSystemMetadata_MutableAccessPolicy(org.dataone.integration.it.apiTests.MNUpdateSystemMetadataIT): org.dataone.client.exception.ClientSideException: Unable to create test object!/500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
Tests run: 58, Failures: 56, Errors: 0, Skipped: 1
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[JENKINS] Recording test results
[INFO]
[INFO] --- maven-failsafe-plugin:2.8.1:verify (verify) @ d1_integration ---
[INFO] Failsafe report directory: /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/failsafe-reports
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[ERROR] There are test failures.
Please refer to /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/target/failsafe-reports for the individual test results.
[JENKINS] Recording test results
Notifying upstream projects of job completion
Join notifier requires a CauseAction
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:58:25.687s
[INFO] Finished at: Tue May 02 10:03:42 UTC 2017
[INFO] Final Memory: 57M/636M
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[JENKINS] Archiving /var/lib/jenkins/jobs/d1_integration_Stage_mn_sysmeta_mutability/workspace/pom.xml to org.dataone/d1_integration/2.4-SNAPSHOT/d1_integration-2.4-SNAPSHOT.pom
channel stopped
Notifying upstream projects of job completion
Finished: UNSTABLE