You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Varlamov (JIRA)" <ji...@apache.org> on 2006/10/03 08:02:19 UTC

[jira] Created: (HARMONY-1664) [classlib][net] InetAddressTest.test_getHostName() fails

[classlib][net] InetAddressTest.test_getHostName() fails
--------------------------------------------------------

                 Key: HARMONY-1664
                 URL: http://issues.apache.org/jira/browse/HARMONY-1664
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
         Environment: Linux, IBM VME v4
            Reporter: Alexey Varlamov
            Priority: Trivial


I observe for fairly long the following failure:

junit.framework.ComparisonFailure: expected:<127.0.0.1> but was:<localhost> 
at tests.api.java.net.InetAddressTest.test_getHostName(InetAddressTest.java:252) 
at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)

Seems that the test should be made more robust.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (HARMONY-1664) [classlib][net] InetAddressTest.test_getHostName() fails

Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1664?page=all ]

Paulex Yang resolved HARMONY-1664.
----------------------------------

    Resolution: Fixed

Thank you all for your attention to this issue.  

Alexecy and Denis, the patch has been applied at revision 469127, please verify it is as you expected.

> [classlib][net] InetAddressTest.test_getHostName() fails
> --------------------------------------------------------
>
>                 Key: HARMONY-1664
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Linux, IBM VME v4
>            Reporter: Alexey Varlamov
>         Assigned To: Paulex Yang
>            Priority: Trivial
>         Attachments: HARMONY-1664-InetAddressTest.patch, luni.sh
>
>
> I observe for fairly long the following failure:
> junit.framework.ComparisonFailure: expected:<127.0.0.1> but was:<localhost> 
> at tests.api.java.net.InetAddressTest.test_getHostName(InetAddressTest.java:252) 
> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> Seems that the test should be made more robust.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (HARMONY-1664) [classlib][net] InetAddressTest.test_getHostName() fails

Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1664?page=all ]

Paulex Yang closed HARMONY-1664.
--------------------------------


Verified by Alexey.

> [classlib][net] InetAddressTest.test_getHostName() fails
> --------------------------------------------------------
>
>                 Key: HARMONY-1664
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Linux, IBM VME v4
>            Reporter: Alexey Varlamov
>         Assigned To: Paulex Yang
>            Priority: Trivial
>         Attachments: HARMONY-1664-InetAddressTest.patch, luni.sh
>
>
> I observe for fairly long the following failure:
> junit.framework.ComparisonFailure: expected:<127.0.0.1> but was:<localhost> 
> at tests.api.java.net.InetAddressTest.test_getHostName(InetAddressTest.java:252) 
> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> Seems that the test should be made more robust.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-1664) [classlib][net] InetAddressTest.test_getHostName() fails

Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1664?page=comments#action_12442626 ] 
            
Alexei Fedotov commented on HARMONY-1664:
-----------------------------------------

The bug is still reproducible with patches, mentioned by Oleg. See my mail from http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200610.mbox/%3c8E389A5F2FEABA4CB1DEC35A25CB39CE593857@mssmsx411%3e



> [classlib][net] InetAddressTest.test_getHostName() fails
> --------------------------------------------------------
>
>                 Key: HARMONY-1664
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Linux, IBM VME v4
>            Reporter: Alexey Varlamov
>         Assigned To: Paulex Yang
>            Priority: Trivial
>         Attachments: luni.sh
>
>
> I observe for fairly long the following failure:
> junit.framework.ComparisonFailure: expected:<127.0.0.1> but was:<localhost> 
> at tests.api.java.net.InetAddressTest.test_getHostName(InetAddressTest.java:252) 
> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> Seems that the test should be made more robust.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-1664) [classlib][net] InetAddressTest.test_getHostName() fails

Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1664?page=comments#action_12443382 ] 
            
Alexei Fedotov commented on HARMONY-1664:
-----------------------------------------

See http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200602.mbox/%3C43EC2AA4.7040801@gmail.com%3E

> [classlib][net] InetAddressTest.test_getHostName() fails
> --------------------------------------------------------
>
>                 Key: HARMONY-1664
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Linux, IBM VME v4
>            Reporter: Alexey Varlamov
>         Assigned To: Paulex Yang
>            Priority: Trivial
>         Attachments: luni.sh
>
>
> I observe for fairly long the following failure:
> junit.framework.ComparisonFailure: expected:<127.0.0.1> but was:<localhost> 
> at tests.api.java.net.InetAddressTest.test_getHostName(InetAddressTest.java:252) 
> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> Seems that the test should be made more robust.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-1664) [classlib][net] InetAddressTest.test_getHostName() fails

Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1664?page=comments#action_12440587 ] 
            
