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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: infrastructure
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b23

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: