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

Submit workflow artifacts miss hs_errs/replays due to ZIP include mismatch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 16
    • infrastructure
    • None
    • b23

        Current submit workflow omits hs_err* and replay* files, because zip matches the paths, and so only the hs_errs/replays in the current dir are picked up (and there are none). It should be preceded with "*" to match files in subdirs. Incidentally, this is why "*.jtr" match works.

        Observe:

        $ mkdir 1/2 -p
        $ touch 1/2/hs_err_213123.log
        $ zip -r9 test.zip . -i hs_err*
        zip warning: zip file empty
        $ zip -r9 test.zip . -i */hs_err*
          adding: 1/2/hs_err_213123.log (stored 0%)

        This was introduced in the initial implementation in JDK-8255352.

              shade Aleksey Shipilev
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: