Return-Path: X-Original-To: apmail-mesos-user-archive@www.apache.org Delivered-To: apmail-mesos-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 874C211238 for ; Thu, 11 Sep 2014 23:16:12 +0000 (UTC) Received: (qmail 75063 invoked by uid 500); 11 Sep 2014 23:16:12 -0000 Delivered-To: apmail-mesos-user-archive@mesos.apache.org Received: (qmail 75013 invoked by uid 500); 11 Sep 2014 23:16:12 -0000 Mailing-List: contact user-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@mesos.apache.org Delivered-To: mailing list user@mesos.apache.org Received: (qmail 75002 invoked by uid 99); 11 Sep 2014 23:16:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Sep 2014 23:16:12 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of wangluyi1982@gmail.com designates 209.85.215.43 as permitted sender) Received: from [209.85.215.43] (HELO mail-la0-f43.google.com) (209.85.215.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Sep 2014 23:16:08 +0000 Received: by mail-la0-f43.google.com with SMTP id gi9so12774819lab.30 for ; Thu, 11 Sep 2014 16:15:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=dSg/c/QKT6eLOgSQb7H6az2z7TlY8CPo/vAyHP+WVLs=; b=KYTLzAfApEAEuLJD4QE91nVmLS1LbBD99BgD7EWlC8sE/UhLKilifSGPbh3xEwWAfB e5/PS3BdqVlBCsXWWgVTRnpxP9TldCJSOAMuTmN67Gxf2ZLfMAgVd37U1GylUHBEKWHv IHUm+IKUQChm2O2fItgfbYeGaQVHtmtrja00JbnomKXHTdA5RlG1+0t2QempmPJCbmGK KGFu+NmYUCTCEWbcyU49bPNlrAu9bVsQkefh73Ha6BPbL2l/EIimbQgXeoBO04ApQu46 sLof93zRtPgtBU3PycRoX6rLfiBRF16pqVPxlqs9IyRoCiPwxdQYZ2RBLLSrKE4DzRDL ffWg== X-Received: by 10.112.135.137 with SMTP id ps9mr4584422lbb.24.1410477346522; Thu, 11 Sep 2014 16:15:46 -0700 (PDT) MIME-Version: 1.0 Sender: wangluyi1982@gmail.com Received: by 10.112.180.162 with HTTP; Thu, 11 Sep 2014 16:15:06 -0700 (PDT) In-Reply-To: References: <66BD51CF-0A63-42D8-A211-196CBFC12B00@me.com> From: Luyi Wang Date: Thu, 11 Sep 2014 16:15:06 -0700 X-Google-Sender-Auth: Os-74XqcA7XD4UXIL9QHjzDcz_U Message-ID: Subject: Re: Mesos make check failed To: user@mesos.apache.org Content-Type: multipart/alternative; boundary=089e011604e8340d5c0502d259a0 X-Virus-Checked: Checked by ClamAV on apache.org --089e011604e8340d5c0502d259a0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable updated, after rebuild the source and rerun the make check. 404 test ran and passed. 6 tests are disabled for unknown reason. [----------] Global test environment tear-down [=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D] 404 tests from 66 test cases ran. (275125 = ms total) [ PASSED ] 404 tests. YOU HAVE 6 DISABLED TESTS On Wed, Sep 10, 2014 at 3:00 PM, Luyi Wang wrote: > Thanks. I did run everything under 'build' folder. I just removed all > built result by using "make clean" in regarding the random failure and > rebuilding now. Will probably update the thread later, probably tomorrow= . > > Thanks. > > On Wed, Sep 10, 2014 at 2:56 PM, Till Toenshoff wrote: > >> Luyi, >> >> please check the link that I had provided to enable enhanced verbosity >> logging when running the tests. >> Note that you do not need to rerun "make check=E2=80=9D if you did that = already >> (which you obviously did). >> >> For your convenience, I copy pasted the answer and adapted it to fit one >> of your failed tests (MasterAuthorizationTest.AuthorizedTask). You may >> repeat the steps below for all other failed tests >> (e.g. ShutdownTest.ShutdownEndpointBadCredentials as per your provided l= og >> file). >> >> The following assumes that your current directory (pwd) is the build fol= der >> within the extracted / cloned Mesos project directory structure. >> >> Let's assume that a test named MasterAuthorizationTest.AuthorizedTask ha= d >> failed for you. Now go ahead and run that test individually, with enhanc= ed >> output: >> >> ./bin/mesos-tests.sh >> --gtest_filter=3D"MasterAuthorizationTest.AuthorizedTask" --verbose >> >> That should reveal some more insights of the failure reasoning. >> >> In cases where the above still has too little output to understand the >> problem, for some rare cases, it could be beneficial to increase the >> verbosity even further. >> >> GLOG_v=3D2 ./bin/mesos-tests.sh >> --gtest_filter=3D"MasterAuthorizationTest.AuthorizedTask" --verbose >> >> That will enable all common VLOG levels of mesos. Those however usually >> are not meant for users but for developers. So don't expect their output= to >> be too user friendly. >> Hope that helps, >> Till >> >> >> On Sep 10, 2014, at 11:40 PM, Luyi Wang wrote: >> >> seems it is more on random. >> >> I am using the source code checked out from git. The latest commit is >> >> commit fd798ffbeecee644b4674a9149c38d563bfa044e >> Author: Timothy St. Clair >> Date: Tue Sep 9 13:28:10 2014 -0500 >> >> Update deploy_dir from localstate to sysconf >> >> Updates the mesos-env files to install to /etc/mesos vs. >> /var/lib/deploy/mesos. >> >> Review: https://reviews.apache.org/r/25447 >> >> >> The make check take less time than the first time running. The failed >> test were also different. >> >> More insight would be helpful. >> >> Thanks. >> >> >> On Wed, Sep 10, 2014 at 1:58 PM, Luyi Wang wrote= : >> >>> rerunning the make check again with output redirect to a log file. It >>> would take a while. will update afterward. >>> >>> On Wed, Sep 10, 2014 at 1:46 PM, Till Toenshoff >>> wrote: >>> >>>> >>>> What's the error message / logs associated for those failed tests? >>>> >>>> >>>> To expand on what Tim said, see the following for details: >>>> >>>> http://stackoverflow.com/questions/22619124/when-running-make-check-on= -mesos-one-of-the-tests-fails-what-now >>>> >>>> >>>> >>>> Tim >>>> >>>> On Wed, Sep 10, 2014 at 1:27 PM, Luyi Wang >>>> wrote: >>>> >>>>> [ FAILED ] 3 tests, listed below: >>>>> [ FAILED ] DRFAllocatorTest.DRFAllocatorProcess >>>>> [ FAILED ] ResourceOffersTest.TaskUsesNoResources >>>>> [ FAILED ] ShutdownTest.ShutdownEndpointGoodACLs >>>>> >>>>> >>>>> >>>> >>>> >>> >> >> >> >> > --089e011604e8340d5c0502d259a0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
updated, after rebuild the source and rerun the make check= .=C2=A0

404 test ran and passed. 6 tests are disabled fo= r unknown reason.=C2=A0


[-----= -----] Global test environment tear-down
[=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D] 404 tests from 66 test cases ran. (275125 ms total)
[ = =C2=A0PASSED =C2=A0] 404 tests.

=C2=A0 YOU HAVE 6 = DISABLED TESTS

<= br>
On Wed, Sep 10, 2014 at 3:00 PM, Luyi Wang <wangluyi@guitarca.com> wrote:
Thanks. I did run everything under 'build' = folder. =C2=A0I just removed all built result by using "make clean&quo= t; in regarding the random failure and rebuilding now. =C2=A0Will probably = update the thread later, probably tomorrow.=C2=A0

Thanks= .

On Wed, Sep 10, 2014 at 2:56 PM, Till T= oenshoff <toenshoff@me.com> wrote:
Luyi,

plea= se check the link that I had provided to enable enhanced verbosity logging = when running the tests.=C2=A0
Note that you do not need to rerun = "make check=E2=80=9D if you did that already (which you obviously did)= .

For your convenience, I copy pasted the answer a= nd adapted it to fit one of your failed tests (MasterAuthorizationTest.Auth= orizedTask). You may repeat the steps below for all other failed tests (e.g= .=C2=A0ShutdownTest.ShutdownEndpointBadCredentials as per your provided log= file).

The following assumes that your current director= y (pwd) is the=C2=A0build= =C2=A0folder within t= he extracted / cloned Mesos project directory structure.

Let's assume that a test named=C2=A0MasterAuthorizationTest.AuthorizedTask=C2=A0had failed for you. Now go ahead and run that test individually, wit= h enhanced output:

./bin/mesos-tests.sh --gtest_filter=3D"MasterAuth= orizationTest.AuthorizedTask" --verbose

That should reveal some more insights of the failure reasoning.

In cases where the above still has too little output to und= erstand the problem, for some rare cases, it could be beneficial to increas= e the verbosity even further.

GLOG_v=3D2 ./bin/mesos-tests.sh --gtest_fil= ter=3D"MasterAuthorizationTest.AuthorizedTask" --verbose

That will enable all common=C2=A0VLOG=C2=A0levels of mesos. Those h= owever usually are not meant for users but for developers. So don't exp= ect their output to be too user friendly.

Hope that helps,
Till


On Sep 1= 0, 2014, at 11:40 PM, Luyi Wang <wangluyi@guitarca.com> wrote:

seems it is more on= random.=C2=A0

I am using the source code checked out fr= om git. The latest commit is=C2=A0

commit fd7= 98ffbeecee644b4674a9149c38d563bfa044e
Author: Timothy St. Clair &= lt;tstclair@redhat= .com>
Date: =C2=A0 Tue Sep 9 13:28:10 2014 -0500

=C2=A0 =C2=A0 Update deploy_dir from localstate to sysconf<= /div>
=C2=A0 =C2=A0=C2=A0
=C2=A0 =C2=A0 Updates the mesos-env= files to install to /etc/mesos vs. /var/lib/deploy/mesos.
=C2=A0= =C2=A0=C2=A0
=C2=A0 =C2=A0 Review: https://reviews.apache.org/r/25447<= /div>


The make check take less time= than the first time running. The failed test were also different.=C2=A0

More insight would be helpful.=C2=A0

<= /div>
Thanks.


=
On Wed, Sep 10, 2014 at 1:58 PM, Luyi Wang <wangluyi@guitarca.com> wrote:
rerunning the make check again with output redirect to= a log file. =C2=A0It would take a while. will update afterward.=C2=A0

On Wed= , Sep 10, 2014 at 1:46 PM, Till Toenshoff <toenshoff@me.com> = wrote:

What's the = error message / logs associated for those failed tests?
<= div>
To expand on what Tim said, see the following for= details:


Tim
<= /div>

On Wed, Sep = 10, 2014 at 1:27 PM, Luyi Wang <wangluyi@guitarca.com> w= rote:
[ =C2=A0FAILE= D =C2=A0] 3 tests, listed below:
[ =C2=A0FAILED =C2=A0] DRFAlloca= torTest.DRFAllocatorProcess
[ =C2=A0FAILED =C2=A0] ResourceOffers= Test.TaskUsesNoResources
[ =C2=A0FAILED =C2=A0] ShutdownTest.Shut= downEndpointGoodACLs






<check.log>



--089e011604e8340d5c0502d259a0--