Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-2315

[classlib][luni] org.apache.harmony.luni.tests.java.net.InetAddressTest intermittent failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Classlib
    • None
    • SUSE 9, gcc, debug

    Description

      Running luni module tests in perTest mode iteratively 50 times on SUSE9 on svn = r478052 the failure of 2 testcases in org.apache.harmony.luni.tests.java.net.InetAddressTest was observed 1 time out of 50:

      test_hashCode Failure

      Incorrect hash returned: 1 from host: localhost/0000:0000:0000:0000:0000:0000:0000:0001
      junit.framework.AssertionFailedError: Incorrect hash returned: 1 from host: localhost/0000:0000:0000:0000:0000:0000:0000:0001 at org.apache.harmony.luni.tests.java.net.InetAddressTest.test_hashCode(InetAddressTest.java:358) at java.lang.reflect.VMReflection.invokeMethod(Native Method)

      testSerializationCompatibility Failure

      expected:<0> but was:<127>
      junit.framework.AssertionFailedError: expected:<0> but was:<127> at org.apache.harmony.luni.tests.java.net.InetAddressTest$1.assertDeserialized(InetAddressTest.java:498) at org.apache.harmony.testframework.serialization.SerializationTest.verifyGolden(SerializationTest.java:383) at org.apache.harmony.luni.tests.java.net.InetAddressTest.testSerializationCompatibility(InetAddressTest.java:519) at java.lang.reflect.VMReflection.invokeMethod(Native Method)

      Attachments

        Activity

          People

            paulex Paulex Yang
            tatyana.v.doubtsova@intel.com tatyana doubtsova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: