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

sun/tools/jstat/jstatGcCauseOutput1.sh fails on linux. awk: Invalid range end

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 6
    • Component/s: core-svc
    • Subcomponent:
    • Resolved In Build:
      b17
    • CPU:
      generic, x86
    • OS:
      generic, linux_suse_sles_8

      Description



      Name: tb29552 Date: 03/16/2004


      #Test Results (version 2)
      #Tue Mar 16 11:12:20 PST 2004
      #checksum:7b660e2c1377dd3e
      #-----testdescription-----
      $file=/export/tbell/dd/service_int/test/sun/tools/jstat/jstatGcCauseOutput1.sh
      $root=/export/tbell/dd/service_int/test
      keywords=bug4990825 shell
      run=USER_SPECIFIED shell jstatGcCauseOutput1.sh\n
      source=jstatGcCauseOutput1.sh
      title=Test that output of 'jstat -gccause 0' has expected line counts

      #-----environment-----

      #-----testresult-----
      description=file:///export/tbell/dd/service_int/test/sun/tools/jstat/jstatGcCauseOutput1.sh
      end=Tue Mar 16 11:12:20 PST 2004
      environment=regtest
      execStatus=Failed. Execution failed: exit code 2
      javatestOS=Linux 2.4.19-SMP (amd64)
      javatestVersion=2.1.6
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages shell
      start=Tue Mar 16 11:12:19 PST 2004
      status=Failed. Execution failed: exit code 2
      test=sun/tools/jstat/jstatGcCauseOutput1.sh
      work=/export/tbell/dd/service_int/test/JTwork/sun/tools/jstat

      #section:script_messages
      ----------messages:(4/247)----------
      JDK under test: (/export/tbell/dd/control/build/linux-amd64)
      java version "1.5.0-tbell"
      Java(TM) 2 Runtime Environment, Standard Edition (build
      1.5.0-tbell-2004_03_16.08-08-07)
      Java HotSpot(TM) 64-Bit Server VM (build 1.5.0-beta2-b42, mixed mode)

      #section:shell
      ----------messages:(3/134)----------
      command: shell jstatGcCauseOutput1.sh
      reason: User specified action: run shell jstatGcCauseOutput1.sh
      elapsed time (seconds): 0.354
      ----------System.out:(0/0)----------
      ----------System.err:(1/345)*----------
      awk: /export/tbell/dd/service_int/test/sun/tools/jstat/gcCauseOutput1.awk:26:
      fatal: Invalid range end: /^[ ]*[0-9]+\\.[0-9]+[ ]*[0-9]+\\.[0-9]+[
      ]*[0-9]+\\.[0-9]+[ ]*[0-9]+\\.[0-9]+[ ]*[0-9]+\\.[0-9]+[ ]*[0-9]+[
      ]*[0-9]+\\.[0-9]+[ ]*[0-9]+[ ]*[0-9]+\\.[0-9]+[ ]*[0-9]+\\.[0-9]+[
      ]*[a-zA-z]+[a-zA-Z \\.\\(\\)]*[ ]*[a-zA-z]+[a-zA-Z \\.\\(\\)]*$/
      result: Failed. Execution failed: exit code 2


      test result: Failed. Execution failed: exit code 2


      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ohair Kelly Ohair (Inactive)
                Reporter:
                tbell Tim Bell
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: