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

regression test tools/jar/JarEntryTime.java fails in b87

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • 6
    • 6
    • tools
    • jar
    • sparc
    • solaris_10

      JAVA Version: build 1.6.0-rc-b87
      Platform: solaris_sparc10

      Problems:
      The regression test fails in b87, with the following exceptions:
      ----------System.err:(49/2727)----------
      java.lang.Exception: Stack trace
      at java.lang.Thread.dumpStack(Thread.java:1206)
      at JarEntryTime.fail(JarEntryTime.java:125)
      at JarEntryTime.check(JarEntryTime.java:128)
      at JarEntryTime.realMain(JarEntryTime.java:112)
      at JarEntryTime.main(JarEntryTime.java:133)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:589)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
      at java.lang.Thread.run(Thread.java:619)
      java.lang.Exception: Stack trace
      at java.lang.Thread.dumpStack(Thread.java:1206)
      at JarEntryTime.fail(JarEntryTime.java:125)
      at JarEntryTime.check(JarEntryTime.java:128)
      at JarEntryTime.realMain(JarEntryTime.java:113)
      at JarEntryTime.main(JarEntryTime.java:133)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:589)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
      at java.lang.Thread.run(Thread.java:619)
      java.lang.Exception: Stack trace
      at java.lang.Thread.dumpStack(Thread.java:1206)
      at JarEntryTime.fail(JarEntryTime.java:125)
      at JarEntryTime.check(JarEntryTime.java:128)
      at JarEntryTime.realMain(JarEntryTime.java:114)
      at JarEntryTime.main(JarEntryTime.java:133)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:589)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
      at java.lang.Thread.run(Thread.java:619)
      java.lang.AssertionError: Some tests failed
      at JarEntryTime.main(JarEntryTime.java:135)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:589)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
      at java.lang.Thread.run(Thread.java:619)

      JavaTest Message: Test threw exception: java.lang.AssertionError: Some tests failed
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.AssertionError: Some tests failed
      result: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed


      test result: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed

      How to reproduce:
      1. set JAVA_HOME to mustang b87
      2. run the scripts as followings:
      JAVA_HOME="JAVA_HOME"

      /net/cady.sfbay/export/dtf/unified/knight-ws/suites/regression/jct-tools/2.1.6/archive/fcs/binaries/solaris/bin/jtreg \
      -cpa:/net/cady.sfbay/export/dtf/unified/knight-ws/suites/regression/sail16/Jemmy/jemmy.jar \
      -r:./2d-reportDir \
      -w:./2d-workDir \
      /java/re/jdk/1.6.0/promoted/rc/b87/ws/j2se/test/tools/jar/JarEntryTime.java


      The jtr file as followings:
      #Test Results (version 2)
      #Wed Jun 14 11:41:31 PDT 2006
      #checksum:3bc86d2f85c0e549
      #-----testdescription-----
      $file=/net/jre.sfbay/p/v06/jdk/6.0/rc/b87/ws/j2se/test/tools/jar/JarEntryTime.java
      $root=/net/jre.sfbay/p/v06/jdk/6.0/rc/b87/ws/j2se/test
      keywords=bug4225317
      run=ASSUMED_ACTION main JarEntryTime\n
      source=JarEntryTime.java
      title=Check extracted files have date as per those in the .jar file

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

      #-----testresult-----
      description=file:///net/jre.sfbay/p/v06/jdk/6.0/rc/b87/ws/j2se/test/tools/jar/JarEntryTime.java
      end=Wed Jun 14 11:41:31 PDT 2006
      environment=regtest
      execStatus=Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed
      javatestOS=SunOS 5.10 (sparc)
      javatestVersion=2.1.6
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile main
      start=Wed Jun 14 11:41:17 PDT 2006
      status=Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed
      test=tools/jar/JarEntryTime.java
      work=/net/cady/export4/2d-workDir/tools/jar

      #section:script_messages
      ----------messages:(4/213)----------
      JDK under test: (/java/re/jdk/1.6.0/promoted/rc/b87/binaries/solaris-sparc)
      java version "1.6.0-rc"
      Java(TM) SE Runtime Environment (build 1.6.0-rc-b87)
      Java HotSpot(TM) Client VM (build 1.6.0-rc-b87, mixed mode)

      #section:build
      ----------messages:(3/98)----------
      command: build JarEntryTime
      reason: Named class compiled on demand
      elapsed time (seconds): 9.429
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/175)----------
      command: compile /net/jre.sfbay/p/v06/jdk/6.0/rc/b87/ws/j2se/test/tools/jar/JarEntryTime.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 9.422
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/123)----------
      command: main JarEntryTime
      reason: Assumed action based on file name: run main JarEntryTime
      elapsed time (seconds): 4.144
      ----------System.out:(2/24)----------

      Passed = 22 failed = 3
      ----------System.err:(49/2727)----------
      java.lang.Exception: Stack trace
      at java.lang.Thread.dumpStack(Thread.java:1206)
      at JarEntryTime.fail(JarEntryTime.java:125)
      at JarEntryTime.check(JarEntryTime.java:128)
      at JarEntryTime.realMain(JarEntryTime.java:112)
      at JarEntryTime.main(JarEntryTime.java:133)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:589)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
      at java.lang.Thread.run(Thread.java:619)
      java.lang.Exception: Stack trace
      at java.lang.Thread.dumpStack(Thread.java:1206)
      at JarEntryTime.fail(JarEntryTime.java:125)
      at JarEntryTime.check(JarEntryTime.java:128)
      at JarEntryTime.realMain(JarEntryTime.java:113)
      at JarEntryTime.main(JarEntryTime.java:133)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:589)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
      at java.lang.Thread.run(Thread.java:619)
      java.lang.Exception: Stack trace
      at java.lang.Thread.dumpStack(Thread.java:1206)
      at JarEntryTime.fail(JarEntryTime.java:125)
      at JarEntryTime.check(JarEntryTime.java:128)
      at JarEntryTime.realMain(JarEntryTime.java:114)
      at JarEntryTime.main(JarEntryTime.java:133)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:589)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
      at java.lang.Thread.run(Thread.java:619)
      java.lang.AssertionError: Some tests failed
      at JarEntryTime.main(JarEntryTime.java:135)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:589)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:83)
      at java.lang.Thread.run(Thread.java:619)

      JavaTest Message: Test threw exception: java.lang.AssertionError: Some tests failed
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.AssertionError: Some tests failed
      result: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed


      test result: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed

            bristor Dave Bristor (Inactive)
            ttzhang Tao Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: