b17
Andrew John Hughes
gnu_andrew at member.fsf.org
Thu Oct 8 18:13:21 PDT 2009
2009/10/9 Joe Darcy <Joe.Darcy at sun.com>:
> Andrew John Hughes wrote:
>>
>> 2009/10/8 Joseph D. Darcy <Joe.Darcy at sun.com>:
>>
>>>
>>> Andrew John Hughes wrote:
>>>
>>>>
>>>> 2009/10/7 Joe Darcy <Joe.Darcy at sun.com>:
>>>>
>>>>
>>>>>
>>>>> Andrew John Hughes wrote:
>>>>>
>>>>>
>>>>>>
>>>>>> 2009/10/7 Andrew John Hughes <gnu_andrew at member.fsf.org>:
>>>>>>
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> 2009/10/7 Joe Darcy <Joe.Darcy at sun.com>:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> Andrew John Hughes wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>> 2009/10/5 Joseph D. Darcy <Joe.Darcy at sun.com>:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> [big snip]
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Hello.
>>>>>>>>>>
>>>>>>>>>> Any results for the jdk/test regression tests?
>>>>>>>>>>
>>>>>>>>>> -Joe
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> JDK: Test results: passed: 3,269; failed: 168; error: 3
>>>>>>>>>
>>>>>>>>> The failed seems high, the number of errors matches our usual JTreg
>>>>>>>>> runs. I'll have to take a closer look but I don't usually do runs
>>>>>>>>> on
>>>>>>>>> this box. What were your own results like for OpenJDK6 b17?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> My results for building OpenJDK 6 on Ubuntu 9.04 x64 and running
>>>>>>>> tests
>>>>>>>> there
>>>>>>>> are:
>>>>>>>>
>>>>>>>> hotspot/test:
>>>>>>>> Test results: passed: 24
>>>>>>>>
>>>>>>>> langtools/test:
>>>>>>>> Test results: passed: 1354
>>>>>>>>
>>>>>>>> jdk/test:
>>>>>>>> Test results: passed: 3,100; failed: 43; error: 1
>>>>>>>>
>>>>>>>> All test suites were run with "-a -ignore:quiet"; in addition,
>>>>>>>> langtools
>>>>>>>> was
>>>>>>>> run with "-s".
>>>>>>>>
>>>>>>>> I've uploaded my summary.txt files to:
>>>>>>>> http://cr.openjdk.java.net/~darcy/OpenJDK6-jtreg-pre-b17/
>>>>>>>>
>>>>>>>> (The jdk tests were run a bit differently than my usual test setup
>>>>>>>> where
>>>>>>>> I
>>>>>>>> point the graphical tests into a virtual framefer. In this case, I
>>>>>>>> just
>>>>>>>> ran
>>>>>>>> the tests without redirecting the graphics.)
>>>>>>>>
>>>>>>>> I haven't looked at the IcedTea patch set recently; if the Gervill
>>>>>>>> sound
>>>>>>>> tests are still being duplicated, I think the IcedTea copies can be
>>>>>>>> removed
>>>>>>>> at this point since Karl is keeping the OpenJDK 6 copy of the code
>>>>>>>> and
>>>>>>>> tests
>>>>>>>> up-to-date.
>>>>>>>>
>>>>>>>> -Joe
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> Ok, the majority of JDK failures I'm seeing are not an issue; they
>>>>>>> are
>>>>>>> either compile failures from the optional NIO2 backport in IcedTea6
>>>>>>> or
>>>>>>> headless exceptions for the AWT/Swing stuff. The former are known to
>>>>>>> fail, as I just haven't had time to backport the tests. This isn't a
>>>>>>> major issue as most IcedTea6 builds don't enable the backport anyway.
>>>>>>> The headless exceptions are also expected given the tests were run in
>>>>>>> screen without any virtual framebuffer. Perhaps we should have the
>>>>>>> check-jdk target use Xvfb by default?
>>>>>>>
>>>>>>> Two Gervill tests fail:
>>>>>>>
>>>>>>> javax/sound/midi/Gervill/SoftReceiver/GetMidiDevice.java (compile
>>>>>>> failure)
>>>>>>> javax/sound/midi/Gervill/SoftChannel/NoteOverFlowTest2.java :
>>>>>>> IndexOutOfBounds
>>>>>>>
>>>>>>> The rest seem to be related to java.beans (can't find java.awt.Color
>>>>>>> -- possibly a headless issue again) or crypto (having ECC enabled
>>>>>>> seems to cause additional failures).
>>>>>>>
>>>>>>> I don't think there's anything that's a stopper for b17, especially
>>>>>>> as
>>>>>>> your results seem pretty good (and the failures seem the same as
>>>>>>> we've
>>>>>>> seen). We just need to make some decisions on how to resolve the
>>>>>>> differences between the IcedTea6 and plain OpenJDK6 builds.
>>>>>>>
>>>>>>> What do you think?
>>>>>>> --
>>>>>>> Andrew :-)
>>>>>>>
>>>>>>> Free Java Software Engineer
>>>>>>> Red Hat, Inc. (http://www.redhat.com)
>>>>>>>
>>>>>>> Support Free Java!
>>>>>>> Contribute to GNU Classpath and the OpenJDK
>>>>>>> http://www.gnu.org/software/classpath
>>>>>>> http://openjdk.java.net
>>>>>>>
>>>>>>> PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
>>>>>>> Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> My results are being pushed to http://cr.openjdk.java.net/~andrew/jdk/
>>>>>> now. Should be there shortly.
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> Hello.
>>>>>
>>>>> Below is the jtdiff between my OpenJDK 6 test/jdk regression tests and
>>>>> your
>>>>> IcedTea test/jdk tests.
>>>>>
>>>>> Most of the additional passes are the duplicated Gervill tests and most
>>>>> of
>>>>> the failures differences are from the awt configuration issue (and the
>>>>> nio2
>>>>> backport).
>>>>>
>>>>> So I think this looks pretty good.
>>>>>
>>>>> -Joe
>>>>>
>>>>> 0: 6-open/summary.txt pass: 3,100; fail: 43; error: 1
>>>>> 1: IcedTea/summary.txt pass: 3,269; fail: 168; error: 3
>>>>>
>>>>>
>>>
>>> [snip]
>>>
>>>
>>>>>
>>>>> 405 differences
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> Ah I see the Gervill tests have moved to javax/sound/midi/Gervill. I
>>>> think we should just drop the IcedTea6 duplicate now.
>>>>
>>>> Mosts of the tests do seem to be related to the NIO2 backport or
>>>> enabling NSS (I assume you don't turn on the later either).
>>>> There are some interesting passes on IcedTea that I assume we patch
>>>> locally still. I presume you also have the proprietary SNMP plugs
>>>> which we obviously don't use.
>>>>
>>>>
>>>
>>> No, OpenJDK 6 is all-open all the time; no proprietary anything :-)
>>>
>>>
>>
>> Your tests pass on the following tests:
>>
>> pass --- com/sun/jmx/snmp/SnmpOidHashCode.java
>> pass --- com/sun/jmx/snmp/TimeTicksWrapping.java
>>
>> which would suggest that the binary plugs are being used to provide
>> the optional SNMP provider which is still proprietary.
>>
>>
>
> If the SNMP implementation is not present, the tests detect this and
> vacuously pass, printing a warning.
>
> From
> http://hg.openjdk.java.net/jdk6/jdk6/jdk/file/b394cbe9501e/test/com/sun/jmx/snmp/SnmpOidHashCode.java
> 116 public static void main(String args[]) {
> 117 if (!SnmpOidBuilder.isSnmpPresent()) {
> 118 System.err.println("WARNING: "+
> 119 SnmpOidBuilder.SNMP_OID_CLASS_NAME+" not
> present.");
> 120 System.err.println(SnmpOidHashCode.class.getName()+
> 121 ": test skipped.");
> 122 return;
> 123 }
>
> and borne out in the jtr file for my test run:
>
> [...]
> ----------messages:(3/117)----------
> command: main SnmpOidHashCode
> reason: User specified action: run main SnmpOidHashCode
> elapsed time (seconds): 0.205
> ----------System.out:(1/46)----------
> SnmpOidHashCode: Testing for SNMP Packages...
> ----------System.err:(4/138)----------
> WARNING: can't load com.sun.jmx.snmp.SnmpOid
> WARNING: com.sun.jmx.snmp.SnmpOid not present.
> SnmpOidHashCode: test skipped.
> STATUS:Passed.
> result: Passed. Execution successful
>
> -Joe
>
>
Ah nice, I didn't realise this. IcedTea has the tests disabled by an
exclusion file, so I assumed they were failing. I guess they were
because stubs are still being installed for these classes at present.
These are on my list to remove/clean up.
Interestingly, there are a number of differences in the build READMEs
between 6 and 7 regarding binary plugs (- is 7, + is 6):
- Install the
+ Optionally install the
- This is a temporary situation and these binary plugs will be
- replaced with fully open source replacements as soon
as possible.
- So currently, in order to build a complete OpenJDK image,
+ This is a temporary situation and most of these
binary plugs have
+ been replaced with fully open source replacements,
except for SNMP.
+ You don't to download and use binary plugs in order to build a
+ complete OpenJDK image, and you don't need them to create a JDK 6
+ implementation. If you insist on using the binary plugs,
The 6 documentation is much more tailored to avoiding the binary plugs
where possible, while the 7 documentation is outdated and suggests
they are still needed. Clearly some updates are missing on the 7 copy,
namely:
changeset: 36:073cdf699427
user: robilad
date: Tue May 19 02:30:49 2009 +0200
summary: 6641691: 6-open: Bring build readme's up-to-date
http://hg.openjdk.java.net/jdk6/jdk6/rev/073cdf699427
I'll look at forwardporting this to 7, unless Dalibor wants to.
--
Andrew :-)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
More information about the jdk6-dev
mailing list