Alexei Fedotov commented on HARMONY-1664:
-----------------------------------------

[drlvm][unit] Blocks http://wiki.apache.org/harmony/Unit_Tests_Pass_on_DRLVM 

The issue is close to https://issues.apache.org/jira/browse/HARMONY-1752

> [classlib][net] InetAddressTest.test_getHostName() fails
> --------------------------------------------------------
>
>                 Key: HARMONY-1664
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Linux, IBM VME v4
>            Reporter: Alexey Varlamov
>            Priority: Trivial
>
> I observe for fairly long the following failure:
> junit.framework.ComparisonFailure: expected:<127.0.0.1> but was:<localhost> 
> at tests.api.java.net.InetAddressTest.test_getHostName(InetAddressTest.java:252) 
> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> Seems that the test should be made more robust.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-1664) [classlib][net] InetAddressTest.test_getHostName() fails

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1664?page=comments#action_12446193 ] 
            
Alexey Varlamov commented on HARMONY-1664:
------------------------------------------

Hmm, yet not fully fixed: 

junit.framework.ComparisonFailure: expected:<127.0.0.1> but was:<localhost> 
at tests.api.java.net.InetAddressTest.test_getHostName(InetAddressTest.java:261) 
at java.lang.reflect.VMReflection.invokeMethod(Native Method)

> [classlib][net] InetAddressTest.test_getHostName() fails
> --------------------------------------------------------
>
>                 Key: HARMONY-1664
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Linux, IBM VME v4
>            Reporter: Alexey Varlamov
>         Assigned To: Paulex Yang
>            Priority: Trivial
>         Attachments: HARMONY-1664-InetAddressTest.patch, luni.sh
>
>
> I observe for fairly long the following failure:
> junit.framework.ComparisonFailure: expected:<127.0.0.1> but was:<localhost> 
> at tests.api.java.net.InetAddressTest.test_getHostName(InetAddressTest.java:252) 
> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> Seems that the test should be made more robust.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-1664) [classlib][net] InetAddressTest.test_getHostName() fails

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1664?page=comments#action_12446223 ] 
            
Alexey Varlamov commented on HARMONY-1664:
------------------------------------------

Yes, even the same machine :). Both j9 and DRLVM. 
Looking at the patch, this failing assert was not changed

> [classlib][net] InetAddressTest.test_getHostName() fails
> --------------------------------------------------------
>
>                 Key: HARMONY-1664
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Linux, IBM VME v4
>            Reporter: Alexey Varlamov
>         Assigned To: Paulex Yang
>            Priority: Trivial
>         Attachments: HARMONY-1664-InetAddressTest.patch, luni.sh
>
>
> I observe for fairly long the following failure:
> junit.framework.ComparisonFailure: expected:<127.0.0.1> but was:<localhost> 
> at tests.api.java.net.InetAddressTest.test_getHostName(InetAddressTest.java:252) 
> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> Seems that the test should be made more robust.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (HARMONY-1664) [classlib][net] InetAddressTest.test_getHostName() fails

Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1664?page=all ]

Paulex Yang resolved HARMONY-1664.
----------------------------------

    Resolution: Fixed
      Assignee: Paulex Yang

Oleg, thank you for looking at this.

Alexey, please to verify that if this issue still exists or not, thank you. 



> [classlib][net] InetAddressTest.test_getHostName() fails
> --------------------------------------------------------
>
>                 Key: HARMONY-1664
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Linux, IBM VME v4
>            Reporter: Alexey Varlamov
>         Assigned To: Paulex Yang
>            Priority: Trivial
>
> I observe for fairly long the following failure:
> junit.framework.ComparisonFailure: expected:<127.0.0.1> but was:<localhost> 
> at tests.api.java.net.InetAddressTest.test_getHostName(InetAddressTest.java:252) 
> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> Seems that the test should be made more robust.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Reopened: (HARMONY-1664) [classlib][net] InetAddressTest.test_getHostName() fails

Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1664?page=all ]

Paulex Yang reopened HARMONY-1664:
----------------------------------

             
Still reproducible.

> [classlib][net] InetAddressTest.test_getHostName() fails
> --------------------------------------------------------
>
>                 Key: HARMONY-1664
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Linux, IBM VME v4
>            Reporter: Alexey Varlamov
>         Assigned To: Paulex Yang
>            Priority: Trivial
>         Attachments: luni.sh
>
>
> I observe for fairly long the following failure:
> junit.framework.ComparisonFailure: expected:<127.0.0.1> but was:<localhost> 
> at tests.api.java.net.InetAddressTest.test_getHostName(InetAddressTest.java:252) 
> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> Seems that the test should be made more robust.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-1664) [classlib][net] InetAddressTest.test_getHostName() fails

