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

TEST_BUG: jps test fails due to wrong output from external java vm.

XMLWordPrintable

    • generic
    • generic

      Following test fails if jni invoked vm is running on the system.

          sun/tools/jps/jps-Defaults.sh
          sun/tools/jps/jps-l_1.sh


      If an jni launched process is runing on the system the jps will not
      display the process name. So these tests will fail. So these tests
      should be modified to not to check for process name of an external
      java process.
      This failure mode occurred in the 2007.09.10 nightly. Here
      is the analysis report entry:

      New MISC_REGRESSION failures (from 2007.09.10)
      * sun/tools/jps/jps-l_1.sh
              This test failed due to exit code 1 on Solaris SPARC-64 Server
              VM (machine capricornus). I see no other indication of an error.

              The jps output shows a process without a name:

                  ----------System.out:(3/78)----------
                  26965 sun.tools.jps.Jps
                  26260 /export/local/common/jtreg/lib/jtreg.jar
                  18409

              This failure mode matches the following unresolved bug:

                  6571380 4/4 TEST_BUG: jps test fails due to wrong output from
                              external java vm.

              I will add this entry to 6571380.

      Update: I added the above entry because the test was not on the
      known bugs list. It turns out that was due to a typo in the first
      description note.

            sla Staffan Larsen (Inactive)
            swamyv Swamy Venkataramanappa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: