Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-6504914

PIT : Few MM_REGRESSION test cases fail due to invalid flag error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2
    • None
    • None
    • tools
    • x86
    • windows_2000

    Description

      Problem Description : Few MM_REGRESSION test cases fail due to invalid flag error

      Tested_Java_Release : 1.7.0
      Tested_Build : B04
      Operating System : Windows Platforms
      Machine Name : Reema
      Test Names : See Below for 13 test cases
      Results : http://gtee.sfbay.sun.com/gtee/results/MUSTANG/NIGHTLY/VM-MAIN/2006-12-12/Main_Baseline/vm/WINDOWS-I586/server/mixed/index.html
      Error message :

      ----------messages:(3/145)----------
      command: shell NotificationTest.sh []
      reason: User specified action: run shell/timeout=300 NotificationTest.sh
      elapsed time (seconds): 3.593
      ----------System.out:(1/123)*----------
      Compiling library: X:\\backup\\testbase\\MM_REGRESSION\\test\\sun\\management\\snmp\\notifications/../testlib/jdmk/jvmmib
      ----------System.err:(3/113)----------
      javac: invalid flag: "-server"
      Usage: javac <options> <source files>
      use -help for a list of possible options
      result: Failed. Execution failed: exit code 1


      test result: Failed. Execution failed: exit code 1
      ---------------------------------------------------------------------------------

      Test Cases
      ----------
      DumpHeap
      CollectionUsageThresholdConcMarkSweepGC
      CollectionUsageThresholdParallelGC
      CollectionUsageThresholdSerialGC
      LowMemoryTestParallelGC
      LowMemoryTestSerialGC
      MemoryManagementConcMarkSweepGC
      MemoryManagementParallelGC
      MemoryManagementSerialGC
      PendingAllGC
      TestInputArgument
      NotificationTest

      * I have tested the command manually from the command line "javac -server" & the command works also tested it using the -J option.

      * The JTREG harness was upragded to jtreg 3.2.2 on 12-11 & these tests started failing. I suspect there could be an issue related to the new JTREG
      I have observed more than a "few" failures. I have seen 30 so far. Here
      are the entries from my nightly analysis report:

      MM_REGRESSION
      * com/sun/management/HotSpotDiagnosticMXBean/DumpHeap.sh
      * java/lang/management/MemoryMXBean/CollectionUsageThresholdConcMarkSweepGC.sh
      * java/lang/management/MemoryMXBean/CollectionUsageThresholdParallelGC.sh
      * java/lang/management/MemoryMXBean/CollectionUsageThresholdSerialGC.sh
      * java/lang/management/MemoryMXBean/LowMemoryTestConcMarkSweepGC.sh
      * java/lang/management/MemoryMXBean/LowMemoryTestParallelGC.sh
      * java/lang/management/MemoryMXBean/LowMemoryTestSerialGC.sh
      * java/lang/management/MemoryMXBean/MemoryManagementConcMarkSweepGC.sh
      * java/lang/management/MemoryMXBean/MemoryManagementParallelGC.sh
      * java/lang/management/MemoryMXBean/MemoryManagementSerialGC.sh
      * java/lang/management/MemoryMXBean/MemoryTestAllGC.sh
      * java/lang/management/MemoryMXBean/PendingAllGC.sh
      * java/lang/management/RuntimeMXBean/TestInputArgument.sh
      * sun/management/jmxremote/bootstrap/RmiBootstrapTest.sh
      * sun/management/jmxremote/bootstrap/RmiRegistrySslTest.sh
      * sun/management/jmxremote/bootstrap/RmiSslBootstrapTest.sh
      * sun/management/jmxremote/bootstrap/RmiSslNoKeyStoreTest.sh
              These tests failed on 2006.12.11 due to 'NoClassDefFoundError:
              "-server"' on Win-AMD64 Server VM (machine vm-amd64-03).

              Update: These tests failed on 2006.12.14 due to 'NoClassDefFoundError:
                  "-client"' on Win32 Client VM (machine vm-x86-3).

              Update: These tests failed on 2006.12.14 due to 'NoClassDefFoundError:
                  "-server"' on Win32 Server VM (machine dantooine).

      * sun/management/snmp/bootstrap/SnmpBootstrapTest.sh
      * sun/management/snmp/bootstrap/SnmpExceptionBootstrapTest.sh
      * sun/management/snmp/bootstrap/SnmpNotifBootstrapTest.sh
      * sun/management/snmp/generic/GenericTest.sh
      * sun/management/snmp/jvmClassLoading/ClassLoadingTest.sh
      * sun/management/snmp/jvmClassLoading/ClassVerboseTest.sh
      * sun/management/snmp/jvmMemory/JvmMemGCTest.sh
      * sun/management/snmp/jvmMemory/JvmMemMgrTest.sh
      * sun/management/snmp/jvmMemory/JvmMemoryTest.sh
      * sun/management/snmp/jvmMemory/JvmMemPoolTest.sh
      * sun/management/snmp/jvmThreading/JvmThreadingTest.sh
      * sun/management/snmp/notifications/NotificationTest.sh
      * sun/management/snmp/snmpCounter64/SnmpCounter64Test.sh
              These tests failed due to 'javac: invalid flag: "-server"' on
              Win-AMD64 Server VM (machine vm-amd64-03).

              Update: These tests failed due to 'javac: invalid flag: "-client"'
                  on Win32 Client VM (machine vm-x86-3).

              Update: These tests failed due to 'javac: invalid flag: "-server"'
                  on Win32 Server VM (machine dantooine).
      Three strange failures have also been observed in the MISC_REGRESSION
      test suite. I suspect the same underlying bug in JavaTest is the root
      cause of these failures also so I'm adding that info here:

      MISC_REGRESSION
      * com/sun/tools/attach/BasicTests.sh
      * com/sun/tools/attach/PermissionTests.sh
              These tests failed on 2006.12.11 due to "NoClassDefFoundError:
              Application" on Win-AMD64 Server VM (machine icebreaker).

              Update: These tests failed on 2006.12.14 due to "NoClassDefFoundError:
                  Application" on Win32 Client VM (machine dantooine) and Win32
                  Server VM (machine cheesepuff).

      * com/sun/tools/attach/ProviderTests.sh
              This test failed on 2006.12.11 due to "AttachNotSupportedException:
              Invalid process identifier" on Win-AMD64 Server VM (machine
              icebreaker).

              Update: This test failed on 2006.12.14 due to
                  "AttachNotSupportedException: Invalid process identifier"
                  on Win32 Client VM (machine dantooine) and Win32 Server VM
                  (machine cheesepuff).

      If the failures are due to problems with the tests instead of with JavaTest,
      then the MISC_REGRESSION failures should be moved to a separate bug.

      Attachments

        Issue Links

          Activity

            People

              jjg Jonathan Gibbons
              smadishesunw Srinivas Madishetty (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: