From jira-return-10454-archive-asf-public=cust-asf.ponee.io@kafka.apache.org Tue Mar 6 06:07:06 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 32A5B180676 for ; Tue, 6 Mar 2018 06:07:06 +0100 (CET) Received: (qmail 21672 invoked by uid 500); 6 Mar 2018 05:07:04 -0000 Mailing-List: contact jira-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@kafka.apache.org Delivered-To: mailing list jira@kafka.apache.org Received: (qmail 21660 invoked by uid 99); 6 Mar 2018 05:07:04 -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; Tue, 06 Mar 2018 05:07:04 +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 C28101A0558 for ; Tue, 6 Mar 2018 05:07:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -102.311 X-Spam-Level: X-Spam-Status: No, score=-102.311 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] 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 fQGXRX1dp8kT for ; Tue, 6 Mar 2018 05:07:03 +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 715135F67B for ; Tue, 6 Mar 2018 05:07:02 +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 A8098E035B for ; Tue, 6 Mar 2018 05:07:01 +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 211A62127A for ; Tue, 6 Mar 2018 05:07:01 +0000 (UTC) Date: Tue, 6 Mar 2018 05:07:01 +0000 (UTC) From: "Ewen Cheslack-Postava (JIRA)" To: jira@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KAFKA-5199) Run Kafka JUnit build inside Docker MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KAFKA-5199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16387294#comment-16387294 ] Ewen Cheslack-Postava commented on KAFKA-5199: ---------------------------------------------- [~cmccabe] Do we still need this? I spent time quite awhile ago cleaning up the tests to not rely on fixed ports as this, as well as things like fixed /tmp locations for data, are well known causes of transient failures. This is also why ducktape avoids sharing resources as aggressively (and expensively!) as it does. Docker has definitely become more popular, but I don't think it is safe to assume every developer will have it available. While we don't emphasize testing for them, Windows developers seem the least likely to have it. Even developers on OS X may not, and anyone on a BSD that we'd otherwise expect to work would probably be unable to run tests. Is baking a Linux-specific tool into the build something we really want to do? > Run Kafka JUnit build inside Docker > ----------------------------------- > > Key: KAFKA-5199 > URL: https://issues.apache.org/jira/browse/KAFKA-5199 > Project: Kafka > Issue Type: Bug > Reporter: Colin P. McCabe > Assignee: Colin P. McCabe > Priority: Major > > We should run the Kafka JUnit build inside Docker. This would avoid "port in use" conflicts when running multiple jobs on the same node with a fixed port. It would also help lock down the specific Linux environment and make failures more reproducible. -- This message was sent by Atlassian JIRA (v7.6.3#76005)