Posted by "Alexei Fedotov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1664?page=all ]

Alexei Fedotov updated HARMONY-1664:
------------------------------------

    Attachment: luni.sh

This is an example script which runs tests from LUNI module in a loop and collects a log. It helps reproducing intermittent problems.

> [classlib][net] InetAddressTest.test_getHostName() fails
> --------------------------------------------------------
>
>                 Key: HARMONY-1664
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Linux, IBM VME v4
>            Reporter: Alexey Varlamov
>         Assigned To: Paulex Yang
>            Priority: Trivial
>         Attachments: luni.sh
>
>
> I observe for fairly long the following failure:
> junit.framework.ComparisonFailure: expected:<127.0.0.1> but was:<localhost> 
> at tests.api.java.net.InetAddressTest.test_getHostName(InetAddressTest.java:252) 
> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> Seems that the test should be made more robust.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-1664) [classlib][net] InetAddressTest.test_getHostName() fails

Posted by "Denis Kishenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-1664?page=all ]

Denis Kishenko updated HARMONY-1664:
------------------------------------

    Attachment: HARMONY-1664-InetAddressTest.patch

During disscussion it was diccided to comment assert which fail tests (only concern "localhost").
http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200610.mbox/%3c834b3bd50610190444q51af279cn23a8b83834bf2c41@mail.gmail.com%3e

Following tests were changed
  test_getByNameLjava_lang_String
  test_getHostName
  test_getCanonicalHostName


> [classlib][net] InetAddressTest.test_getHostName() fails
> --------------------------------------------------------
>
>                 Key: HARMONY-1664
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Linux, IBM VME v4
>            Reporter: Alexey Varlamov
>         Assigned To: Paulex Yang
>            Priority: Trivial
>         Attachments: HARMONY-1664-InetAddressTest.patch, luni.sh
>
>
> I observe for fairly long the following failure:
> junit.framework.ComparisonFailure: expected:<127.0.0.1> but was:<localhost> 
> at tests.api.java.net.InetAddressTest.test_getHostName(InetAddressTest.java:252) 
> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> Seems that the test should be made more robust.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-1664) [classlib][net] InetAddressTest.test_getHostName() fails

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1664?page=comments#action_12446251 ] 
            
Alexey Varlamov commented on HARMONY-1664:
------------------------------------------

Better now - passed.

> [classlib][net] InetAddressTest.test_getHostName() fails
> --------------------------------------------------------
>
>                 Key: HARMONY-1664
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Linux, IBM VME v4
>            Reporter: Alexey Varlamov
>         Assigned To: Paulex Yang
>            Priority: Trivial
>         Attachments: HARMONY-1664-InetAddressTest.patch, luni.sh
>
>
> I observe for fairly long the following failure:
> junit.framework.ComparisonFailure: expected:<127.0.0.1> but was:<localhost> 
> at tests.api.java.net.InetAddressTest.test_getHostName(InetAddressTest.java:252) 
> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> Seems that the test should be made more robust.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-1664) [classlib][net] InetAddressTest.test_getHostName() fails

Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1664?page=comments#action_12446213 ] 
            
Paulex Yang commented on HARMONY-1664:
--------------------------------------

D'oh...same environment? I mean, Harmony+IBM VME/DRLVM on Linux?

> [classlib][net] InetAddressTest.test_getHostName() fails
> --------------------------------------------------------
>
>                 Key: HARMONY-1664
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Linux, IBM VME v4
>            Reporter: Alexey Varlamov
>         Assigned To: Paulex Yang
>            Priority: Trivial
>         Attachments: HARMONY-1664-InetAddressTest.patch, luni.sh
>
>
> I observe for fairly long the following failure:
> junit.framework.ComparisonFailure: expected:<127.0.0.1> but was:<localhost> 
> at tests.api.java.net.InetAddressTest.test_getHostName(InetAddressTest.java:252) 
> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> Seems that the test should be made more robust.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-1664) [classlib][net] InetAddressTest.test_getHostName() fails

Posted by "Oleg Khaschansky (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1664?page=comments#action_12441789 ] 
            
Oleg Khaschansky commented on HARMONY-1664:
-------------------------------------------

This issue is not reproducible with drlvm r454444. I also observed an InterruptedException in this test but it is unrelated threading issue which was fixed after applying patches from #1823 and #1816.

> [classlib][net] InetAddressTest.test_getHostName() fails
> --------------------------------------------------------
>
>                 Key: HARMONY-1664
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Linux, IBM VME v4
>            Reporter: Alexey Varlamov
>            Priority: Trivial
>
> I observe for fairly long the following failure:
> junit.framework.ComparisonFailure: expected:<127.0.0.1> but was:<localhost> 
> at tests.api.java.net.InetAddressTest.test_getHostName(InetAddressTest.java:252) 
> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> Seems that the test should be made more robust.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-1664) [classlib][net] InetAddressTest.test_getHostName() fails

Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1664?page=comments#action_12446230 ] 
            
Paulex Yang commented on HARMONY-1664:
--------------------------------------

...Seems the patch commented wrong place! How about now? (revision r469894)

> [classlib][net] InetAddressTest.test_getHostName() fails
> --------------------------------------------------------
>
>                 Key: HARMONY-1664
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Linux, IBM VME v4
>            Reporter: Alexey Varlamov
>         Assigned To: Paulex Yang
>            Priority: Trivial
>         Attachments: HARMONY-1664-InetAddressTest.patch, luni.sh
>
>
> I observe for fairly long the following failure:
> junit.framework.ComparisonFailure: expected:<127.0.0.1> but was:<localhost> 
> at tests.api.java.net.InetAddressTest.test_getHostName(InetAddressTest.java:252) 
> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> Seems that the test should be made more robust.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-1664) [classlib][net] InetAddressTest.test_getHostName() fails

Posted by "Elena Semukhina (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1664?page=comments#action_12441922 ] 
            
Elena Semukhina commented on HARMONY-1664:
------------------------------------------

This test fails for me on Widows 2003 server with H-1816, 1823 applied (which eliminate InterruptedException). 
3 test cases fail in the following way:

test_getByNameLjava_lang_String Failure null

junit.framework.AssertionFailedError: null at junit.framework.AssertionFailedError.<init>(AssertionFailedError.java:14) at tests.api.java.net.InetAddressTest.test_getByNameLjava_lang_String(InetAddressTest.java:207) at java.lang.reflect.VMReflection.invokeMethod(Native Method) 

test_getHostName Failure null

junit.framework.AssertionFailedError: null at junit.framework.AssertionFailedError.<init>(AssertionFailedError.java:14) at tests.api.java.net.InetAddressTest.test_getHostName(InetAddressTest.java:240) at java.lang.reflect.VMReflection.invokeMethod(Native Method) 

test_getCanonicalHostName Failure null

junit.framework.AssertionFailedError: null at junit.framework.AssertionFailedError.<init>(AssertionFailedError.java:14) at tests.api.java.net.InetAddressTest.test_getCanonicalHostName(InetAddressTest.java:412) at java.lang.reflect.VMReflection.invokeMethod(Native Method 


> [classlib][net] InetAddressTest.test_getHostName() fails
> --------------------------------------------------------
>
>                 Key: HARMONY-1664
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Linux, IBM VME v4
>            Reporter: Alexey Varlamov
>         Assigned To: Paulex Yang
>            Priority: Trivial
>
> I observe for fairly long the following failure:
> junit.framework.ComparisonFailure: expected:<127.0.0.1> but was:<localhost> 
> at tests.api.java.net.InetAddressTest.test_getHostName(InetAddressTest.java:252) 
> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> Seems that the test should be made more robust.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HARMONY-1664) [classlib][net] InetAddressTest.test_getHostName() fails

Posted by "Tony Wu (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HARMONY-1664?page=comments#action_12447687 ] 
            
Tony Wu commented on HARMONY-1664:
----------------------------------

I suggest to commet out the meaningless and time-consuming multi-thread lines also, not just the assertion.
That made my alltest hang sometime.

> [classlib][net] InetAddressTest.test_getHostName() fails
> --------------------------------------------------------
>
>                 Key: HARMONY-1664
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1664
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Linux, IBM VME v4
>            Reporter: Alexey Varlamov
>         Assigned To: Paulex Yang
>            Priority: Trivial
>         Attachments: HARMONY-1664-InetAddressTest.patch, luni.sh
>
>
> I observe for fairly long the following failure:
> junit.framework.ComparisonFailure: expected:<127.0.0.1> but was:<localhost> 
> at tests.api.java.net.InetAddressTest.test_getHostName(InetAddressTest.java:252) 
> at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
> Seems that the test should be made more robust.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira