Return-Path: X-Original-To: apmail-drill-dev-archive@www.apache.org Delivered-To: apmail-drill-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 D004118C9D for ; Mon, 31 Aug 2015 01:27:03 +0000 (UTC) Received: (qmail 91356 invoked by uid 500); 31 Aug 2015 01:27:03 -0000 Delivered-To: apmail-drill-dev-archive@drill.apache.org Received: (qmail 91290 invoked by uid 500); 31 Aug 2015 01:27:03 -0000 Mailing-List: contact dev-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list dev@drill.apache.org Received: (qmail 91278 invoked by uid 99); 31 Aug 2015 01:27:03 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2015 01:27:03 +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 D64CBC0C9B for ; Mon, 31 Aug 2015 01:27:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.92 X-Spam-Level: ** X-Spam-Status: No, score=2.92 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, T_REMOTE_IMAGE=0.01, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=maprtech.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id xge-msxliOcO for ; Mon, 31 Aug 2015 01:26:52 +0000 (UTC) Received: from mail-yk0-f169.google.com (mail-yk0-f169.google.com [209.85.160.169]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id B0FBB20F19 for ; Mon, 31 Aug 2015 01:26:51 +0000 (UTC) Received: by ykey204 with SMTP id y204so32428818yke.3 for ; Sun, 30 Aug 2015 18:26:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maprtech.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=424t5C7awiMrjMyoeBsEoln4ZlQLsGdUtpckjxt8xMY=; b=Gw6OhPkQgUFSUEIOPzfXtOn9EVZhw4LYWmLcGPFc6XxkNPdC7JjdG3bDX5SgMhBIKs zSWUZLzZhLVd5NW8OAroGdvN+CzHGRBHZAqRGjmDkd8nOb7GBplB/vfmsSKJQADbjX6T dRrDEIVddRYpU4TdI58ruUPRbv+QudmQ7V5fc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=424t5C7awiMrjMyoeBsEoln4ZlQLsGdUtpckjxt8xMY=; b=j1p+2RjVTs3rMofVFIobKu7XLV336Ma/8C0jGul6l/j3QrchpqhLV3V8Ohi9C91Ypo P8ghfzT4LngpLqmwJcXrzPVtK9Y2zRppPf3CZR6hcq/kxVS/vzci+Ohqa2JwjP2LfpqB CZ4KRZuDfM7SZqmAXFzwxVh3fH4tNyo5dMk9bNadj+fnt5f87SD3ylLK4CWmmWhe1JvB Z5U402ENlyBYamUZwGuPtBjDh2t+dI7TpklLaOssC40i4NogmNIXcdYiaQ+9hIAbLFnV +e9y9aMYiDoGoZmwRnfrrP1nSiK4yiuxeJKaacLYUDThgBD+1sMJR0TYZTLZJEdeRAoX EOzQ== X-Gm-Message-State: ALoCoQlx4lF2mI9y9mt4ISmGB5dLI8QPto6TR9nAW5k5Dk2rqNE09VKnJC+r2UXMEkE4ElHmvlBC MIME-Version: 1.0 X-Received: by 10.129.49.3 with SMTP id x3mr11126444ywx.56.1440984410965; Sun, 30 Aug 2015 18:26:50 -0700 (PDT) Received: by 10.13.226.214 with HTTP; Sun, 30 Aug 2015 18:26:50 -0700 (PDT) In-Reply-To: References: Date: Sun, 30 Aug 2015 18:26:50 -0700 Message-ID: Subject: Re: Fixing the test process From: Abdel Hakim Deneche To: "dev@drill.apache.org" Content-Type: multipart/alternative; boundary=001a11407dbaf17d1b051e9153ba --001a11407dbaf17d1b051e9153ba Content-Type: text/plain; charset=UTF-8 can you try adding your machine hostname to /etc/hosts as 127.0.0.1 thanks On Sun, Aug 30, 2015 at 6:09 PM, Edmon Begoli wrote: > I am testing fresh clone of Drill 1.1 master, no patches. > > On Sun, Aug 30, 2015 at 9:04 PM, Edmon Begoli wrote: > > > Here is a fresh result from* mvn clean install*: > > > > export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7 > > .0_79.jdk/Contents/Home/ > > > > mvn clean install > > > > ... excerpt, there are many errors with the same root cause .... > > > > Running org.apache.drill.exec.physical.impl.sort.TestSort > > > > Running > > > org.apache.drill.exec.physical.impl.mergereceiver.TestMergingReceiver#handleEmptyBatch > > > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.48 sec > > <<< FAILURE! - in org.apache.drill.exec.physical.impl.sort.TestSort > > > > org.apache.drill.exec.physical.impl.sort.TestSort Time elapsed: 4.48 sec > > <<< ERROR! > > > > java.net.UnknownHostException: > > : : nodename nor > servname > > provided, or not known > > > > at java.net.InetAddress.getLocalHost(InetAddress.java:1475) > > > > at > org.apache.drill.exec.service.ServiceEngine.start(ServiceEngine.java:66) > > > > at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:243) > > > > at org.apache.drill.BaseTestQuery.openClient(BaseTestQuery.java:181) > > > > at > > > org.apache.drill.BaseTestQuery.setupDefaultTestCluster(BaseTestQuery.java:117) > > > > at java.lang.reflect.Method.invoke(Method.java:606) > > > > at java.lang.reflect.Method.invoke(Method.java:606) > > > > at > > > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) > > > > at > > > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) > > > > at > > > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) > > > > at > > > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) > > > > at > > > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) > > > > at > > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) > > > > Caused by: java.net.UnknownHostException: EB-MacBook-Pro: nodename nor > > servname provided, or not known > > > > at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) > > > > at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901) > > > > at > java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1295) > > > > at java.net.InetAddress.getLocalHost(InetAddress.java:1471) > > > > at > org.apache.drill.exec.service.ServiceEngine.start(ServiceEngine.java:66) > > > > at org.apache.drill.exec.server.Drillbit.run(Drillbit.java:243) > > > > at org.apache.drill.BaseTestQuery.openClient(BaseTestQuery.java:181) > > > > at > > > org.apache.drill.BaseTestQuery.setupDefaultTestCluster(BaseTestQuery.java:117) > > > > at java.lang.reflect.Method.invoke(Method.java:606) > > > > at java.lang.reflect.Method.invoke(Method.java:606) > > > > at > > > org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) > > > > at > > > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) > > > > at > > > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) > > > > at > > > org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) > > > > at > > > org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) > > > > at > > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) > > > > > > I ran into the same problems when I run build on the server. > > > > > > Edmon > > > > > > > > > > On Sun, Aug 30, 2015 at 6:03 PM, Ted Dunning > > wrote: > > > >> In particular, can you say which version you are testing, which java and > >> what test is failing? > >> > >> Putting the test output somewhere accessible would be a huge help. > >> > >> > >> > >> On Sun, Aug 30, 2015 at 2:52 PM, Jacques Nadeau > >> wrote: > >> > >> > >Does anyone have a patch for the current test problem, so I could > >> address > >> > >that in the meantime? > >> > > >> > We're not sure what you are talking about. Can you expound? > >> > > >> > > >> > > >> > -- > >> > Jacques Nadeau > >> > CTO and Co-Founder, Dremio > >> > > >> > On Sun, Aug 30, 2015 at 2:32 PM, Edmon Begoli > >> wrote: > >> > > >> > > My build without tests is doing fine. No problems there. > >> > > > >> > > I will wait for Andrew to break the unit testing up. > >> > > > >> > > Does anyone have a patch for the current test problem, so I could > >> address > >> > > that in the meantime? > >> > > > >> > > On Sunday, August 30, 2015, Jacques Nadeau > >> wrote: > >> > > > >> > > > Andrew is actively working on breaking up the tests. Hopefully > he'll > >> > have > >> > > > something to report soon. > >> > > > > >> > > > On the build problem, please share more details. > >> > > > > >> > > > -- > >> > > > Jacques Nadeau > >> > > > CTO and Co-Founder, Dremio > >> > > > > >> > > > On Sun, Aug 30, 2015 at 11:59 AM, Ted Dunning < > >> ted.dunning@gmail.com > >> > > > > wrote: > >> > > > > >> > > > > On Sun, Aug 30, 2015 at 11:41 AM, Edmon Begoli < > ebegoli@gmail.com > >> > > > > wrote: > >> > > > > > >> > > > > > This might be already in motion, but let me discuss it with > you > >> > > > > > nevertheless: > >> > > > > > > >> > > > > > - could we break up the testing configuration so that small, > >> atomic > >> > > > unit > >> > > > > > tests can be always ran by default > >> > > > > > > >> > > > > > >> > > > > Specific tests can already be run separately. > >> > > > > > >> > > > > There is no wholesale separation into small and large tests > >> > > currently. I > >> > > > > think that there is an effort underway to do something quite > >> similar > >> > to > >> > > > > that. > >> > > > > > >> > > > > > >> > > > > > > >> > > > > > - create larger configurations for complex unit and > integration > >> > > testing > >> > > > > so > >> > > > > > we can run them independently, if needed > >> > > > > > > >> > > > > > >> > > > > As above. > >> > > > > > >> > > > > > >> > > > > > > >> > > > > > Finally, can someone point me at that patch that fixes current > >> test > >> > > > > problem > >> > > > > > locally. > >> > > > > > > >> > > > > > >> > > > > Which version of Java do you have? There is a known problem > with > >> a > >> > few > >> > > > > tests on Java 8. > >> > > > > > >> > > > > What precise problem are you seeing? > >> > > > > > >> > > > > > >> > > > > > >> > > > > > It would make me more comfortable being able to run full > builds > >> > with > >> > > > > tests. > >> > > > > > > >> > > > > > >> > > > > Indeed. > >> > > > > > >> > > > > >> > > > >> > > >> > > > > > -- Abdelhakim Deneche Software Engineer Now Available - Free Hadoop On-Demand Training --001a11407dbaf17d1b051e9153ba--