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

ia64: RegTest-test java/lang/Math/IeeeRecommendedTests.java fails

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b37
    • CPU:
      itanium
    • OS:
      windows_2003
    • Verification:
      Verified

      Description



      Name: erR10175 Date: 07/31/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b12, JDK1.5.0-b11
                        (This is a new Regression test which is absent in previous JDKs)
      Testbase : RegTest-test
      Platform[s] : Windows 2003 Enterprise (Itanium), RedHat Advanced Server 2.1 (Itanium)
                        (I am not able to reproduce the failure on 32-bit platforms)
      switch/Mode : all
      Falling tests : java/lang/Math/IeeeRecommendedTests.java

      RegTest-test java/lang/Math/IeeeRecommendedTests.java test fails with JDK1.5.0-b12
      on Windows 2003 Enterprise (64-bit).

      Test source location:
      =====================
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/lang/Math/IeeeRecommendedTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/tiger/b12/regtest/win32/redhat7.2_gnome_smp_-server_smp_JCC-ITANIUM-02/workDir/test/java/lang/Math/IeeeRecommendedTests.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change it's variables):
      --- script start ---
      #!/bin/sh

      RESULT_DIR=`pwd`
      WORK_DIR=$RESULT_DIR/workDir/test
      REPORT_DIR=$RESULT_DIR/reportDir
      JT_HOME="h:/java/jct"
      JAVA_HOME="h:/java/jdk1.5.0/win32"
      TEST_BASE_PATH="h:/java/regtest/test"
      TESTWITH=$JAVA_HOME
      TESTJAVA=$JAVA_HOME
      JTOPTS="-server"
      TESTVMOPTS="-server"

      export CLASSPATH="$JT_HOME/classes;$JT_HOME/lib/javatest.jar;$JT_HOME/lib/jtreg.jar;$JT_HOME/jemmy/jemmy.jar"

      mkdir -p $WORK_DIR/scratch 2>&1
      mkdir -p $WORK_DIR/jtData 2>&1
      mkdir -p $REPORT_DIR 2>&1
      cd $WORK_DIR/scratch

      $JAVA_HOME/bin/java -cp $CLASSPATH $JTOPTS -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,windir=$windir,PATH=${SHELL%/*},CPAPPEND=$JT_HOME/jemmy/jemmy.jar,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="JCC-ITANIUM-02" -Dprogram=jtreg com.sun.javatest.regtest.Main -a -v default -batch -params -w "$WORK_DIR" -r "$REPORT_DIR" -t "$TEST_BASE_PATH" "$TEST_BASE_PATH/java/lang/Math/IeeeRecommendedTests.java"
      --- script end ---

      Test output (jtr part):
      =======================
      ----------System.out:(0/0)----------
      ----------System.err:(502/48957)----------
      Failure for FpUtils.ilogb(float): For input 4.9E-324 expected -1074 got -1023.
      Failure for FpUtils.ilogb(float): For input -4.9E-324 expected -1074 got -1023.
      Failure for FpUtils.ilogb(float): For input 1.0E-323 expected -1073 got -1023.
      Failure for FpUtils.ilogb(float): For input -1.0E-323 expected -1073 got -1023.
      Failure for FpUtils.ilogb(float): For input 2.0E-323 expected -1072 got -1023.
      Failure for FpUtils.ilogb(float): For input -2.0E-323 expected -1072 got -1023.
      Failure for FpUtils.ilogb(float): For input 1.5E-323 expected -1073 got -1023.
      Failure for FpUtils.ilogb(float): For input -1.5E-323 expected -1073 got -1023.
      Failure for FpUtils.ilogb(float): For input 4.0E-323 expected -1071 got -1023.
      Failure for FpUtils.ilogb(float): For input -4.0E-323 expected -1071 got -1023.
      Failure for FpUtils.ilogb(float): For input 3.5E-323 expected -1072 got -1023.
      Failure for FpUtils.ilogb(float): For input -3.5E-323 expected -1072 got -1023.
      Failure for FpUtils.ilogb(float): For input 7.9E-323 expected -1070 got -1023.
      Failure for FpUtils.ilogb(float): For input -7.9E-323 expected -1070 got -1023.
      Failure for FpUtils.ilogb(float): For input 7.4E-323 expected -1071 got -1023.
      Failure for FpUtils.ilogb(float): For input -7.4E-323 expected -1071 got -1023.
      Failure for FpUtils.ilogb(float): For input 1.58E-322 expected -1069 got -1023.
      Failure for FpUtils.ilogb(float): For input -1.58E-322 expected -1069 got -1023.
      Failure for FpUtils.ilogb(float): For input 1.53E-322 expected -1070 got -1023.
      Failure for FpUtils.ilogb(float): For input -1.53E-322 expected -1070 got -1023.
      Failure for FpUtils.ilogb(float): For input 3.16E-322 expected -1068 got -1023.
      ...
      Failure for FpUtils.scalb(double,int): For input (1.5E-323, 2094) expected Infinity got 3.3706746278668423E307.
      Failure for FpUtils.scalb(double,int): For input (-1.5E-323, 2094) expected -Infinity got -3.3706746278668423E307.
      Failure for FpUtils.scalb(double,int): For input (1.5E-323, 2095) expected Infinity got 6.741349255733685E307.
      Failure for FpUtils.scalb(double,int): For input (-1.5E-323, 2095) expected -Infinity got -6.741349255733685E307.
      Failure for FpUtils.scalb(double,int): For input (1.5E-323, 2096) expected Infinity got 1.348269851146737E308.
      Failure for FpUtils.scalb(double,int): For input (-1.5E-323, 2096) expected -Infinity got -1.348269851146737E308.
      Testing the recommended functions incurred 388 failures.
      java.lang.RuntimeException
      at IeeeRecommendedTests.main(IeeeRecommendedTests.java:1804)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
      at java.lang.Thread.run(Thread.java:549)

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

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException

      Specific machine info:
      ======================
      Hostname: JCC-ITANIUM-02
      OS: Windows 2003 Enterprise

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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              azeemj Azeem Jiva
              Reporter:
              reysunw Rey Rey (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: