Hi Volker,

Thank you for the feedback. The swing-dev  was the correct
mailing list to discuss the quality of this testcase. It looks like
there are two issues.

1) realSync() fails with timeout. It appears, this is a known
  issue when the testcase was run under Xfce.
http://mail.openjdk.java.net/pipermail/swing-dev/2013-December/003165.html


2) Testcase do not run with -agentvm option. It might be an
issue in the testcase (or how the testcase was run). I will look into it.

    I missed this issue because I had changed my scripts to use -othervm
    sometime back for debugging/analyzing some testcase
    failure but forgot to change it back. Thank you for pointing it out.



Thanks
Balchandra




On 12/ 9/13 07:09 PM, Volker Simonis wrote:
Hi Balchandra,

I've tried that, but in that case the test fails because of a
sun.awt.SunToolkit$OperationTimedOut() in a call to
SunToolkit.realSync(). That may be of course a badly written test (see
my other mail to
http://mail.openjdk.java.net/pipermail/swing-dev/2013-December/003162.html)
- who knows?

What I'm actually trying to do is running the regression tests on our
AIX port, but that's a real PITA if I can't even reproduce the test
results from the jdk8 test-results page on Linux/x86_64. And you list
this specific test as passed, which I can not understand how you did
it (I assume not with the options and setup listed on that page).

Thanks and best regards,
Volker

On Mon, Dec 9, 2013 at 8:01 PM, Balchandra Vaidya
<balchandra.vai...@oracle.com> wrote:
Hi Volker,

Does the test pass if the -agentvm option is removed?


Thanks
Balchandra




On 12/ 9/13 06:10 PM, Volker Simonis wrote:
Hi Balchandra,

can you please describe in some more detail how you run these tests?

I tried to repeat them with a fresh build of both, OpenJDK and JTreg
with the same options as described on the testsresult.html page, but I
get the following security exception for the test:

com/sun/java/swing/plaf/windows/8016551/bug8016551.java

----------System.err:(33/2049)----------
java.lang.reflect.InvocationTargetException
          at java.awt.EventQueue.invokeAndWait(EventQueue.java:1300)
          at java.awt.EventQueue.invokeAndWait(EventQueue.java:1275)
          at
javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1350)
          at bug8016551.main(bug8016551.java:46)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:483)
          at
com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:754)
          at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.SecurityException: System.exit() forbidden by JT
Harness
          at
com.sun.javatest.JavaTestSecurityManager.checkExit(JavaTestSecurityManager.java:117)
          at javax.swing.JFrame.setDefaultCloseOperation(JFrame.java:395)
          at bug8016551$1.run(bug8016551.java:57)
          at
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
          at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
          at java.awt.EventQueue.access$400(EventQueue.java:97)
          at java.awt.EventQueue$3.run(EventQueue.java:697)
          at java.awt.EventQueue$3.run(EventQueue.java:691)
          at java.security.AccessController.doPrivileged(Native Method)
          at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
          at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
          at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
          at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
          at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
          at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
          at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
          at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

In your results this test is listed as PASSED, so there muxt be
something you are doing differently. It seems that in your setup, the
agentVM is not running with a security manager, but I've no idea how I
can achieve that.

Here's my complete command line:

JT_JAVA=<path_to_jdk1.7>
<path_to_jtreg>/jtreg/build/images/jtreg/linux/bin/jtreg
-dir:<openjdk_dir>/jdk/test -verbose:summary
-exclude:<openjdk_dir>/jdk/test/ProblemList.txt -conc:auto -a
-ignore:quiet -timeoutFactor:5 -agentvm
-testjdk:<openjdk_build_dir>/images/j2sdk-image -w:/tmp/JTwork
-r:/tmp/JTreport
com/sun/java/swing/plaf/windows/8016551/bug8016551.java

Regards,
Volker



On Tue, Dec 3, 2013 at 12:38 PM, Balchandra Vaidya
<balchandra.vai...@oracle.com> wrote:

JDK 8 b118 ea test results are now available at:
http://www.java.net/download/jdk8/testresults/testresults.html


The jdk and langtools test results contain zero difference when
compared with b117 test results.  The hotspot test results
have 2 differences.

0: /home/jtest/merge/b117/hotspot/JTwork  pass: 424; fail: 14; error: 2;
not
run: 7
1: /home/jtest/merge/b118/hotspot/JTwork  pass: 426; fail: 13; error: 2;
not
run: 7

0      1      Test
---    pass   compiler/uncommontrap/TestStackBangRbp.java
fail   pass   runtime/ClassFile/OomWhileParsingRepeatedJsr.java

2 differences


No new failures present in Nashorn test result:


http://download.java.net/jdk8/testresults/archives/b118/emailable-report.html



Regards
Balchandra


Reply via email to