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

com/sun/jdi/* tests can fail, with race condition on log files

    Details

    • Subcomponent:
    • Introduced In Build:
      b03
    • Resolved In Build:
      b08
    • OS:
      windows
    • Verification:
      Verified

      Description

      Typical log will look like:

      ----------System.out:(8/381)----------
      --Compiling first version of /cygdrive/c/development/repro/jdi/jtreg/work-c-84/classes/com/sun/jdi/aa6168/shtest.java with options: -g
      compiling shtest.java

      --Compiling second version of /cygdrive/c/development/repro/jdi/jtreg/work-c-84/classes/com/sun/jdi/aa6168/shtest.java with -g

      --Starting jdb, address=kkkk.6168
      --Starting debuggee
      Listening at address: kkkk.6168
      ----------System.err:(103/5578)*----------

      Looks like we fail to find the jdb process pid in ShellScaffold.sh

      $findPidCmd | $grep '^I* *'"$1 " > $devnull 2>&1

      Running ps immediately after to verify shows that the process is running.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sla Staffan Larsen (Inactive)
                Reporter:
                allwin Peter Allwin (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: