You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Ray Chen <cl...@gmail.com> on 2009/12/18 12:21:34 UTC

6.0 Milestone testing -windowsXP-32

Hi All,

I run the java6 test on windows platform,  27059 tests ran, and I see
18 failures and 15 errors
Failures:
*javax.swing.plaf.basic.BasicScrollBarUITest.testGetThumbBounds
expected: 16, actual: 0
javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4615
 null expected:<[line4 line4]> but was:<[ line4 line]>
org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxy2
should throw ConnectException
org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_setInterfaceLjava_net_InetAddress
  Exception during test : null
org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getName
  Exception occurred getting network interfaces :
java.lang.NullPointerException
org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInetAddresses
  Exception occurred getting network interfaces :
java.lang.NullPointerException
org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getDisplayName
   Exception occurred getting network interfaces :
java.lang.NullPointerException
org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByNameLjava_lang_String
   Exception occurred getting network interfaces :
java.lang.NullPointerException
org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByInetAddressLjava_net_InetAddress
   Exception occurred getting network interfaces :
java.lang.NullPointerException
org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getNetworkInterfaces
   Exception occurred getting network interfaces :
java.lang.NullPointerException
org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_equalsLjava_lang_Object
   Exception occurred getting network interfaces :
java.lang.NullPointerException
org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_hashCode
   Exception occurred getting network interfaces :
java.lang.NullPointerException
org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_toString
   Exception occurred getting network interfaces :
java.lang.NullPointerException
org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInterfaceAddresses
   Exception occurred getting network interfaces :
java.lang.NullPointerException
org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_isLoopback
   Exception occurred getting network interfaces :
java.lang.NullPointerException
org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getHardwareAddress
   Exception occurred getting network interfaces :
java.lang.NullPointerException
org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getMTU
   Exception occurred getting network interfaces :
java.lang.NullPointerException
org.apache.harmony.luni.tests.java.net.URLConnectionTest.test_getInputStream
  	null expected:<[zyxwvuts]> but was:<[]>

Errors:
javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4582
 java.lang.NullPointerException
org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_1
   java.nio.BufferOverflowException
org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_2
   java.nio.BufferOverflowException
org.apache.harmony.luni.tests.java.io.WriterTesterTest$FileWriterCharSinkTester:sinkTestWriteLargeArray
   java.nio.BufferOverflowException
org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII
   java.lang.NullPointerException
org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
   java.lang.NullPointerException
org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_hashCode
   java.lang.NullPointerException
org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_equals_LObject
   java.lang.NullPointerException
org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_toString
   java.lang.NullPointerException
org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getAddress
   java.lang.NullPointerException
org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getBroadcast
   java.lang.NullPointerException
org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getNetworkPrefixLength
   java.lang.NullPointerException
org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface
    java.lang.NullPointerException
org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_leaveGroupLjava_net_SocketAddressLjava_net_NetworkInterface
   java.lang.NullPointerException
org.apache.harmony.luni.tests.java.net.WinNetworkInterfaceTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
   java.lang.NullPointerException



I think the test failures of network interface related to JIRA6369
which means there are bugs in our portlib code on windows platform.
And the test case start with"*"  sucess when I ran it standalone.


-- 
Regards,

Ray Chen

Re: 6.0 Milestone testing -windowsXP-32

Posted by Tony Wu <wu...@gmail.com>.
ya, I got the same error with VS 2008

On Fri, Dec 18, 2009 at 9:16 PM, Tim Ellison <t....@gmail.com> wrote:
> While I can build ok using VisualStudio 2003, I have build problems now
> on VisualStudio 2008.
>
>>      [exec]     cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS -FIsehmap.h -D_X86_=1  -DWIN32 -D_WIN32 -W3 -D_WIN95 -D_WIN32_WINDOWS=0x0400 /D_WIN32_DCOM -D_WIN32_IE=0x0500 -DWINVER=0x0400 -Zi -Od -WX -GF -Gs -MD -Zm400   -D_CRT_SECURE_NO_DEPRECATE  -D_CRT_SECURE_NO_WARNINGS  -D_SCL_SECURE_NO_DEPRECATE  -D_DLL -D_
>> MT -D_WINSOCKAPI_  /ID:\java6\working_classlib\deploy\include /ID:\java6\working_classlib\deploy\jdk\include /I. /I..\shared\ -Fohelpers.obj helpers.c
>>      [exec] helpers.c
>>      [exec] helpers.c(65) : error C2365: 'IFTYPE' : redefinition; previous definition was 'typedef'
>>      [exec]         C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE'
>>      [exec] helpers.c(65) : error C2086: 'IFTYPE' : redefinition
>>      [exec]         helpers.c(65) : see declaration of 'IFTYPE'
>>      [exec] helpers.c(737) : error C2275: 'IFTYPE' : illegal use of this type as an expression
>>      [exec]         C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE'
>>      [exec] helpers.c(737) : error C2046: illegal case
>>      [exec] helpers.c(772) : error C2275: 'IFTYPE' : illegal use of this type as an expression
>>      [exec]         C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE'
>>      [exec] helpers.c(772) : error C2198: 'getPlatformNetworkInterfaceAttribute' : too few arguments for call
>>      [exec] helpers.c(777) : error C2275: 'IFTYPE' : illegal use of this type as an expression
>>      [exec]         C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE'
>>      [exec] helpers.c(777) : error C2198: 'getPlatformNetworkInterfaceAttribute' : too few arguments for call
>>      [exec] NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.EXE"' : return code '0x2'
>>      [exec] Stop.
>
> Anyone else see this?
>
> Regards,
> Tim
>
>
> On 18/Dec/2009 11:21, Ray Chen wrote:
>> Hi All,
>>
>> I run the java6 test on windows platform,  27059 tests ran, and I see
>> 18 failures and 15 errors
>> Failures:
>> *javax.swing.plaf.basic.BasicScrollBarUITest.testGetThumbBounds
>> expected: 16, actual: 0
>> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4615
>>  null expected:<[line4 line4]> but was:<[ line4 line]>
>> org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxy2
>> should throw ConnectException
>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_setInterfaceLjava_net_InetAddress
>>   Exception during test : null
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getName
>>   Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInetAddresses
>>   Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getDisplayName
>>    Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByNameLjava_lang_String
>>    Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByInetAddressLjava_net_InetAddress
>>    Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getNetworkInterfaces
>>    Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_equalsLjava_lang_Object
>>    Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_hashCode
>>    Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_toString
>>    Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInterfaceAddresses
>>    Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_isLoopback
>>    Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getHardwareAddress
>>    Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getMTU
>>    Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.URLConnectionTest.test_getInputStream
>>       null expected:<[zyxwvuts]> but was:<[]>
>>
>> Errors:
>> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4582
>>  java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_1
>>    java.nio.BufferOverflowException
>> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_2
>>    java.nio.BufferOverflowException
>> org.apache.harmony.luni.tests.java.io.WriterTesterTest$FileWriterCharSinkTester:sinkTestWriteLargeArray
>>    java.nio.BufferOverflowException
>> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII
>>    java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>>    java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_hashCode
>>    java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_equals_LObject
>>    java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_toString
>>    java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getAddress
>>    java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getBroadcast
>>    java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getNetworkPrefixLength
>>    java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>>     java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_leaveGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>>    java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.WinNetworkInterfaceTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>>    java.lang.NullPointerException
>>
>>
>>
>> I think the test failures of network interface related to JIRA6369
>> which means there are bugs in our portlib code on windows platform.
>> And the test case start with"*"  sucess when I ran it standalone.
>>
>>
>



-- 
Tony Wu
China Software Development Lab, IBM

Re: 6.0 Milestone testing -windowsXP-32

Posted by Tony Wu <wu...@gmail.com>.
Hi Ray
I run it separately and got only one error left

	test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface	Error	The
address is not available

java.net.SocketException: The address is not available
at org.apache.harmony.luni.platform.OSNetworkSystem.setSocketOption(OSNetworkSystem.java)
at org.apache.harmony.luni.net.PlainDatagramSocketImpl.setOption(PlainDatagramSocketImpl.java:302)
at org.apache.harmony.luni.net.PlainDatagramSocketImpl.joinGroup(PlainDatagramSocketImpl.java:209)
at java.net.MulticastSocket.joinGroup(MulticastSocket.java:257)
at org.apache.harmony.luni.tests.java.net.MulticastSocketTest$MulticastServer.(MulticastSocketTest.java:129)
at org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface(MulticastSocketTest.java:521)
at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)


On Mon, Jan 4, 2010 at 11:32 AM, Ray Chen <cl...@gmail.com> wrote:
> Hi Tony,
> MulticastSocketTest all passed on my machine (I ran it standalone).
> Maybe you can run it standalone on your machine to see if it can pass.
>
> On Fri, Dec 25, 2009 at 2:56 PM, Tony Wu <wu...@gmail.com> wrote:
>> got latest testing result here
>> http://people.apache.org/~tonywu/r893424-60m1-winxp32-vs2008/
>>
>> On Wed, Dec 23, 2009 at 8:07 AM, Nathan Beyer <nb...@gmail.com> wrote:
>>> Here's my results for windows x86 testing with vs2003 build of java6
>>> branch on Windows Vista.
>>>
>>> http://people.apache.org/~ndbeyer/harmony/windows-x86-java6/html/
>>>
>>> I think two of the errors are due to running in a virtual machine and
>>> the network config I have.
>>>
>>> -Nathan
>>>
>>> On Tue, Dec 22, 2009 at 9:52 AM, Tony Wu <wu...@gmail.com> wrote:
>>>> pls check the testing result w/o awt and swing here
>>>> http://people.apache.org/~tonywu/r893171-60m1-winxp32-vs2008/
>>>>
>>>> seems I got more errors than yours?
>>>>
>>>> On Tue, Dec 22, 2009 at 5:14 PM, Tony Wu <wu...@gmail.com> wrote:
>>>>> the federated build works for me. but still don't know what's the
>>>>> reason for my non-federated build. Anyway I can keep moving and post
>>>>> my testing result on win32 with VS 2008
>>>>>
>>>>> On Mon, Dec 21, 2009 at 10:46 PM, Tony Wu <wu...@gmail.com> wrote:
>>>>>> On Mon, Dec 21, 2009 at 9:55 PM, Mark Hindess
>>>>>> <ma...@googlemail.com> wrote:
>>>>>>>
>>>>>>> In message <21...@mail.gmail.com>,
>>>>>>> Tony Wu writes:
>>>>>>>>
>>>>>>>> change the junit fork to "no" and it passes.  anyone came across this
>>>>>>>> issue before?
>>>>>>>
>>>>>>> I'm a little confused as to how you are running the tests.  A simple:
>>>>>>>
>>>>>>>  ant test
>>>>>>>
>>>>>>> at the top level of the federated build should suffice.
>>>>>>>
>>>>>>> However, the paths in your output look like:
>>>>>>>
>>>>>>>   deploy/jdk/jre/bin/java
>>>>>>>
>>>>>>> where as I would expect them to be pointing at the combined hdk for
>>>>>>> the federated build which has a path like:
>>>>>>>
>>>>>>>   target/hdk/jdk/jre/bin/java
>>>>>>>
>>>>>>> The deploy directories in component directories (working_*/deploy) are
>>>>>>> all incomplete so it only make sense to run the tests against the merged
>>>>>>> tree in target/hdk/...
>>>>>>>
>>>>>>> If you wish to run the tests from working_classlib then you need to set
>>>>>>> the test.jre.home property to point back up to the absolute path of the
>>>>>>> target/hdk/jdk/jre directory.
>>>>>>
>>>>>> Hi, Mark
>>>>>>
>>>>>> I just built it in a separate workingcopy of classlib/branches/java6
>>>>>> and then copied a binary of DRLVM into bin/default. I tried to set
>>>>>> test.jre.home to jdk/jre/bin, and it didn't work. I'm not sure the
>>>>>> problem I'm experiencing is caused by the VS2008 or non-federated
>>>>>> build.
>>>>>>
>>>>>> Will try on federated tomorrow. if it still doesn't work, I have to
>>>>>> install a VS 2003 :-(
>>>>>>
>>>>>>>
>>>>>>> HTH,
>>>>>>>  Mark.
>>>>>>>
>>>>>>>> On Mon, Dec 21, 2009 at 4:57 PM, Tony Wu <wu...@gmail.com> wrote:
>>>>>>>> > with vs2008 + winxp x86 32bit, I resolved the compier error but got
>>>>>>>> > following error when run the tests.
>>>>>>>> >
>>>>>>>> > -get-test-vm-output:
>>>>>>>> >  [exec] Execute failed: java.io.IOException: CreateProcess: D:\workingcopy\b
>>>>>>>> > ranch6\deploy\jdk\jre\bin\java -version error=193
>>>>>>>> >
>>>>>>>> > test-jre-vm-info:
>>>>>>>> >  [echo] java -version
>>>>>>>> >  [echo] ${test.vm.info.tmp}
>>>>>>>> >  [echo] hy.test.vm.name = drl
>>>>>>>> >
>>>>>>>> > test-module:
>>>>>>>> >  [echo] Running luni Unit Test from luni_tests_api.jar
>>>>>>>> >  [echo] Tested jre: D:\workingcopy\branch6\deploy\jdk\jre/bin/java
>>>>>>>> >  [mkdir] Created dir: D:\workingcopy\branch6\build\test_report
>>>>>>>> >  [junit] Running org.apache.harmony.luni.tests.util.UtilTest
>>>>>>>> >  [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>>>>>>>> >
>>>>>>>> > BUILD FAILED
>>>>>>>> > D:\workingcopy\branch6\build.xml:181: The following error occurred while
>>>>>>>> > executing this line:
>>>>>>>> > D:\workingcopy\branch6\make\build-test.xml:54: The following error occurred
>>>>>>>> > while executing this line:
>>>>>>>> > D:\workingcopy\branch6\make\properties.xml:529: The following error occurred
>>>>>>>> > while executing this line:
>>>>>>>> > D:\workingcopy\branch6\make\properties.xml:541: The following error occurred
>>>>>>>> > while executing this line:
>>>>>>>> > D:\workingcopy\branch6\modules\luni\build.xml:334: The following error
>>>>>>>> > occurred while executing this line:
>>>>>>>> > D:\workingcopy\branch6\deploy\build\test\luni\build.xml:36: The following
>>>>>>>> > error occurred while executing this line:
>>>>>>>> > D:\workingcopy\branch6\make\properties.xml:732: Process fork failed.
>>>>>>>> >
>>>>>>>> > seems the java -version does not work, but I it works when I try it
>>>>>>>> > manually,
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Tony Wu
>>>>>> China Software Development Lab, IBM
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Tony Wu
>>>>> China Software Development Lab, IBM
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Tony Wu
>>>> China Software Development Lab, IBM
>>>>
>>>
>>
>>
>>
>> --
>> Tony Wu
>> China Software Development Lab, IBM
>>
>
>
>
> --
> Regards,
>
> Ray Chen
>



-- 
Tony Wu
China Software Development Lab, IBM

Re: 6.0 Milestone testing -windowsXP-32

Posted by Ray Chen <cl...@gmail.com>.
Hi Tony,
MulticastSocketTest all passed on my machine (I ran it standalone).
Maybe you can run it standalone on your machine to see if it can pass.

On Fri, Dec 25, 2009 at 2:56 PM, Tony Wu <wu...@gmail.com> wrote:
> got latest testing result here
> http://people.apache.org/~tonywu/r893424-60m1-winxp32-vs2008/
>
> On Wed, Dec 23, 2009 at 8:07 AM, Nathan Beyer <nb...@gmail.com> wrote:
>> Here's my results for windows x86 testing with vs2003 build of java6
>> branch on Windows Vista.
>>
>> http://people.apache.org/~ndbeyer/harmony/windows-x86-java6/html/
>>
>> I think two of the errors are due to running in a virtual machine and
>> the network config I have.
>>
>> -Nathan
>>
>> On Tue, Dec 22, 2009 at 9:52 AM, Tony Wu <wu...@gmail.com> wrote:
>>> pls check the testing result w/o awt and swing here
>>> http://people.apache.org/~tonywu/r893171-60m1-winxp32-vs2008/
>>>
>>> seems I got more errors than yours?
>>>
>>> On Tue, Dec 22, 2009 at 5:14 PM, Tony Wu <wu...@gmail.com> wrote:
>>>> the federated build works for me. but still don't know what's the
>>>> reason for my non-federated build. Anyway I can keep moving and post
>>>> my testing result on win32 with VS 2008
>>>>
>>>> On Mon, Dec 21, 2009 at 10:46 PM, Tony Wu <wu...@gmail.com> wrote:
>>>>> On Mon, Dec 21, 2009 at 9:55 PM, Mark Hindess
>>>>> <ma...@googlemail.com> wrote:
>>>>>>
>>>>>> In message <21...@mail.gmail.com>,
>>>>>> Tony Wu writes:
>>>>>>>
>>>>>>> change the junit fork to "no" and it passes.  anyone came across this
>>>>>>> issue before?
>>>>>>
>>>>>> I'm a little confused as to how you are running the tests.  A simple:
>>>>>>
>>>>>>  ant test
>>>>>>
>>>>>> at the top level of the federated build should suffice.
>>>>>>
>>>>>> However, the paths in your output look like:
>>>>>>
>>>>>>   deploy/jdk/jre/bin/java
>>>>>>
>>>>>> where as I would expect them to be pointing at the combined hdk for
>>>>>> the federated build which has a path like:
>>>>>>
>>>>>>   target/hdk/jdk/jre/bin/java
>>>>>>
>>>>>> The deploy directories in component directories (working_*/deploy) are
>>>>>> all incomplete so it only make sense to run the tests against the merged
>>>>>> tree in target/hdk/...
>>>>>>
>>>>>> If you wish to run the tests from working_classlib then you need to set
>>>>>> the test.jre.home property to point back up to the absolute path of the
>>>>>> target/hdk/jdk/jre directory.
>>>>>
>>>>> Hi, Mark
>>>>>
>>>>> I just built it in a separate workingcopy of classlib/branches/java6
>>>>> and then copied a binary of DRLVM into bin/default. I tried to set
>>>>> test.jre.home to jdk/jre/bin, and it didn't work. I'm not sure the
>>>>> problem I'm experiencing is caused by the VS2008 or non-federated
>>>>> build.
>>>>>
>>>>> Will try on federated tomorrow. if it still doesn't work, I have to
>>>>> install a VS 2003 :-(
>>>>>
>>>>>>
>>>>>> HTH,
>>>>>>  Mark.
>>>>>>
>>>>>>> On Mon, Dec 21, 2009 at 4:57 PM, Tony Wu <wu...@gmail.com> wrote:
>>>>>>> > with vs2008 + winxp x86 32bit, I resolved the compier error but got
>>>>>>> > following error when run the tests.
>>>>>>> >
>>>>>>> > -get-test-vm-output:
>>>>>>> >  [exec] Execute failed: java.io.IOException: CreateProcess: D:\workingcopy\b
>>>>>>> > ranch6\deploy\jdk\jre\bin\java -version error=193
>>>>>>> >
>>>>>>> > test-jre-vm-info:
>>>>>>> >  [echo] java -version
>>>>>>> >  [echo] ${test.vm.info.tmp}
>>>>>>> >  [echo] hy.test.vm.name = drl
>>>>>>> >
>>>>>>> > test-module:
>>>>>>> >  [echo] Running luni Unit Test from luni_tests_api.jar
>>>>>>> >  [echo] Tested jre: D:\workingcopy\branch6\deploy\jdk\jre/bin/java
>>>>>>> >  [mkdir] Created dir: D:\workingcopy\branch6\build\test_report
>>>>>>> >  [junit] Running org.apache.harmony.luni.tests.util.UtilTest
>>>>>>> >  [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>>>>>>> >
>>>>>>> > BUILD FAILED
>>>>>>> > D:\workingcopy\branch6\build.xml:181: The following error occurred while
>>>>>>> > executing this line:
>>>>>>> > D:\workingcopy\branch6\make\build-test.xml:54: The following error occurred
>>>>>>> > while executing this line:
>>>>>>> > D:\workingcopy\branch6\make\properties.xml:529: The following error occurred
>>>>>>> > while executing this line:
>>>>>>> > D:\workingcopy\branch6\make\properties.xml:541: The following error occurred
>>>>>>> > while executing this line:
>>>>>>> > D:\workingcopy\branch6\modules\luni\build.xml:334: The following error
>>>>>>> > occurred while executing this line:
>>>>>>> > D:\workingcopy\branch6\deploy\build\test\luni\build.xml:36: The following
>>>>>>> > error occurred while executing this line:
>>>>>>> > D:\workingcopy\branch6\make\properties.xml:732: Process fork failed.
>>>>>>> >
>>>>>>> > seems the java -version does not work, but I it works when I try it
>>>>>>> > manually,
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Tony Wu
>>>>> China Software Development Lab, IBM
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Tony Wu
>>>> China Software Development Lab, IBM
>>>>
>>>
>>>
>>>
>>> --
>>> Tony Wu
>>> China Software Development Lab, IBM
>>>
>>
>
>
>
> --
> Tony Wu
> China Software Development Lab, IBM
>



-- 
Regards,

Ray Chen

Re: 6.0 Milestone testing -windowsXP-32

Posted by Tony Wu <wu...@gmail.com>.
got latest testing result here
http://people.apache.org/~tonywu/r893424-60m1-winxp32-vs2008/

On Wed, Dec 23, 2009 at 8:07 AM, Nathan Beyer <nb...@gmail.com> wrote:
> Here's my results for windows x86 testing with vs2003 build of java6
> branch on Windows Vista.
>
> http://people.apache.org/~ndbeyer/harmony/windows-x86-java6/html/
>
> I think two of the errors are due to running in a virtual machine and
> the network config I have.
>
> -Nathan
>
> On Tue, Dec 22, 2009 at 9:52 AM, Tony Wu <wu...@gmail.com> wrote:
>> pls check the testing result w/o awt and swing here
>> http://people.apache.org/~tonywu/r893171-60m1-winxp32-vs2008/
>>
>> seems I got more errors than yours?
>>
>> On Tue, Dec 22, 2009 at 5:14 PM, Tony Wu <wu...@gmail.com> wrote:
>>> the federated build works for me. but still don't know what's the
>>> reason for my non-federated build. Anyway I can keep moving and post
>>> my testing result on win32 with VS 2008
>>>
>>> On Mon, Dec 21, 2009 at 10:46 PM, Tony Wu <wu...@gmail.com> wrote:
>>>> On Mon, Dec 21, 2009 at 9:55 PM, Mark Hindess
>>>> <ma...@googlemail.com> wrote:
>>>>>
>>>>> In message <21...@mail.gmail.com>,
>>>>> Tony Wu writes:
>>>>>>
>>>>>> change the junit fork to "no" and it passes.  anyone came across this
>>>>>> issue before?
>>>>>
>>>>> I'm a little confused as to how you are running the tests.  A simple:
>>>>>
>>>>>  ant test
>>>>>
>>>>> at the top level of the federated build should suffice.
>>>>>
>>>>> However, the paths in your output look like:
>>>>>
>>>>>   deploy/jdk/jre/bin/java
>>>>>
>>>>> where as I would expect them to be pointing at the combined hdk for
>>>>> the federated build which has a path like:
>>>>>
>>>>>   target/hdk/jdk/jre/bin/java
>>>>>
>>>>> The deploy directories in component directories (working_*/deploy) are
>>>>> all incomplete so it only make sense to run the tests against the merged
>>>>> tree in target/hdk/...
>>>>>
>>>>> If you wish to run the tests from working_classlib then you need to set
>>>>> the test.jre.home property to point back up to the absolute path of the
>>>>> target/hdk/jdk/jre directory.
>>>>
>>>> Hi, Mark
>>>>
>>>> I just built it in a separate workingcopy of classlib/branches/java6
>>>> and then copied a binary of DRLVM into bin/default. I tried to set
>>>> test.jre.home to jdk/jre/bin, and it didn't work. I'm not sure the
>>>> problem I'm experiencing is caused by the VS2008 or non-federated
>>>> build.
>>>>
>>>> Will try on federated tomorrow. if it still doesn't work, I have to
>>>> install a VS 2003 :-(
>>>>
>>>>>
>>>>> HTH,
>>>>>  Mark.
>>>>>
>>>>>> On Mon, Dec 21, 2009 at 4:57 PM, Tony Wu <wu...@gmail.com> wrote:
>>>>>> > with vs2008 + winxp x86 32bit, I resolved the compier error but got
>>>>>> > following error when run the tests.
>>>>>> >
>>>>>> > -get-test-vm-output:
>>>>>> >  [exec] Execute failed: java.io.IOException: CreateProcess: D:\workingcopy\b
>>>>>> > ranch6\deploy\jdk\jre\bin\java -version error=193
>>>>>> >
>>>>>> > test-jre-vm-info:
>>>>>> >  [echo] java -version
>>>>>> >  [echo] ${test.vm.info.tmp}
>>>>>> >  [echo] hy.test.vm.name = drl
>>>>>> >
>>>>>> > test-module:
>>>>>> >  [echo] Running luni Unit Test from luni_tests_api.jar
>>>>>> >  [echo] Tested jre: D:\workingcopy\branch6\deploy\jdk\jre/bin/java
>>>>>> >  [mkdir] Created dir: D:\workingcopy\branch6\build\test_report
>>>>>> >  [junit] Running org.apache.harmony.luni.tests.util.UtilTest
>>>>>> >  [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>>>>>> >
>>>>>> > BUILD FAILED
>>>>>> > D:\workingcopy\branch6\build.xml:181: The following error occurred while
>>>>>> > executing this line:
>>>>>> > D:\workingcopy\branch6\make\build-test.xml:54: The following error occurred
>>>>>> > while executing this line:
>>>>>> > D:\workingcopy\branch6\make\properties.xml:529: The following error occurred
>>>>>> > while executing this line:
>>>>>> > D:\workingcopy\branch6\make\properties.xml:541: The following error occurred
>>>>>> > while executing this line:
>>>>>> > D:\workingcopy\branch6\modules\luni\build.xml:334: The following error
>>>>>> > occurred while executing this line:
>>>>>> > D:\workingcopy\branch6\deploy\build\test\luni\build.xml:36: The following
>>>>>> > error occurred while executing this line:
>>>>>> > D:\workingcopy\branch6\make\properties.xml:732: Process fork failed.
>>>>>> >
>>>>>> > seems the java -version does not work, but I it works when I try it
>>>>>> > manually,
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Tony Wu
>>>> China Software Development Lab, IBM
>>>>
>>>
>>>
>>>
>>> --
>>> Tony Wu
>>> China Software Development Lab, IBM
>>>
>>
>>
>>
>> --
>> Tony Wu
>> China Software Development Lab, IBM
>>
>



-- 
Tony Wu
China Software Development Lab, IBM

Re: 6.0 Milestone testing -windowsXP-32

Posted by Nathan Beyer <nb...@gmail.com>.
Here's my results for windows x86 testing with vs2003 build of java6
branch on Windows Vista.

http://people.apache.org/~ndbeyer/harmony/windows-x86-java6/html/

I think two of the errors are due to running in a virtual machine and
the network config I have.

-Nathan

On Tue, Dec 22, 2009 at 9:52 AM, Tony Wu <wu...@gmail.com> wrote:
> pls check the testing result w/o awt and swing here
> http://people.apache.org/~tonywu/r893171-60m1-winxp32-vs2008/
>
> seems I got more errors than yours?
>
> On Tue, Dec 22, 2009 at 5:14 PM, Tony Wu <wu...@gmail.com> wrote:
>> the federated build works for me. but still don't know what's the
>> reason for my non-federated build. Anyway I can keep moving and post
>> my testing result on win32 with VS 2008
>>
>> On Mon, Dec 21, 2009 at 10:46 PM, Tony Wu <wu...@gmail.com> wrote:
>>> On Mon, Dec 21, 2009 at 9:55 PM, Mark Hindess
>>> <ma...@googlemail.com> wrote:
>>>>
>>>> In message <21...@mail.gmail.com>,
>>>> Tony Wu writes:
>>>>>
>>>>> change the junit fork to "no" and it passes.  anyone came across this
>>>>> issue before?
>>>>
>>>> I'm a little confused as to how you are running the tests.  A simple:
>>>>
>>>>  ant test
>>>>
>>>> at the top level of the federated build should suffice.
>>>>
>>>> However, the paths in your output look like:
>>>>
>>>>   deploy/jdk/jre/bin/java
>>>>
>>>> where as I would expect them to be pointing at the combined hdk for
>>>> the federated build which has a path like:
>>>>
>>>>   target/hdk/jdk/jre/bin/java
>>>>
>>>> The deploy directories in component directories (working_*/deploy) are
>>>> all incomplete so it only make sense to run the tests against the merged
>>>> tree in target/hdk/...
>>>>
>>>> If you wish to run the tests from working_classlib then you need to set
>>>> the test.jre.home property to point back up to the absolute path of the
>>>> target/hdk/jdk/jre directory.
>>>
>>> Hi, Mark
>>>
>>> I just built it in a separate workingcopy of classlib/branches/java6
>>> and then copied a binary of DRLVM into bin/default. I tried to set
>>> test.jre.home to jdk/jre/bin, and it didn't work. I'm not sure the
>>> problem I'm experiencing is caused by the VS2008 or non-federated
>>> build.
>>>
>>> Will try on federated tomorrow. if it still doesn't work, I have to
>>> install a VS 2003 :-(
>>>
>>>>
>>>> HTH,
>>>>  Mark.
>>>>
>>>>> On Mon, Dec 21, 2009 at 4:57 PM, Tony Wu <wu...@gmail.com> wrote:
>>>>> > with vs2008 + winxp x86 32bit, I resolved the compier error but got
>>>>> > following error when run the tests.
>>>>> >
>>>>> > -get-test-vm-output:
>>>>> >  [exec] Execute failed: java.io.IOException: CreateProcess: D:\workingcopy\b
>>>>> > ranch6\deploy\jdk\jre\bin\java -version error=193
>>>>> >
>>>>> > test-jre-vm-info:
>>>>> >  [echo] java -version
>>>>> >  [echo] ${test.vm.info.tmp}
>>>>> >  [echo] hy.test.vm.name = drl
>>>>> >
>>>>> > test-module:
>>>>> >  [echo] Running luni Unit Test from luni_tests_api.jar
>>>>> >  [echo] Tested jre: D:\workingcopy\branch6\deploy\jdk\jre/bin/java
>>>>> >  [mkdir] Created dir: D:\workingcopy\branch6\build\test_report
>>>>> >  [junit] Running org.apache.harmony.luni.tests.util.UtilTest
>>>>> >  [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>>>>> >
>>>>> > BUILD FAILED
>>>>> > D:\workingcopy\branch6\build.xml:181: The following error occurred while
>>>>> > executing this line:
>>>>> > D:\workingcopy\branch6\make\build-test.xml:54: The following error occurred
>>>>> > while executing this line:
>>>>> > D:\workingcopy\branch6\make\properties.xml:529: The following error occurred
>>>>> > while executing this line:
>>>>> > D:\workingcopy\branch6\make\properties.xml:541: The following error occurred
>>>>> > while executing this line:
>>>>> > D:\workingcopy\branch6\modules\luni\build.xml:334: The following error
>>>>> > occurred while executing this line:
>>>>> > D:\workingcopy\branch6\deploy\build\test\luni\build.xml:36: The following
>>>>> > error occurred while executing this line:
>>>>> > D:\workingcopy\branch6\make\properties.xml:732: Process fork failed.
>>>>> >
>>>>> > seems the java -version does not work, but I it works when I try it
>>>>> > manually,
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Tony Wu
>>> China Software Development Lab, IBM
>>>
>>
>>
>>
>> --
>> Tony Wu
>> China Software Development Lab, IBM
>>
>
>
>
> --
> Tony Wu
> China Software Development Lab, IBM
>

Re: 6.0 Milestone testing -windowsXP-32

Posted by Tony Wu <wu...@gmail.com>.
pls check the testing result w/o awt and swing here
http://people.apache.org/~tonywu/r893171-60m1-winxp32-vs2008/

seems I got more errors than yours?

On Tue, Dec 22, 2009 at 5:14 PM, Tony Wu <wu...@gmail.com> wrote:
> the federated build works for me. but still don't know what's the
> reason for my non-federated build. Anyway I can keep moving and post
> my testing result on win32 with VS 2008
>
> On Mon, Dec 21, 2009 at 10:46 PM, Tony Wu <wu...@gmail.com> wrote:
>> On Mon, Dec 21, 2009 at 9:55 PM, Mark Hindess
>> <ma...@googlemail.com> wrote:
>>>
>>> In message <21...@mail.gmail.com>,
>>> Tony Wu writes:
>>>>
>>>> change the junit fork to "no" and it passes.  anyone came across this
>>>> issue before?
>>>
>>> I'm a little confused as to how you are running the tests.  A simple:
>>>
>>>  ant test
>>>
>>> at the top level of the federated build should suffice.
>>>
>>> However, the paths in your output look like:
>>>
>>>   deploy/jdk/jre/bin/java
>>>
>>> where as I would expect them to be pointing at the combined hdk for
>>> the federated build which has a path like:
>>>
>>>   target/hdk/jdk/jre/bin/java
>>>
>>> The deploy directories in component directories (working_*/deploy) are
>>> all incomplete so it only make sense to run the tests against the merged
>>> tree in target/hdk/...
>>>
>>> If you wish to run the tests from working_classlib then you need to set
>>> the test.jre.home property to point back up to the absolute path of the
>>> target/hdk/jdk/jre directory.
>>
>> Hi, Mark
>>
>> I just built it in a separate workingcopy of classlib/branches/java6
>> and then copied a binary of DRLVM into bin/default. I tried to set
>> test.jre.home to jdk/jre/bin, and it didn't work. I'm not sure the
>> problem I'm experiencing is caused by the VS2008 or non-federated
>> build.
>>
>> Will try on federated tomorrow. if it still doesn't work, I have to
>> install a VS 2003 :-(
>>
>>>
>>> HTH,
>>>  Mark.
>>>
>>>> On Mon, Dec 21, 2009 at 4:57 PM, Tony Wu <wu...@gmail.com> wrote:
>>>> > with vs2008 + winxp x86 32bit, I resolved the compier error but got
>>>> > following error when run the tests.
>>>> >
>>>> > -get-test-vm-output:
>>>> >  [exec] Execute failed: java.io.IOException: CreateProcess: D:\workingcopy\b
>>>> > ranch6\deploy\jdk\jre\bin\java -version error=193
>>>> >
>>>> > test-jre-vm-info:
>>>> >  [echo] java -version
>>>> >  [echo] ${test.vm.info.tmp}
>>>> >  [echo] hy.test.vm.name = drl
>>>> >
>>>> > test-module:
>>>> >  [echo] Running luni Unit Test from luni_tests_api.jar
>>>> >  [echo] Tested jre: D:\workingcopy\branch6\deploy\jdk\jre/bin/java
>>>> >  [mkdir] Created dir: D:\workingcopy\branch6\build\test_report
>>>> >  [junit] Running org.apache.harmony.luni.tests.util.UtilTest
>>>> >  [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>>>> >
>>>> > BUILD FAILED
>>>> > D:\workingcopy\branch6\build.xml:181: The following error occurred while
>>>> > executing this line:
>>>> > D:\workingcopy\branch6\make\build-test.xml:54: The following error occurred
>>>> > while executing this line:
>>>> > D:\workingcopy\branch6\make\properties.xml:529: The following error occurred
>>>> > while executing this line:
>>>> > D:\workingcopy\branch6\make\properties.xml:541: The following error occurred
>>>> > while executing this line:
>>>> > D:\workingcopy\branch6\modules\luni\build.xml:334: The following error
>>>> > occurred while executing this line:
>>>> > D:\workingcopy\branch6\deploy\build\test\luni\build.xml:36: The following
>>>> > error occurred while executing this line:
>>>> > D:\workingcopy\branch6\make\properties.xml:732: Process fork failed.
>>>> >
>>>> > seems the java -version does not work, but I it works when I try it
>>>> > manually,
>>>
>>>
>>>
>>
>>
>>
>> --
>> Tony Wu
>> China Software Development Lab, IBM
>>
>
>
>
> --
> Tony Wu
> China Software Development Lab, IBM
>



-- 
Tony Wu
China Software Development Lab, IBM

Re: 6.0 Milestone testing -windowsXP-32

Posted by Tony Wu <wu...@gmail.com>.
the federated build works for me. but still don't know what's the
reason for my non-federated build. Anyway I can keep moving and post
my testing result on win32 with VS 2008

On Mon, Dec 21, 2009 at 10:46 PM, Tony Wu <wu...@gmail.com> wrote:
> On Mon, Dec 21, 2009 at 9:55 PM, Mark Hindess
> <ma...@googlemail.com> wrote:
>>
>> In message <21...@mail.gmail.com>,
>> Tony Wu writes:
>>>
>>> change the junit fork to "no" and it passes.  anyone came across this
>>> issue before?
>>
>> I'm a little confused as to how you are running the tests.  A simple:
>>
>>  ant test
>>
>> at the top level of the federated build should suffice.
>>
>> However, the paths in your output look like:
>>
>>   deploy/jdk/jre/bin/java
>>
>> where as I would expect them to be pointing at the combined hdk for
>> the federated build which has a path like:
>>
>>   target/hdk/jdk/jre/bin/java
>>
>> The deploy directories in component directories (working_*/deploy) are
>> all incomplete so it only make sense to run the tests against the merged
>> tree in target/hdk/...
>>
>> If you wish to run the tests from working_classlib then you need to set
>> the test.jre.home property to point back up to the absolute path of the
>> target/hdk/jdk/jre directory.
>
> Hi, Mark
>
> I just built it in a separate workingcopy of classlib/branches/java6
> and then copied a binary of DRLVM into bin/default. I tried to set
> test.jre.home to jdk/jre/bin, and it didn't work. I'm not sure the
> problem I'm experiencing is caused by the VS2008 or non-federated
> build.
>
> Will try on federated tomorrow. if it still doesn't work, I have to
> install a VS 2003 :-(
>
>>
>> HTH,
>>  Mark.
>>
>>> On Mon, Dec 21, 2009 at 4:57 PM, Tony Wu <wu...@gmail.com> wrote:
>>> > with vs2008 + winxp x86 32bit, I resolved the compier error but got
>>> > following error when run the tests.
>>> >
>>> > -get-test-vm-output:
>>> >  [exec] Execute failed: java.io.IOException: CreateProcess: D:\workingcopy\b
>>> > ranch6\deploy\jdk\jre\bin\java -version error=193
>>> >
>>> > test-jre-vm-info:
>>> >  [echo] java -version
>>> >  [echo] ${test.vm.info.tmp}
>>> >  [echo] hy.test.vm.name = drl
>>> >
>>> > test-module:
>>> >  [echo] Running luni Unit Test from luni_tests_api.jar
>>> >  [echo] Tested jre: D:\workingcopy\branch6\deploy\jdk\jre/bin/java
>>> >  [mkdir] Created dir: D:\workingcopy\branch6\build\test_report
>>> >  [junit] Running org.apache.harmony.luni.tests.util.UtilTest
>>> >  [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>>> >
>>> > BUILD FAILED
>>> > D:\workingcopy\branch6\build.xml:181: The following error occurred while
>>> > executing this line:
>>> > D:\workingcopy\branch6\make\build-test.xml:54: The following error occurred
>>> > while executing this line:
>>> > D:\workingcopy\branch6\make\properties.xml:529: The following error occurred
>>> > while executing this line:
>>> > D:\workingcopy\branch6\make\properties.xml:541: The following error occurred
>>> > while executing this line:
>>> > D:\workingcopy\branch6\modules\luni\build.xml:334: The following error
>>> > occurred while executing this line:
>>> > D:\workingcopy\branch6\deploy\build\test\luni\build.xml:36: The following
>>> > error occurred while executing this line:
>>> > D:\workingcopy\branch6\make\properties.xml:732: Process fork failed.
>>> >
>>> > seems the java -version does not work, but I it works when I try it
>>> > manually,
>>
>>
>>
>
>
>
> --
> Tony Wu
> China Software Development Lab, IBM
>



-- 
Tony Wu
China Software Development Lab, IBM

Re: 6.0 Milestone testing -windowsXP-32

Posted by Tony Wu <wu...@gmail.com>.
On Mon, Dec 21, 2009 at 9:55 PM, Mark Hindess
<ma...@googlemail.com> wrote:
>
> In message <21...@mail.gmail.com>,
> Tony Wu writes:
>>
>> change the junit fork to "no" and it passes.  anyone came across this
>> issue before?
>
> I'm a little confused as to how you are running the tests.  A simple:
>
>  ant test
>
> at the top level of the federated build should suffice.
>
> However, the paths in your output look like:
>
>   deploy/jdk/jre/bin/java
>
> where as I would expect them to be pointing at the combined hdk for
> the federated build which has a path like:
>
>   target/hdk/jdk/jre/bin/java
>
> The deploy directories in component directories (working_*/deploy) are
> all incomplete so it only make sense to run the tests against the merged
> tree in target/hdk/...
>
> If you wish to run the tests from working_classlib then you need to set
> the test.jre.home property to point back up to the absolute path of the
> target/hdk/jdk/jre directory.

Hi, Mark

I just built it in a separate workingcopy of classlib/branches/java6
and then copied a binary of DRLVM into bin/default. I tried to set
test.jre.home to jdk/jre/bin, and it didn't work. I'm not sure the
problem I'm experiencing is caused by the VS2008 or non-federated
build.

Will try on federated tomorrow. if it still doesn't work, I have to
install a VS 2003 :-(

>
> HTH,
>  Mark.
>
>> On Mon, Dec 21, 2009 at 4:57 PM, Tony Wu <wu...@gmail.com> wrote:
>> > with vs2008 + winxp x86 32bit, I resolved the compier error but got
>> > following error when run the tests.
>> >
>> > -get-test-vm-output:
>> >  [exec] Execute failed: java.io.IOException: CreateProcess: D:\workingcopy\b
>> > ranch6\deploy\jdk\jre\bin\java -version error=193
>> >
>> > test-jre-vm-info:
>> >  [echo] java -version
>> >  [echo] ${test.vm.info.tmp}
>> >  [echo] hy.test.vm.name = drl
>> >
>> > test-module:
>> >  [echo] Running luni Unit Test from luni_tests_api.jar
>> >  [echo] Tested jre: D:\workingcopy\branch6\deploy\jdk\jre/bin/java
>> >  [mkdir] Created dir: D:\workingcopy\branch6\build\test_report
>> >  [junit] Running org.apache.harmony.luni.tests.util.UtilTest
>> >  [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>> >
>> > BUILD FAILED
>> > D:\workingcopy\branch6\build.xml:181: The following error occurred while
>> > executing this line:
>> > D:\workingcopy\branch6\make\build-test.xml:54: The following error occurred
>> > while executing this line:
>> > D:\workingcopy\branch6\make\properties.xml:529: The following error occurred
>> > while executing this line:
>> > D:\workingcopy\branch6\make\properties.xml:541: The following error occurred
>> > while executing this line:
>> > D:\workingcopy\branch6\modules\luni\build.xml:334: The following error
>> > occurred while executing this line:
>> > D:\workingcopy\branch6\deploy\build\test\luni\build.xml:36: The following
>> > error occurred while executing this line:
>> > D:\workingcopy\branch6\make\properties.xml:732: Process fork failed.
>> >
>> > seems the java -version does not work, but I it works when I try it
>> > manually,
>
>
>



-- 
Tony Wu
China Software Development Lab, IBM

Re: 6.0 Milestone testing -windowsXP-32

Posted by Mark Hindess <ma...@googlemail.com>.
In message <21...@mail.gmail.com>,
Tony Wu writes:
>
> change the junit fork to "no" and it passes.  anyone came across this
> issue before?

I'm a little confused as to how you are running the tests.  A simple:

  ant test

at the top level of the federated build should suffice.

However, the paths in your output look like:

   deploy/jdk/jre/bin/java

where as I would expect them to be pointing at the combined hdk for
the federated build which has a path like:

   target/hdk/jdk/jre/bin/java

The deploy directories in component directories (working_*/deploy) are
all incomplete so it only make sense to run the tests against the merged
tree in target/hdk/...

If you wish to run the tests from working_classlib then you need to set
the test.jre.home property to point back up to the absolute path of the
target/hdk/jdk/jre directory.

HTH,
 Mark.

> On Mon, Dec 21, 2009 at 4:57 PM, Tony Wu <wu...@gmail.com> wrote:
> > with vs2008 + winxp x86 32bit, I resolved the compier error but got
> > following error when run the tests.
> >
> > -get-test-vm-output:
> >  [exec] Execute failed: java.io.IOException: CreateProcess: D:\workingcopy\b
> > ranch6\deploy\jdk\jre\bin\java -version error=193
> >
> > test-jre-vm-info:
> >  [echo] java -version
> >  [echo] ${test.vm.info.tmp}
> >  [echo] hy.test.vm.name = drl
> >
> > test-module:
> >  [echo] Running luni Unit Test from luni_tests_api.jar
> >  [echo] Tested jre: D:\workingcopy\branch6\deploy\jdk\jre/bin/java
> >  [mkdir] Created dir: D:\workingcopy\branch6\build\test_report
> >  [junit] Running org.apache.harmony.luni.tests.util.UtilTest
> >  [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
> >
> > BUILD FAILED
> > D:\workingcopy\branch6\build.xml:181: The following error occurred while
> > executing this line:
> > D:\workingcopy\branch6\make\build-test.xml:54: The following error occurred
> > while executing this line:
> > D:\workingcopy\branch6\make\properties.xml:529: The following error occurred
> > while executing this line:
> > D:\workingcopy\branch6\make\properties.xml:541: The following error occurred
> > while executing this line:
> > D:\workingcopy\branch6\modules\luni\build.xml:334: The following error
> > occurred while executing this line:
> > D:\workingcopy\branch6\deploy\build\test\luni\build.xml:36: The following
> > error occurred while executing this line:
> > D:\workingcopy\branch6\make\properties.xml:732: Process fork failed.
> >
> > seems the java -version does not work, but I it works when I try it
> > manually,



Re: 6.0 Milestone testing -windowsXP-32

Posted by Tony Wu <wu...@gmail.com>.
change the junit fork to "no" and it passes.  anyone came across this
issue before?

On Mon, Dec 21, 2009 at 4:57 PM, Tony Wu <wu...@gmail.com> wrote:
> with vs2008 + winxp x86 32bit, I resolved the compier error but got
> following error when run the tests.
>
> -get-test-vm-output:
>     [exec] Execute failed: java.io.IOException: CreateProcess: D:\workingcopy\b
> ranch6\deploy\jdk\jre\bin\java -version error=193
>
> test-jre-vm-info:
>     [echo] java -version
>     [echo] ${test.vm.info.tmp}
>     [echo] hy.test.vm.name = drl
>
> test-module:
>     [echo] Running luni Unit Test from luni_tests_api.jar
>     [echo] Tested jre: D:\workingcopy\branch6\deploy\jdk\jre/bin/java
>    [mkdir] Created dir: D:\workingcopy\branch6\build\test_report
>    [junit] Running org.apache.harmony.luni.tests.util.UtilTest
>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>
> BUILD FAILED
> D:\workingcopy\branch6\build.xml:181: The following error occurred while executi
> ng this line:
> D:\workingcopy\branch6\make\build-test.xml:54: The following error occurred whil
> e executing this line:
> D:\workingcopy\branch6\make\properties.xml:529: The following error occurred whi
> le executing this line:
> D:\workingcopy\branch6\make\properties.xml:541: The following error occurred whi
> le executing this line:
> D:\workingcopy\branch6\modules\luni\build.xml:334: The following error occurred
> while executing this line:
> D:\workingcopy\branch6\deploy\build\test\luni\build.xml:36: The following error
> occurred while executing this line:
> D:\workingcopy\branch6\make\properties.xml:732: Process fork failed.
>
> seems the java -version does not work, but I it works when I try it manually,
>
> D:\workingcopy\branch6>deploy\jdk\jre\bin\java -version
> Apache Harmony Launcher : (c) Copyright 1991, 2009 The Apache Software Foundatio
> n or its licensors, as applicable.
> java version "1.5.0"
> Apache Harmony (1.5.0)
> DRLVM (11.2.0)
> pre-alpha : not complete or compatible
> svn = r810364, (Sep  2 2009), Windows/ia32/msvc 1310, release build
> http://harmony.apache.org
>
> anybody experienced this?
>
> On Mon, Dec 21, 2009 at 1:51 PM, Tony Wu <wu...@gmail.com> wrote:
>> Renaming IFTYPE solves this problem, I think there is a defination in
>> VS2008 with the same name.
>>
>> On Fri, Dec 18, 2009 at 9:16 PM, Tim Ellison <t....@gmail.com> wrote:
>>> While I can build ok using VisualStudio 2003, I have build problems now
>>> on VisualStudio 2008.
>>>
>>>>      [exec]     cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS -FIsehmap.h -D_X86_=1  -DWIN32 -D_WIN32 -W3 -D_WIN95 -D_WIN32_WINDOWS=0x0400 /D_WIN32_DCOM -D_WIN32_IE=0x0500 -DWINVER=0x0400 -Zi -Od -WX -GF -Gs -MD -Zm400   -D_CRT_SECURE_NO_DEPRECATE  -D_CRT_SECURE_NO_WARNINGS  -D_SCL_SECURE_NO_DEPRECATE  -D_DLL -D_
>>>> MT -D_WINSOCKAPI_  /ID:\java6\working_classlib\deploy\include /ID:\java6\working_classlib\deploy\jdk\include /I. /I..\shared\ -Fohelpers.obj helpers.c
>>>>      [exec] helpers.c
>>>>      [exec] helpers.c(65) : error C2365: 'IFTYPE' : redefinition; previous definition was 'typedef'
>>>>      [exec]         C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE'
>>>>      [exec] helpers.c(65) : error C2086: 'IFTYPE' : redefinition
>>>>      [exec]         helpers.c(65) : see declaration of 'IFTYPE'
>>>>      [exec] helpers.c(737) : error C2275: 'IFTYPE' : illegal use of this type as an expression
>>>>      [exec]         C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE'
>>>>      [exec] helpers.c(737) : error C2046: illegal case
>>>>      [exec] helpers.c(772) : error C2275: 'IFTYPE' : illegal use of this type as an expression
>>>>      [exec]         C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE'
>>>>      [exec] helpers.c(772) : error C2198: 'getPlatformNetworkInterfaceAttribute' : too few arguments for call
>>>>      [exec] helpers.c(777) : error C2275: 'IFTYPE' : illegal use of this type as an expression
>>>>      [exec]         C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE'
>>>>      [exec] helpers.c(777) : error C2198: 'getPlatformNetworkInterfaceAttribute' : too few arguments for call
>>>>      [exec] NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.EXE"' : return code '0x2'
>>>>      [exec] Stop.
>>>
>>> Anyone else see this?
>>>
>>> Regards,
>>> Tim
>>>
>>>
>>> On 18/Dec/2009 11:21, Ray Chen wrote:
>>>> Hi All,
>>>>
>>>> I run the java6 test on windows platform,  27059 tests ran, and I see
>>>> 18 failures and 15 errors
>>>> Failures:
>>>> *javax.swing.plaf.basic.BasicScrollBarUITest.testGetThumbBounds
>>>> expected: 16, actual: 0
>>>> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4615
>>>>  null expected:<[line4 line4]> but was:<[ line4 line]>
>>>> org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxy2
>>>> should throw ConnectException
>>>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_setInterfaceLjava_net_InetAddress
>>>>   Exception during test : null
>>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getName
>>>>   Exception occurred getting network interfaces :
>>>> java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInetAddresses
>>>>   Exception occurred getting network interfaces :
>>>> java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getDisplayName
>>>>    Exception occurred getting network interfaces :
>>>> java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByNameLjava_lang_String
>>>>    Exception occurred getting network interfaces :
>>>> java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByInetAddressLjava_net_InetAddress
>>>>    Exception occurred getting network interfaces :
>>>> java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getNetworkInterfaces
>>>>    Exception occurred getting network interfaces :
>>>> java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_equalsLjava_lang_Object
>>>>    Exception occurred getting network interfaces :
>>>> java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_hashCode
>>>>    Exception occurred getting network interfaces :
>>>> java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_toString
>>>>    Exception occurred getting network interfaces :
>>>> java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInterfaceAddresses
>>>>    Exception occurred getting network interfaces :
>>>> java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_isLoopback
>>>>    Exception occurred getting network interfaces :
>>>> java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getHardwareAddress
>>>>    Exception occurred getting network interfaces :
>>>> java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getMTU
>>>>    Exception occurred getting network interfaces :
>>>> java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.net.URLConnectionTest.test_getInputStream
>>>>       null expected:<[zyxwvuts]> but was:<[]>
>>>>
>>>> Errors:
>>>> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4582
>>>>  java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_1
>>>>    java.nio.BufferOverflowException
>>>> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_2
>>>>    java.nio.BufferOverflowException
>>>> org.apache.harmony.luni.tests.java.io.WriterTesterTest$FileWriterCharSinkTester:sinkTestWriteLargeArray
>>>>    java.nio.BufferOverflowException
>>>> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII
>>>>    java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>>>>    java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_hashCode
>>>>    java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_equals_LObject
>>>>    java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_toString
>>>>    java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getAddress
>>>>    java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getBroadcast
>>>>    java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getNetworkPrefixLength
>>>>    java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>>>>     java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_leaveGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>>>>    java.lang.NullPointerException
>>>> org.apache.harmony.luni.tests.java.net.WinNetworkInterfaceTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>>>>    java.lang.NullPointerException
>>>>
>>>>
>>>>
>>>> I think the test failures of network interface related to JIRA6369
>>>> which means there are bugs in our portlib code on windows platform.
>>>> And the test case start with"*"  sucess when I ran it standalone.
>>>>
>>>>
>>>
>>
>>
>>
>> --
>> Tony Wu
>> China Software Development Lab, IBM
>>
>
>
>
> --
> Tony Wu
> China Software Development Lab, IBM
>



-- 
Tony Wu
China Software Development Lab, IBM

Re: 6.0 Milestone testing -windowsXP-32

Posted by Tony Wu <wu...@gmail.com>.
with vs2008 + winxp x86 32bit, I resolved the compier error but got
following error when run the tests.

-get-test-vm-output:
     [exec] Execute failed: java.io.IOException: CreateProcess: D:\workingcopy\b
ranch6\deploy\jdk\jre\bin\java -version error=193

test-jre-vm-info:
     [echo] java -version
     [echo] ${test.vm.info.tmp}
     [echo] hy.test.vm.name = drl

test-module:
     [echo] Running luni Unit Test from luni_tests_api.jar
     [echo] Tested jre: D:\workingcopy\branch6\deploy\jdk\jre/bin/java
    [mkdir] Created dir: D:\workingcopy\branch6\build\test_report
    [junit] Running org.apache.harmony.luni.tests.util.UtilTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec

BUILD FAILED
D:\workingcopy\branch6\build.xml:181: The following error occurred while executi
ng this line:
D:\workingcopy\branch6\make\build-test.xml:54: The following error occurred whil
e executing this line:
D:\workingcopy\branch6\make\properties.xml:529: The following error occurred whi
le executing this line:
D:\workingcopy\branch6\make\properties.xml:541: The following error occurred whi
le executing this line:
D:\workingcopy\branch6\modules\luni\build.xml:334: The following error occurred
while executing this line:
D:\workingcopy\branch6\deploy\build\test\luni\build.xml:36: The following error
occurred while executing this line:
D:\workingcopy\branch6\make\properties.xml:732: Process fork failed.

seems the java -version does not work, but I it works when I try it manually,

D:\workingcopy\branch6>deploy\jdk\jre\bin\java -version
Apache Harmony Launcher : (c) Copyright 1991, 2009 The Apache Software Foundatio
n or its licensors, as applicable.
java version "1.5.0"
Apache Harmony (1.5.0)
DRLVM (11.2.0)
pre-alpha : not complete or compatible
svn = r810364, (Sep  2 2009), Windows/ia32/msvc 1310, release build
http://harmony.apache.org

anybody experienced this?

On Mon, Dec 21, 2009 at 1:51 PM, Tony Wu <wu...@gmail.com> wrote:
> Renaming IFTYPE solves this problem, I think there is a defination in
> VS2008 with the same name.
>
> On Fri, Dec 18, 2009 at 9:16 PM, Tim Ellison <t....@gmail.com> wrote:
>> While I can build ok using VisualStudio 2003, I have build problems now
>> on VisualStudio 2008.
>>
>>>      [exec]     cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS -FIsehmap.h -D_X86_=1  -DWIN32 -D_WIN32 -W3 -D_WIN95 -D_WIN32_WINDOWS=0x0400 /D_WIN32_DCOM -D_WIN32_IE=0x0500 -DWINVER=0x0400 -Zi -Od -WX -GF -Gs -MD -Zm400   -D_CRT_SECURE_NO_DEPRECATE  -D_CRT_SECURE_NO_WARNINGS  -D_SCL_SECURE_NO_DEPRECATE  -D_DLL -D_
>>> MT -D_WINSOCKAPI_  /ID:\java6\working_classlib\deploy\include /ID:\java6\working_classlib\deploy\jdk\include /I. /I..\shared\ -Fohelpers.obj helpers.c
>>>      [exec] helpers.c
>>>      [exec] helpers.c(65) : error C2365: 'IFTYPE' : redefinition; previous definition was 'typedef'
>>>      [exec]         C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE'
>>>      [exec] helpers.c(65) : error C2086: 'IFTYPE' : redefinition
>>>      [exec]         helpers.c(65) : see declaration of 'IFTYPE'
>>>      [exec] helpers.c(737) : error C2275: 'IFTYPE' : illegal use of this type as an expression
>>>      [exec]         C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE'
>>>      [exec] helpers.c(737) : error C2046: illegal case
>>>      [exec] helpers.c(772) : error C2275: 'IFTYPE' : illegal use of this type as an expression
>>>      [exec]         C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE'
>>>      [exec] helpers.c(772) : error C2198: 'getPlatformNetworkInterfaceAttribute' : too few arguments for call
>>>      [exec] helpers.c(777) : error C2275: 'IFTYPE' : illegal use of this type as an expression
>>>      [exec]         C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE'
>>>      [exec] helpers.c(777) : error C2198: 'getPlatformNetworkInterfaceAttribute' : too few arguments for call
>>>      [exec] NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.EXE"' : return code '0x2'
>>>      [exec] Stop.
>>
>> Anyone else see this?
>>
>> Regards,
>> Tim
>>
>>
>> On 18/Dec/2009 11:21, Ray Chen wrote:
>>> Hi All,
>>>
>>> I run the java6 test on windows platform,  27059 tests ran, and I see
>>> 18 failures and 15 errors
>>> Failures:
>>> *javax.swing.plaf.basic.BasicScrollBarUITest.testGetThumbBounds
>>> expected: 16, actual: 0
>>> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4615
>>>  null expected:<[line4 line4]> but was:<[ line4 line]>
>>> org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxy2
>>> should throw ConnectException
>>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_setInterfaceLjava_net_InetAddress
>>>   Exception during test : null
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getName
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInetAddresses
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getDisplayName
>>>    Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByNameLjava_lang_String
>>>    Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByInetAddressLjava_net_InetAddress
>>>    Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getNetworkInterfaces
>>>    Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_equalsLjava_lang_Object
>>>    Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_hashCode
>>>    Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_toString
>>>    Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInterfaceAddresses
>>>    Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_isLoopback
>>>    Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getHardwareAddress
>>>    Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getMTU
>>>    Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.URLConnectionTest.test_getInputStream
>>>       null expected:<[zyxwvuts]> but was:<[]>
>>>
>>> Errors:
>>> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4582
>>>  java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_1
>>>    java.nio.BufferOverflowException
>>> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_2
>>>    java.nio.BufferOverflowException
>>> org.apache.harmony.luni.tests.java.io.WriterTesterTest$FileWriterCharSinkTester:sinkTestWriteLargeArray
>>>    java.nio.BufferOverflowException
>>> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII
>>>    java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>>>    java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_hashCode
>>>    java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_equals_LObject
>>>    java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_toString
>>>    java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getAddress
>>>    java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getBroadcast
>>>    java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getNetworkPrefixLength
>>>    java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>>>     java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_leaveGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>>>    java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.WinNetworkInterfaceTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>>>    java.lang.NullPointerException
>>>
>>>
>>>
>>> I think the test failures of network interface related to JIRA6369
>>> which means there are bugs in our portlib code on windows platform.
>>> And the test case start with"*"  sucess when I ran it standalone.
>>>
>>>
>>
>
>
>
> --
> Tony Wu
> China Software Development Lab, IBM
>



-- 
Tony Wu
China Software Development Lab, IBM

Re: 6.0 Milestone testing -windowsXP-32

Posted by Tony Wu <wu...@gmail.com>.
Renaming IFTYPE solves this problem, I think there is a defination in
VS2008 with the same name.

On Fri, Dec 18, 2009 at 9:16 PM, Tim Ellison <t....@gmail.com> wrote:
> While I can build ok using VisualStudio 2003, I have build problems now
> on VisualStudio 2008.
>
>>      [exec]     cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS -FIsehmap.h -D_X86_=1  -DWIN32 -D_WIN32 -W3 -D_WIN95 -D_WIN32_WINDOWS=0x0400 /D_WIN32_DCOM -D_WIN32_IE=0x0500 -DWINVER=0x0400 -Zi -Od -WX -GF -Gs -MD -Zm400   -D_CRT_SECURE_NO_DEPRECATE  -D_CRT_SECURE_NO_WARNINGS  -D_SCL_SECURE_NO_DEPRECATE  -D_DLL -D_
>> MT -D_WINSOCKAPI_  /ID:\java6\working_classlib\deploy\include /ID:\java6\working_classlib\deploy\jdk\include /I. /I..\shared\ -Fohelpers.obj helpers.c
>>      [exec] helpers.c
>>      [exec] helpers.c(65) : error C2365: 'IFTYPE' : redefinition; previous definition was 'typedef'
>>      [exec]         C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE'
>>      [exec] helpers.c(65) : error C2086: 'IFTYPE' : redefinition
>>      [exec]         helpers.c(65) : see declaration of 'IFTYPE'
>>      [exec] helpers.c(737) : error C2275: 'IFTYPE' : illegal use of this type as an expression
>>      [exec]         C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE'
>>      [exec] helpers.c(737) : error C2046: illegal case
>>      [exec] helpers.c(772) : error C2275: 'IFTYPE' : illegal use of this type as an expression
>>      [exec]         C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE'
>>      [exec] helpers.c(772) : error C2198: 'getPlatformNetworkInterfaceAttribute' : too few arguments for call
>>      [exec] helpers.c(777) : error C2275: 'IFTYPE' : illegal use of this type as an expression
>>      [exec]         C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE'
>>      [exec] helpers.c(777) : error C2198: 'getPlatformNetworkInterfaceAttribute' : too few arguments for call
>>      [exec] NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.EXE"' : return code '0x2'
>>      [exec] Stop.
>
> Anyone else see this?
>
> Regards,
> Tim
>
>
> On 18/Dec/2009 11:21, Ray Chen wrote:
>> Hi All,
>>
>> I run the java6 test on windows platform,  27059 tests ran, and I see
>> 18 failures and 15 errors
>> Failures:
>> *javax.swing.plaf.basic.BasicScrollBarUITest.testGetThumbBounds
>> expected: 16, actual: 0
>> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4615
>>  null expected:<[line4 line4]> but was:<[ line4 line]>
>> org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxy2
>> should throw ConnectException
>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_setInterfaceLjava_net_InetAddress
>>   Exception during test : null
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getName
>>   Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInetAddresses
>>   Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getDisplayName
>>    Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByNameLjava_lang_String
>>    Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByInetAddressLjava_net_InetAddress
>>    Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getNetworkInterfaces
>>    Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_equalsLjava_lang_Object
>>    Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_hashCode
>>    Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_toString
>>    Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInterfaceAddresses
>>    Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_isLoopback
>>    Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getHardwareAddress
>>    Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getMTU
>>    Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.URLConnectionTest.test_getInputStream
>>       null expected:<[zyxwvuts]> but was:<[]>
>>
>> Errors:
>> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4582
>>  java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_1
>>    java.nio.BufferOverflowException
>> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_2
>>    java.nio.BufferOverflowException
>> org.apache.harmony.luni.tests.java.io.WriterTesterTest$FileWriterCharSinkTester:sinkTestWriteLargeArray
>>    java.nio.BufferOverflowException
>> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII
>>    java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>>    java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_hashCode
>>    java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_equals_LObject
>>    java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_toString
>>    java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getAddress
>>    java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getBroadcast
>>    java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getNetworkPrefixLength
>>    java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>>     java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_leaveGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>>    java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.WinNetworkInterfaceTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>>    java.lang.NullPointerException
>>
>>
>>
>> I think the test failures of network interface related to JIRA6369
>> which means there are bugs in our portlib code on windows platform.
>> And the test case start with"*"  sucess when I ran it standalone.
>>
>>
>



-- 
Tony Wu
China Software Development Lab, IBM

Re: 6.0 Milestone testing -windowsXP-32

Posted by Tim Ellison <t....@gmail.com>.
While I can build ok using VisualStudio 2003, I have build problems now
on VisualStudio 2008.

>      [exec]     cl -c -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -GS -FIsehmap.h -D_X86_=1  -DWIN32 -D_WIN32 -W3 -D_WIN95 -D_WIN32_WINDOWS=0x0400 /D_WIN32_DCOM -D_WIN32_IE=0x0500 -DWINVER=0x0400 -Zi -Od -WX -GF -Gs -MD -Zm400   -D_CRT_SECURE_NO_DEPRECATE  -D_CRT_SECURE_NO_WARNINGS  -D_SCL_SECURE_NO_DEPRECATE  -D_DLL -D_
> MT -D_WINSOCKAPI_  /ID:\java6\working_classlib\deploy\include /ID:\java6\working_classlib\deploy\jdk\include /I. /I..\shared\ -Fohelpers.obj helpers.c
>      [exec] helpers.c
>      [exec] helpers.c(65) : error C2365: 'IFTYPE' : redefinition; previous definition was 'typedef'
>      [exec]         C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE'
>      [exec] helpers.c(65) : error C2086: 'IFTYPE' : redefinition
>      [exec]         helpers.c(65) : see declaration of 'IFTYPE'
>      [exec] helpers.c(737) : error C2275: 'IFTYPE' : illegal use of this type as an expression
>      [exec]         C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE'
>      [exec] helpers.c(737) : error C2046: illegal case
>      [exec] helpers.c(772) : error C2275: 'IFTYPE' : illegal use of this type as an expression
>      [exec]         C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE'
>      [exec] helpers.c(772) : error C2198: 'getPlatformNetworkInterfaceAttribute' : too few arguments for call
>      [exec] helpers.c(777) : error C2275: 'IFTYPE' : illegal use of this type as an expression
>      [exec]         C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE'
>      [exec] helpers.c(777) : error C2198: 'getPlatformNetworkInterfaceAttribute' : too few arguments for call
>      [exec] NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.EXE"' : return code '0x2'
>      [exec] Stop.

Anyone else see this?

Regards,
Tim


On 18/Dec/2009 11:21, Ray Chen wrote:
> Hi All,
> 
> I run the java6 test on windows platform,  27059 tests ran, and I see
> 18 failures and 15 errors
> Failures:
> *javax.swing.plaf.basic.BasicScrollBarUITest.testGetThumbBounds
> expected: 16, actual: 0
> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4615
>  null expected:<[line4 line4]> but was:<[ line4 line]>
> org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxy2
> should throw ConnectException
> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_setInterfaceLjava_net_InetAddress
>   Exception during test : null
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getName
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInetAddresses
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getDisplayName
>    Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByNameLjava_lang_String
>    Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByInetAddressLjava_net_InetAddress
>    Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getNetworkInterfaces
>    Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_equalsLjava_lang_Object
>    Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_hashCode
>    Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_toString
>    Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInterfaceAddresses
>    Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_isLoopback
>    Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getHardwareAddress
>    Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getMTU
>    Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.URLConnectionTest.test_getInputStream
>   	null expected:<[zyxwvuts]> but was:<[]>
> 
> Errors:
> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4582
>  java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_1
>    java.nio.BufferOverflowException
> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_2
>    java.nio.BufferOverflowException
> org.apache.harmony.luni.tests.java.io.WriterTesterTest$FileWriterCharSinkTester:sinkTestWriteLargeArray
>    java.nio.BufferOverflowException
> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII
>    java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>    java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_hashCode
>    java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_equals_LObject
>    java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_toString
>    java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getAddress
>    java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getBroadcast
>    java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getNetworkPrefixLength
>    java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>     java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_leaveGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>    java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.WinNetworkInterfaceTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>    java.lang.NullPointerException
> 
> 
> 
> I think the test failures of network interface related to JIRA6369
> which means there are bugs in our portlib code on windows platform.
> And the test case start with"*"  sucess when I ran it standalone.
> 
> 

Re: 6.0 Milestone testing -windowsXP-32

Posted by Regis <xu...@gmail.com>.
On 2010-02-05 13:56, Ray Chen wrote:
> Hi Regis,
>
>> I think java6 is missing<property name="hy.jar.compress" value="true" />  in
>> make/properties.xml, so all the jars are not compressed.
>>
>> I propose to apply patch [1] to java6, that can significant reduce our build
>> size as Ray mentioned before.
>>
>> [1]
>> Index: make/properties.xml
>> =====================================================================
>> --- make/properties.xml
>> +++ make/properties.xml
>> @@ -44,6 +44,7 @@
>>      <property name="hy.javac.source" value="1.5" />
>>      <property name="hy.javac.target" value="1.5" />
>>      <property name="hy.javac.maxmem" value="384M" />
>> +<property name="hy.jar.compress" value="true" />
>>
>>      <!-- Temporarily always include class file debug info -->
>>      <condition property="hy.javac.debug" value="on" else="on">
>>
>>
>> --
>> Best Regards,
>> Regis.
>>
>
> Should this patch be committed? Or has been committed?
>

Ray,

Thanks for reminder, committed at r906824.

-- 
Best Regards,
Regis.

Re: 6.0 Milestone testing -windowsXP-32

Posted by Ray Chen <cl...@gmail.com>.
Hi Regis,

> I think java6 is missing <property name="hy.jar.compress" value="true" /> in
> make/properties.xml, so all the jars are not compressed.
>
> I propose to apply patch [1] to java6, that can significant reduce our build
> size as Ray mentioned before.
>
> [1]
> Index: make/properties.xml
> =====================================================================
> --- make/properties.xml
> +++ make/properties.xml
> @@ -44,6 +44,7 @@
>     <property name="hy.javac.source" value="1.5" />
>     <property name="hy.javac.target" value="1.5" />
>     <property name="hy.javac.maxmem" value="384M" />
> +    <property name="hy.jar.compress" value="true" />
>
>     <!-- Temporarily always include class file debug info -->
>     <condition property="hy.javac.debug" value="on" else="on">
>
>
> --
> Best Regards,
> Regis.
>

Should this patch be committed? Or has been committed?

-- 
Regards,

Ray Chen

Re: 6.0 Milestone testing -windowsXP-32

Posted by Ray Chen <cl...@gmail.com>.
Hi All,
HttpURLConnectionTest.testUsingProxy2 not only failed on java6 bransh,
but also have some problems on trunk, created JIRA6416 to track this.
-- 
Regards,

Ray Chen

Re: 6.0 Milestone testing -windowsXP-32

Posted by Regis <xu...@gmail.com>.
On 2010-01-11 14:01, Ray Chen wrote:
> Hi all,
> For javax.swing.text.html.HTMLDocument_Reader_ActionsTest (1 failure
> and 1 error)
> I compared two swing.jar of trunk and java6, the only difference
> between them is that java6 added some new classes:
>
> javax\swing\event\RowSorterEvent$Type.class
> javax\swing\event\RowSorterEvent.class
> javax\swing\event\RowSorterListener.class
> javax\swing\filechooser\FileNameExtensionFilter.class
> javax\swing\RowSorter$SortKey.class
> javax\swing\RowSorter.class
> javax\swing\SortOrder.class
>
> I think these classes are not related to this test. However, even
> after I removed these new added classes or replaced trunk's swing.jar
> with java6's swing.jar and run the test on the modified trunk , the
> test still failed.
> And trunk's swing.jar works well in both trunk and java6 to run this test.
> So I am a little confused,  same classes, same vm, why different result?
>
> One more thing, although java6 only added a few classes in swing
> module, the swing.jar is much bigger than trunk's (java6 5.11MB and
> trunk 2.38MB on my machine).
> I also found that java6's boot folder is much bigger than trunk's,
> about 11MB bigger.
> Did we really add "11MB" new features, or there is something wrong?

I think java6 is missing <property name="hy.jar.compress" value="true" /> in 
make/properties.xml, so all the jars are not compressed.

I propose to apply patch [1] to java6, that can significant reduce our build 
size as Ray mentioned before.

[1]
Index: make/properties.xml
=====================================================================
--- make/properties.xml
+++ make/properties.xml
@@ -44,6 +44,7 @@
      <property name="hy.javac.source" value="1.5" />
      <property name="hy.javac.target" value="1.5" />
      <property name="hy.javac.maxmem" value="384M" />
+    <property name="hy.jar.compress" value="true" />

      <!-- Temporarily always include class file debug info -->
      <condition property="hy.javac.debug" value="on" else="on">


-- 
Best Regards,
Regis.

Re: 6.0 Milestone testing -windowsXP-32

Posted by Ray Chen <cl...@gmail.com>.
Hi all,
For javax.swing.text.html.HTMLDocument_Reader_ActionsTest (1 failure
and 1 error)
I compared two swing.jar of trunk and java6, the only difference
between them is that java6 added some new classes:

javax\swing\event\RowSorterEvent$Type.class
javax\swing\event\RowSorterEvent.class
javax\swing\event\RowSorterListener.class
javax\swing\filechooser\FileNameExtensionFilter.class
javax\swing\RowSorter$SortKey.class
javax\swing\RowSorter.class
javax\swing\SortOrder.class

I think these classes are not related to this test. However, even
after I removed these new added classes or replaced trunk's swing.jar
with java6's swing.jar and run the test on the modified trunk , the
test still failed.
And trunk's swing.jar works well in both trunk and java6 to run this test.
So I am a little confused,  same classes, same vm, why different result?

One more thing, although java6 only added a few classes in swing
module, the swing.jar is much bigger than trunk's (java6 5.11MB and
trunk 2.38MB on my machine).
I also found that java6's boot folder is much bigger than trunk's,
about 11MB bigger.
Did we really add "11MB" new features, or there is something wrong?
-- 
Regards,

Ray Chen

Re: 6.0 Milestone testing -windowsXP-32

Posted by Ray Chen <cl...@gmail.com>.
Hi,

I look into some issues according to Tony and Nathan's report.

For javax.swing.text.html.HTMLDocument_Reader_ActionsTest (1 failure
and 1 error)
This test passed on trunk and also passed on java6 if I replaced its
swing.jar with trunk's.
However I compared related source codes but found no difference.
Anyone can help looking at this?  I guess some merge work missing.

For org.apache.harmony.luni.tests.java.net.MulticastSocketTest
This test passed on my machine every time.

-- 
Regards,

Ray Chen

Re: 6.0 Milestone testing -windowsXP-32

Posted by Regis <xu...@gmail.com>.
On 2010-01-12 15:09, Regis wrote:
> On 2009-12-18 19:21, Ray Chen wrote:
>> Hi All,
>>
>> I run the java6 test on windows platform, 27059 tests ran, and I see
>> 18 failures and 15 errors
>> Failures:
>> *javax.swing.plaf.basic.BasicScrollBarUITest.testGetThumbBounds
>> expected: 16, actual: 0
>> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4615
>> null expected:<[line4 line4]> but was:<[ line4 line]>
>> org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxy2
>>
>> should throw ConnectException
>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_setInterfaceLjava_net_InetAddress
>>
>> Exception during test : null
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getName
>> Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInetAddresses
>>
>> Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getDisplayName
>>
>> Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByNameLjava_lang_String
>>
>> Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByInetAddressLjava_net_InetAddress
>>
>> Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getNetworkInterfaces
>>
>> Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_equalsLjava_lang_Object
>>
>> Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_hashCode
>> Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_toString
>> Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInterfaceAddresses
>>
>> Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_isLoopback
>>
>> Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getHardwareAddress
>>
>> Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getMTU
>> Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.URLConnectionTest.test_getInputStream
>>
>> null expected:<[zyxwvuts]> but was:<[]>
>>
>> Errors:
>> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4582
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_1
>>
>> java.nio.BufferOverflowException
>> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_2
>>
>> java.nio.BufferOverflowException
>> org.apache.harmony.luni.tests.java.io.WriterTesterTest$FileWriterCharSinkTester:sinkTestWriteLargeArray
>>
>> java.nio.BufferOverflowException
>> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII
>>
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>>
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_hashCode
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_equals_LObject
>>
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_toString
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getAddress
>>
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getBroadcast
>>
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getNetworkPrefixLength
>>
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>>
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_leaveGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>>
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.WinNetworkInterfaceTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>>
>> java.lang.NullPointerException
>>
>>
>>
>> I think the test failures of network interface related to JIRA6369
>> which means there are bugs in our portlib code on windows platform.
>> And the test case start with"*" sucess when I ran it standalone.
>>
>>
>
> My test report on Windows XP 32 SP3:
>
> http://people.apache.org/~regisxu/java6.r896759/html/
>

When I just ran luni module tests, all tests passed. Maybe something is wrong 
with last running.


-- 
Best Regards,
Regis.

Re: 6.0 Milestone testing -windowsXP-32

Posted by Regis <xu...@gmail.com>.
On 2009-12-18 19:21, Ray Chen wrote:
> Hi All,
>
> I run the java6 test on windows platform,  27059 tests ran, and I see
> 18 failures and 15 errors
> Failures:
> *javax.swing.plaf.basic.BasicScrollBarUITest.testGetThumbBounds
> expected: 16, actual: 0
> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4615
>   null expected:<[line4 line4]>  but was:<[ line4 line]>
> org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxy2
> should throw ConnectException
> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_setInterfaceLjava_net_InetAddress
>    Exception during test : null
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getName
>    Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInetAddresses
>    Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getDisplayName
>     Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByNameLjava_lang_String
>     Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByInetAddressLjava_net_InetAddress
>     Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getNetworkInterfaces
>     Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_equalsLjava_lang_Object
>     Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_hashCode
>     Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_toString
>     Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInterfaceAddresses
>     Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_isLoopback
>     Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getHardwareAddress
>     Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getMTU
>     Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.URLConnectionTest.test_getInputStream
>    	null expected:<[zyxwvuts]>  but was:<[]>
>
> Errors:
> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4582
>   java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_1
>     java.nio.BufferOverflowException
> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_2
>     java.nio.BufferOverflowException
> org.apache.harmony.luni.tests.java.io.WriterTesterTest$FileWriterCharSinkTester:sinkTestWriteLargeArray
>     java.nio.BufferOverflowException
> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII
>     java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>     java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_hashCode
>     java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_equals_LObject
>     java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_toString
>     java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getAddress
>     java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getBroadcast
>     java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getNetworkPrefixLength
>     java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>      java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_leaveGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>     java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.WinNetworkInterfaceTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>     java.lang.NullPointerException
>
>
>
> I think the test failures of network interface related to JIRA6369
> which means there are bugs in our portlib code on windows platform.
> And the test case start with"*"  sucess when I ran it standalone.
>
>

My test report on Windows XP 32 SP3:

http://people.apache.org/~regisxu/java6.r896759/html/

-- 
Best Regards,
Regis.

Re: 6.0 Milestone testing -windowsXP-32

Posted by Ray Chen <cl...@gmail.com>.
Hi all,
I think org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest
failed on my machine because OutputStreamWriter uses default encoding
(GB2312 on my machine), so maybe only members from china can get this
error :) .   This also happend on trunk, I have created JIRA 6408 to
track this.

On Fri, Dec 18, 2009 at 7:21 PM, Ray Chen <cl...@gmail.com> wrote:
> Hi All,
>
> I run the java6 test on windows platform,  27059 tests ran, and I see
> 18 failures and 15 errors
> Failures:
> *javax.swing.plaf.basic.BasicScrollBarUITest.testGetThumbBounds
> expected: 16, actual: 0
> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4615
>  null expected:<[line4 line4]> but was:<[ line4 line]>
> org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxy2
> should throw ConnectException
> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_setInterfaceLjava_net_InetAddress
>  Exception during test : null
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getName
>  Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInetAddresses
>  Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getDisplayName
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByNameLjava_lang_String
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByInetAddressLjava_net_InetAddress
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getNetworkInterfaces
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_equalsLjava_lang_Object
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_hashCode
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_toString
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInterfaceAddresses
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_isLoopback
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getHardwareAddress
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getMTU
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.URLConnectionTest.test_getInputStream
>        null expected:<[zyxwvuts]> but was:<[]>
>
> Errors:
> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4582
>  java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_1
>   java.nio.BufferOverflowException
> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_2
>   java.nio.BufferOverflowException
> org.apache.harmony.luni.tests.java.io.WriterTesterTest$FileWriterCharSinkTester:sinkTestWriteLargeArray
>   java.nio.BufferOverflowException
> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII
>   java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>   java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_hashCode
>   java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_equals_LObject
>   java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_toString
>   java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getAddress
>   java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getBroadcast
>   java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getNetworkPrefixLength
>   java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>    java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_leaveGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>   java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.WinNetworkInterfaceTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>   java.lang.NullPointerException
>
>
>
> I think the test failures of network interface related to JIRA6369
> which means there are bugs in our portlib code on windows platform.
> And the test case start with"*"  sucess when I ran it standalone.
>
>
> --
> Regards,
>
> Ray Chen
>



-- 
Regards,

Ray Chen

Re: 6.0 Milestone testing -windowsXP-32

Posted by Regis <xu...@gmail.com>.
On 2009-12-18 19:21, Ray Chen wrote:
> Hi All,
>
> I run the java6 test on windows platform,  27059 tests ran, and I see
> 18 failures and 15 errors
> Failures:
> *javax.swing.plaf.basic.BasicScrollBarUITest.testGetThumbBounds
> expected: 16, actual: 0
> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4615
>   null expected:<[line4 line4]>  but was:<[ line4 line]>
> org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxy2
> should throw ConnectException
> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_setInterfaceLjava_net_InetAddress
>    Exception during test : null
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getName
>    Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInetAddresses
>    Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getDisplayName
>     Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByNameLjava_lang_String
>     Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByInetAddressLjava_net_InetAddress
>     Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getNetworkInterfaces
>     Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_equalsLjava_lang_Object
>     Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_hashCode
>     Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_toString
>     Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInterfaceAddresses
>     Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_isLoopback
>     Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getHardwareAddress
>     Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getMTU
>     Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.URLConnectionTest.test_getInputStream
>    	null expected:<[zyxwvuts]>  but was:<[]>
>
> Errors:
> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4582
>   java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_1
>     java.nio.BufferOverflowException
> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_2
>     java.nio.BufferOverflowException
> org.apache.harmony.luni.tests.java.io.WriterTesterTest$FileWriterCharSinkTester:sinkTestWriteLargeArray
>     java.nio.BufferOverflowException
> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII
>     java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>     java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_hashCode
>     java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_equals_LObject
>     java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_toString
>     java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getAddress
>     java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getBroadcast
>     java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getNetworkPrefixLength
>     java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>      java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_leaveGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>     java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.WinNetworkInterfaceTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>     java.lang.NullPointerException
>
>
>
> I think the test failures of network interface related to JIRA6369
> which means there are bugs in our portlib code on windows platform.
> And the test case start with"*"  sucess when I ran it standalone.
>
>

My test report on Windows XP 32 SP3:

http://people.apache.org/~regisxu/java6.r896759/html/

-- 
Best Regards,
Regis.

Re: 6.0 Milestone testing -windowsXP-32

Posted by Ray Chen <cl...@gmail.com>.
Hi Tony,

JIRA 6407 has been created for this issue.

On Sat, Dec 19, 2009 at 8:39 PM, Tony Wu <wu...@gmail.com> wrote:
> Hi, Ray
>
> would you pls raise a JIRA, thanks.
>
> On Sat, Dec 19, 2009 at 12:18 AM, Ray Chen <cl...@gmail.com> wrote:
>> Hi all,
>> I found that NetworkInterface of java6 branch is different from
>> NetworkInterface of trunk.
>>
>> In their constructors, trunk simply assign the addresses to the
>> "addresses" field, but in java6 branch it assign addresses one by one
>> which ignore the situation that passed in addresses may be null.
>>
>> Merge trunk to java6, or add a if(addresses != null) will solve the NPE error.
>>
>> Shall I open a JIRA to track this or some committer just do that ?
>>
>> On Fri, Dec 18, 2009 at 7:21 PM, Ray Chen <cl...@gmail.com> wrote:
>>> Hi All,
>>>
>>> I run the java6 test on windows platform,  27059 tests ran, and I see
>>> 18 failures and 15 errors
>>> Failures:
>>> *javax.swing.plaf.basic.BasicScrollBarUITest.testGetThumbBounds
>>> expected: 16, actual: 0
>>> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4615
>>>  null expected:<[line4 line4]> but was:<[ line4 line]>
>>> org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxy2
>>> should throw ConnectException
>>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_setInterfaceLjava_net_InetAddress
>>>  Exception during test : null
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getName
>>>  Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInetAddresses
>>>  Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getDisplayName
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByNameLjava_lang_String
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByInetAddressLjava_net_InetAddress
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getNetworkInterfaces
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_equalsLjava_lang_Object
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_hashCode
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_toString
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInterfaceAddresses
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_isLoopback
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getHardwareAddress
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getMTU
>>>   Exception occurred getting network interfaces :
>>> java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.URLConnectionTest.test_getInputStream
>>>        null expected:<[zyxwvuts]> but was:<[]>
>>>
>>> Errors:
>>> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4582
>>>  java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_1
>>>   java.nio.BufferOverflowException
>>> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_2
>>>   java.nio.BufferOverflowException
>>> org.apache.harmony.luni.tests.java.io.WriterTesterTest$FileWriterCharSinkTester:sinkTestWriteLargeArray
>>>   java.nio.BufferOverflowException
>>> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII
>>>   java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>>>   java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_hashCode
>>>   java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_equals_LObject
>>>   java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_toString
>>>   java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getAddress
>>>   java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getBroadcast
>>>   java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getNetworkPrefixLength
>>>   java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>>>    java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_leaveGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>>>   java.lang.NullPointerException
>>> org.apache.harmony.luni.tests.java.net.WinNetworkInterfaceTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>>>   java.lang.NullPointerException
>>>
>>>
>>>
>>> I think the test failures of network interface related to JIRA6369
>>> which means there are bugs in our portlib code on windows platform.
>>> And the test case start with"*"  sucess when I ran it standalone.
>>>
>>>
>>> --
>>> Regards,
>>>
>>> Ray Chen
>>>
>>
>>
>>
>> --
>> Regards,
>>
>> Ray Chen
>>
>
>
>
> --
> Tony Wu
> China Software Development Lab, IBM
>



-- 
Regards,

Ray Chen

Re: 6.0 Milestone testing -windowsXP-32

Posted by Tony Wu <wu...@gmail.com>.
Hi, Ray

would you pls raise a JIRA, thanks.

On Sat, Dec 19, 2009 at 12:18 AM, Ray Chen <cl...@gmail.com> wrote:
> Hi all,
> I found that NetworkInterface of java6 branch is different from
> NetworkInterface of trunk.
>
> In their constructors, trunk simply assign the addresses to the
> "addresses" field, but in java6 branch it assign addresses one by one
> which ignore the situation that passed in addresses may be null.
>
> Merge trunk to java6, or add a if(addresses != null) will solve the NPE error.
>
> Shall I open a JIRA to track this or some committer just do that ?
>
> On Fri, Dec 18, 2009 at 7:21 PM, Ray Chen <cl...@gmail.com> wrote:
>> Hi All,
>>
>> I run the java6 test on windows platform,  27059 tests ran, and I see
>> 18 failures and 15 errors
>> Failures:
>> *javax.swing.plaf.basic.BasicScrollBarUITest.testGetThumbBounds
>> expected: 16, actual: 0
>> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4615
>>  null expected:<[line4 line4]> but was:<[ line4 line]>
>> org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxy2
>> should throw ConnectException
>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_setInterfaceLjava_net_InetAddress
>>  Exception during test : null
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getName
>>  Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInetAddresses
>>  Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getDisplayName
>>   Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByNameLjava_lang_String
>>   Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByInetAddressLjava_net_InetAddress
>>   Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getNetworkInterfaces
>>   Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_equalsLjava_lang_Object
>>   Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_hashCode
>>   Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_toString
>>   Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInterfaceAddresses
>>   Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_isLoopback
>>   Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getHardwareAddress
>>   Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getMTU
>>   Exception occurred getting network interfaces :
>> java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.URLConnectionTest.test_getInputStream
>>        null expected:<[zyxwvuts]> but was:<[]>
>>
>> Errors:
>> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4582
>>  java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_1
>>   java.nio.BufferOverflowException
>> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_2
>>   java.nio.BufferOverflowException
>> org.apache.harmony.luni.tests.java.io.WriterTesterTest$FileWriterCharSinkTester:sinkTestWriteLargeArray
>>   java.nio.BufferOverflowException
>> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII
>>   java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>>   java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_hashCode
>>   java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_equals_LObject
>>   java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_toString
>>   java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getAddress
>>   java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getBroadcast
>>   java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getNetworkPrefixLength
>>   java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>>    java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_leaveGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>>   java.lang.NullPointerException
>> org.apache.harmony.luni.tests.java.net.WinNetworkInterfaceTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>>   java.lang.NullPointerException
>>
>>
>>
>> I think the test failures of network interface related to JIRA6369
>> which means there are bugs in our portlib code on windows platform.
>> And the test case start with"*"  sucess when I ran it standalone.
>>
>>
>> --
>> Regards,
>>
>> Ray Chen
>>
>
>
>
> --
> Regards,
>
> Ray Chen
>



-- 
Tony Wu
China Software Development Lab, IBM

Re: 6.0 Milestone testing -windowsXP-32

Posted by Ray Chen <cl...@gmail.com>.
Hi all,
I found that NetworkInterface of java6 branch is different from
NetworkInterface of trunk.

In their constructors, trunk simply assign the addresses to the
"addresses" field, but in java6 branch it assign addresses one by one
which ignore the situation that passed in addresses may be null.

Merge trunk to java6, or add a if(addresses != null) will solve the NPE error.

Shall I open a JIRA to track this or some committer just do that ?

On Fri, Dec 18, 2009 at 7:21 PM, Ray Chen <cl...@gmail.com> wrote:
> Hi All,
>
> I run the java6 test on windows platform,  27059 tests ran, and I see
> 18 failures and 15 errors
> Failures:
> *javax.swing.plaf.basic.BasicScrollBarUITest.testGetThumbBounds
> expected: 16, actual: 0
> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4615
>  null expected:<[line4 line4]> but was:<[ line4 line]>
> org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxy2
> should throw ConnectException
> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_setInterfaceLjava_net_InetAddress
>  Exception during test : null
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getName
>  Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInetAddresses
>  Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getDisplayName
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByNameLjava_lang_String
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getByInetAddressLjava_net_InetAddress
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getNetworkInterfaces
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_equalsLjava_lang_Object
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_hashCode
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_toString
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getInterfaceAddresses
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_isLoopback
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getHardwareAddress
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getMTU
>   Exception occurred getting network interfaces :
> java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.URLConnectionTest.test_getInputStream
>        null expected:<[zyxwvuts]> but was:<[]>
>
> Errors:
> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4582
>  java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_1
>   java.nio.BufferOverflowException
> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandleEarlyEOFChar_2
>   java.nio.BufferOverflowException
> org.apache.harmony.luni.tests.java.io.WriterTesterTest$FileWriterCharSinkTester:sinkTestWriteLargeArray
>   java.nio.BufferOverflowException
> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII
>   java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>   java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_hashCode
>   java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_equals_LObject
>   java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_toString
>   java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getAddress
>   java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getBroadcast
>   java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getNetworkPrefixLength
>   java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>    java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_leaveGroupLjava_net_SocketAddressLjava_net_NetworkInterface
>   java.lang.NullPointerException
> org.apache.harmony.luni.tests.java.net.WinNetworkInterfaceTest.test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface
>   java.lang.NullPointerException
>
>
>
> I think the test failures of network interface related to JIRA6369
> which means there are bugs in our portlib code on windows platform.
> And the test case start with"*"  sucess when I ran it standalone.
>
>
> --
> Regards,
>
> Ray Chen
>



-- 
Regards,

Ray Chen