JDK-4516587 : Reg-test Drag & Drop tests are Failing
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.0
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2001-10-18
  • Updated: 2001-10-24
  • Resolved: 2001-10-23
Related Reports
Duplicate :  
Description

Name: as83306			Date: 10/18/2001

Regression tests
java/awt/dnd/Win32DropTYMEDSelectionTest/Win32DropTYMEDSelectionTest.html 
java/awt/dnd/Win32TYMEDSelectionTest/Win32TYMEDSelectionTest.html
are failing with Merlin build 83 on windows_2000, host australis. 

It looks like the drag part of the test is not reaching it's target and as a result, cannot drop. The test times out waiting for two 
minutes.

 For test hardware config's, see http://sqesvr.eng/st3/jdk1.4/docs/Merlin-hw.html
#Test Results (version 2)
#Sat Oct 13 23:09:18 PDT 2001
#checksum:7781b93a00f1ac0b
#-----testdescription-----
$file=X:\\st1\\regression\\merlin\\jdk1.4Tests\\tests\\b83\\java\\awt\\dnd\\Win32DropTYMEDSelectionTest\\Win32DropTYMEDSelectionTest.htm
l
$root=X:\\st1\\regression\\merlin\\jdk1.4Tests\\tests\\b83
author=###@###.### area=dnd
keywords=bug4495845
run=USER_SPECIFIED applet Win32DropTYMEDSelectionTest.html\r\n
source=Win32DropTYMEDSelectionTest.html
title=tests that drop target requests data only in one tymed at a time in native-to-java drag-and-drop operation on Win32

#-----environment-----

#-----testresult-----
description=file:///X:/st1/regression/merlin/jdk1.4Tests/tests/b83/java/awt/dnd/Win32DropTYMEDSelectionTest/Win32DropTYMEDSelectionTest.
html
end=Sat Oct 13 23:09:18 PDT 2001
environment=regtest
execStatus=Error. test was interrupted! (timeout?)
javatestOS=Windows 2000 5.0 (x86)
javatestVersion=2.1.5
script=com.sun.javatest.regtest.RegressionScript 
sections=script_messages build compile applet
start=Sat Oct 13 23:07:15 PDT 2001
status=Error. test was interrupted! (timeout?)
test=java/awt/dnd/Win32DropTYMEDSelectionTest/Win32DropTYMEDSelectionTest.html
work=C:\\Results\\Regression\\merlin\\b83\\AUSTRALIS-Windows_NT-jth13-jdk14b83.10-13.22-31-ALL\\java\\awt\\dnd\\Win32DropTYMEDSelectionT
est

#section:script_messages
----------messages:(5/241)----------
JDK under test: (C:/Java/jdk14b83)
java version "1.4.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b83)
Java HotSpot(TM) Client VM (build 1.4.0-beta3-b83, mixed mode)
Timeout signalled after 120.0 seconds

#section:build
----------messages:(3/116)----------
command: build Win32DropTYMEDSelectionTest 
reason: Named class compiled on demand
elapsed time (seconds): 2.297
result: Passed. Compilation successful

#section:compile
----------messages:(3/233)*----------
command: compile 
X:\\st1\\regression\\merlin\\jdk1.4Tests\\tests\\b83\\java\\awt\\dnd\\Win32DropTYMEDSelectionTest\\Win32DropTYMEDSelectionTest.java 
reason: .class file out of date or does not exist
elapsed time (seconds): 2.282
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful

#section:applet
----------messages:(3/160)----------
command: applet Win32DropTYMEDSelectionTest.html
reason: User specified action: run applet Win32DropTYMEDSelectionTest.html 
elapsed time (seconds): 120.156
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Failed. Execution failed: Program `C:/Java/jdk14b83\bin\java' interrupted! (timed out?)


test result: Error. test was interrupted! (timeout?)
======================================================================

Comments
EVALUATION Name: dsR10078 Date: 10/22/2001 I reproduced the bug on WinNT with merlin b82 and b83. The bug is not reproducible on WinNT with merlin b81. The tests run a native application in a child process. The native application is to show a native window. For some reason the window is not shown, so the test fail. ###@###.### 2001-10-22 ====================================================================== Name: dsR10078 Date: 10/23/2001 Investigation shows that any native application executed with Runtime.getRuntime().exec() hangs if that application shows a window. Both regression tests run native applications with Runtime.getRuntime().exec() and they fail as the applications hang. The same problem is documented in 4514853. The problem was introduced with the fix for 4244515. Both tests pass and 4514853 is not reproducible if i back out the fix for 4244515. Both tests pass with merlin b84 as the fix was backed out in b84 to fix 4514853. ###@###.### 2001-10-23 ======================================================================
23-10-2001