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

api/java_awt/GraphicsDevice/SetDisplayMode.html fails "setDisplayMode_REFRESH_RATE_UNKNOWN"

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x_10.15

      Description

      The following test failed in the JDK17 CI:

      api/java_awt/GraphicsDevice/SetDisplayMode.html

      Here's a snippet from the log file:

      #section:testExecute.group
      ----------messages:(1/1113)----------
      command: com.sun.jck.lib.multijvm.group.ExecCmd -MTASK_ -testTimeout 600 -MCMD_ /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+19-1561/macosx-x64.jdk/jdk-17.jdk/Contents/Home/bin/java -XX:MaxRAMPercentage=25 -Xms32m -Xmx1024m -Djdk.attach.allowAttachSelf=true -Djava.security.properties=/System/Volumes/Data/mesos/work_dir/jib-master/install/jck/17/b08/extra/bundles/JCK-extra-17.zip/JCK-extra-17/extra.security.properties --enable-preview -classpath /System/Volumes/Data/mesos/work_dir/jib-master/install/jck/17/b08/bundles/JCK-runtime-17.jar/JCK-runtime-17/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jck/17/b08/bundles/JCK-runtime-17.jar/JCK-runtime-17/lib/jtjck.jar: -Djava.security.policy=/System/Volumes/Data/mesos/work_dir/jib-master/install/jck/17/b08/bundles/JCK-runtime-17.jar/JCK-runtime-17/lib/jck.policy -MTEST_ com.sun.jck.lib.ExecJCKTestSameJVMCmd -loadDir /System/Volumes/Data/mesos/work_dir/jib-master/install/jck/17/b08/bundles/JCK-runtime-17.jar/JCK-runtime-17/classes: javasoft.sqe.tests.api.java.awt.GraphicsDevice.SetDisplayMode -timeoutFactor 1.0
      ----------out1:(16/1515)----------
      Testcase "setDisplayMode_REFRESH_RATE_UNKNOWN" failed with message: Display mode was not restored aster returning from full screen mode
      Expected equal to : "1920x1080x32bpp@60Hz", was given: "1024x768x[Multi depth]@[Unknown refresh rate]"
      at com.sun.tck.lib.Assert.fail(Assert.java:494)
      at com.sun.tck.lib.Assert.assertEquals(Assert.java:179)
      at com.sun.tck.lib.Assert.assertEquals(Assert.java:149)
      at javasoft.sqe.tests.api.java.awt.GraphicsDevice.SetDisplayMode.setDisplayMode_REFRESH_RATE_UNKNOWN(SetDisplayMode.java:213)
      Testcase "setDisplayMode_REFRESH_RATE_UNKNOWN" failed with arguments [sun.awt.CGraphicsDevice@76a9260, 640x480x32bpp@60Hz]
      Testcase "setDisplayMode_REFRESH_RATE_UNKNOWN" failed with message: Display mode was not restored aster returning from full screen mode
      Expected equal to : "1024x768x[Multi depth]@[Unknown refresh rate]", was given: "1920x1080x32bpp@60Hz"
      at com.sun.tck.lib.Assert.fail(Assert.java:494)
      at com.sun.tck.lib.Assert.assertEquals(Assert.java:179)
      at com.sun.tck.lib.Assert.assertEquals(Assert.java:149)
      at javasoft.sqe.tests.api.java.awt.GraphicsDevice.SetDisplayMode.setDisplayMode_REFRESH_RATE_UNKNOWN(SetDisplayMode.java:213)
      Testcase "setDisplayMode_REFRESH_RATE_UNKNOWN" failed with arguments [sun.awt.CGraphicsDevice@76a9260, 1024x768x32bpp@60Hz]
      setDisplayMode_REFRESH_RATE_UNKNOWN: Failed. test cases: 10; passed: 8; failed: 2; first test case failure: setDisplayMode_REFRESH_RATE_UNKNOWN
      setDisplayMode_differentModes: Passed. test cases: 10; all passed
      ----------out2:(17/1771)----------
      MultiJVM group agent ID: 20
      testModuleFinder = null
      testModuleName = null
      rootModules = []
      locations = [file:/System/Volumes/Data/mesos/work_dir/jib-master/install/jck/17/b08/bundles/JCK-runtime-17.jar/JCK-runtime-17/classes/]
      java.class.path property = /System/Volumes/Data/mesos/work_dir/jib-master/install/jck/17/b08/bundles/JCK-runtime-17.jar/JCK-runtime-17/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jck/17/b08/bundles/JCK-runtime-17.jar/JCK-runtime-17/lib/jtjck.jar:
      updated locations = [file:/System/Volumes/Data/mesos/work_dir/jib-master/install/jck/17/b08/bundles/JCK-runtime-17.jar/JCK-runtime-17/classes/, file:/System/Volumes/Data/mesos/work_dir/jib-master/install/jck/17/b08/bundles/JCK-runtime-17.jar/JCK-runtime-17/lib/javatest.jar, file:/System/Volumes/Data/mesos/work_dir/jib-master/install/jck/17/b08/bundles/JCK-runtime-17.jar/JCK-runtime-17/lib/jtjck.jar]
      2021-04-19 19:52:10.014 java[1039:19076] +[NSException raise:reason:userInfo:]: unrecognized selector sent to class 0x7fff8fa96438
      p = [file:/System/Volumes/Data/mesos/work_dir/jib-master/install/jck/17/b08/bundles/JCK-runtime-17.jar/JCK-runtime-17/classes/, file:/System/Volumes/Data/mesos/work_dir/jib-master/install/jck/17/b08/bundles/JCK-runtime-17.jar/JCK-runtime-17/lib/javatest.jar, file:/System/Volumes/Data/mesos/work_dir/jib-master/install/jck/17/b08/bundles/JCK-runtime-17.jar/JCK-runtime-17/lib/jtjck.jar]
      creating new loader
      chosen loader = java.net.URLClassLoader@4f37764a
      chosen loader's parent = jdk.internal.loader.ClassLoaders$AppClassLoader@579bb367
      executeArgs = [-timeoutFactor, 1.0]
      java version "17-ea"
      Java(TM) SE Runtime Environment (build 17-ea+19-LTS-1561)
      Java HotSpot(TM) 64-Bit Server VM (build 17-ea+19-LTS-1561, mixed mode, sharing)

      result: Failed. test cases: 2; passed: 1; failed: 1; first test case failure: setDisplayMode_REFRESH_RATE_UNKNOWN

        Attachments

          Activity

            People

            Assignee:
            pbansal Pankaj Bansal
            Reporter:
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: