[ 
https://issues.apache.org/jira/browse/KNOX-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeffrey E  Rodriguez updated KNOX-446:
--------------------------------------
    Attachment: KNOX-461.001.patch

reverses the changes to ignore 2 testcases.

> Two WebHdfsHaFuncTest are unstable and should be disabled, fixed and reenabled
> ------------------------------------------------------------------------------
>
>                 Key: KNOX-446
>                 URL: https://issues.apache.org/jira/browse/KNOX-446
>             Project: Apache Knox
>          Issue Type: Test
>          Components: Tests
>    Affects Versions: 0.5.0
>            Reporter: Kevin Minder
>            Assignee: Sumit Gupta
>            Priority: Critical
>             Fix For: Future
>
>         Attachments: KNOX-446.patch, KNOX-461.001.patch
>
>
> {code}
> Regression
> org.apache.hadoop.gateway.WebHdfsHaFuncTest.testServerInStandby
> Error Message
> 2 expectations failed.
> Expected status code <200> doesn't match actual status code <500>.
> XML path FileStatuses.FileStatus[0].pathSuffix doesn't match.
> Expected: is "app-logs"
>   Actual: 
> Stacktrace
> java.lang.AssertionError: 2 expectations failed.
> Expected status code <200> doesn't match actual status code <500>.
> XML path FileStatuses.FileStatus[0].pathSuffix doesn't match.
> Expected: is "app-logs"
>   Actual: 
>       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>       at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>       at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>       at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
>       at 
> org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
>       at 
> org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:71)
>       at 
> org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81)
>       at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:54)
>       at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
>       at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190)
>       at 
> com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:399)
>       at 
> com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate.call(Unknown
>  Source)
>       at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
>       at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
>       at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
>       at 
> com.jayway.restassured.internal.RequestSpecificationImpl.invokeFilterChain(RequestSpecificationImpl.groovy:759)
>       at 
> com.jayway.restassured.internal.RequestSpecificationImpl$invokeFilterChain.callCurrent(Unknown
>  Source)
>       at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
>       at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
>       at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
>       at 
> com.jayway.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1142)
>       at 
> com.jayway.restassured.internal.RequestSpecificationImpl.this$2$applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy)
>       at 
> com.jayway.restassured.internal.RequestSpecificationImpl$this$2$applyPathParamsAndSendRequest.callCurrent(Unknown
>  Source)
>       at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:46)
>       at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:133)
>       at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:149)
>       at 
> com.jayway.restassured.internal.RequestSpecificationImpl.get(RequestSpecificationImpl.groovy:131)
>       at com.jayway.restassured.specification.RequestSender$get.call(Unknown 
> Source)
>       at 
> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
>       at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
>       at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
>       at 
> com.jayway.restassured.internal.ResponseSpecificationImpl.get(ResponseSpecificationImpl.groovy:226)
>       at 
> org.apache.hadoop.gateway.WebHdfsHaFuncTest.testServerInStandby(WebHdfsHaFuncTest.java:256)
> Standard Output
> HTTP/1.1 500 Server Error
> Set-Cookie: 
> JSESSIONID=1xjvcsn8t6lixo9i94kl66rh7;Path=/gateway/cluster;Secure;HttpOnly
> Expires: Thu, 01 Jan 1970 00:00:00 GMT
> Cache-Control: must-revalidate,no-cache,no-store
> Server: Jetty(8.1.14.v20131031)
> Content-Type: text/html;charset=ISO-8859-1
> Content-Length: 1283
> <html xmlns="http://www.w3.org/1999/xhtml";>
>   <head>
>     <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
>     <title>
>       Error 500 Server Error
>     </title>
>   </head>
>   <body>
>     <h2>
>       HTTP ERROR: 500
>     </h2>
>     <p>
>       Problem accessing /webhdfs/v1/. Reason:
>     </p>
>     <pre>
>       Server Error
>     </pre>
>     <hr/>
>     <i>
>       <small>
>         Powered by Jetty://
>       </small>
>     </i>
>   </body>
> </html>
> Standard Error
> java.lang.AssertionError: Mock servlet master received a request but the 
> expected interaction queue is empty.
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.apache.hadoop.test.mock.MockServlet.service(MockServlet.java:43)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>       at 
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:229)
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
>       at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
>       at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
>       at org.eclipse.jetty.server.Server.handle(Server.java:370)
>       at 
> org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
>       at 
> org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
>       at 
> org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
>       at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
>       at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
>       at 
> org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
>       at 
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)
>       at 
> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
>       at 
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
>       at 
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
>       at java.lang.Thread.run(Thread.java:722)
> {code}
> {code}
> Regression
> org.apache.hadoop.gateway.WebHdfsHaFuncTest.testFailoverListOperation
> Failing for the past 1 build (Since Failed#101 )
> Took 3.2 sec.
> Error Message
> 2 expectations failed.
> Expected status code <200> doesn't match actual status code <500>.
> XML path FileStatuses.FileStatus[0].pathSuffix doesn't match.
> Expected: is "app-logs"
>   Actual: 
> Stacktrace
> java.lang.AssertionError: 2 expectations failed.
> Expected status code <200> doesn't match actual status code <500>.
> XML path FileStatuses.FileStatus[0].pathSuffix doesn't match.
> Expected: is "app-logs"
>   Actual: 
>       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>       at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>       at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>       at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
>       at 
> org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
>       at 
> org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:71)
>       at 
> org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81)
>       at 
> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190)
>       at 
> com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:399)
>       at 
> com.jayway.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate.call(Unknown
>  Source)
>       at 
> com.jayway.restassured.internal.RequestSpecificationImpl.invokeFilterChain(RequestSpecificationImpl.groovy:759)
>       at 
> com.jayway.restassured.internal.RequestSpecificationImpl$invokeFilterChain.callCurrent(Unknown
>  Source)
>       at 
> com.jayway.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1142)
>       at 
> com.jayway.restassured.internal.RequestSpecificationImpl.this$2$applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy)
>       at 
> com.jayway.restassured.internal.RequestSpecificationImpl$this$2$applyPathParamsAndSendRequest.callCurrent(Unknown
>  Source)
>       at 
> com.jayway.restassured.internal.RequestSpecificationImpl.get(RequestSpecificationImpl.groovy:131)
>       at com.jayway.restassured.specification.RequestSender$get.call(Unknown 
> Source)
>       at 
> com.jayway.restassured.internal.ResponseSpecificationImpl.get(ResponseSpecificationImpl.groovy:226)
>       at 
> org.apache.hadoop.gateway.WebHdfsHaFuncTest.testFailoverListOperation(WebHdfsHaFuncTest.java:199)
> Standard Output
> ERROR [org.apache.hadoop.gateway] Failed to execute filter: 
> java.io.IOException: java.io.IOException: Service connectivity error.
> ERROR [org.apache.hadoop.gateway] Failed to execute filter: 
> java.io.IOException: java.io.IOException: Service connectivity error.
> ERROR [org.apache.hadoop.gateway] Failed to execute filter: 
> javax.servlet.ServletException: org.apache.shiro.subject.ExecutionException: 
> java.security.PrivilegedActionException: java.io.IOException: 
> java.io.IOException: Service connectivity error.
> ERROR [org.apache.hadoop.gateway] Failed to execute filter: 
> javax.servlet.ServletException: org.apache.shiro.subject.ExecutionException: 
> java.security.PrivilegedActionException: java.io.IOException: 
> java.io.IOException: Service connectivity error.
> ERROR [org.apache.hadoop.gateway] Failed to execute filter: 
> javax.servlet.ServletException: org.apache.shiro.subject.ExecutionException: 
> java.security.PrivilegedActionException: java.io.IOException: 
> java.io.IOException: Service connectivity error.
> HTTP/1.1 500 Server Error
> Set-Cookie: 
> JSESSIONID=1uxyp95g3cankc5boln57ew78;Path=/gateway/cluster;Secure;HttpOnly
> Content-Type: text/html;charset=ISO-8859-1
> Cache-Control: must-revalidate,no-cache,no-store
> Content-Length: 1398
> Server: Jetty(8.1.14.v20131031)
> <html xmlns="http://www.w3.org/1999/xhtml";>
>   <head>
>     <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
>     <title>
>       Error 500 Server Error
>     </title>
>   </head>
>   <body>
>     <h2>
>       HTTP ERROR 500
>     </h2>
>     <p>
>       Problem accessing /gateway/cluster/webhdfs/v1/. Reason:
>     </p>
>     <pre>
>       Server Error
>     </pre>
>     <hr/>
>     <i>
>       <small>
>         Powered by Jetty://
>       </small>
>     </i>
>     <br clear="none"/>
>     <br clear="none"/>
>     <br clear="none"/>
>     <br clear="none"/>
>     <br clear="none"/>
>     <br clear="none"/>
>     <br clear="none"/>
>     <br clear="none"/>
>     <br clear="none"/>
>     <br clear="none"/>
>     <br clear="none"/>
>     <br clear="none"/>
>     <br clear="none"/>
>     <br clear="none"/>
>     <br clear="none"/>
>     <br clear="none"/>
>     <br clear="none"/>
>     <br clear="none"/>
>     <br clear="none"/>
>     <br clear="none"/>
>   </body>
> </html>
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to