[Bug 1411] New: openjdk/jdk/test/java/rmi/registry/readTest/readTest.sh test failure

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Tue Apr 23 11:46:08 PDT 2013


            Bug ID: 1411
           Summary: openjdk/jdk/test/java/rmi/registry/readTest/readTest.s
                    h test failure
    Classification: Unclassified
           Product: IcedTea
           Version: unspecified
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: IcedTea
          Assignee: gnu.andrew at redhat.com
          Reporter: jamie at ubuntu.com
                CC: unassigned at icedtea.classpath.org

Looking at the testsuite results for our recent 2.3.9 upload to Ubuntu 13.04:

I noticed a new failure with java/rmi/registry/readTest/readTest.sh. I traced
this down to mismatching ports between readTest.java and readTest.sh. Ie:
readTest.java has:
public class readTest {
     public static void main(String args[]) throws Exception {
         int port = 7491;
         Registry registry = LocateRegistry.getRegistry(port);

but readTest.sh has:
${TESTJAVA}${FS}bin${FS}rmiregistry -J-Djava.rmi.server.useCodebaseOnly=false \
    ${TESTTOOLVMOPTS} 64005 > ..${FS}${RMIREG_OUT} 2>&1 &

In 2.3.7, readTest.java used 7491 and readTest.sh also used it:
${TESTJAVA}${FS}bin${FS}rmiregistry 7491 > ..${FS}${RMIREG_OUT} 2>&1 &

Indeed, if I adjust readTest.java and readTest.sh to match ports in 2.3.9, then
the test passes.

FYI, it looks like the changes for
http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/rev/547880604844 were incompletely
applied (readTest.sh is adjusted to use 64005, but readTest.java as not
adjusted to use TestLibrary.READTEST_REGISTRY_PORT).

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20130423/643b0cf2/attachment.html 

More information about the distro-pkg-dev mailing list