JDK-8248261 : Add timestamps to jpackage and jpackage tests verbose output
  • Type: Enhancement
  • Component: tools
  • Sub-Component: jpackage
  • Affected Version: 16
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-06-24
  • Updated: 2020-07-21
  • Resolved: 2020-07-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 16
16 b06Fixed
Related Reports
Relates :  
Relates :  
Description
We need to add timestamps to jpackage and jpackage tests verbose output, so we can determine how long each command is executed. We have several tests timeout and it seems due to that some external commands jpackage runs takes a lot of time. Unfortunately we do not have timestamps in our verbose output to determine which command took most time, so we need to improve our verbose output to include timestamps.

See JDK-8248248 for test example which failed due to timeout, but it is hard to tell what exactly took time.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/4ffafcf7b8e8 User: almatvee Date: 2020-07-13 19:05:41 +0000
13-07-2020

http://cr.openjdk.java.net/~almatvee/8248261/webrev.01/ - Added fatalError() to log fatal errors without timestamp. - Added missing timestamp to Log.verbose(Throwable t).
09-07-2020

http://cr.openjdk.java.net/~almatvee/8248261/webrev.00/ - Added timestamp to verbose and test output in form of [HH:mm:ss.SSS].
07-07-2020