Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 2814 invoked from network); 10 Oct 2006 07:39:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Oct 2006 07:39:48 -0000 Received: (qmail 86228 invoked by uid 500); 10 Oct 2006 07:39:42 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 86170 invoked by uid 500); 10 Oct 2006 07:39:41 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 86158 invoked by uid 99); 10 Oct 2006 07:39:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Oct 2006 00:39:41 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of nikolay.kuznetsov@gmail.com designates 66.249.92.170 as permitted sender) Received: from [66.249.92.170] (HELO ug-out-1314.google.com) (66.249.92.170) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Oct 2006 00:39:40 -0700 Received: by ug-out-1314.google.com with SMTP id y2so932099uge for ; Tue, 10 Oct 2006 00:39:19 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NXydFrzRXT3zQnKDeruaNVrekMzdpHCLzL3yOPfJbGguRuf0fdKb3tRQJDA2wvjpSVwo/bngPzvRaE06hmdgKfDNXlM8oAgN4t7W8cBhSqvPT4SdUgNfz6+63lBk+nm+yL9aJf1PE4IQft+HmWmPAbgGEgRgXxuo7PIBkdjfHbg= Received: by 10.66.224.19 with SMTP id w19mr7916497ugg; Tue, 10 Oct 2006 00:39:19 -0700 (PDT) Received: by 10.67.119.10 with HTTP; Tue, 10 Oct 2006 00:39:19 -0700 (PDT) Message-ID: <8ce6aa550610100039p18beb29cs9e4bc034d10af148@mail.gmail.com> Date: Tue, 10 Oct 2006 11:39:19 +0400 From: "Nikolay Kuznetsov" To: harmony-dev@incubator.apache.org, geir@pobox.com Subject: Re: [testing][kernel.tests] j.l.Thread test fails on HARMONY-1582 In-Reply-To: <8ce6aa550610091214g2528aa03medf4ebb04fef8efc@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8ce6aa550610090856y9c64de7s7d123e8ebf73dc67@mail.gmail.com> <452A7342.5050502@pobox.com> <8ce6aa550610091214g2528aa03medf4ebb04fef8efc@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I have finished running release build on WinXP, and I have following tests results: c_unit tests passed; smoke tests passed, but I have excluded gc.Los; kernel tests works with the 98.96 % success rate on all, jitrino.jet, opt and interpreter. Failing tests are: j.l.ObjectTest, j.l.RuntimeTest2, j.l.ThreadTest Thank you. Nik. On 10/9/06, Nikolay Kuznetsov wrote: > I'm running debug build on WinXP, and I have following results so far: > c_unit tests passed; > smoke tests passed except gc.Los which hangs as usual; > kernel tests works with the following success rates: > Jet : 98.96% > Opt: 99.15% > Int : still running.... > > Thank you. > Nik. > > On 10/9/06, Geir Magnusson Jr. wrote: > > Ok - I just committed 1582. Lets build on it... can someone test on > > winxp? I'll get to it in a bit, but would be happy to know sooner than > > later. > > > > Evgueni Brevnov wrote: > > > Ok, I see. Then it should be TM problem.... right? > > > > > > On 10/9/06, Nikolay Kuznetsov wrote: > > >> Evgueni, > > >> > > >> according to the spec the thread wait method should throw interrupted > > >> exception even if it was interrupted before call. > > >> > > >> citing from the Object.wait method specification: > > >> "Throws: > > >> > > >> InterruptedException - if another thread interrupted the current > > >> thread before or while the current thread was waiting for a > > >> notification. The interrupted status of the current thread is cleared > > >> when this exception is thrown." > > >> > > >> The same applicable, to the sleep and join methods. > > >> > > >> Thank you. > > >> Nik. > > >> > > >> On 10/9/06, Evgueni Brevnov wrote: > > >> > Hi, > > >> > > > >> > While testing HARMONY-1582 (invocation api) it turned out that one > > >> > kernel test starts to fail with the following message: > > >> > > > >> > There were 3 failures: > > >> > 1) > > >> testInterrupt_Joining(java.lang.ThreadTest)junit.framework.AssertionFailed > > >> > > >> > Error: joining thread has not received the InterruptedException > > >> > at > > >> java.lang.ThreadTest.testInterrupt_Joining(ThreadTest.java:1367) > > >> > at java.lang.reflect.VMReflection.invokeMethod(Native Method) > > >> > 2) > > >> testInterrupt_Sleeping(java.lang.ThreadTest)junit.framework.AssertionFaile > > >> > > >> > dError: sleeping thread has not received the InterruptedException > > >> > at > > >> java.lang.ThreadTest.testInterrupt_Sleeping(ThreadTest.java:1390) > > >> > at java.lang.reflect.VMReflection.invokeMethod(Native Method) > > >> > 3) > > >> testInterrupt_Waiting(java.lang.ThreadTest)junit.framework.AssertionFailed > > >> > > >> > Error: waiting thread has not received the InterruptedException > > >> > at > > >> java.lang.ThreadTest.testInterrupt_Waiting(ThreadTest.java:1413) > > >> > at java.lang.reflect.VMReflection.invokeMethod(Native Method) > > >> > > > >> > FAILURES!!! > > >> > Tests run: 89, Failures: 3, Errors: 0 > > >> > > > >> > Short investigation shows that test is invalid. Specifically main > > >> > thread interrupts another thread and expects InterruptedException will > > >> > be thrown while interruptable thread doesn't get to > > >> > joining/sleeping/waiting state yet. > > >> > > > >> > Could somebody fix that.... > > >> > > > >> > Thanks > > >> > Evgueni. > > >> > > > >> > --------------------------------------------------------------------- > > >> > Terms of use : http://incubator.apache.org/harmony/mailing.html > > >> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > > >> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > > >> > > > >> > > > >> > > >> --------------------------------------------------------------------- > > >> Terms of use : http://incubator.apache.org/harmony/mailing.html > > >> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > > >> For additional commands, e-mail: harmony-dev-help@incubator.apache.org > > >> > > >> > > > > > > --------------------------------------------------------------------- > > > Terms of use : http://incubator.apache.org/harmony/mailing.html > > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > > > > > > > --------------------------------------------------------------------- > > Terms of use : http://incubator.apache.org/harmony/mailing.html > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > > > > > --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org