hg: jdk8/tl/jdk: 8028505: Put sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.sh on ProblemList.txt

2013-11-19 Thread erik . gahlin
Changeset: d6195774dd1f
Author:egahlin
Date:  2013-11-19 11:47 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/d6195774dd1f

8028505: Put sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.sh on 
ProblemList.txt
Reviewed-by: alanb

! test/ProblemList.txt



RFR for JDK-8027901 Intermittent test failure java/net/ProxySelector/MultiThreadedSystemProxies.java

2013-11-19 Thread Charlie Wang

Hi Everyone,
  I am working on intermittent bug 
https://bugs.openjdk.java.net/browse/JDK-8027901. I've tried running 1K 
times and wasn't able to reproduce it. Also in recent same binaries run, 
there was no failure for this test. I wonder if it is possible that I 
add some debug output (like time stamp as in attachment.) to the test so 
I can collect more info if it fails again. Please let me know if you 
have any comments or suggestions.




- Charlie
/*
 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * This code is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 2 only, as
 * published by the Free Software Foundation.
 *
 * This code is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 * version 2 for more details (a copy is included in the LICENSE file that
 * accompanied this code).
 *
 * You should have received a copy of the GNU General Public License version
 * 2 along with this work; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 * or visit www.oracle.com if you need additional information or have any
 * questions.
 */
/*
 * @test
 * @bug 7188755
 * @run main/othervm MultiThreadedSystemProxies
 * @summary Crash due to missing synchronization on gconf_client in
 *  DefaultProxySelector.c
 */
import java.net.ProxySelector;
import java.net.URI;

/* Racey test, not guaranteed to fail, but if it does we have a problem. */

