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

tools/JarEntryTime.java failing intermittently

    XMLWordPrintable

Details

    • jar

    Description


      This test has been observed to fail intermittently on jdk8-b65. Seen on solaris-sparc and windows-x64 so far. Very intermittent.


      #Test Results (version 2)
      #Tue Nov 27 09:42:13 GMT 2012
      #checksum:3097cdc76440bd68
      #-----testdescription-----
      $file=C\:\\alanb\\tl-jdk\\test\\tools\\jar\\JarEntryTime.java
      $root=C\:\\alanb\\tl-jdk\\test
      keywords=bug4225317 bug6969651
      run=ASSUMED_ACTION main JarEntryTime\r\n
      source=JarEntryTime.java
      title=Check extracted files have date as per those in the .jar file

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

      #-----testresult-----
      description=file\:/C\:/alanb/tl-jdk/test/tools/jar/JarEntryTime.java
      elapsed=472 0\:00\:00.472
      end=Tue Nov 27 09\:42\:13 GMT 2012
      environment=regtest
      execStatus=Failed. Execution failed\: `main' threw exception\: java.lang.AssertionError\: Some tests failed
      hostname=IRL10086.uk.oracle.com
      javatestOS=Windows Server 2008 R2 6.1 (amd64)
      javatestVersion=4.4
      jtregVersion=jtreg 4.1 fcs b04
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile main
      start=Tue Nov 27 09\:42\:13 GMT 2012
      test=tools/jar/JarEntryTime.java
      user.name=Administrator
      work=C\:\\alanb\\JTwork\\tools\\jar

      #section:script_messages
      ----------messages:(4/216)*----------
      JDK under test: (C:\\alanb\\jdk1.8)
      java version "1.8.0-internal"
      Java(TM) SE Runtime Environment (build 1.8.0-internal-201211261514.albatem.tl-b00)
      Java HotSpot(TM) 64-Bit Server VM (build 25.0-b09, mixed mode)

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

      #section:compile
      ----------messages:(3/155)*----------
      command: compile C:\\alanb\\tl-jdk\\test\\tools\\jar\\JarEntryTime.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.029
      ----------direct:(10/659)*----------
      C:\\alanb\\tl-jdk\\test\\tools\\jar\\JarEntryTime.java:33: warning: Main is internal proprietary API and may be removed in a future release
      import sun.tools.jar.Main;
                          ^
      C:\\alanb\\tl-jdk\\test\\tools\\jar\\JarEntryTime.java:110: warning: Main is internal proprietary API and may be removed in a future release
              Main jartool = new Main(System.out, System.err, "jar");
              ^
      C:\\alanb\\tl-jdk\\test\\tools\\jar\\JarEntryTime.java:110: warning: Main is internal proprietary API and may be removed in a future release
              Main jartool = new Main(System.out, System.err, "jar");
                                 ^
      3 warnings
      result: Passed. Compilation successful

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

      Passed = 22 failed = 3
      ----------System.err:(48/2686)----------
      java.lang.Exception: Stack trace
      at java.lang.Thread.dumpStack(Thread.java:1345)
      at JarEntryTime.fail(JarEntryTime.java:151)
      at JarEntryTime.check(JarEntryTime.java:154)
      at JarEntryTime.realMain(JarEntryTime.java:125)
      at JarEntryTime.main(JarEntryTime.java:159)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:474)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:698)
      at java.lang.Thread.run(Thread.java:722)
      java.lang.Exception: Stack trace
      at java.lang.Thread.dumpStack(Thread.java:1345)
      at JarEntryTime.fail(JarEntryTime.java:151)
      at JarEntryTime.check(JarEntryTime.java:154)
      at JarEntryTime.realMain(JarEntryTime.java:126)
      at JarEntryTime.main(JarEntryTime.java:159)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:474)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:698)
      at java.lang.Thread.run(Thread.java:722)
      java.lang.Exception: Stack trace
      at java.lang.Thread.dumpStack(Thread.java:1345)
      at JarEntryTime.fail(JarEntryTime.java:151)
      at JarEntryTime.check(JarEntryTime.java:154)
      at JarEntryTime.realMain(JarEntryTime.java:127)
      at JarEntryTime.main(JarEntryTime.java:159)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:474)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:698)
      at java.lang.Thread.run(Thread.java:722)
      java.lang.AssertionError: Some tests failed
      at JarEntryTime.main(JarEntryTime.java:161)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:474)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:698)
      at java.lang.Thread.run(Thread.java:722)

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

      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

      Attachments

        Issue Links

          Activity

            People

              sherman Xueming Shen
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: