From weijun.wang at oracle.com Tue Sep 3 17:48:40 2013 From: weijun.wang at oracle.com (Weijun Wang) Date: Wed, 04 Sep 2013 08:48:40 +0800 Subject: Access the timeout ratio option inside a test? Message-ID: <52268368.8000703@oracle.com> Hi Jon I have a test that checks for *multiple* timeouts inside it and on a slow machine (For example: embedded) it is more likely to fail. I know there is a timeout option for jtreg. Is it possible I get the value inside a test? Hopefully slow machines will set it and the test can also use it. Thanks Max From jonathan.gibbons at oracle.com Tue Sep 3 18:04:50 2013 From: jonathan.gibbons at oracle.com (Jonathan Gibbons) Date: Tue, 03 Sep 2013 18:04:50 -0700 Subject: Access the timeout ratio option inside a test? In-Reply-To: <52268368.8000703@oracle.com> References: <52268368.8000703@oracle.com> Message-ID: <52268732.1060106@oracle.com> On 09/03/2013 05:48 PM, Weijun Wang wrote: > Hi Jon > > I have a test that checks for *multiple* timeouts inside it and on a > slow machine (For example: embedded) it is more likely to fail. I know > there is a timeout option for jtreg. Is it possible I get the value > inside a test? Hopefully slow machines will set it and the test can > also use it. > > Thanks > Max I don't think so, but I know I've considered making it available. I'll look into it for you. -- Jon From Alan.Bateman at oracle.com Wed Sep 4 04:48:26 2013 From: Alan.Bateman at oracle.com (Alan Bateman) Date: Wed, 04 Sep 2013 12:48:26 +0100 Subject: Access the timeout ratio option inside a test? In-Reply-To: <52268732.1060106@oracle.com> References: <52268368.8000703@oracle.com> <52268732.1060106@oracle.com> Message-ID: <52271E0A.9070509@oracle.com> On 04/09/2013 02:04, Jonathan Gibbons wrote: > > I don't think so, but I know I've considered making it available. I'll > look into it for you. > > -- Jon I have a vague memory of this being discussed before, and I think it was suggested that the timeout factor might be more more useful than the timeout itself. The rational for this being that internal timeouts could be scaled appropriately where it made sense. -Alan. From jonathan.gibbons at oracle.com Wed Sep 4 07:35:47 2013 From: jonathan.gibbons at oracle.com (Jonathan Gibbons) Date: Wed, 04 Sep 2013 07:35:47 -0700 Subject: Access the timeout ratio option inside a test? In-Reply-To: <52271E0A.9070509@oracle.com> References: <52268368.8000703@oracle.com> <52268732.1060106@oracle.com> <52271E0A.9070509@oracle.com> Message-ID: <52274543.8080905@oracle.com> On 09/04/2013 04:48 AM, Alan Bateman wrote: > On 04/09/2013 02:04, Jonathan Gibbons wrote: >> >> I don't think so, but I know I've considered making it available. >> I'll look into it for you. >> >> -- Jon > I have a vague memory of this being discussed before, and I think it > was suggested that the timeout factor might be more more useful than > the timeout itself. The rational for this being that internal timeouts > could be scaled appropriately where it made sense. > > -Alan. Yes, the timeoutFactor makes more sense than the timeout, but I think that is what was being asked for. -- Jon From weijun.wang at oracle.com Wed Sep 4 16:14:35 2013 From: weijun.wang at oracle.com (Weijun Wang) Date: Thu, 05 Sep 2013 07:14:35 +0800 Subject: Access the timeout ratio option inside a test? In-Reply-To: <52274543.8080905@oracle.com> References: <52268368.8000703@oracle.com> <52268732.1060106@oracle.com> <52271E0A.9070509@oracle.com> <52274543.8080905@oracle.com> Message-ID: <5227BEDB.8080901@oracle.com> Yes, factor or ratio, that's what I was looking for. --Max > Yes, the timeoutFactor makes more sense than the timeout, but I think > that is what was being asked for. > > -- Jon From jonathan.gibbons at oracle.com Wed Sep 4 17:48:32 2013 From: jonathan.gibbons at oracle.com (Jonathan Gibbons) Date: Wed, 04 Sep 2013 17:48:32 -0700 Subject: Access the timeout ratio option inside a test? In-Reply-To: <5227BEDB.8080901@oracle.com> References: <52268368.8000703@oracle.com> <52268732.1060106@oracle.com> <52271E0A.9070509@oracle.com> <52274543.8080905@oracle.com> <5227BEDB.8080901@oracle.com> Message-ID: <5227D4E0.40303@oracle.com> Fix pushed to the jtreg repo. It'll be available in the next nightly. 7900226: jtreg should make timeout factor available to tests System property (in Java code) test.timeout.factor Env variable (in shell tests) TESTTIMEOUTFACTOR In both cases, the value represents a floating point number for the timeout factor. -- Jon On 09/04/2013 04:14 PM, Weijun Wang wrote: > Yes, factor or ratio, that's what I was looking for. > > --Max > >> Yes, the timeoutFactor makes more sense than the timeout, but I think >> that is what was being asked for. >> >> -- Jon From weijun.wang at oracle.com Wed Sep 4 18:05:24 2013 From: weijun.wang at oracle.com (Weijun Wang) Date: Thu, 05 Sep 2013 09:05:24 +0800 Subject: Access the timeout ratio option inside a test? In-Reply-To: <5227D4E0.40303@oracle.com> References: <52268368.8000703@oracle.com> <52268732.1060106@oracle.com> <52271E0A.9070509@oracle.com> <52274543.8080905@oracle.com> <5227BEDB.8080901@oracle.com> <5227D4E0.40303@oracle.com> Message-ID: <5227D8D4.4050007@oracle.com> Great. Thanks a lot. Next I'll think about how to use it wisely. --Max On 9/5/13 8:48 AM, Jonathan Gibbons wrote: > Fix pushed to the jtreg repo. It'll be available in the next nightly. > > 7900226: jtreg should make timeout factor available to tests > > System property (in Java code) > test.timeout.factor > > Env variable (in shell tests) > TESTTIMEOUTFACTOR > > In both cases, the value represents a floating point number for the > timeout factor. > > -- Jon > > > > On 09/04/2013 04:14 PM, Weijun Wang wrote: >> Yes, factor or ratio, that's what I was looking for. >> >> --Max >> >>> Yes, the timeoutFactor makes more sense than the timeout, but I think >>> that is what was being asked for. >>> >>> -- Jon > From linuxhippy at gmail.com Sun Sep 22 04:59:05 2013 From: linuxhippy at gmail.com (Clemens Eisserer) Date: Sun, 22 Sep 2013 07:59:05 -0400 Subject: Precompiled jtreg binaries available? Message-ID: Hi, With jtreg having quite a long list of dependencies I wonder, are there prebuilt binaries available somewhere? Regards, Clemens From jonathan.gibbons at oracle.com Mon Sep 23 11:50:57 2013 From: jonathan.gibbons at oracle.com (Jonathan Gibbons) Date: Mon, 23 Sep 2013 11:50:57 -0700 Subject: Precompiled jtreg binaries available? In-Reply-To: References: Message-ID: <52408D91.8000704@oracle.com> On 09/22/2013 04:59 AM, Clemens Eisserer wrote: > Hi, > > With jtreg having quite a long list of dependencies I wonder, are > there prebuilt binaries available somewhere? > > Regards, Clemens Regrettably, Oracle no longer provides precompiled binaries. -- Jon From martinrb at google.com Mon Sep 23 18:01:02 2013 From: martinrb at google.com (Martin Buchholz) Date: Mon, 23 Sep 2013 18:01:02 -0700 Subject: Precompiled jtreg binaries available? In-Reply-To: <52408D91.8000704@oracle.com> References: <52408D91.8000704@oracle.com> Message-ID: There are downstream distributions of jtreg, e.g. http://packages.ubuntu.com/raring/jtreg that may work for you without having to figure out how to build it yourself. On Mon, Sep 23, 2013 at 11:50 AM, Jonathan Gibbons < jonathan.gibbons at oracle.com> wrote: > On 09/22/2013 04:59 AM, Clemens Eisserer wrote: > >> Hi, >> >> With jtreg having quite a long list of dependencies I wonder, are >> there prebuilt binaries available somewhere? >> >> Regards, Clemens >> > > Regrettably, Oracle no longer provides precompiled binaries. > > -- Jon > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/jtreg-use/attachments/20130923/2093fab1/attachment.html From jonathan.gibbons at oracle.com Mon Sep 23 18:04:28 2013 From: jonathan.gibbons at oracle.com (Jonathan Gibbons) Date: Mon, 23 Sep 2013 18:04:28 -0700 Subject: Precompiled jtreg binaries available? In-Reply-To: References: <52408D91.8000704@oracle.com> Message-ID: <5240E51C.80705@oracle.com> Yes, but make sure they're up to date with the latest source code in the openJDK code-tools repository. -- Jon On 09/23/2013 06:01 PM, Martin Buchholz wrote: > There are downstream distributions of jtreg, e.g. > http://packages.ubuntu.com/raring/jtreg > that may work for you without having to figure out how to build it > yourself. > > > On Mon, Sep 23, 2013 at 11:50 AM, Jonathan Gibbons > > wrote: > > On 09/22/2013 04:59 AM, Clemens Eisserer wrote: > > Hi, > > With jtreg having quite a long list of dependencies I wonder, are > there prebuilt binaries available somewhere? > > Regards, Clemens > > > Regrettably, Oracle no longer provides precompiled binaries. > > -- Jon > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/jtreg-use/attachments/20130923/efc888e8/attachment.html From richard.warburton at gmail.com Tue Sep 24 20:01:25 2013 From: richard.warburton at gmail.com (Richard Warburton) Date: Tue, 24 Sep 2013 20:01:25 -0700 Subject: Precompiled jtreg binaries available? In-Reply-To: <52408D91.8000704@oracle.com> References: <52408D91.8000704@oracle.com> Message-ID: Hi, With jtreg having quite a long list of dependencies I wonder, are >> there prebuilt binaries available somewhere? > > Here's a binary I built this afternoon: http://insightfullogic.com/media/jtreg.zip Hope this helps. regards, Dr. Richard Warburton http://insightfullogic.com @RichardWarburto -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/jtreg-use/attachments/20130924/5292e557/attachment.html From weijun.wang at oracle.com Sun Sep 29 18:42:47 2013 From: weijun.wang at oracle.com (Weijun Wang) Date: Mon, 30 Sep 2013 09:42:47 +0800 Subject: TEST.groups warnings Message-ID: <5248D717.1010409@oracle.com> Hi All Recently jtreg shows many lines of warnings (?) like /repos/jdk8/tl/jdk/test/TEST.groups: group jdk_util_other: file not found: :jdk_collections Look into TEST.groups, there is 42 jdk_util_other = \ 43 java/util \ 44 sun/util \ 45 -:jdk_collections \ 46 -:jdk_concurrent \ 47 -:jdk_stream And then there is 57 # Java Collections Framework 58 jdk_collections = \ 59 java/util/AbstractCollection \ 60 java/util/AbstractList \ ... So jdk_collections is defined. Maybe jtreg has not noticed that ":" (which I guess mean a group) and treat "jdk_collections" as a file/directory? Thanks Max From jonathan.gibbons at oracle.com Mon Sep 30 08:39:59 2013 From: jonathan.gibbons at oracle.com (Jonathan Gibbons) Date: Mon, 30 Sep 2013 08:39:59 -0700 Subject: TEST.groups warnings In-Reply-To: <5248D717.1010409@oracle.com> References: <5248D717.1010409@oracle.com> Message-ID: <52499B4F.3090205@oracle.com> Make sure you have an up to date version of jtreg, perhaps from the nightly build. -- Jon On 09/29/2013 06:42 PM, Weijun Wang wrote: > Hi All > > Recently jtreg shows many lines of warnings (?) like > > /repos/jdk8/tl/jdk/test/TEST.groups: group jdk_util_other: file not > found: :jdk_collections > > Look into TEST.groups, there is > > 42 jdk_util_other = \ > 43 java/util \ > 44 sun/util \ > 45 -:jdk_collections \ > 46 -:jdk_concurrent \ > 47 -:jdk_stream > > And then there is > > 57 # Java Collections Framework > 58 jdk_collections = \ > 59 java/util/AbstractCollection \ > 60 java/util/AbstractList \ > ... > > So jdk_collections is defined. Maybe jtreg has not noticed that ":" > (which I guess mean a group) and treat "jdk_collections" as a > file/directory? > > Thanks > Max