JDK-8031423 : Test java/awt/dnd/DisposeFrameOnDragCrash/DisposeFrameOnDragTest.java fails by Timeout on Windows
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7,8,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_7
  • CPU: generic
  • Submitted: 2014-01-09
  • Updated: 2020-10-08
  • Resolved: 2016-04-19
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.
JDK 8 JDK 9 Other
8u301Fixed 9 b117Fixed openjdk8u282Fixed
Related Reports
Relates :  
Description
Testsuite name: regression
Test(s) name: java/awt/dnd/DisposeFrameOnDragCrash/DisposeFrameOnDragTest.java
JDK/JRE tested: 1.8.0b121
OS/architecture: windows 7 64 bit
Reproducible: Always
Reproducible on machine: spb23103.ru.oracle.com, stt-27.ru.oracle.com
Is it a Regression:* No
Test result on the last GAed release for this train: N/A
Test result on FCS: N/A

Is it a platform specific issue: Yes
[If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing: No

LOG:

#section:main
----------messages:(3/144)----------
command: main DisposeFrameOnDragTest
reason: User specified action: run main/othervm DisposeFrameOnDragTest 
elapsed time (seconds): 360.051
----------System.out:(0/0)----------
----------System.err:(1/16)----------
STATUS:Passed.
----------rerun:(23/2420)*----------
JTREG_COF=false \\
JTREG_HOME=C:/local/aurora/CommonData/jtreg_dir \\
'PATH=C:\\Cygwin\\bin;C:\\Cygwin\\bin;C:\\Cygwin\\usr\\local\\bin;C:\\Cygwin\\sbin;C:\\Cygwin\\usr\\sbin;C:\\Cygwin\\bin;C:\\Cygwin\\bin;C:\\Cygwin\\usr\\local\\bin;C:\\Cygwin\\sbin;C:\\Cygwin\\usr\\sbin;C:\\Cygwin\\bin;C:\\Cygwin\\bin;C:\\Cygwin\\usr\\local\\bin;C:\\Cygwin\\sbin;C:\\Cygwin\\usr\\sbin;C:\\Cygwin\\usr\\local\\bin;C:\\Cygwin\\bin;C:\\mks\\bin;C:\\mks\\bin\\X11;C:\\mks\\mksnt;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Program Files\\Windows Kits\\8.0\\Windows Performance Toolkit' \\
SystemDrive=C: \\
'SystemRoot=C:\\Windows' \\
'TEMP=C:\\Cygwin\\tmp' \\
'TMP=C:\\Users\\GTEE~1.ORA\\AppData\\Local\\Temp' \\
'windir=C:\\Windows' \\
'CLASSPATH=C:\\local\\aurora\\CommonData\\jtreg_dir\\lib\\javatest.jar;C:\\local\\aurora\\CommonData\\jtreg_dir\\lib\\jtreg.jar;C:\\local\\aurora\\sandbox\\results\\workDir\\classes\\java\\awt\\dnd\\DisposeFrameOnDragCrash;C:\\local\\aurora\\CommonData\\jdk_test\\test\\java\\awt\\dnd\\DisposeFrameOnDragCrash;C:\\local\\aurora\\sandbox\\results\\workDir\\classes\\java\\awt\\regtesthelpers;C:\\local\\aurora\\CommonData\\jdk\\lib\\tools.jar' \\
    'C:\\local\\aurora\\CommonData\\jdk\\bin\\java' \\
        -Dtest.vm.opts= \\
        -Dcompile.jdk='C:\\local\\aurora\\CommonData\\jdk' \\
        -Dtest.src.path='C:\\local\\aurora\\CommonData\\jdk_test\\test\\java\\awt\\dnd\\DisposeFrameOnDragCrash;C:\\local\\aurora\\CommonData\\jdk_test\\test\\java\\awt\\regtesthelpers' \\
        -Dtest.src='C:\\local\\aurora\\CommonData\\jdk_test\\test\\java\\awt\\dnd\\DisposeFrameOnDragCrash' \\
        -Dtest.tool.vm.opts= \\
        -Dtest.class.path='C:\\local\\aurora\\sandbox\\results\\workDir\\classes\\java\\awt\\dnd\\DisposeFrameOnDragCrash;C:\\local\\aurora\\sandbox\\results\\workDir\\classes\\java\\awt\\regtesthelpers' \\
        -Dtest.timeout.factor=3.0 \\
        -Dtest.classes='C:\\local\\aurora\\sandbox\\results\\workDir\\classes\\java\\awt\\dnd\\DisposeFrameOnDragCrash' \\
        -Dtest.jdk='C:\\local\\aurora\\CommonData\\jdk' \\
        -Dtest.java.opts=-Xmixed \\
        -Dtest.compiler.opts= \\
        -Xmixed \\
        com.sun.javatest.regtest.MainWrapper 'C:\\local\\aurora\\sandbox\\results\\workDir\\classes\\java\\awt\\dnd\\DisposeFrameOnDragCrash\\DisposeFrameOnDragTest.jta'
result: Error. Program `C:\local\aurora\CommonData\jdk\bin\java' interrupted! (timed out?)


test result: Error. Program `C:\local\aurora\CommonData\jdk\bin\java' interrupted! (timed out?)
Comments
Fix Request (8u): Backport to 8u requested because this patch improves stability of the DisposeFrameOnDragTest on Windows. Changes to code covered by this test are being backported in JDK-8232114 and JDK-8252470 . This patch is only to DisposeFrameOnDragTest.java, it applies cleanly after paths change, exported 8u changeset with original attribution: https://cr.openjdk.java.net/~akasko/jdk8u/8031423/8031423_8u.patch Testing: checked that changed test passed on Linux and Windows.
24-09-2020

RULE java/awt/dnd/DisposeFrameOnDragCrash/DisposeFrameOnDragTest.java Exception java.lang.Thread.State: WAITING (on object monitor) RULE java/awt/dnd/DisposeFrameOnDragCrash/DisposeFrameOnDragTest.java Exception java.lang.Thread.State: WAITING (parking) RULE java/awt/dnd/DisposeFrameOnDragCrash/DisposeFrameOnDragTest.java StatusError Program `C:\jdk\jdk1.9.0b62\bin\java' timed out! RULE java/awt/dnd/DisposeFrameOnDragCrash/DisposeFrameOnDragTest.java Timeout none
18-05-2015

Release team: Approved for deferral.
10-01-2014

JDK8: SQE OK to defer.
09-01-2014

Defer justification: The bug could be reintroduced by one of the recent DnD fixes. In any case this is not a regression as the test is new and was added in JDK 8 and then back ported to 7. The test checks that it's possible to dispose a frame while it's being a drag source for an ongoing drag operation. This is not a common behavior and client apps would unlikely notice that.
09-01-2014

Seems that fix failed for JDK-8015455
09-01-2014