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

JCK1.4 Some tests throw SocketException in "-Xprof -verbose -verify" mode, linux

    Details

    • Subcomponent:
    • Resolved In Build:
      rc1
    • CPU:
      x86
    • OS:
      linux
    • Verification:
      Verified

      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)
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Test : api/java_net/Socket/descriptions.html#getSoTimeout
                       api/java_net/DatagramSocket/index.html#Receive
                       api/java_net/DatagramSocket/index.html#connect
                       api/java_net/MulticastSocket/descriptions.html#leaveGroup
                       api/java_net/ServerSocket/descriptions.html#setSoTimeout
                       api/javax_net/ServerSocketFactory/index.html#ServerSocketFactory001
                       api/javax_net/ServerSocketFactory/index.html#ServerSocketFactory002
                       api/javax_net/ServerSocketFactory/index.html#ServerSocketFactory003

      Some api/java_net and api/javax_net tests throw unexpected java.net.SocketException
      when running with JDK1.4.0-beta-b82 with "-Xprof -verbose -verify" switches.

      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_net/Socket/*.java
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_net/DatagramSocket/*.java
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_net/MulticastSocket/*.java
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_net/ServerSocket/*.java
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/javax_net/ServerSocketFactory/*.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/Socket/descriptions_getSoTimeout.jtr
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b82/jck14/linux/redhat7.1_gnome_client_prof_verbose_verify_linux-14/workDir/api/java_net/DatagramSocket/index_Receive.jtr
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b82/jck14/linux/redhat7.1_gnome_client_prof_verbose_verify_linux-14/workDir/api/java_net/DatagramSocket/index_connect.jtr
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b82/jck14/linux/redhat7.1_gnome_client_prof_verbose_verify_linux-14/workDir/api/java_net/MulticastSocket/descriptions_leaveGroup.jtr
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b82/jck14/linux/redhat7.1_gnome_client_prof_verbose_verify_linux-14/workDir/api/java_net/ServerSocket/descriptions_setSoTimeout.jtr
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b82/jck14/linux/redhat7.1_gnome_client_prof_verbose_verify_linux-14/workDir/api/javax_net/ServerSocketFactory/index_ServerSocketFactory001.jtr
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b82/jck14/linux/redhat7.1_gnome_client_prof_verbose_verify_linux-14/workDir/api/javax_net/ServerSocketFactory/index_ServerSocketFactory002.jtr
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b82/jck14/linux/redhat7.1_gnome_client_prof_verbose_verify_linux-14/workDir/api/javax_net/ServerSocketFactory/index_ServerSocketFactory003.jtr

      How to reproduce:
      ====================
      Run the following script under RedHat Linux 6.2
      (probably, you need to change JCK and JAVA_HOME paths):
      --------Script START---------------------
      #!/bin/sh
      JAVA_HOME=/net/jdk/export/disk8/local.java/jdk1.4/linux-i386
      JCK=/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14
      export CLASSPATH="$JCK/classes:$JCK/javatest.jar"
      executeClass="javasoft.sqe.tests.api.java.net.DatagramSocket.ReceiveTests"
      $JAVA_HOME/bin/java -Xprof -verbose -verify -Xfuture ${executeClass}
      ---------Script END----------------------

      Test output:
      =============
      ----------ref:(503/54121)----------
      [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.Object from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
      [Loaded java.io.Serializable from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]
      ...


      ##### sending 5 bytes to: linux-14/129.144.234.224:33088 received ###
      ##### sending 5 bytes to: linux-14/129.144.234.224:33089 received ###
      ##### sending 5 bytes to: linux-14/129.144.234.224:33090 received ###
      [Loaded java.util.HashMap$KeyIterator from /.automount/linux-15/root/export/home/java/jdk1.4.0/linux/jre/lib/rt.jar]

      Flat profile of 3.49 secs (68 total ticks): main

        Interpreted + native Method
       10.3% 0 + 7 java.io.UnixFileSystem.getBooleanAttributes0
        5.9% 0 + 4 java.lang.ClassLoader$NativeLibrary.load
        5.9% 0 + 4 java.io.FileInputStream.readBytes
        4.4% 0 + 3 java.net.PlainDatagramSocketImpl.receive
        4.4% 0 + 3 sun.reflect.NativeConstructorAccessorImpl.newInstance
        2.9% 0 + 2 java.net.Inet4AddressImpl.getLocalHostName
        2.9% 0 + 2 java.lang.ClassLoader.defineClass0
        1.5% 0 + 1 java.lang.ClassLoader.findBootstrapClass
        1.5% 0 + 1 java.lang.String.length
        1.5% 0 + 1 sun.net.InetAddressCachePolicy$1.run
        1.5% 0 + 1 sun.misc.URLClassPath$JarLoader.parseExtensionsDependencies
        1.5% 0 + 1 java.util.jar.Manifest.<init>
        1.5% 0 + 1 javasoft.sqe.javatest.lib.MultiTest.run
        1.5% 0 + 1 sun.reflect.AccessorGenerator.<clinit>
        1.5% 0 + 1 sun.misc.URLClassPath$2.run
        1.5% 0 + 1 java.util.zip.ZipFile.getInputStream
        1.5% 0 + 1 java.lang.ClassLoader.defineClass
        1.5% 0 + 1 java.net.InetAddress.getAddressFromNameService
        1.5% 0 + 1 java.util.jar.Manifest$FastInputStream.readLine
        1.5% 0 + 1 sun.net.www.protocol.file.Handler.openConnection
        1.5% 0 + 1 java.io.BufferedReader.readLine
        1.5% 0 + 1 javasoft.sqe.javatest.lib.MultiTest.run
        1.5% 0 + 1 java.lang.ClassLoader.loadLibrary0
        1.5% 0 + 1 javasoft.sqe.tests.api.java.net.DatagramSocket.ReceiveTests.DatagramSocket2006
       61.8% 0 + 42 Total interpreted

        Thread-local ticks:
       36.8% 25 Class loader
        1.5% 1 Unknown: no last frame


      Global summary of 3.49 seconds:
      100.0% 68 Received ticks
        2.9% 2 Compilation
       36.8% 25 Class loader
        1.5% 1 Unknown code
      ----------log:(6/329)----------
      DatagramSocket2006: Passed. OKAY
      DatagramSocket0010: Passed. OKAY
      DatagramSocket0011: Passed. OKAY
      DatagramSocket0012: Passed. OKAY
      DatagramSocket0013: Failed. Failed: Exception java.net.SocketException: Interrupted system call unexpected
      STATUS:Failed.tests: 5; passed: 4; failed: 1; first test case failure: DatagramSocket0013
      result: Failed. tests: 5; passed: 4; failed: 1; first test case failure: DatagramSocket0013
      ...

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

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alanb Alan Bateman
                Reporter:
                irasunw Ira Ira (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: