sh files in ProblemList (was Re: Need reviewers - jdk testing changes 6888927)

Kelly O'Hair Kelly.Ohair at Sun.COM
Tue Nov 10 01:34:36 UTC 2009

Max (Weijun) Wang wrote:
>> But I think your shell tests may have been just problematic when multiple
>> instances of them are run on one machine, like a port number problem.
>> That's hard for me to diagnose quickly, so when tests failed with
>> any kind of BindException or 'address already in use', I just added
>> them to the list and moved on.
> Most of the failed tests for me is in sun/security/tools, where there's 
> no port number problem. In these tests, I normally run 
> keytool/javac/jar/jarsigner multiple times, and generate keystore, java, 
> jar files. I assume all these are done inside a single directory.
> Is it possible that these tests may run parallel? Then I may need to use 
> different file names for all of them.

Yes. If they are using temp filenames, they need to be unique.
With JPRT, both the server VM and client VM are tested, and also
multiple JPRT clients could be running on one machine.
So there are multiple ways that a test could have multiple instances

With samevm on windows, it's also critical that all input and output
streams are closed, or tests that floow the test will fail.


> Thanks
> Max

More information about the build-dev mailing list