Regression

org.dataone.integration.it.apiTests.MNViewV2IT.testView_NotAuthorized

Failing for the past 1 build (Since Unstable#500 )
Took 9 sec.

Error Message

Expected a NotAuthorized exception. Got: ServiceFailure: -1: 500: Internal Server Error: parser for deserializing HTML not written yet.  Providing stripped-down html message body starting next line: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at   email@monicaihli.com to inform them of the time this error occurred,  and the actions you performed just before this error. More information about this error may be available in the server error log. Apache/2.4.18 (Ubuntu) Server at pangaea-dev-orc-1.test.dataone.org Port 443 from : POST https://pangaea-dev-orc-1.test.dataone.org/mn/v2/object; MMP message has: ParamPart:pid = testView_NotAuthorized_2018361425229; FilePart:object = /tmp/mmp.output.6055435186168240548.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8710844503044528365.tmp (1069 bytes);   [for host POST https://pangaea-dev-orc-1.test.dataone.org/mn/v2/object; MMP message has: ParamPart:pid = testView_NotAuthorized_2018361425229; FilePart:object = /tmp/mmp.output.6055435186168240548.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8710844503044528365.tmp (1069 bytes);  ]

Stacktrace

java.lang.AssertionError: Expected a NotAuthorized exception. Got: ServiceFailure: -1: 500: Internal Server Error: parser for deserializing HTML not written yet.  Providing stripped-down html message body starting next line:
Internal Server Error
The server encountered an internal error or
misconfiguration and was unable to complete
your request.
Please contact the server administrator at 
 email@monicaihli.com to inform them of the time this error occurred,
 and the actions you performed just before this error.
More information about this error may be available
in the server error log.
Apache/2.4.18 (Ubuntu) Server at pangaea-dev-orc-1.test.dataone.org Port 443
from : POST https://pangaea-dev-orc-1.test.dataone.org/mn/v2/object; MMP message has: ParamPart:pid = testView_NotAuthorized_2018361425229; FilePart:object = /tmp/mmp.output.6055435186168240548.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8710844503044528365.tmp (1069 bytes);   [for host POST https://pangaea-dev-orc-1.test.dataone.org/mn/v2/object; MMP message has: ParamPart:pid = testView_NotAuthorized_2018361425229; FilePart:object = /tmp/mmp.output.6055435186168240548.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.8710844503044528365.tmp (1069 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:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	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:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	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)