61org.dataone.integration.it.apiTests.MNViewV2IT11.412Expected a NotAuthorized exception. Got: ServiceFailure: -1: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>500 Internal server error</title> </head> <body> <p> <h3 style="color:red;">500 Internal server error</h3> </p> <p> Please notify the administrator. </p> <p> <a href="/">Home</a> </p> </body> </html> from : POST https://ubuntu16-04.kitty.ninja/mn/v2/object; MMP message has: ParamPart:pid = testView_NotAuthorized_2017154234135289; FilePart:object = /tmp/mmp.output.8891616684340525361.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3969103982205749921.tmp (1072 bytes); [for host POST https://ubuntu16-04.kitty.ninja/mn/v2/object; MMP message has: ParamPart:pid = testView_NotAuthorized_2017154234135289; FilePart:object = /tmp/mmp.output.8891616684340525361.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3969103982205749921.tmp (1072 bytes); ]java.lang.AssertionError: Expected a NotAuthorized exception. Got: ServiceFailure: -1: 500: Internal Server Error: parser for deserializing HTML not written yet. Providing message body:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>500 Internal server error</title>
</head>
<body>
<p>
<h3 style="color:red;">500 Internal server error</h3>
</p>
<p>
Please notify the administrator.
</p>
<p>
<a href="/">Home</a>
</p>
</body>
</html>
from : POST https://ubuntu16-04.kitty.ninja/mn/v2/object; MMP message has: ParamPart:pid = testView_NotAuthorized_2017154234135289; FilePart:object = /tmp/mmp.output.8891616684340525361.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3969103982205749921.tmp (1072 bytes); [for host POST https://ubuntu16-04.kitty.ninja/mn/v2/object; MMP message has: ParamPart:pid = testView_NotAuthorized_2017154234135289; FilePart:object = /tmp/mmp.output.8891616684340525361.tmp (17181 bytes); FilePart:sysmeta = /tmp/mmp.output.3969103982205749921.tmp (1072 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)
436testView_NotAuthorizedfalseFAILED