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

OGL: regression test sun/java2d/SunGraphics2D/PolyVertTest.java fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 6
    • client-libs
    • 2d
    • b08
    • sparc
    • solaris_10
    • Verified

        Java Version:
               build 1.6.0-rc-b87
        and nightly build: 1.6.0-internal-jcg-integrator_08_Jun_2006_20_37-b00

        Platform: Solaris-Sparc10

        Problems:
        The regression test fails in the nightly test bed, and re-test it in the promoted build b87, it fails again.
        The jtr file as following:
        #Test Results (version 2)
        #Tue Jun 13 16:43:31 PDT 2006
        #checksum:43ceef5f30c1ccbd
        #-----testdescription-----
        $file=/net/jre.sfbay/p/v06/jdk/6.0/rc/b87/ws/j2se/test/sun/java2d/SunGraphics2D/PolyVertTest.java
        $root=/net/jre.sfbay/p/v06/jdk/6.0/rc/b87/ws/j2se/test
        keywords=bug4678208 bug4771101 bug6328481 othervm
        run=USER_SPECIFIED main PolyVertTest\nUSER_SPECIFIED main/othervm -Dsun.java2d.opengl=True PolyVertTest -hwonly\n
        source=PolyVertTest.java
        title=verify the pixelization of degenerate polylines and polygons

        #-----environment-----

        #-----testresult-----
        description=file:///net/jre.sfbay/p/v06/jdk/6.0/rc/b87/ws/j2se/test/sun/java2d/SunGraphics2D/PolyVertTest.java
        end=Tue Jun 13 16:43:31 PDT 2006
        environment=regtest
        execStatus=Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Error at 11, 10 while testing: Screen
        javatestOS=SunOS 5.10 (sparc)
        javatestVersion=2.1.6
        script=com.sun.javatest.regtest.RegressionScript
        sections=script_messages build main build main
        start=Tue Jun 13 16:43:14 PDT 2006
        status=Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Error at 11, 10 while testing: Screen
        test=sun/java2d/SunGraphics2D/PolyVertTest.java
        work=/net/cady/export4/2d-workDir/sun/java2d/SunGraphics2D

        #section:script_messages
        ----------messages:(4/213)----------
        JDK under test: (/java/re/jdk/1.6.0/promoted/rc/b87/binaries/solaris-sparc)
        java version "1.6.0-rc"
        Java(TM) SE Runtime Environment (build 1.6.0-rc-b87)
        Java HotSpot(TM) Client VM (build 1.6.0-rc-b87, mixed mode)

        #section:build
        ----------messages:(3/99)----------
        command: build PolyVertTest
        reason: Named class compiled on demand
        elapsed time (seconds): 0.0090
        result: Passed. No need to compile: PolyVertTest.java

        #section:main
        ----------messages:(3/112)----------
        command: main PolyVertTest
        reason: User specified action: run main PolyVertTest
        elapsed time (seconds): 11.738
        ----------System.out:(2/98)----------
        0 bad pixels and 6 questionable pixels found while testing Screen
        Test done - no bad pixels found
        ----------System.err:(2/47)----------
        6 fuzzy pixels found in 1 tests
        STATUS:Passed.
        result: Passed. Execution successful

        #section:build
        ----------messages:(3/98)----------
        command: build PolyVertTest
        reason: Named class compiled on demand
        elapsed time (seconds): 0.011
        result: Passed. No need to compile: PolyVertTest.java

        #section:main
        ----------messages:(3/184)----------
        command: main -Dsun.java2d.opengl=TruePolyVertTest-hwonly
        reason: User specified action: run main/othervm -Dsun.java2d.opengl=True PolyVertTest -hwonly
        elapsed time (seconds): 4.296
        ----------System.out:(1/55)----------
        OpenGL pipeline enabled for default config on screen 0
        ----------System.err:(15/866)----------
        java.lang.RuntimeException: Error at 11, 10 while testing: Screen
        at PolyVertTest.verify(PolyVertTest.java:445)
        at PolyVertTest.testScreen(PolyVertTest.java:537)
        at PolyVertTest.main(PolyVertTest.java:280)
        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:589)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
        at java.lang.Thread.run(Thread.java:619)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Error at 11, 10 while testing: Screen
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Error at 11, 10 while testing: Screen
        result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Error at 11, 10 while testing: Screen


        test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Error at 11, 10 while testing: Screen

        How to reproduce the problems:
        1. set up JAVA_HOME to b87
        2. sh runsolaris.sh
        which as attached.

        You can find the test case in:
        /java/re/jdk/1.6.0/promoted/rc/b87/ws/j2se/test/sun/java2d/SunGraphics2D/PolyVertTest.java

              campbell Christopher Campbell (Inactive)
              ttzhang Tao Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: