<Swing Dev> jtreg test
Jaroslav Tulach
jaroslav.tulach at oracle.com
Wed Nov 21 09:07:29 UTC 2012
Dne St 21. listopadu 2012 12:57:36, Alexander Scherbatiy napsal(a):
> On 11/20/2012 7:17 PM, Jaroslav Tulach wrote:
> That is strange. All 5 JTree tests (1 manual and 4 automated)
> passes on my Ubuntu with the built jdk 8.
I am running Kubuntu 12.04.
> Could you send the the log of the failed tests
> (JTwork/javax/swing/JTree/bugid/*.jtr files)?
Attached.
> Note that a user should not move the mouse during tests execution.
> It can fail the tests.
Both tests seem to fail consistently.
-jt
-------------- next part --------------
#Test Results (version 2)
#Wed Nov 21 09:57:35 CET 2012
#checksum:1ff9dec5dd9f6ae5
#-----testdescription-----
$file=/home/jarda/src/jdk8/jdk/test/javax/swing/JTree/4330357/bug4330357.java
$root=/home/jarda/src/jdk8/jdk/test
author=Peter Zhelezniakov
keywords=bug4330357
library=../../regtesthelpers
run=USER_SPECIFIED build Util\nUSER_SPECIFIED main bug4330357\n
source=bug4330357.java
title=Tests that real editor in JTree cleans up after editing was stopped
#-----environment-----
#-----testresult-----
description=file:/home/jarda/src/jdk8/jdk/test/javax/swing/JTree/4330357/bug4330357.java
elapsed=3138 0:00:03.138
end=Wed Nov 21 09:57:35 CET 2012
environment=regtest
execStatus=Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Cell editor is missed for path: color
hostname=logoutik
javatestOS=Linux 3.2.0-33-generic-pae (i386)
javatestVersion=4.1.4
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages build compile build compile main
start=Wed Nov 21 09:57:32 CET 2012
test=javax/swing/JTree/4330357/bug4330357.java
work=/home/jarda/src/jdk8/jdk/test/javax/swing/JTwork/javax/swing/JTree/4330357
#section:script_messages
----------messages:(4/226)----------
JDK under test: (/home/jarda/src/jdk8/build/linux-i586/j2sdk-image)
openjdk version "1.8.0-internal"
OpenJDK Runtime Environment (build 1.8.0-internal-jarda_2012_11_19_18_48-b00)
OpenJDK Server VM (build 25.0-b09, mixed mode)
#section:build
----------messages:(3/97)----------
command: build Util
reason: User specified action: run build Util
elapsed time (seconds): 0.817
result: Passed. Build successful
#section:compile
----------messages:(3/184)----------
command: compile /home/jarda/src/jdk8/jdk/test/javax/swing/JTree/4330357/../../regtesthelpers/Util.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.816
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:build
----------messages:(3/95)----------
command: build bug4330357
reason: Named class compiled on demand
elapsed time (seconds): 0.703
result: Passed. Build successful
#section:compile
----------messages:(3/169)----------
command: compile /home/jarda/src/jdk8/jdk/test/javax/swing/JTree/4330357/bug4330357.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.702
----------System.out:(0/0)----------
----------System.err:(12/893)----------
/home/jarda/src/jdk8/jdk/test/javax/swing/JTree/4330357/bug4330357.java:37: warning: SunToolkit is internal proprietary API and may be removed in a future release
import sun.awt.SunToolkit;
^
/home/jarda/src/jdk8/jdk/test/javax/swing/JTree/4330357/bug4330357.java:46: warning: SunToolkit is internal proprietary API and may be removed in a future release
SunToolkit toolkit = (SunToolkit) Toolkit.getDefaultToolkit();
^
/home/jarda/src/jdk8/jdk/test/javax/swing/JTree/4330357/bug4330357.java:46: warning: SunToolkit is internal proprietary API and may be removed in a future release
SunToolkit toolkit = (SunToolkit) Toolkit.getDefaultToolkit();
^
Note: /home/jarda/src/jdk8/jdk/test/javax/swing/JTree/4330357/bug4330357.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 warnings
result: Passed. Compilation successful
#section:main
----------messages:(3/107)----------
command: main bug4330357
reason: User specified action: run main bug4330357
elapsed time (seconds): 1.613
----------System.out:(0/0)----------
----------System.err:(13/763)----------
java.lang.RuntimeException: Cell editor is missed for path: color
at bug4330357.main(bug4330357.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:474)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:722)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Cell editor is missed for path: color
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Cell editor is missed for path: color
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Cell editor is missed for path: color
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Cell editor is missed for path: color
-------------- next part --------------
#Test Results (version 2)
#Wed Nov 21 09:57:42 CET 2012
#checksum:463feaf0b692beb4
#-----testdescription-----
$file=/home/jarda/src/jdk8/jdk/test/javax/swing/JTree/6263446/bug6263446.java
$root=/home/jarda/src/jdk8/jdk/test
author=Shannon Hickey
keywords=bug6263446
run=USER_SPECIFIED main bug6263446\n
source=bug6263446.java
title=Tests that double-clicking to edit a cell doesn't select the content.
#-----environment-----
#-----testresult-----
description=file:/home/jarda/src/jdk8/jdk/test/javax/swing/JTree/6263446/bug6263446.java
elapsed=3789 0:00:03.789
end=Wed Nov 21 09:57:42 CET 2012
environment=regtest
execStatus=Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException
hostname=logoutik
javatestOS=Linux 3.2.0-33-generic-pae (i386)
javatestVersion=4.1.4
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages build compile main
start=Wed Nov 21 09:57:38 CET 2012
test=javax/swing/JTree/6263446/bug6263446.java
work=/home/jarda/src/jdk8/jdk/test/javax/swing/JTwork/javax/swing/JTree/6263446
#section:script_messages
----------messages:(4/226)----------
JDK under test: (/home/jarda/src/jdk8/build/linux-i586/j2sdk-image)
openjdk version "1.8.0-internal"
OpenJDK Runtime Environment (build 1.8.0-internal-jarda_2012_11_19_18_48-b00)
OpenJDK Server VM (build 25.0-b09, mixed mode)
#section:build
----------messages:(3/95)----------
command: build bug6263446
reason: Named class compiled on demand
elapsed time (seconds): 0.831
result: Passed. Build successful
#section:compile
----------messages:(3/169)----------
command: compile /home/jarda/src/jdk8/jdk/test/javax/swing/JTree/6263446/bug6263446.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.831
----------System.out:(0/0)----------
----------System.err:(10/684)----------
/home/jarda/src/jdk8/jdk/test/javax/swing/JTree/6263446/bug6263446.java:36: warning: SunToolkit is internal proprietary API and may be removed in a future release
import sun.awt.SunToolkit;
^
/home/jarda/src/jdk8/jdk/test/javax/swing/JTree/6263446/bug6263446.java:45: warning: SunToolkit is internal proprietary API and may be removed in a future release
private static SunToolkit toolkit;
^
/home/jarda/src/jdk8/jdk/test/javax/swing/JTree/6263446/bug6263446.java:48: warning: SunToolkit is internal proprietary API and may be removed in a future release
toolkit = (SunToolkit) Toolkit.getDefaultToolkit();
^
3 warnings
result: Passed. Compilation successful
#section:main
----------messages:(3/107)----------
command: main bug6263446
reason: User specified action: run main bug6263446
elapsed time (seconds): 2.957
----------System.out:(0/0)----------
----------System.err:(33/2011)----------
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1270)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1350)
at bug6263446.assertEditingNoTreeLock(bug6263446.java:257)
at bug6263446.assertEditing(bug6263446.java:247)
at bug6263446.main(bug6263446.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:474)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.RuntimeException: Tree should be editing
at bug6263446$7.run(bug6263446.java:262)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:720)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:681)
at java.awt.EventQueue$3.run(EventQueue.java:679)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:690)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
JavaTest Message: Test threw exception: java.lang.reflect.InvocationTargetException
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.reflect.InvocationTargetException
result: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException
test result: Failed. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException
More information about the swing-dev
mailing list