Kirk Lund created GEODE-2539:
--------------------------------

             Summary: Upgrading Jetty causes RestSecurityIntegrationTest to fail
                 Key: GEODE-2539
                 URL: https://issues.apache.org/jira/browse/GEODE-2539
             Project: Geode
          Issue Type: Bug
          Components: rest (admin), security, tests
            Reporter: Kirk Lund


Upgrading our jetty dependency in gradle/dependency-versions.properties:

-jetty.version = 9.3.6.v20151106
+jetty.version = 9.4.0.v20161208

Causes these RestSecurityIntegrationTest tests to fail (possibly 
intermittently):

{noformat}
:geode-assembly:integrationTest

org.apache.geode.rest.internal.web.RestSecurityIntegrationTest > headRegion 
FAILED
    org.apache.http.NoHttpResponseException: localhost:21423 failed to respond
        at 
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:143)
        at 
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
        at 
org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)
        at 
org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)
        at 
org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)
        at 
org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)
        at 
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)
        at 
org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)
        at 
org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
        at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
        at 
org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
        at 
org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
        at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71)
        at 
org.apache.geode.rest.internal.web.GeodeRestClient.doRequest(GeodeRestClient.java:161)
        at 
org.apache.geode.rest.internal.web.GeodeRestClient.doHEAD(GeodeRestClient.java:104)
        at 
org.apache.geode.rest.internal.web.RestSecurityIntegrationTest.headRegion(RestSecurityIntegrationTest.java:246)

org.apache.geode.rest.internal.web.RestSecurityIntegrationTest > testServers 
FAILED
    org.apache.http.client.ClientProtocolException
        at 
org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)
        at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71)
        at 
org.apache.geode.rest.internal.web.GeodeRestClient.doRequest(GeodeRestClient.java:161)
        at 
org.apache.geode.rest.internal.web.GeodeRestClient.doGet(GeodeRestClient.java:125)
        at 
org.apache.geode.rest.internal.web.RestSecurityIntegrationTest.testServers(RestSecurityIntegrationTest.java:165)

        Caused by:
        org.apache.http.ProtocolException: The server failed to respond with a 
valid HTTP response
            at 
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:151)
            at 
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
            at 
org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)
            at 
org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)
            at 
org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)
            at 
org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)
            at 
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)
            at 
org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)
            at 
org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
            at 
org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
            at 
org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
            at 
org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
            ... 4 more

38 tests completed, 2 failed
:geode-assembly:integrationTest FAILED
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to