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 02DFE200C2C for ; Fri, 3 Mar 2017 20:06:52 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0173B160B6D; Fri, 3 Mar 2017 19:06:52 +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 4E113160B5E for ; Fri, 3 Mar 2017 20:06:51 +0100 (CET) Received: (qmail 6223 invoked by uid 500); 3 Mar 2017 19:06:50 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 6212 invoked by uid 99); 3 Mar 2017 19:06:50 -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; Fri, 03 Mar 2017 19:06:50 +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 E1B6F1AA29A for ; Fri, 3 Mar 2017 19:06:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.347 X-Spam-Level: X-Spam-Status: No, score=-2.347 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652] 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 Cp0FFJhMVy7I for ; Fri, 3 Mar 2017 19:06:48 +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 1D1635FAE0 for ; Fri, 3 Mar 2017 19:06:48 +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 887B1E00C4 for ; Fri, 3 Mar 2017 19:06:45 +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 406382415A for ; Fri, 3 Mar 2017 19:06:45 +0000 (UTC) Date: Fri, 3 Mar 2017 19:06:45 +0000 (UTC) From: "Jan Hentschel (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-17703) TestThriftServerCmdLine is flaky in master branch MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 03 Mar 2017 19:06:52 -0000 [ https://issues.apache.org/jira/browse/HBASE-17703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Hentschel updated HBASE-17703: ---------------------------------- Status: Patch Available (was: In Progress) It seems that when tests are run in parallel the port 9095 (HBase Thrift Server Web UI) is always in use ("java.net.BindException: Port in use: 0.0.0.0:9095"). This patch assigns the infoport randomly in the test similar how it is done with the Thrift server port. > TestThriftServerCmdLine is flaky in master branch > ------------------------------------------------- > > Key: HBASE-17703 > URL: https://issues.apache.org/jira/browse/HBASE-17703 > Project: HBase > Issue Type: Test > Reporter: Ted Yu > Assignee: Jan Hentschel > Attachments: HBASE-17703.master.001.patch > > > According to https://builds.apache.org/job/HBASE-Find-Flaky-Tests/lastSuccessfulBuild/artifact/dashboard.html , TestThriftServerCmdLine is the top flaky test. > It fails in QA run sometimes. > https://builds.apache.org/job/PreCommit-HBASE-Build/5848/artifact/patchprocess/patch-unit-hbase-thrift.txt > {code} > testRunThriftServer[0](org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine) Time elapsed: 10.057 sec <<< ERROR! > java.lang.NullPointerException: null > at org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine.testRunThriftServer(TestThriftServerCmdLine.java:187) > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 60.212 sec <<< FAILURE! - in org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine > testRunThriftServer[0](org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine) Time elapsed: 0.166 sec <<< FAILURE! > java.lang.AssertionError: null > at org.junit.Assert.fail(Assert.java:86) > at org.junit.Assert.assertTrue(Assert.java:41) > at org.junit.Assert.assertTrue(Assert.java:52) > at org.apache.hadoop.hbase.thrift.TestThriftServer.checkTableList(TestThriftServer.java:254) > at org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine.talkToThriftServer(TestThriftServerCmdLine.java:227) > at org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine.testRunThriftServer(TestThriftServerCmdLine.java:190) > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 64.428 sec <<< FAILURE! - in org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine > testRunThriftServer[0](org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine) Time elapsed: 0.144 sec <<< FAILURE! > java.lang.AssertionError: null > at org.junit.Assert.fail(Assert.java:86) > at org.junit.Assert.assertTrue(Assert.java:41) > at org.junit.Assert.assertTrue(Assert.java:52) > at org.apache.hadoop.hbase.thrift.TestThriftServer.checkTableList(TestThriftServer.java:254) > at org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine.talkToThriftServer(TestThriftServerCmdLine.java:227) > at org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine.testRunThriftServer(TestThriftServerCmdLine.java:190) > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)