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

java_awt/Color tests filed Linux AMD64 when running under JavaTest w/ JDK 6.0 but pass script/5.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 5.0, 6
    • client-libs
    • 2d
    • x86
    • linux

      The following tests failed when running JDK 6.0 in JCK1.5 JavaTest, but passed when running in a script.

      JDK : 6.0 b07 (passed with 5.0u1-b04)
      JCK : jck1.5
      Platform[s] : RH3 u3 AMD64, SLES 9 AMD64
      switch/Mode : default
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Test :
          * api/java_awt/Color/ICC_ColorSpace/index.html#FromTesttestCase1
          * api/java_awt/Color/ICC_ColorSpace/index.html#ToTesttestCase1
          * api/java_awt/Color/index.html#GetColorComponentsTesttestCase1
          * api/java_awt/Color/index.html#GetComponentsTesttestCase1
          * api/java_awt/Color/ICC_ColorSpace/index.html#FromTesttestCase3
          * api/java_awt/Color/ICC_ColorSpace/index.html#ToTesttestCase3
          * api/java_awt/Color/index.html#GetColorComponentsTesttestCase3
          * api/java_awt/Color/ICC_ColorSpace/index.html#FromTesttestCase4
          * api/java_awt/Color/ICC_ColorSpace/index.html#ToTesttestCase4
          * api/java_awt/Color/index.html#GetComponentsTesttestCase5
          * api/java_awt/Color/index.html#getColorComponents
          * api/java_awt/Color/index.html#getColorSpace
          * api/java_awt/Color/index.html#getComponents
          * api/java_awt/Color/index.html#ctor4

      Test source location:
      =====================
      /net/koori.sfbay/onestop/jck/1.5/promoted/fcs/latest/binaries/JCK-runtime-15/tests/api/java_awt/Color/ICC_ColorSpace/FromTest.java

      jtr file location:
      ==================
      /net/cady/export/dtf/unified/results/mustang/b07/jck/jck-jck_runtime-rhas3_amd64_c2-2004-10-11-17-44-50-0738/workDir/api/java_awt/Color/ICC_ColorSpace/index_FromTesttestCase1.jtr

      How to reproduce:
      ====================

      --------Script START---------------------
      #!/bin/sh
      #Paths
      JDK="/net/koori.sfbay/onestop/jdk/1.6.0/promoted/all/b07/binaries/linux-i586"
      #JDK="/net/koori.sfbay/onestop/jdk/1.5.0_01/latest/binaries/linux-i586"


      JCK="/net/koori/onestop/jck/1.5/promoted/latest/binaries/JCK-runtime-15"

      CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"

      URL="-TestDirURL file:///net/jtgb4u4c.sfbay/export/sail1/testarea/jck1.5.b28/JCK-runtime-15/tests/api/java_awt/Color/ICC_ColorSpace/index.html#FromTesttestCase1/"


      TEST="javasoft.sqe.tests.api.java.awt.Color.ICC_ColorSpace.FromTest -TestCaseID testCase1 $URL"

      SEC="-Djava.security.policy=/net/jtgb4u4c.sfbay/export/sail1/testarea/jck1.5.b28/JCK-runtime-15/lib/jck.policy"

      echo `cat $JCK/build.txt | grep JCK_VERSION` `cat $JCK/build.txt | grep JCK_BUILD`
      $JDK/bin/java -showversion -classpath $CLASSPATH $SEC $TEST

      --------Script END----------------------

      Test output:
      =============
      Script output
         java version "1.6.0-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b07)
      Java HotSpot(TM) Server VM (build 1.6.0-ea-b07, mixed mode)

      testCase1: Passed. (ran 1 test cases)
      STATUS:Passed.test cases: 1; all passed

      JTR output
      ---------

      java.awt.color.CMMException: General CMM error517
      at sun.awt.color.CMM.checkStatus(CMM.java:127)
      at sun.awt.color.ICC_Transform.<init>(ICC_Transform.java:89)
      at java.awt.color.ICC_ColorSpace.fromCIEXYZ(ICC_ColorSpace.java:472)
      at javasoft.sqe.tests.api.java.awt.Color.ICC_ColorSpace.FromTest.testCase1(FromTest.java:131)
      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:585)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
      at javasoft.sqe.tests.api.java.awt.Color.ICC_ColorSpace.FromTest.main(FromTest.java:50)
      testCase1: Failed. Test case throws exception: java.awt.color.CMMException: General CMM error517
      STATUS:Failed.test cases: 1; all failed; first test case failure: testCase1



      Specific Machine Info:
      =====================

      For Linux ->
      Hostname: jck-amd1 and jck-amd2
      Os: SLES 9 and RHAS3 u3
      ###@###.### 10/18/04 21:43 GMT

            avu Alexey Ushakov
            tacheung Tak Wing Cheung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: