-
Bug
-
Resolution: Duplicate
-
P4
-
11, 13, 14, 15, 16
-
x86
-
os_x
ADDITIONAL SYSTEM INFORMATION :
$ uname -a
Darwin MacBook-Pro.nsk.labs.intellij.net 19.2.0 Darwin Kernel Version 19.2.0: Sat Nov 9 03:47:04 PST 2019; root:xnu-6153.61.1~20/RELEASE_X86_64 x86_64
A DESCRIPTION OF THE PROBLEM :
The test java/awt/Robot/CheckCommonColors/CheckCommonColors.java fails on Widows 10, macOS 10.15
The failure is reproducible on 15-ea+6-123, 14-ea+32-1423 and 11.0.6+8-LTS
The issue was not observed on Linux (Ubuntu 18.04)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
$ jtreg -ignore:quiet -v -a -xml -testjdk:jdk-15-ea+6_osx-x64/Contents/Home test/jdk/java/awt/Robot/CheckCommonColors/CheckCommonColors.java
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The test passes
ACTUAL -
#section:main
----------messages:(5/208)----------
command: main CheckCommonColors
reason: Assumed action based on file name: run main CheckCommonColors
Mode: othervm
Additional options from @modules: --add-modules java.desktop
elapsed time (seconds): 6.155
----------configuration:(3/40)----------
Boot Layer
add modules: java.desktop
----------System.out:(0/0)----------
----------System.err:(17/1014)----------
Expected: java.awt.Color[r=255,g=175,b=175]
Actual: java.awt.Color[r=255,g=175,b=174]
java.lang.RuntimeException: Too many attempts: 11
at CheckCommonColors.checkPixels(CheckCommonColors.java:79)
at CheckCommonColors.test(CheckCommonColors.java:63)
at CheckCommonColors.main(CheckCommonColors.java:44)
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: Too many attempts: 11
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Too many attempts: 11
---------- BEGIN SOURCE ----------
https://hg.openjdk.java.net/jdk/jdk/file/a18a85485ba4/test/jdk/java/awt/Robot/CheckCommonColors/CheckCommonColors.java
---------- END SOURCE ----------
FREQUENCY : always
$ uname -a
Darwin MacBook-Pro.nsk.labs.intellij.net 19.2.0 Darwin Kernel Version 19.2.0: Sat Nov 9 03:47:04 PST 2019; root:xnu-6153.61.1~20/RELEASE_X86_64 x86_64
A DESCRIPTION OF THE PROBLEM :
The test java/awt/Robot/CheckCommonColors/CheckCommonColors.java fails on Widows 10, macOS 10.15
The failure is reproducible on 15-ea+6-123, 14-ea+32-1423 and 11.0.6+8-LTS
The issue was not observed on Linux (Ubuntu 18.04)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
$ jtreg -ignore:quiet -v -a -xml -testjdk:jdk-15-ea+6_osx-x64/Contents/Home test/jdk/java/awt/Robot/CheckCommonColors/CheckCommonColors.java
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The test passes
ACTUAL -
#section:main
----------messages:(5/208)----------
command: main CheckCommonColors
reason: Assumed action based on file name: run main CheckCommonColors
Mode: othervm
Additional options from @modules: --add-modules java.desktop
elapsed time (seconds): 6.155
----------configuration:(3/40)----------
Boot Layer
add modules: java.desktop
----------System.out:(0/0)----------
----------System.err:(17/1014)----------
Expected: java.awt.Color[r=255,g=175,b=175]
Actual: java.awt.Color[r=255,g=175,b=174]
java.lang.RuntimeException: Too many attempts: 11
at CheckCommonColors.checkPixels(CheckCommonColors.java:79)
at CheckCommonColors.test(CheckCommonColors.java:63)
at CheckCommonColors.main(CheckCommonColors.java:44)
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: Too many attempts: 11
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Too many attempts: 11
---------- BEGIN SOURCE ----------
https://hg.openjdk.java.net/jdk/jdk/file/a18a85485ba4/test/jdk/java/awt/Robot/CheckCommonColors/CheckCommonColors.java
---------- END SOURCE ----------
FREQUENCY : always
- duplicates
-
JDK-8253269 The CheckCommonColors test should provide more info on failure
- Resolved