Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8042902

Test java/net/Inet6Address/serialize/Inet6AddressSerializationTest.java fails intermittently

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b11
    • Verification:
      Verified

      Backports

        Description

        TESTFAIL:java/net/Inet6Address/serialize/Inet6AddressSerializationTest.java

        The test java/net/Inet6Address/serialize/Inet6AddressSerializationTest.java fails intermittently.

        ----------System.out:(2/50)----------
        Hostname: XXXX
        LocalHost isLoopback : false
        ----------System.err:(191/11244)----------

         testInet6AddressSerialization: enter

        Deserialized Inet6Address localhost/0:0:0:0:0:0:0:1%0
        Inet6AddressSerializationTest.assertHostNameEqual:
        HostName equality HostName, expected:localhost, got :localhost
        Inet6AddressSerializationTest.assertHostAddressEqual:
        HostAddress equality HostAddress, expected: 0:0:0:0:0:0:0:1%0, got: 0:0:0:0:0:0:0:1%0
        Inet6AddressSerializationTest.assertAddressEqual:
        Address equality Address, expected: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], got: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]
        Inet6AddressSerializationTest.assertScopeIdEqual:
        ScopeId equality ScopeId, expected: 0, got: 0
        Inet6AddressSerializationTest.assertNetworkInterfaceEqual:
        Network Interface equality NetworkInterface, expected:null, got :null

         testInet6AddressSerialization: enter

        Deserialized Inet6Address localhost/0:0:0:0:0:0:0:1%0
        Inet6AddressSerializationTest.assertHostNameEqual:
        HostName equality HostName, expected:localhost, got :localhost
        Inet6AddressSerializationTest.assertHostAddressEqual:
        HostAddress equality HostAddress, expected: 0:0:0:0:0:0:0:1%0, got: 0:0:0:0:0:0:0:1%0
        Inet6AddressSerializationTest.assertAddressEqual:
        Address equality Address, expected: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], got: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]
        Inet6AddressSerializationTest.assertScopeIdEqual:
        ScopeId equality ScopeId, expected: 0, got: 0
        Inet6AddressSerializationTest.assertNetworkInterfaceEqual:
        Network Interface equality NetworkInterface, expected:null, got :null

         testInet6AddressSerialization: enter

        Deserialized Inet6Address sca00bis/0:0:0:0:0:0:0:0%0
        Inet6AddressSerializationTest.assertHostNameEqual:
        HostName equality HostName, expected:sca00bis, got :sca00bis
        Inet6AddressSerializationTest.assertHostAddressEqual:
        HostAddress equality HostAddress, expected: 0:0:0:0:0:0:0:0%0, got: 0:0:0:0:0:0:0:0%0
        Inet6AddressSerializationTest.assertAddressEqual:
        Address equality Address, expected: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], got: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
        Inet6AddressSerializationTest.assertScopeIdEqual:
        ScopeId equality ScopeId, expected: 0, got: 0
        Inet6AddressSerializationTest.assertNetworkInterfaceEqual:
        Network Interface equality NetworkInterface, expected:null, got :null

         testInet6AddressSerialization: enter

        Deserialized Inet6Address sca00bis/fe80:0:0:0:51e1:abbc:608e:66df%0
        Inet6AddressSerializationTest.assertHostNameEqual:
        HostName equality HostName, expected:sca00bis, got :sca00bis
        Inet6AddressSerializationTest.assertHostAddressEqual:
        HostAddress equality HostAddress, expected: fe80:0:0:0:51e1:abbc:608e:66df%0, got: fe80:0:0:0:51e1:abbc:608e:66df%0
        Inet6AddressSerializationTest.assertAddressEqual:
        Address equality Address, expected: [-2, -128, 0, 0, 0, 0, 0, 0, 81, -31, -85, -68, 96, -114, 102, -33], got: [-2, -128, 0, 0, 0, 0, 0, 0, 81, -31, -85, -68, 96, -114, 102, -33]
        Inet6AddressSerializationTest.assertScopeIdEqual:
        ScopeId equality ScopeId, expected: 0, got: 0
        Inet6AddressSerializationTest.assertNetworkInterfaceEqual:
        Network Interface equality NetworkInterface, expected:null, got :null

         testAllNetworkInterfaces:
         
        Test NetworkInterface: name:lo (Software Loopback Interface 1)
        Testing with /0:0:0:0:0:0:0:1
         scoped iface: null

         testInet6AddressSerialization: enter

        Deserialized Inet6Address /0:0:0:0:0:0:0:1
        Inet6AddressSerializationTest.assertHostNameEqual:
        HostName equality HostName, expected:0:0:0:0:0:0:0:1, got :0:0:0:0:0:0:0:1
        Inet6AddressSerializationTest.assertHostAddressEqual:
        HostAddress equality HostAddress, expected: 0:0:0:0:0:0:0:1, got: 0:0:0:0:0:0:0:1
        Inet6AddressSerializationTest.assertAddressEqual:
        Address equality Address, expected: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], got: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]
        Inet6AddressSerializationTest.assertScopeIdEqual:
        ScopeId equality ScopeId, expected: 0, got: 0
        Inet6AddressSerializationTest.assertNetworkInterfaceEqual:
        Network Interface equality NetworkInterface, expected:null, got :null
        Test NetworkInterface: name:eth1 (Intel 21140-Based PCI Fast Ethernet Adapter (Emulated))
        Testing with /fe80:0:0:0:51e1:abbc:608e:66df%eth1
         scoped iface: name:eth1 (Intel 21140-Based PCI Fast Ethernet Adapter (Emulated))

         testInet6AddressSerialization: enter

        Deserialized Inet6Address /fe80:0:0:0:51e1:abbc:608e:66df%eth1
        Inet6AddressSerializationTest.assertHostNameEqual:
        HostName equality HostName, expected:sca00bis.us.oracle.com, got :sca00bis.us.oracle.com
        Inet6AddressSerializationTest.assertHostAddressEqual:
        HostAddress equality HostAddress, expected: fe80:0:0:0:51e1:abbc:608e:66df%eth1, got: fe80:0:0:0:51e1:abbc:608e:66df%eth1
        Inet6AddressSerializationTest.assertAddressEqual:
        Address equality Address, expected: [-2, -128, 0, 0, 0, 0, 0, 0, 81, -31, -85, -68, 96, -114, 102, -33], got: [-2, -128, 0, 0, 0, 0, 0, 0, 81, -31, -85, -68, 96, -114, 102, -33]
        Inet6AddressSerializationTest.assertScopeIdEqual:
        ScopeId equality ScopeId, expected: 3, got: 3
        Inet6AddressSerializationTest.assertNetworkInterfaceEqual:
        Network Interface equality NetworkInterface, expected:name:eth1 (Intel 21140-Based PCI Fast Ethernet Adapter (Emulated)), got :name:eth1 (Intel 21140-Based PCI Fast Ethernet Adapter (Emulated))
        Test NetworkInterface: name:net0 (Teredo Tunneling Pseudo-Interface)
        Testing with /2001:0:9d38:6ab8:897:c1a:f57f:bd3c
         scoped iface: null

         testInet6AddressSerialization: enter

        Deserialized Inet6Address /2001:0:9d38:6ab8:897:c1a:f57f:bd3c
        Inet6AddressSerializationTest.assertHostNameEqual:
        HostName equality HostName, expected:sca00bis.us.oracle.com, got :sca00bis.us.oracle.com
        Inet6AddressSerializationTest.assertHostAddressEqual:
        HostAddress equality HostAddress, expected: 2001:0:9d38:6ab8:897:c1a:f57f:bd3c, got: 2001:0:9d38:6ab8:897:c1a:f57f:bd3c
        Inet6AddressSerializationTest.assertAddressEqual:
        Address equality Address, expected: [32, 1, 0, 0, -99, 56, 106, -72, 8, -105, 12, 26, -11, 127, -67, 60], got: [32, 1, 0, 0, -99, 56, 106, -72, 8, -105, 12, 26, -11, 127, -67, 60]
        Inet6AddressSerializationTest.assertScopeIdEqual:
        ScopeId equality ScopeId, expected: 0, got: 0
        Inet6AddressSerializationTest.assertNetworkInterfaceEqual:
        Network Interface equality NetworkInterface, expected:null, got :null
        Test NetworkInterface: name:net0 (Teredo Tunneling Pseudo-Interface)
        Testing with /fe80:0:0:0:897:c1a:f57f:bd3c%net0
         scoped iface: name:net0 (Teredo Tunneling Pseudo-Interface)

         testInet6AddressSerialization: enter

        Deserialized Inet6Address /fe80:0:0:0:897:c1a:f57f:bd3c%net0
        Inet6AddressSerializationTest.assertHostNameEqual:
        Error checking HostName, expected:sca00bis.us.oracle.com, got :fe80:0:0:0:897:c1a:f57f:bd3c%net0
        Inet6AddressSerializationTest.assertHostAddressEqual:
        HostAddress equality HostAddress, expected: fe80:0:0:0:897:c1a:f57f:bd3c%net0, got: fe80:0:0:0:897:c1a:f57f:bd3c%net0
        Inet6AddressSerializationTest.assertAddressEqual:
        Address equality Address, expected: [-2, -128, 0, 0, 0, 0, 0, 0, 8, -105, 12, 26, -11, 127, -67, 60], got: [-2, -128, 0, 0, 0, 0, 0, 0, 8, -105, 12, 26, -11, 127, -67, 60]
        Inet6AddressSerializationTest.assertScopeIdEqual:
        ScopeId equality ScopeId, expected: 4, got: 4
        Inet6AddressSerializationTest.assertNetworkInterfaceEqual:
        Network Interface equality NetworkInterface, expected:name:net0 (Teredo Tunneling Pseudo-Interface), got :name:net0 (Teredo Tunneling Pseudo-Interface)
        Test NetworkInterface: name:net1 (Microsoft ISATAP Adapter #2)
        Testing with /fe80:0:0:0:0:5efe:a80:42c3%net1
         scoped iface: name:net1 (Microsoft ISATAP Adapter #2)

         testInet6AddressSerialization: enter

        Deserialized Inet6Address /fe80:0:0:0:0:5efe:a80:42c3%net1
        Inet6AddressSerializationTest.assertHostNameEqual:
        HostName equality HostName, expected:fe80:0:0:0:0:5efe:a80:42c3%net1, got :fe80:0:0:0:0:5efe:a80:42c3%net1
        Inet6AddressSerializationTest.assertHostAddressEqual:
        HostAddress equality HostAddress, expected: fe80:0:0:0:0:5efe:a80:42c3%net1, got: fe80:0:0:0:0:5efe:a80:42c3%net1
        Inet6AddressSerializationTest.assertAddressEqual:
        Address equality Address, expected: [-2, -128, 0, 0, 0, 0, 0, 0, 0, 0, 94, -2, 10, -128, 66, -61], got: [-2, -128, 0, 0, 0, 0, 0, 0, 0, 0, 94, -2, 10, -128, 66, -61]
        Inet6AddressSerializationTest.assertScopeIdEqual:
        ScopeId equality ScopeId, expected: 5, got: 5
        Inet6AddressSerializationTest.assertNetworkInterfaceEqual:
        Network Interface equality NetworkInterface, expected:name:net1 (Microsoft ISATAP Adapter #2), got :name:net1 (Microsoft ISATAP Adapter #2)

         testSerializedLo0Inet6Address: enter


         testSerializedLo0Inet6Address: using index

        Deserialized Inet6Address localhost/0:0:0:0:0:0:0:1
        Inet6AddressSerializationTest.assertHostNameEqual:
        HostName equality HostName, expected:localhost, got :localhost
        Inet6AddressSerializationTest.assertHostAddressEqual:
        HostAddress equality HostAddress, expected: 0:0:0:0:0:0:0:1, got: 0:0:0:0:0:0:0:1
        Inet6AddressSerializationTest.assertAddressEqual:
        Address equality Address, expected: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], got: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]
        Inet6AddressSerializationTest.assertScopeIdEqual:
        ScopeId equality ScopeId, expected: 0, got: 0
        Inet6AddressSerializationTest.assertNetworkInterfaceEqual:
        Network Interface equality NetworkInterface, expected:null, got :null

         testSerializedE1000gInet6Address: enter


         testSerializedE1000gInet6Address: using index

        Deserialized Inet6Address fe80:0:0:0:21b:24ff:febd:f29c%e1000g0/fe80:0:0:0:21b:24ff:febd:f29c
        Inet6AddressSerializationTest.assertHostNameEqual:
        HostName equality HostName, expected:fe80:0:0:0:21b:24ff:febd:f29c%e1000g0, got :fe80:0:0:0:21b:24ff:febd:f29c%e1000g0
        Inet6AddressSerializationTest.assertHostAddressEqual:
        HostAddress equality HostAddress, expected: fe80:0:0:0:21b:24ff:febd:f29c, got: fe80:0:0:0:21b:24ff:febd:f29c
        Inet6AddressSerializationTest.assertAddressEqual:
        Address equality Address, expected: [-2, -128, 0, 0, 0, 0, 0, 0, 2, 27, 36, -1, -2, -67, -14, -100], got: [-2, -128, 0, 0, 0, 0, 0, 0, 2, 27, 36, -1, -2, -67, -14, -100]
        Inet6AddressSerializationTest.assertScopeIdEqual:
        ScopeId equality ScopeId, expected: 0, got: 0
        Inet6AddressSerializationTest.assertNetworkInterfaceEqual:
        Network Interface equality NetworkInterface, expected:null, got :null
        java.lang.RuntimeException: Some tests failed, check output
        at Inet6AddressSerializationTest.runTests(Inet6AddressSerializationTest.java:145)
        at Inet6AddressSerializationTest.main(Inet6AddressSerializationTest.java:101)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:484)
        at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:759)
        at java.lang.Thread.run(Thread.java:745)

        JavaTest Message: Test threw exception: java.lang.RuntimeException
        JavaTest Message: shutting down test

        result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Some tests failed, check output

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                xyin Chris Yin (Inactive)
                Reporter:
                ewang Eric Wang (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                14 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: