Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 6942 invoked from network); 21 Dec 2009 13:22:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Dec 2009 13:22:45 -0000 Received: (qmail 23933 invoked by uid 500); 21 Dec 2009 13:22:45 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 23859 invoked by uid 500); 21 Dec 2009 13:22:45 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 23848 invoked by uid 99); 21 Dec 2009 13:22:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Dec 2009 13:22:45 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of wuyuehao@gmail.com designates 209.85.222.173 as permitted sender) Received: from [209.85.222.173] (HELO mail-pz0-f173.google.com) (209.85.222.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Dec 2009 13:22:39 +0000 Received: by pzk3 with SMTP id 3so648038pzk.20 for ; Mon, 21 Dec 2009 05:22:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=UKj6yF/Y/71y6Dg9/KnRXlmMZQTrdkJz/LLxdW5WTHM=; b=WT6JB0Xlgb0Wd0ObNNYfLPF4NXo0axFsYLQo9m8oY/g2yMtNFei94oNZ1D7AZF4BoM 63ZxRoQ1KKVEZ37LYZ+zpC5Q+clYWKWfwuNMiqrlhPkeF46NX9eeu4whCOJdPmdTlXZ9 RQRCdu6bRVIPbPC8xtCEynnAmhp2SEzB2NnSg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=tRsUTJoKTMvkVlBm6CCD4C6HeFf+oi1lVWP3+psjJ4znZBJcdl5i1Q934jEHwq3tD5 80XJFAlC/aHpaDHsbzTe1OJhtzXJwFCIculyeuFun4GmShkYYvc1Q5IymNBLmNEjXf46 RceHNpf7mpyGc7DpojZ6TbZrjK+Xgmla3Z5eA= MIME-Version: 1.0 Received: by 10.114.5.26 with SMTP id 26mr4874096wae.214.1261401738730; Mon, 21 Dec 2009 05:22:18 -0800 (PST) In-Reply-To: <211709bc0912210057p3313f5c0w4ea507c6c2b443d0@mail.gmail.com> References: <4d9fb1a00912180321k21c1af7eibf50070ad93e937e@mail.gmail.com> <4B2B809F.4050007@gmail.com> <211709bc0912202151k3f741215n573e8ca2ff8b53d7@mail.gmail.com> <211709bc0912210057p3313f5c0w4ea507c6c2b443d0@mail.gmail.com> Date: Mon, 21 Dec 2009 21:22:18 +0800 Message-ID: <211709bc0912210522i5a2fd37cqd21d0b9099c1b182@mail.gmail.com> Subject: Re: 6.0 Milestone testing -windowsXP-32 From: Tony Wu To: dev@harmony.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 wrote: > with vs2008 + winxp x86 32bit, I resolved the compier error but got > following error when run the tests. > > -get-test-vm-output: > =A0 =A0 [exec] Execute failed: java.io.IOException: CreateProcess: D:\wor= kingcopy\b > ranch6\deploy\jdk\jre\bin\java -version error=3D193 > > test-jre-vm-info: > =A0 =A0 [echo] java -version > =A0 =A0 [echo] ${test.vm.info.tmp} > =A0 =A0 [echo] hy.test.vm.name =3D drl > > test-module: > =A0 =A0 [echo] Running luni Unit Test from luni_tests_api.jar > =A0 =A0 [echo] Tested jre: D:\workingcopy\branch6\deploy\jdk\jre/bin/java > =A0 =A0[mkdir] Created dir: D:\workingcopy\branch6\build\test_report > =A0 =A0[junit] Running org.apache.harmony.luni.tests.util.UtilTest > =A0 =A0[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 occurr= ed whil > e executing this line: > D:\workingcopy\branch6\make\properties.xml:529: The following error occur= red whi > le executing this line: > D:\workingcopy\branch6\make\properties.xml:541: The following error occur= red whi > le executing this line: > D:\workingcopy\branch6\modules\luni\build.xml:334: The following error oc= curred > 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 manua= lly, > > D:\workingcopy\branch6>deploy\jdk\jre\bin\java -version > Apache Harmony Launcher : (c) Copyright 1991, 2009 The Apache Software Fo= undatio > 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 =3D r810364, (Sep =A02 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 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 wro= te: >>> While I can build ok using VisualStudio 2003, I have build problems now >>> on VisualStudio 2008. >>> >>>> =A0 =A0 =A0[exec] =A0 =A0 cl -c -DCRTAPI1=3D_cdecl -DCRTAPI2=3D_cdecl = -nologo -GS -FIsehmap.h -D_X86_=3D1 =A0-DWIN32 -D_WIN32 -W3 -D_WIN95 -D_WIN= 32_WINDOWS=3D0x0400 /D_WIN32_DCOM -D_WIN32_IE=3D0x0500 -DWINVER=3D0x0400 -Z= i -Od -WX -GF -Gs -MD -Zm400 =A0 -D_CRT_SECURE_NO_DEPRECATE =A0-D_CRT_SECUR= E_NO_WARNINGS =A0-D_SCL_SECURE_NO_DEPRECATE =A0-D_DLL -D_ >>>> MT -D_WINSOCKAPI_ =A0/ID:\java6\working_classlib\deploy\include /ID:\j= ava6\working_classlib\deploy\jdk\include /I. /I..\shared\ -Fohelpers.obj he= lpers.c >>>> =A0 =A0 =A0[exec] helpers.c >>>> =A0 =A0 =A0[exec] helpers.c(65) : error C2365: 'IFTYPE' : redefinition= ; previous definition was 'typedef' >>>> =A0 =A0 =A0[exec] =A0 =A0 =A0 =A0 C:\Program Files\Microsoft SDKs\Wind= ows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE' >>>> =A0 =A0 =A0[exec] helpers.c(65) : error C2086: 'IFTYPE' : redefinition >>>> =A0 =A0 =A0[exec] =A0 =A0 =A0 =A0 helpers.c(65) : see declaration of '= IFTYPE' >>>> =A0 =A0 =A0[exec] helpers.c(737) : error C2275: 'IFTYPE' : illegal use= of this type as an expression >>>> =A0 =A0 =A0[exec] =A0 =A0 =A0 =A0 C:\Program Files\Microsoft SDKs\Wind= ows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE' >>>> =A0 =A0 =A0[exec] helpers.c(737) : error C2046: illegal case >>>> =A0 =A0 =A0[exec] helpers.c(772) : error C2275: 'IFTYPE' : illegal use= of this type as an expression >>>> =A0 =A0 =A0[exec] =A0 =A0 =A0 =A0 C:\Program Files\Microsoft SDKs\Wind= ows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE' >>>> =A0 =A0 =A0[exec] helpers.c(772) : error C2198: 'getPlatformNetworkInt= erfaceAttribute' : too few arguments for call >>>> =A0 =A0 =A0[exec] helpers.c(777) : error C2275: 'IFTYPE' : illegal use= of this type as an expression >>>> =A0 =A0 =A0[exec] =A0 =A0 =A0 =A0 C:\Program Files\Microsoft SDKs\Wind= ows\v6.0A\include\ipifcons.h(238) : see declaration of 'IFTYPE' >>>> =A0 =A0 =A0[exec] helpers.c(777) : error C2198: 'getPlatformNetworkInt= erfaceAttribute' : too few arguments for call >>>> =A0 =A0 =A0[exec] NMAKE : fatal error U1077: '"c:\Program Files\Micros= oft Visual Studio 9.0\VC\BIN\cl.EXE"' : return code '0x2' >>>> =A0 =A0 =A0[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, =A027059 tests ran, and I se= e >>>> 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 >>>> =A0null expected:<[line4 line4]> but was:<[ line4 line]> >>>> org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLCo= nnectionTest.testUsingProxy2 >>>> should throw ConnectException >>>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_setInt= erfaceLjava_net_InetAddress >>>> =A0 Exception during test : null >>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getNa= me >>>> =A0 Exception occurred getting network interfaces : >>>> java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getIn= etAddresses >>>> =A0 Exception occurred getting network interfaces : >>>> java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getDi= splayName >>>> =A0 =A0Exception occurred getting network interfaces : >>>> java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getBy= NameLjava_lang_String >>>> =A0 =A0Exception occurred getting network interfaces : >>>> java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getBy= InetAddressLjava_net_InetAddress >>>> =A0 =A0Exception occurred getting network interfaces : >>>> java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getNe= tworkInterfaces >>>> =A0 =A0Exception occurred getting network interfaces : >>>> java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_equal= sLjava_lang_Object >>>> =A0 =A0Exception occurred getting network interfaces : >>>> java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_hashC= ode >>>> =A0 =A0Exception occurred getting network interfaces : >>>> java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_toStr= ing >>>> =A0 =A0Exception occurred getting network interfaces : >>>> java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getIn= terfaceAddresses >>>> =A0 =A0Exception occurred getting network interfaces : >>>> java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_isLoo= pback >>>> =A0 =A0Exception occurred getting network interfaces : >>>> java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getHa= rdwareAddress >>>> =A0 =A0Exception occurred getting network interfaces : >>>> java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.net.NetworkInterfaceTest.test_getMT= U >>>> =A0 =A0Exception occurred getting network interfaces : >>>> java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.net.URLConnectionTest.test_getInput= Stream >>>> =A0 =A0 =A0 null expected:<[zyxwvuts]> but was:<[]> >>>> >>>> Errors: >>>> javax.swing.text.html.HTMLDocument_Reader_ActionsTest.testHarmony_4582 >>>> =A0java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandl= eEarlyEOFChar_1 >>>> =A0 =A0java.nio.BufferOverflowException >>>> org.apache.harmony.luni.tests.java.io.OutputStreamWriterTest.testHandl= eEarlyEOFChar_2 >>>> =A0 =A0java.nio.BufferOverflowException >>>> org.apache.harmony.luni.tests.java.io.WriterTesterTest$FileWriterCharS= inkTester:sinkTestWriteLargeArray >>>> =A0 =A0java.nio.BufferOverflowException >>>> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachabl= eLjava_net_NetworkInterfaceII >>>> =A0 =A0java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.net.InetAddressTest.test_isReachabl= eLjava_net_NetworkInterfaceII_loopbackInterface >>>> =A0 =A0java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_hashC= ode >>>> =A0 =A0java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_equal= s_LObject >>>> =A0 =A0java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_toStr= ing >>>> =A0 =A0java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getAd= dress >>>> =A0 =A0java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getBr= oadcast >>>> =A0 =A0java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.net.InterfaceAddressTest.test_getNe= tworkPrefixLength >>>> =A0 =A0java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_joinGr= oupLjava_net_SocketAddressLjava_net_NetworkInterface >>>> =A0 =A0 java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.net.MulticastSocketTest.test_leaveG= roupLjava_net_SocketAddressLjava_net_NetworkInterface >>>> =A0 =A0java.lang.NullPointerException >>>> org.apache.harmony.luni.tests.java.net.WinNetworkInterfaceTest.test_is= ReachableLjava_net_NetworkInterfaceII_loopbackInterface >>>> =A0 =A0java.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"*" =A0sucess when I ran it standalone. >>>> >>>> >>> >> >> >> >> -- >> Tony Wu >> China Software Development Lab, IBM >> > > > > -- > Tony Wu > China Software Development Lab, IBM > --=20 Tony Wu China Software Development Lab, IBM