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

sun/java2d/pipe/InterpolationQualityTest.java fails on Windows & Linux

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b16
    • CPU:
      generic
    • OS:
      linux, os_x, windows

      Backports

        Description

        FULL PRODUCT VERSION :
        JDK under test: C:\\Program Files\\Java\\jdk1.8.0_112
        java version "1.8.0_112"
        Java(TM) SE Runtime Environment (build 1.8.0_112-b15)
        Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode)

        ADDITIONAL OS VERSION INFORMATION :
        Microsoft Windows [Version 10.0.10240]

        A DESCRIPTION OF THE PROBLEM :
        The test sun/java2d/pipe/InterpolationQualityTest.java fails on Windows and Linux. The failure has never been observed on OSX.

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        jtreg -v -a -xml -testjdk:[path_to_jdk] -javaoptions:-Djava.awt.headless=false -timeoutFactor:2 sun/java2d/pipe


        ERROR MESSAGES/STACK TRACES THAT OCCUR :
        #section:main
        ----------messages:(4/228)----------
        command: main -Dsun.java2d.opengl=True InterpolationQualityTest
        reason: User specified action: run main/othervm -Dsun.java2d.opengl=True InterpolationQualityTest
        Mode: othervm [/othervm specified]
        elapsed time (seconds): 0.731
        ----------configuration:(0/0)----------
        ----------System.out:(7/386)----------
        OpenGL pipeline enabled for default config on screen 0
        resImage.getRGB(20, 0) = java.awt.Color[r=255,g=255,b=255] != java.awt.Color[r=0,g=0,b=0]
        nearest failed.
        resImage.getRGB(10, 0) = java.awt.Color[r=255,g=255,b=255] != java.awt.Color[r=249,g=249,b=249]
        bilinear failed.
        resImage.getRGB(12, 0) = java.awt.Color[r=255,g=255,b=255] != java.awt.Color[r=248,g=248,b=248]
        bicubic failed.
        ----------System.err:(14/793)----------
        java.lang.RuntimeException: Test FAILED.
        at InterpolationQualityTest.test(InterpolationQualityTest.java:162)
        at InterpolationQualityTest.main(InterpolationQualityTest.java:190)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
        at java.lang.Thread.run(Thread.java:745)

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

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test FAILED.
        ----------rerun:(20/1359)*----------
        DISPLAY=:0 \\
        HOME=/home/builduser \\
        LANG=en_US.UTF-8 \\
        PATH=/bin:/usr/bin \\
        CLASSPATH=/opt/buildAgent/work/13ab0d4c51b0de0b/JTwork/classes/sun/java2d/pipe:/opt/buildAgent/work/13ab0d4c51b0de0b/test/sun/java2d/pipe:/opt/buildAgent/work/13ab0d4c51b0de0b/jbsdk/lib/tools.jar:/opt/buildAgent/work/13ab0d4c51b0de0b/jtreg/lib/javatest.jar:/opt/buildAgent/work/13ab0d4c51b0de0b/jtreg/lib/jtreg.jar \\
            /opt/buildAgent/work/13ab0d4c51b0de0b/jbsdk/bin/java \\
                -Dtest.src=/opt/buildAgent/work/13ab0d4c51b0de0b/test/sun/java2d/pipe \\
                -Dtest.src.path=/opt/buildAgent/work/13ab0d4c51b0de0b/test/sun/java2d/pipe \\
                -Dtest.classes=/opt/buildAgent/work/13ab0d4c51b0de0b/JTwork/classes/sun/java2d/pipe \\
                -Dtest.class.path=/opt/buildAgent/work/13ab0d4c51b0de0b/JTwork/classes/sun/java2d/pipe \\
                -Dtest.vm.opts= \\
                -Dtest.tool.vm.opts= \\
                -Dtest.compiler.opts= \\
                -Dtest.java.opts=-Djava.awt.headless=false \\
                -Dtest.jdk=/opt/buildAgent/work/13ab0d4c51b0de0b/jbsdk \\
                -Dcompile.jdk=/opt/buildAgent/work/13ab0d4c51b0de0b/jbsdk \\
                -Dtest.timeout.factor=2.0 \\
                -Djava.awt.headless=false \\
                -Dsun.java2d.opengl=True \\
                com.sun.javatest.regtest.agent.MainWrapper /opt/buildAgent/work/13ab0d4c51b0de0b/JTwork/sun/java2d/pipe/InterpolationQualityTest.d/main.2.jta
        result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test FAILED.


        test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test FAILED.

        REPRODUCIBILITY :
        This bug can be reproduced always.

        ---------- BEGIN SOURCE ----------
        The test is from Regression test suite (jtreg)
        http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/8b04ee324a1a/test/sun/java2d/pipe/InterpolationQualityTest.java
        ---------- END SOURCE ----------

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                serb Sergey Bylokhov
                Reporter:
                webbuggrp Webbug Group
                Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: