Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8030780

test/com/sun/corba/cachedSocket/7056731.sh leaves HelloServer behind

    Details

    • Subcomponent:
    • Resolved In Build:
      b08
    • Verification:
      Not verified

      Backports

        Description


        it appears to be intermittent but sometimes this test leaves this guy behind:

        jenkins 32199 1 0 Dec17 ? 00:01:09 /data/jenkins/jobs/jdk9-dev-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/java -ea -esa -Xmx256m -DCompatibilityTest.disableNetwork=true -XX:-UseLargePages -cp . HelloServer -ORBInitialPort 1052 -ORBInitialHost localhost

        We should re-examine this test to make sure that it does terminate this process when it passes or fails.

          Issue Links

            Activity

            Hide
            tyan Tristan Yan (Inactive) added a comment -
            Probably the better choice is transforming this script test into Java test that we would have better control to sub-process.
            Show
            tyan Tristan Yan (Inactive) added a comment - Probably the better choice is transforming this script test into Java test that we would have better control to sub-process.
            Hide
            msheppar Mark Sheppard added a comment -
            it looks like the debugger fails to connect to the client, so the kill on the server proc which is
            part of the test scenario to induce the cache update is not execute.
            A simple brute force approach is to include the $SERVER_PROC in the
            kill command for the orbd and client.
            This will produce a "no such process" message to stderr, as is the case with the killing the client
            on successful run.
            Show
            msheppar Mark Sheppard added a comment - it looks like the debugger fails to connect to the client, so the kill on the server proc which is part of the test scenario to induce the cache update is not execute. A simple brute force approach is to include the $SERVER_PROC in the kill command for the orbd and client. This will produce a "no such process" message to stderr, as is the case with the killing the client on successful run.
            Hide
            msheppar Mark Sheppard added a comment -
            To transform the script into a equivalent Java test requires some investment in
            test infrastructure similar to that in place for RMI. This is something that will
            be addressed in the JDK 9 time frame.
            Show
            msheppar Mark Sheppard added a comment - To transform the script into a equivalent Java test requires some investment in test infrastructure similar to that in place for RMI. This is something that will be addressed in the JDK 9 time frame.
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/59f5c320f55f
            User: msheppar
            Date: 2014-03-20 15:27:18 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/59f5c320f55f User: msheppar Date: 2014-03-20 15:27:18 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/59f5c320f55f
            User: lana
            Date: 2014-04-09 18:28:21 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/59f5c320f55f User: lana Date: 2014-04-09 18:28:21 +0000

              People

              • Assignee:
                msheppar Mark Sheppard
                Reporter:
                alanb Alan Bateman
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: