-
Bug
-
Resolution: Unresolved
-
P4
-
17, 20, 21, 22
-
None
-
generic
-
linux
The test java/awt/dnd/Button2DragTest/Button2DragTest.java intermittently fails on Ubuntu 20.04 22.04 with the following diagnostic:
====================8<--------------------
#section:main
----------messages:(7/300)----------
command: main Button2DragTest
reason: User specified action: run main/othervm Button2DragTest
started: Wed Jun 21 00:34:58 CEST 2023
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.desktop
finished: Wed Jun 21 00:35:04 CEST 2023
elapsed time (seconds): 5.847
----------configuration:(3/40)----------
Boot Layer
add modules: java.desktop
----------System.out:(0/0)----------
----------System.err:(16/851)----------
Expected in: java.awt.Rectangle[x=860,y=440,width=200,height=200]
Actual: java.awt.Point[x=110,y=332]
Drop
Drop was successful: true
java.lang.RuntimeException: test failed: drop was not successful
at Button2DragTest.run(Button2DragTest.java:155)
at Button2DragTest.main(Button2DragTest.java:72)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
at java.base/java.lang.Thread.run(Thread.java:1583)
JavaTest Message: Test threw exception: java.lang.RuntimeException: test failed: drop was not successful
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: test failed: drop was not successful
====================8<--------------------
The issue was observed with 17.0.2+8-86, 21-ea+26-2328
Reproducibility: ~50%
Steps to reproduce:
$ runme.sh [jtreg_home] [test_jdk] "" test/jdk/java/awt/dnd/Button2DragTest/Button2DragTest.java
see the attached runme.sh
Note the failure is reproducible for scaling-factor=1 with any kind of displays not only HIDPI (in contrast of JDK-8144056)
====================8<--------------------
#section:main
----------messages:(7/300)----------
command: main Button2DragTest
reason: User specified action: run main/othervm Button2DragTest
started: Wed Jun 21 00:34:58 CEST 2023
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.desktop
finished: Wed Jun 21 00:35:04 CEST 2023
elapsed time (seconds): 5.847
----------configuration:(3/40)----------
Boot Layer
add modules: java.desktop
----------System.out:(0/0)----------
----------System.err:(16/851)----------
Expected in: java.awt.Rectangle[x=860,y=440,width=200,height=200]
Actual: java.awt.Point[x=110,y=332]
Drop
Drop was successful: true
java.lang.RuntimeException: test failed: drop was not successful
at Button2DragTest.run(Button2DragTest.java:155)
at Button2DragTest.main(Button2DragTest.java:72)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
at java.base/java.lang.Thread.run(Thread.java:1583)
JavaTest Message: Test threw exception: java.lang.RuntimeException: test failed: drop was not successful
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: test failed: drop was not successful
====================8<--------------------
The issue was observed with 17.0.2+8-86, 21-ea+26-2328
Reproducibility: ~50%
Steps to reproduce:
$ runme.sh [jtreg_home] [test_jdk] "" test/jdk/java/awt/dnd/Button2DragTest/Button2DragTest.java
see the attached runme.sh
Note the failure is reproducible for scaling-factor=1 with any kind of displays not only HIDPI (in contrast of JDK-8144056)