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 80A00200AE3 for ; Wed, 4 May 2016 21:27:39 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7F4411609FC; Wed, 4 May 2016 19:27:39 +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 A06321609A1 for ; Wed, 4 May 2016 21:27:38 +0200 (CEST) Received: (qmail 3202 invoked by uid 500); 4 May 2016 19:27:37 -0000 Mailing-List: contact commits-help@apex.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.incubator.apache.org Delivered-To: mailing list commits@apex.incubator.apache.org Received: (qmail 3193 invoked by uid 99); 4 May 2016 19:27:37 -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; Wed, 04 May 2016 19:27:37 +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 6BAE91A5364 for ; Wed, 4 May 2016 19:27:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.221 X-Spam-Level: X-Spam-Status: No, score=-3.221 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 3jH9UZ2FRM0b for ; Wed, 4 May 2016 19:27:35 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id CD9C45F3F5 for ; Wed, 4 May 2016 19:27:34 +0000 (UTC) Received: (qmail 3182 invoked by uid 99); 4 May 2016 19:27:34 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 May 2016 19:27:34 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2A2F9DFDD0; Wed, 4 May 2016 19:27:34 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: thw@apache.org To: commits@apex.incubator.apache.org Message-Id: <88f2fb21e5864093a32199a2d1097609@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-apex-core git commit: APEXCORE-427 disable tests that produce false negatives in travis Date: Wed, 4 May 2016 19:27:34 +0000 (UTC) archived-at: Wed, 04 May 2016 19:27:39 -0000 Repository: incubator-apex-core Updated Branches: refs/heads/master c2903da2f -> a703921e8 APEXCORE-427 disable tests that produce false negatives in travis Project: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/commit/a703921e Tree: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/tree/a703921e Diff: http://git-wip-us.apache.org/repos/asf/incubator-apex-core/diff/a703921e Branch: refs/heads/master Commit: a703921e81507094e8782497e193ff16c752e9ca Parents: c2903da Author: David Yan Authored: Tue May 3 16:17:09 2016 -0700 Committer: David Yan Committed: Wed May 4 11:28:01 2016 -0700 ---------------------------------------------------------------------- .travis.yml | 3 +++ .../datatorrent/stram/StreamingContainerManagerTest.java | 6 ++++++ .../datatorrent/stram/plan/logical/DelayOperatorTest.java | 10 ++++++++++ .../com/datatorrent/stram/support/StramTestSupport.java | 5 +++++ 4 files changed, 24 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-apex-core/blob/a703921e/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index 5540704..f414c25 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,9 @@ language: java script: mvn apache-rat:check verify -Dlicense.skip=false +env: + - TRAVIS=1 + notifications: slack: secure: GlWD2EjgNC6Lg2DtAfZuKhg2RTHE0FMeyfHH24D7TKmV49gRVTzTTqvExwOdLLYDDIu966eOF5w90/PfiD11A4rpm6+WyjRHDkpOhTyjBKWc2btMqNwiP1hRf2uKEG6A+RgszaQJ4HkGiMxIpDJ3o/jaTpBseOeA399t8Z7Pkd6obXVAEMcnm2XtfUPzIBqGblVkiecS3OzbkzjKWaOG6+nlp+ajVO7MazsOR05JNZ1MXnDOK/Qq/7xLBtweF4r/O8okyg52fST4pGqk4JTTI++bVFoRySpjNWSSJbdrfkWG/7h0sfqMcwMj8TpZqojcCuTvZih+IyPZwX3MP6Ls4bF6OFcD3BvWg049WbstA6ZdKnVW9fOiJoJ+Bx9gNI0tKtYeDt/8nMBfSRVMmzRVEGdTOEEpFs7n79OVVytwbp8qYFU+waqlG1/tMQvCclSaxuY8d236Ybg410KLiMQ0YhQ8ZaTVagHu2l0KrfV16Xq3/CRsolHa8k7PxDzmCxdi07Ao/mrorQLmJWoc7FkxEw6ZrEGHP17HTn5uidoTkANgGak4AVgrJm6zLKdAERxvr1KMnfyuJLT1ZK1x73SV+3EpdzcMLxvq2dMaBpZcfARiYB04EwSHVBdm/D0AIZtRL2s1rG85y1OtCkDMd04ZEvbwdKYZ+fD+HjTn7Zo7AKM= http://git-wip-us.apache.org/repos/asf/incubator-apex-core/blob/a703921e/engine/src/test/java/com/datatorrent/stram/StreamingContainerManagerTest.java ---------------------------------------------------------------------- diff --git a/engine/src/test/java/com/datatorrent/stram/StreamingContainerManagerTest.java b/engine/src/test/java/com/datatorrent/stram/StreamingContainerManagerTest.java index 1c052bd..3bf9b11 100644 --- a/engine/src/test/java/com/datatorrent/stram/StreamingContainerManagerTest.java +++ b/engine/src/test/java/com/datatorrent/stram/StreamingContainerManagerTest.java @@ -922,6 +922,12 @@ public class StreamingContainerManagerTest @Test public void testAppDataPush() throws Exception { + if (StramTestSupport.isInTravis()) { + // disable this test in travis because of an intermittent problem similar to this: + // http://stackoverflow.com/questions/32172925/travis-ci-sporadic-timeouts-to-localhost + // We should remove this when we find a solution to this. + return; + } final String topic = "xyz"; final List messages = new ArrayList<>(); EmbeddedWebSocketServer server = new EmbeddedWebSocketServer(0); http://git-wip-us.apache.org/repos/asf/incubator-apex-core/blob/a703921e/engine/src/test/java/com/datatorrent/stram/plan/logical/DelayOperatorTest.java ---------------------------------------------------------------------- diff --git a/engine/src/test/java/com/datatorrent/stram/plan/logical/DelayOperatorTest.java b/engine/src/test/java/com/datatorrent/stram/plan/logical/DelayOperatorTest.java index e4a2681..edd6dd9 100644 --- a/engine/src/test/java/com/datatorrent/stram/plan/logical/DelayOperatorTest.java +++ b/engine/src/test/java/com/datatorrent/stram/plan/logical/DelayOperatorTest.java @@ -326,6 +326,11 @@ public class DelayOperatorTest @Test public void testFibonacciRecovery1() throws Exception { + if (StramTestSupport.isInTravis()) { + // disable this test in travis because the failure is apparently intermittently not invoked only on travis + // We should remove this when we find a solution to this. + return; + } LogicalPlan dag = StramTestSupport.createDAG(testMeta); TestGeneratorInputOperator dummyInput = dag.addOperator("DUMMY", TestGeneratorInputOperator.class); @@ -360,6 +365,11 @@ public class DelayOperatorTest @Test public void testFibonacciRecovery2() throws Exception { + if (StramTestSupport.isInTravis()) { + // disable this test in travis because the failure is apparently intermittently not invoked only on travis + // We should remove this when we find a solution to this. + return; + } LogicalPlan dag = StramTestSupport.createDAG(testMeta); TestGeneratorInputOperator dummyInput = dag.addOperator("DUMMY", TestGeneratorInputOperator.class); http://git-wip-us.apache.org/repos/asf/incubator-apex-core/blob/a703921e/engine/src/test/java/com/datatorrent/stram/support/StramTestSupport.java ---------------------------------------------------------------------- diff --git a/engine/src/test/java/com/datatorrent/stram/support/StramTestSupport.java b/engine/src/test/java/com/datatorrent/stram/support/StramTestSupport.java index 5014a76..43741c0 100644 --- a/engine/src/test/java/com/datatorrent/stram/support/StramTestSupport.java +++ b/engine/src/test/java/com/datatorrent/stram/support/StramTestSupport.java @@ -387,6 +387,11 @@ public abstract class StramTestSupport return createDAG(testMeta, ""); } + public static boolean isInTravis() + { + return "1".equals(System.getenv("TRAVIS")); + } + public static class MemoryStorageAgent implements StorageAgent, Serializable { static class OperatorWindowIdPair implements Serializable