Return-Path: X-Original-To: apmail-flink-dev-archive@www.apache.org Delivered-To: apmail-flink-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5283618233 for ; Tue, 23 Jun 2015 11:41:54 +0000 (UTC) Received: (qmail 32326 invoked by uid 500); 23 Jun 2015 11:41:54 -0000 Delivered-To: apmail-flink-dev-archive@flink.apache.org Received: (qmail 32266 invoked by uid 500); 23 Jun 2015 11:41:54 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 32255 invoked by uid 99); 23 Jun 2015 11:41:53 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2015 11:41:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 7E5ADC12D1 for ; Tue, 23 Jun 2015 11:41:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.01 X-Spam-Level: X-Spam-Status: No, score=-0.01 tagged_above=-999 required=6.31 tests=[SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id WUl5VrNbUqnF for ; Tue, 23 Jun 2015 11:41:43 +0000 (UTC) Received: from mailout1.informatik.hu-berlin.de (mailout1.informatik.hu-berlin.de [141.20.20.101]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 09DE7428DF for ; Tue, 23 Jun 2015 11:41:42 +0000 (UTC) Received: from mailbox.informatik.hu-berlin.de (mailbox [141.20.20.63]) by mail.informatik.hu-berlin.de (8.14.7/8.14.7/INF-2.0-MA-SOLARIS-2.10-25) with ESMTP id t5NBfXuR008591 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 23 Jun 2015 13:41:35 +0200 (MEST) Received: from [141.20.27.42] (localhost [127.0.0.1]) (authenticated bits=0) by mailbox.informatik.hu-berlin.de (8.14.7/8.14.7/INF-2.0-MA-SOLARIS-2.10-AUTH-26-465-587) with ESMTP id t5NBfXIH008587 for ; Tue, 23 Jun 2015 13:41:33 +0200 (MEST) Message-ID: <55894539.50301@informatik.hu-berlin.de> Date: Tue, 23 Jun 2015 13:38:33 +0200 From: "Matthias J. Sax" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: dev@flink.apache.org Subject: Re: Assertion Error in flink-test References: <55891323.4070001@informatik.hu-berlin.de> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Sb64bqa3xG55xuq2FEA7FPwK0dc30UOrl" X-Virus-Scanned: clamav-milter 0.98.4 at mailbox X-Virus-Status: Clean X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.5.1 (mail.informatik.hu-berlin.de [141.20.20.50]); Tue, 23 Jun 2015 13:41:35 +0200 (MEST) --Sb64bqa3xG55xuq2FEA7FPwK0dc30UOrl Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Shall I provide a PR to fix this test using .collect()? JIRA? -Matthias On 06/23/2015 12:22 PM, Stephan Ewen wrote: > Hi! >=20 > On Travis, there seems to be the weird issue that the file writing in t= he > tests is not completely reliable. Sometimes the test results are read f= rom > incomplete/stale files. >=20 > I lazily try to migrate failed tests to using "collect()". This seems > reliable on Travis. >=20 > Cheers, > Stephan >=20 >=20 > On Tue, Jun 23, 2015 at 10:04 AM, Matthias J. Sax < > mjsax@informatik.hu-berlin.de> wrote: >=20 >> Hi, >> >> a recent build failed for me, due to an AssertionError: >> >>> Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.479= >> sec <<< FAILURE! - in org.apache.flink.test.javaApiOperators.SumMinMax= ITCase >>> testGroupedAggregate[Execution mode =3D >> CLUSTER](org.apache.flink.test.javaApiOperators.SumMinMaxITCase) Time >> elapsed: 0.983 sec <<< FAILURE! >>> java.lang.AssertionError: Different number of lines in expected and >> obtained result. expected:<6> but was:<3> >>> at org.junit.Assert.fail(Assert.java:88) >>> at org.junit.Assert.failNotEquals(Assert.java:743) >>> at org.junit.Assert.assertEquals(Assert.java:118) >>> at org.junit.Assert.assertEquals(Assert.java:555) >>> at >> org.apache.flink.test.util.TestBaseUtils.compareResultsByLinesInMemory= (TestBaseUtils.java:270) >>> at >> org.apache.flink.test.util.TestBaseUtils.compareResultsByLinesInMemory= (TestBaseUtils.java:256) >>> at >> org.apache.flink.test.javaApiOperators.SumMinMaxITCase.after(SumMinMax= ITCase.java:56) >> >> Please see: https://travis-ci.org/mjsax/flink/jobs/67853420 >> >> Is this a knows issue? I never encountered this error before. >> >> >> -Matthias >> >> >=20 --Sb64bqa3xG55xuq2FEA7FPwK0dc30UOrl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJViUU5AAoJEBXkotPFErDWHssP/3gnOV0MkNP1TdxDDjHpTDzn EwIp+65eYeH7z4b9tca4KvDpnxrJRVX4BqFXDm1xcN/ZRhdvgAbF81d2U6HwEzo4 xqiLABD2/obR30f8tVV0JNJ+2hNLBRdxcREX8CcRrUhpwyA1gznTTVbLYmGER23F 8cDYkCky6rClYtjmQMYkKILDEAsDEuJ5EJJt9OvG5IoRyRPkZGd8i28XEOQwEAbm UDdK22I1J1sRs9QEiZlP8n94CRn6h5bvF25sdk2XUjw1v6obHjEEq0f67WwWHmQ5 PH9LRGe6Rgh+78bDnjmjwKd7qBxA1c9X61pjqgJZcpxAWnohSTssOnfWZ88KNhOu DRCEqJziWzGmsCgG8cXdPKDievkVGi4BzRNGLHZuJZQF5O3Wch88clnDxa4D9K7g NZYtlljGJNGy+EPwjMWHQSuujPz8Dojlfo8s3c3800+EERxxFJm8OLpg5UtMwna9 NgcEl6EkJRnoQk/QSxpNfy5rD+eyWGgVBne/Ys0pQIH4W/IPX0cQPrf63TtrhWqL Ld6Xz7SUUZSy+UAJV9uV/6SmTXqYhlvxDQMICBndUg+vEC9FaWazURmcUGZ0vtRD OnPeItO6A+tmVXo53aXJVSqRfidtiHvfiZCkSSzYER7FLg0oaiXn/6Qc3okHcSZZ lbPoav648/lvIu1wIeA6 =FIO3 -----END PGP SIGNATURE----- --Sb64bqa3xG55xuq2FEA7FPwK0dc30UOrl--