public class MultiThreadedSystemProxies {
static final int NUM_THREADS = 100;
static long currentTime;

public static void main(String[] args) throws Exception {
System.setProperty(java.net.useSystemProxies, true);
final ProxySelector ps = ProxySelector.getDefault();
final URI uri = new URI(http://ubuntu.com;);
Thread[] threads = new Thread[NUM_THREADS];

System.out.println(MultiThreadedSystemProxies start time:  
+ System.currentTimeMillis());

for (int i = 0; i  NUM_THREADS; i++) {
threads[i] = new Thread(new Runnable() {
@Override
public void run() {
try {
currentTime = System.currentTimeMillis();
System.out.println(Thread[ + this.toString() 
+ ] start time:  + currentTime);
ps.select(uri);
System.out.println(Thread[ + this.toString() 
+ ] took: 
+ (System.currentTimeMillis() - currentTime));
} catch (Exception x) {
throw new RuntimeException(x);
}
}
});
}
for (int i = 0; i  NUM_THREADS; i++) {
threads[i].start();
}
for (int i = 0; i  NUM_THREADS; i++) {
threads[i].join();
}

System.out.println(MultiThreadedSystemProxies end time:  
+ System.currentTimeMillis());
}
}


Re: RFR for JDK-7086879 java/net/InetAddress/CheckJNI.java hangs on Linux when IPv6 enabled

2013-11-19 Thread Chris Hegarty
I haven't seen a follow up on this, so I think we can just go ahead and 
remove the test from the ProblemList.txt for now, and revisit, if necessary.


Tristan, I can sponsor this for you.

-Chris.

On 11/14/2013 02:59 PM, Tristan Yan wrote:

Hi Everyone

I am working on https://bugs.openjdk.java.net/browse/JDK-7086879 . The
issue is seen on machines which have kernel version older than 2.6.18.
The test was put on ProblemList.txt. From Michael's comments on 05 Nov,
it looks like JPRT is fixed and the test runs successfully. We have
upgraded 5 of 26 SQE machines which had similar issues and the test
works fine for SQE as well. Once Michael confirms that he is fine with
removing this test from ProblemList.txt, I will send out a webrev with
the change.

Please let me know if you have any suggestions or comments.

Thank you.

Tristan Yan(Haibo Yan)



hg: jdk8/tl/jdk: 7086879: java/net/InetAddress/CheckJNI.java hangs on Linux when IPv6 enabled

2013-11-19 Thread chris . hegarty
Changeset: d5ddde25d107
Author:tyan
Date:  2013-11-19 13:46 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/d5ddde25d107

7086879: java/net/InetAddress/CheckJNI.java hangs on Linux when IPv6 enabled
Reviewed-by: chegar

! test/ProblemList.txt



hg: jdk8/tl/jdk: 8028478: Re-visit JPRT testsets to make it easier to run subsets of the tests

2013-11-19 Thread alan . bateman
Changeset: 2e574350a2b6
Author:alanb
Date:  2013-11-19 14:08 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/2e574350a2b6

8028478: Re-visit JPRT testsets to make it easier to run subsets of the tests
Reviewed-by: dholmes, sla, tbell

! test/Makefile



hg: jdk8/tl: 8028478: Re-visit JPRT testsets to make it easier to run subsets of the tests

2013-11-19 Thread alan . bateman
Changeset: 9937f406e27e
Author:alanb
Date:  2013-11-19 14:11 +
URL:   http://hg.openjdk.java.net/jdk8/tl/rev/9937f406e27e

8028478: Re-visit JPRT testsets to make it easier to run subsets of the tests
Reviewed-by: dholmes, sla, tbell

! make/jprt.properties
! test/Makefile



hg: jdk8/tl/jdk: 8028583: Add helper methods to test libraries

2013-11-19 Thread sean . coffey
Changeset: d1bb85f0a45a
Author:coffeys
Date:  2013-11-19 14:47 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/d1bb85f0a45a

8028583: Add helper methods to test libraries
Reviewed-by: chegar

! test/java/rmi/testlibrary/TestLibrary.java
! test/lib/testlibrary/jdk/testlibrary/FileUtils.java



RFR 8028581: [TESTBUG] java/net/Socket/LingerTest.java failing

2013-11-19 Thread Michael McMahon
This is a test that just failed recently on Windows, probably due to a 
timing issue.
The critical time delay in the test is increased from 5 seconds to 10 
seconds
and some extra printlns are added to show the exact sequence in case it 
fails again.


http://cr.openjdk.java.net/~michaelm/8028581/webrev.1/

Thanks,
Michael


hg: jdk8/tl/jdk: 8023978: [TEST_BUG] launcher tests must exclude platforms without server vm

2013-11-19 Thread kumar . x . srinivasan
Changeset: 40462a41b41b
Author:ksrini
Date:  2013-11-19 07:10 -0800
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/40462a41b41b

8023978: [TEST_BUG] launcher tests must exclude platforms without server vm
Reviewed-by: dholmes, mchung

! test/tools/launcher/ExecutionEnvironment.java
! test/tools/launcher/Test7029048.java
! test/tools/launcher/TestHelper.java



hg: jdk8/tl/jdk: 8028094: TEST_BUG: java/lang/ProcessBuilder/Basic.java leaves sleep 6666 processes behind

2013-11-19 Thread chris . hegarty
Changeset: cfbee8ee71bf
Author:bvaidya
Date:  2013-11-19 15:31 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/cfbee8ee71bf

8028094: TEST_BUG: java/lang/ProcessBuilder/Basic.java leaves sleep  
processes behind
Reviewed-by: chegar

! test/java/lang/ProcessBuilder/Basic.java



hg: jdk8/tl/jdk: 2 new changesets

2013-11-19 Thread vincent . x . ryan
Changeset: e8daf5a83e42
Author:vinnie
Date:  2013-11-19 15:39 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/e8daf5a83e42

8028377: test/sun/security/provider/KeyStore/DKSTest.sh attempts to write to 
${test.src}
Reviewed-by: alanb, weijun

! test/sun/security/provider/KeyStore/DKSTest.java
! test/sun/security/provider/KeyStore/domains.cfg

Changeset: bfd4e632eeda
Author:vinnie
Date:  2013-11-19 15:42 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/bfd4e632eeda

Merge




Re: RFR 8028581: [TESTBUG] java/net/Socket/LingerTest.java failing

2013-11-19 Thread Alan Bateman

On 19/11/2013 15:18, Michael McMahon wrote:
This is a test that just failed recently on Windows, probably due to a 
timing issue.
The critical time delay in the test is increased from 5 seconds to 10 
seconds
and some extra printlns are added to show the exact sequence in case 
it fails again.


http://cr.openjdk.java.net/~michaelm/8028581/webrev.1/
It's hard to believe that this timeout was exceeded but the change is 
harmless (and okay with me).


-Alan.


hg: jdk8/tl/jdk: 8022206: Intermittent test failures in java/lang/ProcessBuilder/Basic.java

2013-11-19 Thread rob . mckenna
Changeset: 63b696dafc8a
Author:robm
Date:  2013-11-19 15:36 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/63b696dafc8a

8022206: Intermittent test failures in java/lang/ProcessBuilder/Basic.java
Reviewed-by: chegar, alanb

! test/java/lang/ProcessBuilder/Basic.java



hg: jdk8/tl/jdk: 8016728: TEST_BUG: test/java/rmi/transport/closeServerSocket/CloseServerSocket.java failing intermittently

2013-11-19 Thread sean . coffey
Changeset: f2ccd3530476
Author:coffeys
Date:  2013-11-19 16:22 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f2ccd3530476

8016728: TEST_BUG: 
test/java/rmi/transport/closeServerSocket/CloseServerSocket.java failing 
intermittently
Reviewed-by: chegar

! test/java/rmi/transport/closeServerSocket/CloseServerSocket.java



hg: jdk8/tl/jdk: 8028589: Instrument tools/jar/JarEntryTime.java to make it easier to diagnose failures

2013-11-19 Thread alan . bateman
Changeset: 36821ee241a2
Author:alanb
Date:  2013-11-19 15:09 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/36821ee241a2

8028589: Instrument tools/jar/JarEntryTime.java to make it easier to diagnose 
failures
Reviewed-by: chegar

! test/tools/jar/JarEntryTime.java



Re: RFR for JDK-8027901 Intermittent test failure java/net/ProxySelector/MultiThreadedSystemProxies.java

2013-11-19 Thread Chris Hegarty

Charlie,

When I run this test with DISPLAY unset, or set to empty string, and 
on a system without the latest Gnome 3 libraries ( more specifically NOT 
having libgio-2.0.so ), I get a warning that GConf cannot be initialized 
(see below). I do not see this test hanging.


---
(process:25718): GConf-WARNING **: Client failed to connect to the D-BUS 
daemon:
//bin/dbus-launch terminated abnormally with the following error: 
Autolaunch error: X11 initialization failed.


GConf Error: No D-BUS daemon running
---

To summarize, the problem here is that DISPLAY needs to be set on the 
test system to be able to initialize GConf. Once the DISPLAY is set then 
the test passes fine. I don't see any issue here. I think we can closing 
this bug as 'not a bug', it is a test machine configuration issue.


Also, more recent Linux versions with Gnome 3 support do not need 
DISPLAY to be set to initialize.


-Chris.

On 11/19/2013 11:25 AM, Charlie Wang wrote:

Hi Everyone,
   I am working on intermittent bug
https://bugs.openjdk.java.net/browse/JDK-8027901. I've tried running 1K
times and wasn't able to reproduce it. Also in recent same binaries run,
there was no failure for this test. I wonder if it is possible that I
add some debug output (like time stamp as in attachment.) to the test so
I can collect more info if it fails again. Please let me know if you
have any comments or suggestions.



- Charlie


hg: jdk8/tl/jdk: 8028581: [TESTBUG] java/net/Socket/LingerTest.java failing

2013-11-19 Thread michael . x . mcmahon
Changeset: 79e975dfeb8a
Author:michaelm
Date:  2013-11-19 17:49 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/79e975dfeb8a

8028581: [TESTBUG] java/net/Socket/LingerTest.java failing
Reviewed-by: alanb

! test/java/net/Socket/LingerTest.java



hg: jdk8/tl/jdk: 8015571: OCSP validation fails if ocsp.responderCertSubjectName is set

2013-11-19 Thread vincent . x . ryan
Changeset: f8b24e1a609e
Author:vinnie
Date:  2013-11-19 17:55 +
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f8b24e1a609e

8015571: OCSP validation fails if ocsp.responderCertSubjectName is set
Reviewed-by: mullan, xuelei

! src/share/classes/sun/security/provider/certpath/OCSP.java
! src/share/classes/sun/security/provider/certpath/OCSPRequest.java
! src/share/classes/sun/security/provider/certpath/OCSPResponse.java
! src/share/classes/sun/security/provider/certpath/RevocationChecker.java
! src/share/classes/sun/security/x509/X509CertImpl.java



hg: jdk8/tl/jdk: 8028565: Remove java/lang/management/ThreadMXBean/ThreadStateTest.java from ProblemList.txt

2013-11-19 Thread mandy . chung
Changeset: 48c61808374f
Author:mchung
Date:  2013-11-19 10:19 -0800
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/48c61808374f

8028565: Remove java/lang/management/ThreadMXBean/ThreadStateTest.java from 
ProblemList.txt
Reviewed-by: sla

! test/ProblemList.txt



hg: jdk8/tl/jdk: 8028141: test/sun/management/jmxremote/bootstrap/LocalManagementTest|CustomLauncherTest.java failing again

2013-11-19 Thread roger . riggs
Changeset: 3f47e393e1dd
Author:rriggs
Date:  2013-11-19 13:20 -0500
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/3f47e393e1dd

8028141: 
test/sun/management/jmxremote/bootstrap/LocalManagementTest|CustomLauncherTest.java
 failing again
Summary: Correct to use the test.class.path instead of test.classes
Reviewed-by: alanb, chegar

! test/sun/management/jmxremote/bootstrap/CustomLauncherTest.java
! test/sun/management/jmxremote/bootstrap/LocalManagementTest.java



hg: jdk8/tl/jdk: 8028185: XMLFormatter.format emits incorrect year

2013-11-19 Thread daniel . fuchs
Changeset: 67d742c75971
Author:dfuchs
Date:  2013-11-19 20:10 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/67d742c75971

8028185: XMLFormatter.format emits incorrect year
Summary: Fixes a regression where the year in the date was increased by 1900.
Reviewed-by: alanb, mchung

! src/share/classes/java/util/logging/XMLFormatter.java
+ test/java/util/logging/XMLFormatterDate.java



hg: jdk8/tl/jdk: 8005202: java/util/logging/CheckLockLocationTest.java fail on solars_10

2013-11-19 Thread daniel . fuchs
Changeset: 059530c5ae9a
Author:dfuchs
Date:  2013-11-19 22:28 +0100
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/059530c5ae9a

8005202: java/util/logging/CheckLockLocationTest.java fail on solars_10
Summary: this test has been seen failing on Solaris 10, presumably because it 
was run as root. The fix will skip the non-writable case if it can't make a 
non-writable dir.
Reviewed-by: mchung

! test/java/util/logging/CheckLockLocationTest.java



hg: jdk8/tl/jdk: 8028631: Improve the test coverage to the pathname handling on unix-like platforms

2013-11-19 Thread dan . xu
Changeset: f496565c4eec
Author:dxu
Date:  2013-11-19 13:22 -0800
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f496565c4eec

8028631: Improve the test coverage to the pathname handling on unix-like 
platforms
Summary: Add GeneralSolaris.java testcase and fix the concurrency issue
Reviewed-by: lancea, chegar, alanb

! test/java/io/pathNames/General.java
+ test/java/io/pathNames/GeneralSolaris.java
! test/java/io/pathNames/GeneralWin32.java



hg: jdk8/tl/jdk: 8028638: java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.java fails

2013-11-19 Thread stuart . marks
Changeset: 19d2e9649138
Author:smarks
Date:  2013-11-19 15:05 -0800
URL:   http://hg.openjdk.java.net/jdk8/tl/jdk/rev/19d2e9649138

8028638: 
java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.java fails
Reviewed-by: lancea

! test/java/rmi/testlibrary/RMID.java



hg: jdk8/tl/langtools: 8028504: javac generates LocalVariableTable even with -g:none

2013-11-19 Thread vicente . romero
Changeset: 66bcd5d4b3d1
Author:vromero
Date:  2013-11-19 23:35 +
URL:   http://hg.openjdk.java.net/jdk8/tl/langtools/rev/66bcd5d4b3d1

8028504: javac generates LocalVariableTable even with -g:none
Reviewed-by: jjg, jlahoda

! src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
+ test/tools/javac/T8028504/DontGenerateLVTForGNoneOpTest.java



RFR for JDK-703666 test/com/sun/net/httpserver/Test9a.java fails intermittently

2013-11-19 Thread Tristan Yan
Hi All

I am working on https://bugs.openjdk.java.net/browse/JDK-703, this bug was 
opened 3 years ago and test was put into ProblemList. I ran a 1000 times loop 
to try to reproduce the failure but I got no luck. Also I use same jdk binaries 
run all regression tests a couple of hundred time I don't see any failure on 
this test either.

I suggest we bring this test back from ProblemList and add a debug info for 
only possible failure place.

 

http://cr.openjdk.java.net/~ewang/tristan/JDK-703/webrev.00/

 

Please let me know if you have any suggestion or comments.

 

Tristan Yan(Haibo Yan)