geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jared Stewart (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GEODE-3426) CI Rest test failures
Date Thu, 07 Sep 2017 20:50:01 GMT

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

Jared Stewart updated GEODE-3426:
---------------------------------
    Component/s: management

> CI Rest test failures
> ---------------------
>
>                 Key: GEODE-3426
>                 URL: https://issues.apache.org/jira/browse/GEODE-3426
>             Project: Geode
>          Issue Type: Bug
>          Components: management, rest (dev)
>            Reporter: Bruce Schuchardt
>              Labels: ci
>
> A number of Rest tests are failing when running precheckin on Windows
> {noformat}
> org.apache.geode.rest.internal.web.controllers.RestAPIsQueryAndFEJUnitTest > testCreateAsJson
FAILED
>     java.lang.AssertionError: expected:<201> but was:<503>
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.failNotEquals(Assert.java:834)
>         at org.junit.Assert.assertEquals(Assert.java:118)
>         at org.junit.Assert.assertEquals(Assert.java:144)
>         at org.apache.geode.rest.internal.web.controllers.RestAPIsQueryAndFEJUnitTest.executeQueryTestCases(RestAPIsQueryAndFEJUnitTest.java:831)
>         at org.apache.geode.rest.internal.web.controllers.RestAPIsQueryAndFEJUnitTest.testCreateAsJson(RestAPIsQueryAndFEJUnitTest.java:677)
> org.apache.geode.rest.internal.web.RestInterfaceJUnitTest > testRegionObjectWithDatePropertyAccessedWithRestApi
FAILED
>     org.springframework.web.client.ResourceAccessException: I/O error on GET request
for "http://localhost:25877/gemfire-api/v1/People/1": stream is closed; nested exception is
java.io.IOException: stream is closed
>         at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:666)
>         at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:613)
>         at org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:287)
>         at org.apache.geode.rest.internal.web.RestInterfaceJUnitTest.testRegionObjectWithDatePropertyAccessedWithRestApi(RestInterfaceJUnitTest.java:317)
>         Caused by:
>         java.io.IOException: stream is closed
>             at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.ensureOpen(HttpURLConnection.java:3348)
>             at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3353)
>             at java.io.FilterInputStream.read(FilterInputStream.java:83)
>             at java.io.PushbackInputStream.read(PushbackInputStream.java:139)
>             at org.springframework.web.client.MessageBodyClientHttpResponseWrapper.hasEmptyMessageBody(MessageBodyClientHttpResponseWrapper.java:97)
>             at org.springframework.web.client.HttpMessageConverterExtractor.extractData(HttpMessageConverterExtractor.java:82)
>             at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:655)
>             ... 3 more
> org.apache.geode.rest.internal.web.RestServersJUnitTest > testGet FAILED
>     org.junit.ComparisonFailure: expected:<[200]> but was:<[503]>
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>         at org.apache.geode.rest.internal.web.RestServersJUnitTest.testGet(RestServersJUnitTest.java:49)
> org.apache.geode.rest.internal.web.RestServersJUnitTest > testServerStartedOnDefaultPort
FAILED
>     org.json.JSONException: Value <html> of type java.lang.String cannot be converted
to JSONArray
>         at org.json.JSON.typeMismatch(JSON.java:108)
>         at org.json.JSONArray.<init>(JSONArray.java:85)
>         at org.apache.geode.rest.internal.web.GeodeRestClient.getJsonArray(GeodeRestClient.java:99)
>         at org.apache.geode.rest.internal.web.RestServersJUnitTest.testServerStartedOnDefaultPort(RestServersJUnitTest.java:55)
> org.apache.geode.rest.internal.web.SwaggerVerificationTest > isSwaggerRunning FAILED
>     java.lang.AssertionError: 
>     Expected: is <200>
>          but: was <503>
>         at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
>         at org.junit.Assert.assertThat(Assert.java:956)
>         at org.junit.Assert.assertThat(Assert.java:923)
>         at org.apache.geode.rest.internal.web.SwaggerVerificationTest.isSwaggerRunning(SwaggerVerificationTest.java:44)
> {noformat}



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

Mime
View raw message