We have some Code Coverage results from JCov/JTreg!

Martijn Verburg martijnverburg at gmail.com
Mon Jan 26 10:35:25 UTC 2015


Hi Rory,

I think Adoption Group would be best, thanks!

Cheers,
Martijn

On 26 January 2015 at 10:32, Rory O'Donnell <rory.odonnell at oracle.com>
wrote:

>
> On 25/01/2015 14:45, Martijn Verburg wrote:
>
>> Right,
>>
>> @Mani - How's your week placed?  Let's see if we can get together to make
>> https://adopt-openjdk.ci.cloudbees.com/view/OpenJDK/
>> job/openjdk-1.9-linux-x86_64/
>> produce some results.
>>
>> @Rory - I've made a few changes to the Cloudbees CI build farm, would it
>> be
>> possible to enhance
>> https://wiki.openjdk.java.net/display/Adoption/Quality+Outreach page so
>> that it has:
>>
>> 1.) A link to the Quality Outreach section of the build farm (
>> https://adopt-openjdk.ci.cloudbees.com/view/Quality%20Outreach/)
>>
>> 2.) It lists OpenJDK being built nightly (listed here:
>> https://adopt-openjdk.ci.cloudbees.com/view/OpenJDK)
>>
>> 3.) Lists the OpenJDK code tools being built nightly (listed here:
>> https://adopt-openjdk.ci.cloudbees.com/view/OpenJDK%20code-tools/)
>>
> Done - listed you as maintainer, should I have said London JUGs ?
>
> Rgds,Rory
>
>
>> Also, I'm not sure if we should reach out to code-tools, jdk9-dev and
>> jdk8u-dev and ask them to have links to the CI farm as well?  I think it
>> would be a good idea to highlight this though.
>>
>> Cheers,
>> Martijn
>>
>> On 25 January 2015 at 14:15, Martijn Verburg <martijnverburg at gmail.com>
>> wrote:
>>
>>  Looks like I'm going now :-) - we can discuss further then, in the mean
>>> time Mani and I will try to get something up and running on the CloudBees
>>> CI instances.
>>>
>>> Cheers,
>>> Martijn
>>>
>>> On 19 January 2015 at 17:34, Martijn Verburg <martijnverburg at gmail.com>
>>> wrote:
>>>
>>>  Sadly I may not be able to make FOSDEM, still trying to wrangle some
>>>> clever ways to make it.
>>>>
>>>> Cheers,
>>>> Martijn
>>>>
>>>> On 19 January 2015 at 17:33, Rory O'Donnell <rory.odonnell at oracle.com>
>>>> wrote:
>>>>
>>>>  On 19/01/2015 17:28, Martijn Verburg wrote:
>>>>>
>>>>> Hi Rory,
>>>>>
>>>>>   Understood - it will be good to be able to encourage various OpenJDK
>>>>> members to contribute / port tests into it and measure that. Small
>>>>> steps
>>>>> :-).
>>>>>
>>>>> Sounds good Martijn, talk more on this at FOSDEM ?
>>>>>
>>>>> Rgds,Rory
>>>>>
>>>>>
>>>>>   On 19 January 2015 at 16:35, Rory O'Donnell <
>>>>> rory.odonnell at oracle.com>
>>>>> wrote:
>>>>>
>>>>>  On 19/01/2015 15:36, Martijn Verburg wrote:
>>>>>>
>>>>>> Hi Rory,
>>>>>>
>>>>>>   Thanks - we're looking into the existing Cloudbees Jenkins instance
>>>>>> to do this.
>>>>>>
>>>>>>   ok
>>>>>>
>>>>>>   A second question quick question - do the numbers we're publishing
>>>>>> look right compared to your internal ones?
>>>>>>
>>>>>>    Appreciate non OpenJDK tests run by Oracle means that they cover
>>>>>> more.
>>>>>>
>>>>>>    Comparing our internal numbers with yours would be like comparing
>>>>>> apples with pears
>>>>>> I'm afraid.
>>>>>>
>>>>>> Rgds,Rory
>>>>>>
>>>>>>    Cheers,
>>>>>> Martijn
>>>>>>
>>>>>> On 19 January 2015 at 15:18, Rory O'Donnell <rory.odonnell at oracle.com
>>>>>> >
>>>>>> wrote:
>>>>>>
>>>>>>  On 19/01/2015 10:55, Martijn Verburg wrote:
>>>>>>>
>>>>>>>  Hi all,
>>>>>>>>
>>>>>>>> John Oliver and Mani Sarkar spent some time on the most recent Adopt
>>>>>>>> OpenJDK hackday and managed to get what looks like to be meaningful
>>>>>>>> code
>>>>>>>> coverage numbers for OpenJDK using the jcov/jtreg tools:
>>>>>>>>
>>>>>>>> Results for jdk9: http://sticky.uwcs.co.uk/jcov/
>>>>>>>>
>>>>>>>> ========Code Tools Dev========
>>>>>>>>
>>>>>>>> The configuration John used was as follows (is this the correct
>>>>>>>> usage
>>>>>>>> pattern?):
>>>>>>>>
>>>>>>>> Build jdk images
>>>>>>>> install jtreg with the jcov
>>>>>>>>
>>>>>>>> export the normal vars:
>>>>>>>>
>>>>>>>> ```
>>>>>>>> export SOURCE_CODE=/home/joliver/workspace/jdk9/
>>>>>>>> export JTREG_INSTALL=/home/joliver/workspace/jtreg
>>>>>>>> export JT_HOME=$JTREG_INSTALL
>>>>>>>> export JTREG_HOME=$JTREG_INSTALL
>>>>>>>> export
>>>>>>>> PRODUCT_HOME=$SOURCE_CODE/build/linux-x86_64-normal-
>>>>>>>> server-release/images/jdk
>>>>>>>>
>>>>>>>> export JPRT_JTREG_HOME=${JT_HOME}
>>>>>>>> export JPRT_JAVA_HOME=${PRODUCT_HOME}
>>>>>>>> export JTREG_TIMEOUT_FACTOR=5
>>>>>>>> export CONCURRENCY=8
>>>>>>>> ```
>>>>>>>>
>>>>>>>> cd into jdk/test
>>>>>>>>
>>>>>>>> edit the Makefile and add the following:
>>>>>>>>
>>>>>>>> ```
>>>>>>>> jdkroot=/home/joliver/workspace/jdk9/
>>>>>>>>
>>>>>>>> JTREG_TEST_OPTIONS +=
>>>>>>>> -jcov/classes:$(jdkroot)/build/linux-x86_64-normal-
>>>>>>>> server-release/jdk/modules/java.base
>>>>>>>> JTREG_TEST_OPTIONS +=
>>>>>>>> -jcov/source:$(jdkroot)/jdk/src/java.base/share/classes
>>>>>>>> JTREG_TEST_OPTIONS += -jcov/include:*
>>>>>>>> ```
>>>>>>>>
>>>>>>>> just before the line: # Make sure jtreg exists
>>>>>>>>
>>>>>>>> then just run "make test" inside the root
>>>>>>>>
>>>>>>>> =======Quality Discuss=======
>>>>>>>>
>>>>>>>>    Hi Martijn,
>>>>>>>
>>>>>>> Posting the results on our wiki won't work, so I can provide a link
>>>>>>> to
>>>>>>> the
>>>>>>> results. Let me know when  you have decided on the link locations.
>>>>>>>
>>>>>>> Rgds,Rory
>>>>>>>
>>>>>>>  Is this something that could be hosted by the quality group for the
>>>>>>>> major OpenJDK code lines (7u, 8u and jdk9)?
>>>>>>>>
>>>>>>>> If not then the Adoption Group can host it on one of their external
>>>>>>>> servers temporarily and we could link to that from the
>>>>>>>> wiki(s)/project
>>>>>>>> page(s).
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Martijn
>>>>>>>>
>>>>>>>>     --
>>>>>>> Rgds,Rory O'Donnell
>>>>>>> Quality Engineering Manager
>>>>>>> Oracle EMEA , Dublin, Ireland
>>>>>>>
>>>>>>>
>>>>>>>  --
>>>>>> Rgds,Rory O'Donnell
>>>>>> Quality Engineering Manager
>>>>>> Oracle EMEA , Dublin, Ireland
>>>>>>
>>>>>>
>>>>>>  --
>>>>> Rgds,Rory O'Donnell
>>>>> Quality Engineering Manager
>>>>> Oracle EMEA , Dublin, Ireland
>>>>>
>>>>>
>>>>>
> --
> Rgds,Rory O'Donnell
> Quality Engineering Manager
> Oracle EMEA , Dublin, Ireland
>
>


More information about the adoption-discuss mailing list