Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0FBF3200D01 for ; Thu, 7 Sep 2017 17:39:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0F9471609BB; Thu, 7 Sep 2017 15:39:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2F6B31609C5 for ; Thu, 7 Sep 2017 17:39:09 +0200 (CEST) Received: (qmail 46878 invoked by uid 500); 7 Sep 2017 15:39:08 -0000 Mailing-List: contact issues-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list issues@geode.apache.org Received: (qmail 46866 invoked by uid 99); 7 Sep 2017 15:39:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Sep 2017 15:39:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 6BDC21A701E for ; Thu, 7 Sep 2017 15:39:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100 X-Spam-Level: X-Spam-Status: No, score=-100 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100, WEIRD_PORT=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id kNkSybLdGNmR for ; Thu, 7 Sep 2017 15:39:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 5BC5F5F3CF for ; Thu, 7 Sep 2017 15:39:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7F4D0E0059 for ; Thu, 7 Sep 2017 15:39:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3AE4A24143 for ; Thu, 7 Sep 2017 15:39:00 +0000 (UTC) Date: Thu, 7 Sep 2017 15:39:00 +0000 (UTC) From: "Bruce Schuchardt (JIRA)" To: issues@geode.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (GEODE-3426) CI Rest failures on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 07 Sep 2017 15:39:10 -0000 [ https://issues.apache.org/jira/browse/GEODE-3426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruce Schuchardt reopened GEODE-3426: ------------------------------------- This test is now failing intermittently in Jenkins builds. {noformat} geode-assembly:integrationTest org.apache.geode.rest.internal.web.RestServersJUnitTest > testGet FAILED org.junit.ComparisonFailure: expected:<[200]> but was:<[404]> 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 of type java.lang.String cannot be converted to JSONArray at org.json.JSON.typeMismatch(JSON.java:108) at org.json.JSONArray.(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) {noformat} > CI Rest failures on Windows > --------------------------- > > Key: GEODE-3426 > URL: https://issues.apache.org/jira/browse/GEODE-3426 > Project: Geode > Issue Type: Bug > Components: rest (dev) > Reporter: Bruce Schuchardt > > 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 of type java.lang.String cannot be converted to JSONArray > at org.json.JSON.typeMismatch(JSON.java:108) > at org.json.JSONArray.(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)