-------------------------------------------------------------------------------
Test set: org.dataone.integration.it.apiTests.MNViewV2IT
-------------------------------------------------------------------------------
Tests run: 20, Failures: 20, Errors: 0, Skipped: 0, Time elapsed: 33.954 sec <<< FAILURE!
testListViews(org.dataone.integration.it.apiTests.MNViewV2IT) Time elapsed: 3.353 sec <<< FAILURE!
java.lang.AssertionError: Expected a NotFound exception. Got: ServiceFailure: -1: 404: Not Found: parser for deserializing HTML not written yet. Providing message body:
Page not found at /v2/views
Using the URLconf defined in app.urls
,
Django tried these URL patterns, in this order:
-
^v[12]/monitor/ping/?$
-
^v[12]/log/?$
-
^v[12]/?$
-
^v[12]/node/?$
-
^v[12]/object/(.+)$
-
^v[12]/meta/(.+)$
-
^v2/meta$
-
^v[12]/checksum/(.+)$
-
^v[12]/object/?$
-
^v[12]/error/?$
-
^v[12]/replica/(.+)/?$
-
^v[12]/isAuthorized/(.+)/?$
-
^v[12]/dirtySystemMetadata/?$
-
^v[12]/generate/?$
-
^v[12]/archive/(.+)/?$
-
^v[12]/replicate/?$
-
^home/?$
-
^diag/get_replication_queue/?$
-
^diag/echo_session/?$
-
^diag/echo_request_object/?$
-
^diag/echo_raw_post_data/?$
-
^diag$
-
^diag/get_replication_queue$
-
^diag/clear_replication_queue$
-
^diag/set_access_policy/(.+?)$
-
^diag/delete_all_access_policies$
-
^diag/create/(.+)$
-
^diag/slash/(.+?)/(.+?)/(.+?)$
-
^diag/exception/(.+?)$
-
^diag/delete_all_objects$
-
^diag/delete_single_object/(.+?)$
-
^diag/trusted_subjects$
-
^diag/whitelist_subject$
-
^diag/permissions_for_object/(.+?)$
-
^diag/get_setting/(.+)$
-
^diag/delete_event_log$
-
^diag/inject_fictional_event_log$
The current URL, v2/views
, didn't match any of these.
You're seeing this error because you have DEBUG = True
in
your Django settings file. Change that to False
, and Django
will display a standard 404 page.
[for host GET https://gmn-s.lternet.edu/mn/v2/views ]
at org.junit.Assert.fail(Assert.java:91)
at org.dataone.integration.ContextAwareTestCaseDataone$5.call(ContextAwareTestCaseDataone.java:1825)
at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:70)
at org.dataone.integration.ContextAwareTestCaseDataone.handleFail(ContextAwareTestCaseDataone.java:1820)
at org.dataone.integration.it.ContextAwareAdapter.handleFail(ContextAwareAdapter.java:100)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testListViews(ViewTestImplementations.java:175)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testListViews(ViewTestImplementations.java:161)
at org.dataone.integration.it.apiTests.MNViewV2IT.testListViews(MNViewV2IT.java:58)
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)
testListViews(org.dataone.integration.it.apiTests.MNViewV2IT) Time elapsed: 3.353 sec <<< FAILURE!
java.lang.AssertionError: Expected a NotFound exception. Got: ServiceFailure: -1: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
[for host GET https://dataone-test.researchworkspace.com/mn/v2/views ]
at org.junit.Assert.fail(Assert.java:91)
at org.dataone.integration.ContextAwareTestCaseDataone$5.call(ContextAwareTestCaseDataone.java:1825)
at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:70)
at org.dataone.integration.ContextAwareTestCaseDataone.handleFail(ContextAwareTestCaseDataone.java:1820)
at org.dataone.integration.it.ContextAwareAdapter.handleFail(ContextAwareAdapter.java:100)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testListViews(ViewTestImplementations.java:175)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testListViews(ViewTestImplementations.java:161)
at org.dataone.integration.it.apiTests.MNViewV2IT.testListViews(MNViewV2IT.java:58)
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)
testListViews(org.dataone.integration.it.apiTests.MNViewV2IT) Time elapsed: 3.354 sec <<< FAILURE!
java.lang.AssertionError: Expected a NotFound exception. Got: ServiceFailure: -1: 404: Not Found: parser for deserializing HTML not written yet. Providing message body:
Page not found at /v2/views
Using the URLconf defined in app.urls
,
Django tried these URL patterns, in this order:
-
^v[12]/monitor/ping/?$
[name='get_monitor_ping']
-
^v[12]/log/?$
[name='get_log']
-
^v[12]/?$
[name='get_node']
-
^v[12]/node/?$
-
^v[12]/object/(.+)$
[name='dispatch_object']
-
^v[12]/meta/(.+)$
[name='get_meta']
-
^v2/meta$
[name='put_meta']
-
^v[12]/checksum/(.+)$
[name='get_checksum']
-
^v[12]/object/?$
[name='dispatch_object_list']
-
^v[12]/error/?$
[name='post_error']
-
^v[12]/replica/(.+)/?$
[name='get_replica']
-
^v[12]/isAuthorized/(.+)/?$
[name='get_is_authorized']
-
^v[12]/dirtySystemMetadata/?$
[name='post_refresh_system_metadata']
-
^v[12]/generate/?$
[name='post_generate_identifier']
-
^v[12]/archive/(.+)/?$
[name='put_archive']
-
^v[12]/replicate/?$
[name='post_replicate']
-
^home/?$
[name='home']
-
^diag/get_replication_queue/?$
[name='get_replication_queue']
-
^diag/echo_session/?$
[name='echo_session']
-
^diag/echo_request_object/?$
[name='echo_request_object']
-
^diag/echo_raw_post_data/?$
[name='echo_raw_post_data']
-
^diag$
[name='diag']
-
^diag/get_replication_queue$
[name='get_replication_queue']
-
^diag/clear_replication_queue$
[name='clear_replication_queue']
-
^diag/delete_all_access_policies$
[name='delete_all_access_policies']
-
^diag/create/(.+)$
[name='create']
-
^diag/slash/(.+?)/(.+?)/(.+?)$
[name='slash']
-
^diag/exception/(.+?)$
[name='exception']
-
^diag/delete_all_objects$
[name='delete_all_objects_view']
-
^diag/trusted_subjects$
[name='trusted_subjects']
-
^diag/whitelist_subject$
[name='whitelist_subject']
-
^diag/permissions_for_object/(.+?)$
[name='permissions_for_object']
-
^diag/get_setting/(.+)$
[name='get_setting']
-
^diag/delete_event_log$
[name='delete_event_log']
-
^diag/inject_fictional_event_log$
[name='inject_fictional_event_log']
The current URL, v2/views
, didn't match any of these.
You're seeing this error because you have DEBUG = True
in
your Django settings file. Change that to False
, and Django
will display a standard 404 page.
[for host GET https://gmn-s.edirepository.org/mn/v2/views ]
at org.junit.Assert.fail(Assert.java:91)
at org.dataone.integration.ContextAwareTestCaseDataone$5.call(ContextAwareTestCaseDataone.java:1825)
at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:70)
at org.dataone.integration.ContextAwareTestCaseDataone.handleFail(ContextAwareTestCaseDataone.java:1820)
at org.dataone.integration.it.ContextAwareAdapter.handleFail(ContextAwareAdapter.java:100)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testListViews(ViewTestImplementations.java:175)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testListViews(ViewTestImplementations.java:161)
at org.dataone.integration.it.apiTests.MNViewV2IT.testListViews(MNViewV2IT.java:58)
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)
testListViews(org.dataone.integration.it.apiTests.MNViewV2IT) Time elapsed: 3.354 sec <<< FAILURE!
java.lang.AssertionError: Expected a NotFound exception. Got: ServiceFailure: -1: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
[for host GET https://ncei.nceas.ucsb.edu/mn/v2/views ]
at org.junit.Assert.fail(Assert.java:91)
at org.dataone.integration.ContextAwareTestCaseDataone$5.call(ContextAwareTestCaseDataone.java:1825)
at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:70)
at org.dataone.integration.ContextAwareTestCaseDataone.handleFail(ContextAwareTestCaseDataone.java:1820)
at org.dataone.integration.it.ContextAwareAdapter.handleFail(ContextAwareAdapter.java:100)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testListViews(ViewTestImplementations.java:175)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testListViews(ViewTestImplementations.java:161)
at org.dataone.integration.it.apiTests.MNViewV2IT.testListViews(MNViewV2IT.java:58)
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)
testView_NotAuthorized(org.dataone.integration.it.apiTests.MNViewV2IT) Time elapsed: 13.679 sec <<< FAILURE!
java.lang.AssertionError: Expected a NotAuthorized exception. Got: ServiceFailure: -1: 404: Not Found: parser for deserializing HTML not written yet. Providing message body:
Page not found at /v2/views/default/testView_NotAuthorized_2017123234713462
Using the URLconf defined in app.urls
,
Django tried these URL patterns, in this order:
-
^v[12]/monitor/ping/?$
-
^v[12]/log/?$
-
^v[12]/?$
-
^v[12]/node/?$
-
^v[12]/object/(.+)$
-
^v[12]/meta/(.+)$
-
^v2/meta$
-
^v[12]/checksum/(.+)$
-
^v[12]/object/?$
-
^v[12]/error/?$
-
^v[12]/replica/(.+)/?$
-
^v[12]/isAuthorized/(.+)/?$
-
^v[12]/dirtySystemMetadata/?$
-
^v[12]/generate/?$
-
^v[12]/archive/(.+)/?$
-
^v[12]/replicate/?$
-
^home/?$
-
^diag/get_replication_queue/?$
-
^diag/echo_session/?$
-
^diag/echo_request_object/?$
-
^diag/echo_raw_post_data/?$
-
^diag$
-
^diag/get_replication_queue$
-
^diag/clear_replication_queue$
-
^diag/set_access_policy/(.+?)$
-
^diag/delete_all_access_policies$
-
^diag/create/(.+)$
-
^diag/slash/(.+?)/(.+?)/(.+?)$
-
^diag/exception/(.+?)$
-
^diag/delete_all_objects$
-
^diag/delete_single_object/(.+?)$
-
^diag/trusted_subjects$
-
^diag/whitelist_subject$
-
^diag/permissions_for_object/(.+?)$
-
^diag/get_setting/(.+)$
-
^diag/delete_event_log$
-
^diag/inject_fictional_event_log$
The current URL, v2/views/default/testView_NotAuthorized_2017123234713462
, didn't match any of these.
You're seeing this error because you have DEBUG = True
in
your Django settings file. Change that to False
, and Django
will display a standard 404 page.
from : POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testView_NotAuthorized_2017123234713462; FilePart:object = /tmp/mmp.output.7339971690286323572.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5683805165208158246.tmp (1070 bytes); [for host POST https://gmn-s.lternet.edu/mn/v2/object; MMP message has: ParamPart:pid = testView_NotAuthorized_2017123234713462; FilePart:object = /tmp/mmp.output.7339971690286323572.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.5683805165208158246.tmp (1070 bytes); ]
at org.junit.Assert.fail(Assert.java:91)
at org.dataone.integration.ContextAwareTestCaseDataone$5.call(ContextAwareTestCaseDataone.java:1825)
at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:70)
at org.dataone.integration.ContextAwareTestCaseDataone.handleFail(ContextAwareTestCaseDataone.java:1820)
at org.dataone.integration.it.ContextAwareAdapter.handleFail(ContextAwareAdapter.java:100)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_NotAuthorized(ViewTestImplementations.java:69)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_NotAuthorized(ViewTestImplementations.java:44)
at org.dataone.integration.it.apiTests.MNViewV2IT.testView_NotAuthorized(MNViewV2IT.java:40)
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)
testView_NotAuthorized(org.dataone.integration.it.apiTests.MNViewV2IT) Time elapsed: 13.68 sec <<< FAILURE!
java.lang.AssertionError: Expected a NotAuthorized exception. Got: org.dataone.integration.TestIterationEndingException: unexpected client-side exception encountered when trying to create test object : Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ]
at org.junit.Assert.fail(Assert.java:91)
at org.dataone.integration.ContextAwareTestCaseDataone$5.call(ContextAwareTestCaseDataone.java:1825)
at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:70)
at org.dataone.integration.ContextAwareTestCaseDataone.handleFail(ContextAwareTestCaseDataone.java:1820)
at org.dataone.integration.it.ContextAwareAdapter.handleFail(ContextAwareAdapter.java:100)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_NotAuthorized(ViewTestImplementations.java:75)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_NotAuthorized(ViewTestImplementations.java:44)
at org.dataone.integration.it.apiTests.MNViewV2IT.testView_NotAuthorized(MNViewV2IT.java:40)
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)
testView_NotAuthorized(org.dataone.integration.it.apiTests.MNViewV2IT) Time elapsed: 13.683 sec <<< FAILURE!
java.lang.AssertionError: Expected a NotAuthorized exception. Got: org.dataone.integration.TestIterationEndingException: unexpected client-side exception encountered when trying to create test object : Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ]
at org.junit.Assert.fail(Assert.java:91)
at org.dataone.integration.ContextAwareTestCaseDataone$5.call(ContextAwareTestCaseDataone.java:1825)
at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:70)
at org.dataone.integration.ContextAwareTestCaseDataone.handleFail(ContextAwareTestCaseDataone.java:1820)
at org.dataone.integration.it.ContextAwareAdapter.handleFail(ContextAwareAdapter.java:100)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_NotAuthorized(ViewTestImplementations.java:75)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_NotAuthorized(ViewTestImplementations.java:44)
at org.dataone.integration.it.apiTests.MNViewV2IT.testView_NotAuthorized(MNViewV2IT.java:40)
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)
testView_NotAuthorized(org.dataone.integration.it.apiTests.MNViewV2IT) Time elapsed: 13.683 sec <<< FAILURE!
java.lang.AssertionError: Expected a NotAuthorized exception. Got: ServiceFailure: -1: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
from : POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testView_NotAuthorized_2017123234719122; FilePart:object = /tmp/mmp.output.510733223686386622.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1480273355386003129.tmp (1070 bytes); [for host POST https://dataone-test.researchworkspace.com/mn/v2/object; MMP message has: ParamPart:pid = testView_NotAuthorized_2017123234719122; FilePart:object = /tmp/mmp.output.510733223686386622.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1480273355386003129.tmp (1070 bytes); ]
at org.junit.Assert.fail(Assert.java:91)
at org.dataone.integration.ContextAwareTestCaseDataone$5.call(ContextAwareTestCaseDataone.java:1825)
at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:70)
at org.dataone.integration.ContextAwareTestCaseDataone.handleFail(ContextAwareTestCaseDataone.java:1820)
at org.dataone.integration.it.ContextAwareAdapter.handleFail(ContextAwareAdapter.java:100)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_NotAuthorized(ViewTestImplementations.java:69)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_NotAuthorized(ViewTestImplementations.java:44)
at org.dataone.integration.it.apiTests.MNViewV2IT.testView_NotAuthorized(MNViewV2IT.java:40)
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)
testView_NotAuthorized(org.dataone.integration.it.apiTests.MNViewV2IT) Time elapsed: 13.683 sec <<< FAILURE!
java.lang.AssertionError: Expected a NotAuthorized exception. Got: ServiceFailure: -1: 404: Not Found: parser for deserializing HTML not written yet. Providing message body:
Page not found at /v2/views/default/testView_NotAuthorized_2017123234719721
Using the URLconf defined in app.urls
,
Django tried these URL patterns, in this order:
-
^v[12]/monitor/ping/?$
[name='get_monitor_ping']
-
^v[12]/log/?$
[name='get_log']
-
^v[12]/?$
[name='get_node']
-
^v[12]/node/?$
-
^v[12]/object/(.+)$
[name='dispatch_object']
-
^v[12]/meta/(.+)$
[name='get_meta']
-
^v2/meta$
[name='put_meta']
-
^v[12]/checksum/(.+)$
[name='get_checksum']
-
^v[12]/object/?$
[name='dispatch_object_list']
-
^v[12]/error/?$
[name='post_error']
-
^v[12]/replica/(.+)/?$
[name='get_replica']
-
^v[12]/isAuthorized/(.+)/?$
[name='get_is_authorized']
-
^v[12]/dirtySystemMetadata/?$
[name='post_refresh_system_metadata']
-
^v[12]/generate/?$
[name='post_generate_identifier']
-
^v[12]/archive/(.+)/?$
[name='put_archive']
-
^v[12]/replicate/?$
[name='post_replicate']
-
^home/?$
[name='home']
-
^diag/get_replication_queue/?$
[name='get_replication_queue']
-
^diag/echo_session/?$
[name='echo_session']
-
^diag/echo_request_object/?$
[name='echo_request_object']
-
^diag/echo_raw_post_data/?$
[name='echo_raw_post_data']
-
^diag$
[name='diag']
-
^diag/get_replication_queue$
[name='get_replication_queue']
-
^diag/clear_replication_queue$
[name='clear_replication_queue']
-
^diag/delete_all_access_policies$
[name='delete_all_access_policies']
-
^diag/create/(.+)$
[name='create']
-
^diag/slash/(.+?)/(.+?)/(.+?)$
[name='slash']
-
^diag/exception/(.+?)$
[name='exception']
-
^diag/delete_all_objects$
[name='delete_all_objects_view']
-
^diag/trusted_subjects$
[name='trusted_subjects']
-
^diag/whitelist_subject$
[name='whitelist_subject']
-
^diag/permissions_for_object/(.+?)$
[name='permissions_for_object']
-
^diag/get_setting/(.+)$
[name='get_setting']
-
^diag/delete_event_log$
[name='delete_event_log']
-
^diag/inject_fictional_event_log$
[name='inject_fictional_event_log']
The current URL, v2/views/default/testView_NotAuthorized_2017123234719721
, didn't match any of these.
You're seeing this error because you have DEBUG = True
in
your Django settings file. Change that to False
, and Django
will display a standard 404 page.
from : POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testView_NotAuthorized_2017123234719721; FilePart:object = /tmp/mmp.output.14162039871104375.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1201030040333647988.tmp (1070 bytes); [for host POST https://gmn-s.edirepository.org/mn/v2/object; MMP message has: ParamPart:pid = testView_NotAuthorized_2017123234719721; FilePart:object = /tmp/mmp.output.14162039871104375.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.1201030040333647988.tmp (1070 bytes); ]
at org.junit.Assert.fail(Assert.java:91)
at org.dataone.integration.ContextAwareTestCaseDataone$5.call(ContextAwareTestCaseDataone.java:1825)
at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:70)
at org.dataone.integration.ContextAwareTestCaseDataone.handleFail(ContextAwareTestCaseDataone.java:1820)
at org.dataone.integration.it.ContextAwareAdapter.handleFail(ContextAwareAdapter.java:100)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_NotAuthorized(ViewTestImplementations.java:69)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_NotAuthorized(ViewTestImplementations.java:44)
at org.dataone.integration.it.apiTests.MNViewV2IT.testView_NotAuthorized(MNViewV2IT.java:40)
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)
testView_NotAuthorized(org.dataone.integration.it.apiTests.MNViewV2IT) Time elapsed: 13.686 sec <<< FAILURE!
java.lang.AssertionError: Expected a NotAuthorized exception. Got: ServiceFailure: -1: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
from : POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testView_NotAuthorized_2017123234719973; FilePart:object = /tmp/mmp.output.4525124947150028880.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.163524585519321875.tmp (1070 bytes); [for host POST https://ncei.nceas.ucsb.edu/mn/v2/object; MMP message has: ParamPart:pid = testView_NotAuthorized_2017123234719973; FilePart:object = /tmp/mmp.output.4525124947150028880.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.163524585519321875.tmp (1070 bytes); ]
at org.junit.Assert.fail(Assert.java:91)
at org.dataone.integration.ContextAwareTestCaseDataone$5.call(ContextAwareTestCaseDataone.java:1825)
at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:70)
at org.dataone.integration.ContextAwareTestCaseDataone.handleFail(ContextAwareTestCaseDataone.java:1820)
at org.dataone.integration.it.ContextAwareAdapter.handleFail(ContextAwareAdapter.java:100)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_NotAuthorized(ViewTestImplementations.java:69)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_NotAuthorized(ViewTestImplementations.java:44)
at org.dataone.integration.it.apiTests.MNViewV2IT.testView_NotAuthorized(MNViewV2IT.java:40)
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)
testView_InvalidTheme(org.dataone.integration.it.apiTests.MNViewV2IT) Time elapsed: 12.221 sec <<< FAILURE!
java.lang.AssertionError: Expected an InvalidRequest exception. Got: ServiceFailure: -1: 404: Not Found: parser for deserializing HTML not written yet. Providing message body:
Page not found at /v2/views/bogus_theme_yaaaay/testView_InvalidTheme_2017123234726868
Using the URLconf defined in app.urls
,
Django tried these URL patterns, in this order:
-
^v[12]/monitor/ping/?$
-
^v[12]/log/?$
-
^v[12]/?$
-
^v[12]/node/?$
-
^v[12]/object/(.+)$
-
^v[12]/meta/(.+)$
-
^v2/meta$
-
^v[12]/checksum/(.+)$
-
^v[12]/object/?$
-
^v[12]/error/?$
-
^v[12]/replica/(.+)/?$
-
^v[12]/isAuthorized/(.+)/?$
-
^v[12]/dirtySystemMetadata/?$
-
^v[12]/generate/?$
-
^v[12]/archive/(.+)/?$
-
^v[12]/replicate/?$
-
^home/?$
-
^diag/get_replication_queue/?$
-
^diag/echo_session/?$
-
^diag/echo_request_object/?$
-
^diag/echo_raw_post_data/?$
-
^diag$
-
^diag/get_replication_queue$
-
^diag/clear_replication_queue$
-
^diag/set_access_policy/(.+?)$
-
^diag/delete_all_access_policies$
-
^diag/create/(.+)$
-
^diag/slash/(.+?)/(.+?)/(.+?)$
-
^diag/exception/(.+?)$
-
^diag/delete_all_objects$
-
^diag/delete_single_object/(.+?)$
-
^diag/trusted_subjects$
-
^diag/whitelist_subject$
-
^diag/permissions_for_object/(.+?)$
-
^diag/get_setting/(.+)$
-
^diag/delete_event_log$
-
^diag/inject_fictional_event_log$
The current URL, v2/views/bogus_theme_yaaaay/testView_InvalidTheme_2017123234726868
, didn't match any of these.
You're seeing this error because you have DEBUG = True
in
your Django settings file. Change that to False
, and Django
will display a standard 404 page.
[for host GET https://gmn-s.lternet.edu/mn/v2/views/bogus_theme_yaaaay/testView_InvalidTheme_2017123234726868 ]
at org.junit.Assert.fail(Assert.java:91)
at org.dataone.integration.ContextAwareTestCaseDataone$5.call(ContextAwareTestCaseDataone.java:1825)
at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:70)
at org.dataone.integration.ContextAwareTestCaseDataone.handleFail(ContextAwareTestCaseDataone.java:1820)
at org.dataone.integration.it.ContextAwareAdapter.handleFail(ContextAwareAdapter.java:100)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_InvalidTheme(ViewTestImplementations.java:108)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_InvalidTheme(ViewTestImplementations.java:88)
at org.dataone.integration.it.apiTests.MNViewV2IT.testView_InvalidTheme(MNViewV2IT.java:46)
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)
testView_InvalidTheme(org.dataone.integration.it.apiTests.MNViewV2IT) Time elapsed: 12.222 sec <<< FAILURE!
java.lang.AssertionError: Expected an InvalidRequest exception. Got: org.dataone.integration.TestIterationEndingException: unexpected client-side exception encountered when trying to create test object : Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.neonscience.org/metacat/d1/mn/v2 ]
at org.junit.Assert.fail(Assert.java:91)
at org.dataone.integration.ContextAwareTestCaseDataone$5.call(ContextAwareTestCaseDataone.java:1825)
at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:70)
at org.dataone.integration.ContextAwareTestCaseDataone.handleFail(ContextAwareTestCaseDataone.java:1820)
at org.dataone.integration.it.ContextAwareAdapter.handleFail(ContextAwareAdapter.java:100)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_InvalidTheme(ViewTestImplementations.java:113)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_InvalidTheme(ViewTestImplementations.java:88)
at org.dataone.integration.it.apiTests.MNViewV2IT.testView_InvalidTheme(MNViewV2IT.java:46)
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)
testView_InvalidTheme(org.dataone.integration.it.apiTests.MNViewV2IT) Time elapsed: 12.222 sec <<< FAILURE!
java.lang.AssertionError: Expected an InvalidRequest exception. Got: org.dataone.integration.TestIterationEndingException: unexpected client-side exception encountered when trying to create test object : Unable to create test object!/Session is required to WRITE to the Node. [for host http://dataone.ornith.cornell.edu/metacat/d1/mn/v2 ]
at org.junit.Assert.fail(Assert.java:91)
at org.dataone.integration.ContextAwareTestCaseDataone$5.call(ContextAwareTestCaseDataone.java:1825)
at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:70)
at org.dataone.integration.ContextAwareTestCaseDataone.handleFail(ContextAwareTestCaseDataone.java:1820)
at org.dataone.integration.it.ContextAwareAdapter.handleFail(ContextAwareAdapter.java:100)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_InvalidTheme(ViewTestImplementations.java:113)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_InvalidTheme(ViewTestImplementations.java:88)
at org.dataone.integration.it.apiTests.MNViewV2IT.testView_InvalidTheme(MNViewV2IT.java:46)
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)
testView_InvalidTheme(org.dataone.integration.it.apiTests.MNViewV2IT) Time elapsed: 12.223 sec <<< FAILURE!
java.lang.AssertionError: Expected an InvalidRequest exception. Got: ServiceFailure: -1: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
[for host GET https://dataone-test.researchworkspace.com/mn/v2/views/bogus_theme_yaaaay/testView_InvalidTheme_2017123234731525 ]
at org.junit.Assert.fail(Assert.java:91)
at org.dataone.integration.ContextAwareTestCaseDataone$5.call(ContextAwareTestCaseDataone.java:1825)
at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:70)
at org.dataone.integration.ContextAwareTestCaseDataone.handleFail(ContextAwareTestCaseDataone.java:1820)
at org.dataone.integration.it.ContextAwareAdapter.handleFail(ContextAwareAdapter.java:100)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_InvalidTheme(ViewTestImplementations.java:108)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_InvalidTheme(ViewTestImplementations.java:88)
at org.dataone.integration.it.apiTests.MNViewV2IT.testView_InvalidTheme(MNViewV2IT.java:46)
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)
testView_InvalidTheme(org.dataone.integration.it.apiTests.MNViewV2IT) Time elapsed: 12.223 sec <<< FAILURE!
java.lang.AssertionError: Expected an InvalidRequest exception. Got: ServiceFailure: -1: 404: Not Found: parser for deserializing HTML not written yet. Providing message body:
Page not found at /v2/views/bogus_theme_yaaaay/testView_InvalidTheme_2017123234732124
Using the URLconf defined in app.urls
,
Django tried these URL patterns, in this order:
-
^v[12]/monitor/ping/?$
[name='get_monitor_ping']
-
^v[12]/log/?$
[name='get_log']
-
^v[12]/?$
[name='get_node']
-
^v[12]/node/?$
-
^v[12]/object/(.+)$
[name='dispatch_object']
-
^v[12]/meta/(.+)$
[name='get_meta']
-
^v2/meta$
[name='put_meta']
-
^v[12]/checksum/(.+)$
[name='get_checksum']
-
^v[12]/object/?$
[name='dispatch_object_list']
-
^v[12]/error/?$
[name='post_error']
-
^v[12]/replica/(.+)/?$
[name='get_replica']
-
^v[12]/isAuthorized/(.+)/?$
[name='get_is_authorized']
-
^v[12]/dirtySystemMetadata/?$
[name='post_refresh_system_metadata']
-
^v[12]/generate/?$
[name='post_generate_identifier']
-
^v[12]/archive/(.+)/?$
[name='put_archive']
-
^v[12]/replicate/?$
[name='post_replicate']
-
^home/?$
[name='home']
-
^diag/get_replication_queue/?$
[name='get_replication_queue']
-
^diag/echo_session/?$
[name='echo_session']
-
^diag/echo_request_object/?$
[name='echo_request_object']
-
^diag/echo_raw_post_data/?$
[name='echo_raw_post_data']
-
^diag$
[name='diag']
-
^diag/get_replication_queue$
[name='get_replication_queue']
-
^diag/clear_replication_queue$
[name='clear_replication_queue']
-
^diag/delete_all_access_policies$
[name='delete_all_access_policies']
-
^diag/create/(.+)$
[name='create']
-
^diag/slash/(.+?)/(.+?)/(.+?)$
[name='slash']
-
^diag/exception/(.+?)$
[name='exception']
-
^diag/delete_all_objects$
[name='delete_all_objects_view']
-
^diag/trusted_subjects$
[name='trusted_subjects']
-
^diag/whitelist_subject$
[name='whitelist_subject']
-
^diag/permissions_for_object/(.+?)$
[name='permissions_for_object']
-
^diag/get_setting/(.+)$
[name='get_setting']
-
^diag/delete_event_log$
[name='delete_event_log']
-
^diag/inject_fictional_event_log$
[name='inject_fictional_event_log']
The current URL, v2/views/bogus_theme_yaaaay/testView_InvalidTheme_2017123234732124
, didn't match any of these.
You're seeing this error because you have DEBUG = True
in
your Django settings file. Change that to False
, and Django
will display a standard 404 page.
[for host GET https://gmn-s.edirepository.org/mn/v2/views/bogus_theme_yaaaay/testView_InvalidTheme_2017123234732124 ]
at org.junit.Assert.fail(Assert.java:91)
at org.dataone.integration.ContextAwareTestCaseDataone$5.call(ContextAwareTestCaseDataone.java:1825)
at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:70)
at org.dataone.integration.ContextAwareTestCaseDataone.handleFail(ContextAwareTestCaseDataone.java:1820)
at org.dataone.integration.it.ContextAwareAdapter.handleFail(ContextAwareAdapter.java:100)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_InvalidTheme(ViewTestImplementations.java:108)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_InvalidTheme(ViewTestImplementations.java:88)
at org.dataone.integration.it.apiTests.MNViewV2IT.testView_InvalidTheme(MNViewV2IT.java:46)
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)
testView_InvalidTheme(org.dataone.integration.it.apiTests.MNViewV2IT) Time elapsed: 12.223 sec <<< FAILURE!
java.lang.AssertionError: Expected an InvalidRequest exception. Got: ServiceFailure: -1: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
[for host GET https://ncei.nceas.ucsb.edu/mn/v2/views/bogus_theme_yaaaay/testView_InvalidTheme_2017123234732282 ]
at org.junit.Assert.fail(Assert.java:91)
at org.dataone.integration.ContextAwareTestCaseDataone$5.call(ContextAwareTestCaseDataone.java:1825)
at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:70)
at org.dataone.integration.ContextAwareTestCaseDataone.handleFail(ContextAwareTestCaseDataone.java:1820)
at org.dataone.integration.it.ContextAwareAdapter.handleFail(ContextAwareAdapter.java:100)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_InvalidTheme(ViewTestImplementations.java:108)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_InvalidTheme(ViewTestImplementations.java:88)
at org.dataone.integration.it.apiTests.MNViewV2IT.testView_InvalidTheme(MNViewV2IT.java:46)
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)
testView_NotFound(org.dataone.integration.it.apiTests.MNViewV2IT) Time elapsed: 4.686 sec <<< FAILURE!
java.lang.AssertionError: Expected a NotFound exception. Got: ServiceFailure: -1: 404: Not Found: parser for deserializing HTML not written yet. Providing message body:
Page not found at /v2/views/default/bogus pid
Using the URLconf defined in app.urls
,
Django tried these URL patterns, in this order:
-
^v[12]/monitor/ping/?$
-
^v[12]/log/?$
-
^v[12]/?$
-
^v[12]/node/?$
-
^v[12]/object/(.+)$
-
^v[12]/meta/(.+)$
-
^v2/meta$
-
^v[12]/checksum/(.+)$
-
^v[12]/object/?$
-
^v[12]/error/?$
-
^v[12]/replica/(.+)/?$
-
^v[12]/isAuthorized/(.+)/?$
-
^v[12]/dirtySystemMetadata/?$
-
^v[12]/generate/?$
-
^v[12]/archive/(.+)/?$
-
^v[12]/replicate/?$
-
^home/?$
-
^diag/get_replication_queue/?$
-
^diag/echo_session/?$
-
^diag/echo_request_object/?$
-
^diag/echo_raw_post_data/?$
-
^diag$
-
^diag/get_replication_queue$
-
^diag/clear_replication_queue$
-
^diag/set_access_policy/(.+?)$
-
^diag/delete_all_access_policies$
-
^diag/create/(.+)$
-
^diag/slash/(.+?)/(.+?)/(.+?)$
-
^diag/exception/(.+?)$
-
^diag/delete_all_objects$
-
^diag/delete_single_object/(.+?)$
-
^diag/trusted_subjects$
-
^diag/whitelist_subject$
-
^diag/permissions_for_object/(.+?)$
-
^diag/get_setting/(.+)$
-
^diag/delete_event_log$
-
^diag/inject_fictional_event_log$
The current URL, v2/views/default/bogus pid
, didn't match any of these.
You're seeing this error because you have DEBUG = True
in
your Django settings file. Change that to False
, and Django
will display a standard 404 page.
[for host GET https://gmn-s.lternet.edu/mn/v2/views/default/bogus%20pid ]
at org.junit.Assert.fail(Assert.java:91)
at org.dataone.integration.ContextAwareTestCaseDataone$5.call(ContextAwareTestCaseDataone.java:1825)
at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:70)
at org.dataone.integration.ContextAwareTestCaseDataone.handleFail(ContextAwareTestCaseDataone.java:1820)
at org.dataone.integration.it.ContextAwareAdapter.handleFail(ContextAwareAdapter.java:100)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_NotFound(ViewTestImplementations.java:145)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_NotFound(ViewTestImplementations.java:125)
at org.dataone.integration.it.apiTests.MNViewV2IT.testView_NotFound(MNViewV2IT.java:52)
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)
testView_NotFound(org.dataone.integration.it.apiTests.MNViewV2IT) Time elapsed: 4.686 sec <<< FAILURE!
java.lang.AssertionError: Expected a NotFound exception. Got: ServiceFailure: -1: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
[for host GET https://dataone-test.researchworkspace.com/mn/v2/views/default/bogus%20pid ]
at org.junit.Assert.fail(Assert.java:91)
at org.dataone.integration.ContextAwareTestCaseDataone$5.call(ContextAwareTestCaseDataone.java:1825)
at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:70)
at org.dataone.integration.ContextAwareTestCaseDataone.handleFail(ContextAwareTestCaseDataone.java:1820)
at org.dataone.integration.it.ContextAwareAdapter.handleFail(ContextAwareAdapter.java:100)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_NotFound(ViewTestImplementations.java:145)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_NotFound(ViewTestImplementations.java:125)
at org.dataone.integration.it.apiTests.MNViewV2IT.testView_NotFound(MNViewV2IT.java:52)
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)
testView_NotFound(org.dataone.integration.it.apiTests.MNViewV2IT) Time elapsed: 4.687 sec <<< FAILURE!
java.lang.AssertionError: Expected a NotFound exception. Got: ServiceFailure: -1: 404: Not Found: parser for deserializing HTML not written yet. Providing message body:
Page not found at /v2/views/default/bogus pid
Using the URLconf defined in app.urls
,
Django tried these URL patterns, in this order:
-
^v[12]/monitor/ping/?$
[name='get_monitor_ping']
-
^v[12]/log/?$
[name='get_log']
-
^v[12]/?$
[name='get_node']
-
^v[12]/node/?$
-
^v[12]/object/(.+)$
[name='dispatch_object']
-
^v[12]/meta/(.+)$
[name='get_meta']
-
^v2/meta$
[name='put_meta']
-
^v[12]/checksum/(.+)$
[name='get_checksum']
-
^v[12]/object/?$
[name='dispatch_object_list']
-
^v[12]/error/?$
[name='post_error']
-
^v[12]/replica/(.+)/?$
[name='get_replica']
-
^v[12]/isAuthorized/(.+)/?$
[name='get_is_authorized']
-
^v[12]/dirtySystemMetadata/?$
[name='post_refresh_system_metadata']
-
^v[12]/generate/?$
[name='post_generate_identifier']
-
^v[12]/archive/(.+)/?$
[name='put_archive']
-
^v[12]/replicate/?$
[name='post_replicate']
-
^home/?$
[name='home']
-
^diag/get_replication_queue/?$
[name='get_replication_queue']
-
^diag/echo_session/?$
[name='echo_session']
-
^diag/echo_request_object/?$
[name='echo_request_object']
-
^diag/echo_raw_post_data/?$
[name='echo_raw_post_data']
-
^diag$
[name='diag']
-
^diag/get_replication_queue$
[name='get_replication_queue']
-
^diag/clear_replication_queue$
[name='clear_replication_queue']
-
^diag/delete_all_access_policies$
[name='delete_all_access_policies']
-
^diag/create/(.+)$
[name='create']
-
^diag/slash/(.+?)/(.+?)/(.+?)$
[name='slash']
-
^diag/exception/(.+?)$
[name='exception']
-
^diag/delete_all_objects$
[name='delete_all_objects_view']
-
^diag/trusted_subjects$
[name='trusted_subjects']
-
^diag/whitelist_subject$
[name='whitelist_subject']
-
^diag/permissions_for_object/(.+?)$
[name='permissions_for_object']
-
^diag/get_setting/(.+)$
[name='get_setting']
-
^diag/delete_event_log$
[name='delete_event_log']
-
^diag/inject_fictional_event_log$
[name='inject_fictional_event_log']
The current URL, v2/views/default/bogus pid
, didn't match any of these.
You're seeing this error because you have DEBUG = True
in
your Django settings file. Change that to False
, and Django
will display a standard 404 page.
[for host GET https://gmn-s.edirepository.org/mn/v2/views/default/bogus%20pid ]
at org.junit.Assert.fail(Assert.java:91)
at org.dataone.integration.ContextAwareTestCaseDataone$5.call(ContextAwareTestCaseDataone.java:1825)
at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:70)
at org.dataone.integration.ContextAwareTestCaseDataone.handleFail(ContextAwareTestCaseDataone.java:1820)
at org.dataone.integration.it.ContextAwareAdapter.handleFail(ContextAwareAdapter.java:100)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_NotFound(ViewTestImplementations.java:145)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_NotFound(ViewTestImplementations.java:125)
at org.dataone.integration.it.apiTests.MNViewV2IT.testView_NotFound(MNViewV2IT.java:52)
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)
testView_NotFound(org.dataone.integration.it.apiTests.MNViewV2IT) Time elapsed: 4.687 sec <<< FAILURE!
java.lang.AssertionError: Expected a NotFound exception. Got: ServiceFailure: -1: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
500 Internal server error
500 Internal server error
Please notify the administrator.
Home
[for host GET https://ncei.nceas.ucsb.edu/mn/v2/views/default/bogus%20pid ]
at org.junit.Assert.fail(Assert.java:91)
at org.dataone.integration.ContextAwareTestCaseDataone$5.call(ContextAwareTestCaseDataone.java:1825)
at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:70)
at org.dataone.integration.ContextAwareTestCaseDataone.handleFail(ContextAwareTestCaseDataone.java:1820)
at org.dataone.integration.it.ContextAwareAdapter.handleFail(ContextAwareAdapter.java:100)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_NotFound(ViewTestImplementations.java:145)
at org.dataone.integration.it.testImplementations.ViewTestImplementations.testView_NotFound(ViewTestImplementations.java:125)
at org.dataone.integration.it.apiTests.MNViewV2IT.testView_NotFound(MNViewV2IT.java:52)
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)