JDK-4511297 : JCK1.4, api/java_net/distributed/index.html#NetDistributed, linux
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 1.4.0
  • Priority: P1
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2001-10-05
  • Updated: 2001-10-09
  • Resolved: 2001-10-09
Related Reports
Duplicate :  
Description

Name: iaR10016			Date: 10/05/2001


JDK            : JDK1.4.0-beta-b82
JCK            : JCK1.4-b10
Platform[s]    : RedHat Linux 6.2, RedHat Linux 7.1
                 (The tests pass under Windows OS)
switch/Mode    : -Xprof -verbose -verify -Xfuture
                 (The tests pass with default switches on the same machine)
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Failing Test   : api/java_net/distributed/index.html#NetDistributed

Test source location:
=====================
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_net/distributed/NetDistributedTests.java
/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_net/distributed/DServer.java

jtr file location:
==================
/net/jtgb4u4c.eng/export/sail15/results/merlin/b82/jck14/linux/redhat7.1_gnome_client_prof_verbose_verify_linux-14/workDir/api/java_net/distributed/index_NetDistributed.jtr

Test output:
=============
[Opened /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
[Opened /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/sunrsasign.jar]
[Opened /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/jsse.jar]
[Opened /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/jce.jar]
[Opened /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/charsets.jar]
...
[Loaded java.lang.StackTraceElement from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
****************** 2001 *****************
****************** 2002 *****************
****************** 2003 *****************
****************** 2004 *****************
****************** 2005 *****************
****************** 2006 *****************
****************** 2007 *****************
****************** 2008 *****************
****************** 2009 *****************
****************** 2010 *****************
****************** 2011 *****************
unexpected : java.net.SocketException: Interrupted system call
****************** 2012 *****************
unexpected : java.net.SocketException: Interrupted system call
****************** 2013 *****************
****************** 2014 *****************
****************** 2015 *****************
****************** 2016 *****************
exception2: java.net.SocketException: Interrupted system call
java.net.SocketException: Interrupted system call
        at java.net.PlainDatagramSocketImpl.receive(Native Method)
        at java.net.DatagramSocket.receive(DatagramSocket.java:672)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.sendReceive(NetDistributedTests.java:304)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.distributed2016(NetDistributedTests.java:1641)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
        at java.lang.reflect.Method.invoke(Method.java:327)
        at com.sun.javatest.lib.TestCases.invokeTestCases(TestCases.java:184)
        at com.sun.jck.lib.DistributedMultiTest.go(DistributedMultiTest.java:60)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.go(NetDistributedTests.java:74)
        at com.sun.jck.lib.DistributedTest.run(DistributedTest.java:74)
        at com.sun.jck.lib.DistributedMultiTest.run(DistributedMultiTest.java:38)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.run(NetDistributedTests.java:51)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.main(NetDistributedTests.java:357)
****************** 2017 *****************
exception2: java.net.SocketException: Interrupted system call
java.net.SocketException: Interrupted system call
        at java.net.PlainDatagramSocketImpl.receive(Native Method)
        at java.net.DatagramSocket.receive(DatagramSocket.java:672)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.sendReceive(NetDistributedTests.java:304)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.distributed2017(NetDistributedTests.java:1735)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
        at java.lang.reflect.Method.invoke(Method.java:327)
        at com.sun.javatest.lib.TestCases.invokeTestCases(TestCases.java:184)
        at com.sun.jck.lib.DistributedMultiTest.go(DistributedMultiTest.java:60)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.go(NetDistributedTests.java:74)
        at com.sun.jck.lib.DistributedTest.run(DistributedTest.java:74)
        at com.sun.jck.lib.DistributedMultiTest.run(DistributedMultiTest.java:38)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.run(NetDistributedTests.java:51)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.main(NetDistributedTests.java:357)
****************** 2018 *****************

exception2: java.net.SocketException: Interrupted system call
java.net.SocketException: Interrupted system call
        at java.net.PlainDatagramSocketImpl.receive(Native Method)
        at java.net.DatagramSocket.receive(DatagramSocket.java:672)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.sendReceive(NetDistributedTests.java:304)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.distributed2018(NetDistributedTests.java:1830)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
        at java.lang.reflect.Method.invoke(Method.java:327)
        at com.sun.javatest.lib.TestCases.invokeTestCases(TestCases.java:184)
        at com.sun.jck.lib.DistributedMultiTest.go(DistributedMultiTest.java:60)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.go(NetDistributedTests.java:74)
        at com.sun.jck.lib.DistributedTest.run(DistributedTest.java:74)
        at com.sun.jck.lib.DistributedMultiTest.run(DistributedMultiTest.java:38)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.run(NetDistributedTests.java:51)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.main(NetDistributedTests.java:357)
****************** 2019 *****************
exception2: java.net.SocketException: Interrupted system call
java.net.SocketException: Interrupted system call
        at java.net.PlainDatagramSocketImpl.receive(Native Method)
        at java.net.DatagramSocket.receive(DatagramSocket.java:672)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.sendReceive(NetDistributedTests.java:304)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.distributed2019(NetDistributedTests.java:1926)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
        at java.lang.reflect.Method.invoke(Method.java:327)
        at com.sun.javatest.lib.TestCases.invokeTestCases(TestCases.java:184)
        at com.sun.jck.lib.DistributedMultiTest.go(DistributedMultiTest.java:60)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.go(NetDistributedTests.java:74)
        at com.sun.jck.lib.DistributedTest.run(DistributedTest.java:74)
        at com.sun.jck.lib.DistributedMultiTest.run(DistributedMultiTest.java:38)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.run(NetDistributedTests.java:51)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.main(NetDistributedTests.java:357)
****************** 2020 *****************

exception2: java.net.SocketException: Interrupted system call
java.net.SocketException: Interrupted system call
        at java.net.PlainDatagramSocketImpl.receive(Native Method)
        at java.net.DatagramSocket.receive(DatagramSocket.java:672)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.distributed2020(NetDistributedTests.java:2025)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
        at java.lang.reflect.Method.invoke(Method.java:327)
        at com.sun.javatest.lib.TestCases.invokeTestCases(TestCases.java:184)
        at com.sun.jck.lib.DistributedMultiTest.go(DistributedMultiTest.java:60)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.go(NetDistributedTests.java:74)
        at com.sun.jck.lib.DistributedTest.run(DistributedTest.java:74)
        at com.sun.jck.lib.DistributedMultiTest.run(DistributedMultiTest.java:38)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.run(NetDistributedTests.java:51)
        at javasoft.sqe.tests.api.java.net.distributed.NetDistributedTests.main(NetDistributedTests.java:357)

Flat profile of 32.05 secs (1419 total ticks): main


  Interpreted + native   Method
 31.0%     0  +    94    java.net.SocketInputStream.socketRead0
  2.3%     0  +     7    java.net.SocketOutputStream.socketWrite0
  1.7%     0  +     5    java.net.PlainDatagramSocketImpl.receive
  1.0%     0  +     3    java.lang.Class.forName0
  1.0%     0  +     3    sun.nio.cs.UTF_8.newDecoder
  0.7%     0  +     2    java.io.UnixFileSystem.getBooleanAttributes0
  0.7%     0  +     2    java.net.PlainSocketImpl.socketAccept
  0.7%     0  +     2    java.lang.ClassLoader.defineClass0
  0.7%     0  +     2    sun.security.provider.X509Factory.engineGenerateCertificate
  0.7%     1  +     1    sun.nio.cs.ISO_8859_1$Decoder.decodeArrayLoop
  0.7%     0  +     2    sun.security.pkcs.SignerInfo.verify
  0.3%     0  +     1    java.lang.ClassLoader$NativeLibrary.load
  0.3%     0  +     1    java.util.zip.Inflater.reset
  0.3%     1  +     0    HelloWorld.toString
  0.3%     1  +     0    java.nio.Buffer.position
  0.3%     0  +     1    java.net.PlainSocketImpl.socketConnect
  0.3%     0  +     1    sun.misc.Unsafe.defineClass
  0.3%     0  +     1    sun.security.util.BigInt.toBigInteger
  0.3%     0  +     1    java.lang.StringBuffer.toString
  0.3%     0  +     1    java.util.LinkedHashMap.newKeyIterator
  0.3%     0  +     1    sun.net.www.protocol.http.Handler.openConnection
  0.3%     0  +     1    sun.security.x509.CertificateIssuerName.<init>
  0.3%     0  +     1    sun.reflect.BootstrapConstructorAccessorImpl.newInstance
  0.3%     1  +     0    sun.reflect.ByteVectorImpl.add
  0.3%     1  +     0    sun.misc.Launcher$AppClassLoader.loadClass
 61.1%    11  +   174    Total interpreted (including elided)

     Compiled + native   Method
  4.6%    14  +     0    java.math.BigInteger.mulAdd
  0.3%     1  +     0    java.math.BigInteger.addOne
  0.3%     1  +     0    java.math.BigInteger.multiplyToLen
  5.3%    16  +     0    Total compiled

  Thread-local ticks:
 78.6%  1116             Blocked (of total)
 21.8%    66             Class loader
 11.2%    34             Compilation
  0.3%     1             Unknown: no last frame
  0.3%     1             Unknown: thread_state


Global summary of 32.05 seconds:
100.0%  1419             Received ticks
  2.7%    39             Compilation
  4.7%    66             Class loader
  0.1%     2             Unknown code

----------log:(21/703)----------
distributed2001: Passed. OKAY
distributed2002: Passed. OKAY
distributed2003: Passed. OKAY
distributed2004: Passed. OKAY
distributed2005: Passed. OKAY
distributed2006: Passed. OKAY
distributed2007: Passed. OKAY
distributed2008: Passed. OKAY
distributed2009: Passed. OKAY
distributed2010: Passed. OKAY
distributed2011: Failed. Failed
distributed2012: Failed. Failed
distributed2013: Passed. OKAY
distributed2014: Passed. OKAY
distributed2015: Passed. OKAY
distributed2016: Failed. Failed
distributed2017: Failed. Failed
distributed2018: Failed. Failed
distributed2019: Failed. Failed
distributed2020: Failed. Failed
STATUS:Failed.tests: 20; passed: 13; failed: 7; first test case failure: distributed2011
result: Failed. tests: 20; passed: 13; failed: 7; first test case failure: distributed2011

Specific Machine Info:
=====================
Hostname: Linux-14
OS: RedHat Linux 7.1

Hostname: Linux-12
OS: RedHat Linux 6.2

======================================================================

Comments
EVALUATION This may be a duplicate of bug 4503972... Please rerun tests, test results do not exist. Alan has a fix for this and 4511253 ###@###.### 2001-10-05 -- Due to changes 4344135 (in b81) we aren't restarting some system calls that are interrupted for reasons other than socket close or timeout. ###@###.### 2001-10-05
05-10-2001