Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3E31518A1C for ; Thu, 17 Dec 2015 16:14:47 +0000 (UTC) Received: (qmail 89813 invoked by uid 500); 17 Dec 2015 16:14:46 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 89762 invoked by uid 500); 17 Dec 2015 16:14:46 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 89751 invoked by uid 99); 17 Dec 2015 16:14:46 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2015 16:14:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 94F3D2C0AFA for ; Thu, 17 Dec 2015 16:14:46 +0000 (UTC) Date: Thu, 17 Dec 2015 16:14:46 +0000 (UTC) From: "Wei-Chiu Chuang (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-12655) TestHttpServer.testBindAddress bind port range is wider than expected 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/HADOOP-12655?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wei-Chiu Chuang updated HADOOP-12655: ------------------------------------- Labels: Jetty jenkins test (was: ) > TestHttpServer.testBindAddress bind port range is wider than expected > --------------------------------------------------------------------- > > Key: HADOOP-12655 > URL: https://issues.apache.org/jira/browse/HADOOP-12655 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 3.0.0 > Environment: Jenkins > Reporter: Wei-Chiu Chuang > Assignee: Wei-Chiu Chuang > Labels: Jetty, jenkins, test > Attachments: HADOOP-12655.001.patch > > > Saw it in a pre-commit jenkins job https://builds.apache.org/job/PreCommit-HADOOP-Build/8242/testReport/org.apache.hadoop.http/TestHttpServer/testBindAddress/ > It also appeared previously in Hadoop-common-trunk-Java8 jenkins on Oct 21. > In the following case, the first server bound to port 53212, and the second one bound to port 53225, which violated the assertion in the test case (the second port is supposed to be no more than the first + 8) > {noformat} > Stacktrace > 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.http.TestHttpServer.checkBindAddress(TestHttpServer.java:539) > at org.apache.hadoop.http.TestHttpServer.testBindAddress(TestHttpServer.java:503) > {noformat} > {noformat} > Standard Output > 2015-12-15 05:26:44,123 INFO server.AuthenticationFilter (AuthenticationFilter.java:constructSecretProvider(304)) - Unable to initialize FileSignerSecretProvider, falling back to use random secrets. > 2015-12-15 05:26:44,125 INFO http.HttpRequestLog (HttpRequestLog.java:getRequestLog(80)) - Http request log for http.requests.test is not defined > 2015-12-15 05:26:44,126 INFO http.HttpServer2 (HttpServer2.java:addGlobalFilter(701)) - Added global filter 'safety' (class=org.apache.hadoop.http.HttpServer2$QuotingInputFilter) > 2015-12-15 05:26:44,127 INFO http.HttpServer2 (HttpServer2.java:addFilter(676)) - Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context test > 2015-12-15 05:26:44,128 INFO http.HttpServer2 (HttpServer2.java:addFilter(684)) - Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context static > 2015-12-15 05:26:44,128 INFO http.HttpServer2 (HttpServer2.java:addFilter(684)) - Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context logs > 2015-12-15 05:26:44,131 INFO http.HttpServer2 (HttpServer2.java:openListeners(906)) - Jetty bound to port 41406 > 2015-12-15 05:26:44,155 INFO server.AuthenticationFilter (AuthenticationFilter.java:constructSecretProvider(304)) - Unable to initialize FileSignerSecretProvider, falling back to use random secrets. > 2015-12-15 05:26:44,157 INFO http.HttpRequestLog (HttpRequestLog.java:getRequestLog(80)) - Http request log for http.requests.test is not defined > 2015-12-15 05:26:44,158 INFO http.HttpServer2 (HttpServer2.java:addGlobalFilter(701)) - Added global filter 'safety' (class=org.apache.hadoop.http.HttpServer2$QuotingInputFilter) > 2015-12-15 05:26:44,159 INFO http.HttpServer2 (HttpServer2.java:addFilter(676)) - Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context test > 2015-12-15 05:26:44,159 INFO http.HttpServer2 (HttpServer2.java:addFilter(684)) - Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context static > 2015-12-15 05:26:44,160 INFO http.HttpServer2 (HttpServer2.java:addFilter(684)) - Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context logs > 2015-12-15 05:26:44,161 INFO http.HttpServer2 (HttpServer2.java:openListeners(906)) - Jetty bound to port 53212 > 2015-12-15 05:26:44,188 INFO server.AuthenticationFilter (AuthenticationFilter.java:constructSecretProvider(304)) - Unable to initialize FileSignerSecretProvider, falling back to use random secrets. > 2015-12-15 05:26:44,189 INFO http.HttpRequestLog (HttpRequestLog.java:getRequestLog(80)) - Http request log for http.requests.test is not defined > 2015-12-15 05:26:44,190 INFO http.HttpServer2 (HttpServer2.java:addGlobalFilter(701)) - Added global filter 'safety' (class=org.apache.hadoop.http.HttpServer2$QuotingInputFilter) > 2015-12-15 05:26:44,191 INFO http.HttpServer2 (HttpServer2.java:addFilter(676)) - Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context test > 2015-12-15 05:26:44,191 INFO http.HttpServer2 (HttpServer2.java:addFilter(684)) - Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context static > 2015-12-15 05:26:44,192 INFO http.HttpServer2 (HttpServer2.java:addFilter(684)) - Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context logs > 2015-12-15 05:26:45,500 INFO http.HttpServer2 (HttpServer2.java:openListeners(906)) - Jetty bound to port 53225 > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)