JDK-8066743 : The regression-swing case fails automatically and throws sun.awt.SunToolkit$OperationTimedOut exception on terminal
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7,8
  • Priority: P5
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2014-12-04
  • Updated: 2014-12-05
  • Resolved: 2014-12-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Related Reports
Duplicate :  
Testsuite name:Swing Regression
Test name(s):closed/javax/swing/JFrame/ClientDecoratedIcon/ClientDecoratedIconTest.java
Product(s) tested:JDK 7u71 b14
OS/architecture:SELS 12 x64

Error log file : http://aurora.ru.oracle.com/slot-gw/651294.ManualSubmit-1/workDir/closed/javax/swing/JFrame/ClientDecoratedIcon/ClientDecoratedIconTest.jtr

Reproducible: Always
Reproducible on machine: Evergreen-machine
[If Sometimes] Also reproducible on machine:

Is it a Regression: Yes
[If Regression] Regression introduced in release/build: b01 (JDK 7u71 b14/SELS 12 x64: Fail)
Test result on the last GAed release for this train: Pass (JDK 7u66 b17/SELS 12 x64: Pass)
[if Fail] Test result on FCS:

Is it a platform specific issue: Yes (JDK 7u71 b14/win7 sp1 x86: Pass
                                                       JDK 7u71 b14/mac 10.9 x64: Fail,refer to JDK-7133139
                                                       JDK 7u71 b14/SELS 11 x64: Pass)
[If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing: Yes
[If new configuration testing] Issue specific to execution mode or OS/browser version:SELS 12 x64

Steps to reproduce: 

1. Download regression workspace from http://jre.us.oracle.com/java/re/jdk/7u71/promoted/fcs/b14/ws/jdk/test to /regression 
2. Install test bundle JDK7u71b14 (download from http://jre.us.oracle.com/java/re/jdk/7u71/promoted/fcs/b14/bundles/linux-x64/jdk-7u71-linux-x64.tar.gz) to /regression/jdk1.7.0_71 
3. Install stable JDK7u45b18 (download from http://jre.us.oracle.com/java/re/jdk/7u45/promoted/fcs/b18/bundles/linux-x64/jdk-7u45-linux-x64.tar.gz) to /regression/jdk1.7.0_45 
4. Download and unzip Jtreg from http://jre.us.oracle.com/java/re/jtreg/4.1/promoted/fcs/b08/bundles/jtreg_bin-4.1.zip locate at /regression/ 
5. Create the script regression.sh as follows and run it 
 export JT_JAVA=/regression/jdk1.7.0_45 
 /regression/jtreg/linux/bin/jtreg -v -m -ignore:quiet -jdk:/regression/jdk1.7.0_71 -r:/regression/results/reportDir -w:/regression/results/workDir /regression/test/closed/javax/swing/JFrame/ClientDecoratedIcon/ClientDecoratedIconTest.java
Case Instruction: 

This tests the functionality of the setIconImages() API
You will see two JFrames with custom icons1.  Both JFrames should have the same icon: a colored box.
If either of the JFrames has the default, coffe-cup icon, the test fails.
If the JFrames DO NOT both have the same colored box as their icon, the test fails.
If both JFrames DO have the same colored box as their icon, then the test passes.

Actual behavior: 
1.The case fails automatically and it throws sun.awt.SunToolkit$OperationTimedOut exception on terminal, refer to log-ClientDecoratedIconTest.txt. 
2.We also tried this case with the same build without jtreg tool, but it throws errors on terminal,refer to error.txt

The following case has the same issue.
Most likely is already fixed by JDK-7033533 and JDK-8051857.

It has the same issue on SELS 12 x64 with jdk 8u25b17.

Add case for aurora: RULE closed/javax/swing/JFrame/ClientDecoratedIcon/ClientDecoratedIconTest.java Exception sun.awt.SunToolkit$OperationTimedOut: ... RULE closed/javax/swing/JFrame/ClientDecoratedIcon/DialogIconTest.java Exception sun.awt.SunToolkit$OperationTimedOut: ...