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

java/awt/font/Rotate/RotatedTextTest.java fails on Linux: Test failed for angle 15.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4
    • tbd
    • 11, 12, 13, 14, 17, 21, 22
    • client-libs
    • 2d
    • linux

    Description

      We see java/awt/font/Rotate/RotatedTextTest.java failing on recent SuSE Linux OS installations:
      It fails on SLES 12.2, 12.4 and SLES 15
      It passes on SLES 11.3, 12.0 and RHEL 6.1.

      The test is basically failing since it was introduced in JDK-8203485.


      description=file\.../test/jdk/java/awt/font/Rotate/RotatedTextTest.java
      elapsed=3029 0\:00\:03.029
      end=Sun Feb 24 20\:43\:02 CET 2019
      environment=regtest
      execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.RuntimeException\: Test failed for angle 15.0
      harnessLoaderMode=Classpath Loader
      harnessVariety=Full Bundle
      hostname=...
      javatestOS=Linux 4.4.74-92.35-default (amd64)
      javatestVersion=6.0-ea+b04-2018-12-07
      jtregVersion=jtreg 4.2 dev b13
      modules=java.desktop
      script=com.sun.javatest.regtest.exec.RegressionScript
      sections=script_messages build compile main
      start=Sun Feb 24 20\:42\:59 CET 2019
      test=java/awt/font/Rotate/RotatedTextTest.java
      testJDK=...
      totalTime=3029
      user.name=jvmtests
      work=.../JTwork/java/awt/font/Rotate

      <snip>

      command: main RotatedTextTest
      reason: User specified action: run main RotatedTextTest
      Mode: othervm
      Additional options from @modules: --add-modules java.desktop
      elapsed time (seconds): 1.232
      ----------configuration:(3/40)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(2/50)----------
      Angle: 0, width diff: 0
      Angle: 15, width diff: -4
      ----------System.err:(14/885)----------
      java.lang.RuntimeException: Test failed for angle 15.0
      at RotatedTextTest.drawRotatedText(RotatedTextTest.java:87)
      at RotatedTextTest.main(RotatedTextTest.java:98)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:834)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed for angle 15.0
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed for angle 15.0

      Attachments

        1. logs_failing.txt
          14 kB
        2. logs_passing.txt
          13 kB
        3. Roboto.log
          421 kB
        4. Roboto.png
          Roboto.png
          18 kB
        5. Roboto-Regular.ttf
          298 kB
        6. Roboto-Slab.log
          421 kB
        7. Roboto-Slab.png
          Roboto-Slab.png
          19 kB
        8. RobotoSlab-Regular.otf
          89 kB

        Issue Links

          Activity

            People

              prr Philip Race
              goetz Goetz Lindenmaier
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: