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

Aleksey Shipilev shade at openjdk.java.net
Wed Nov 4 13:06:05 UTC 2020


Current submit workflow omits `hs_err*.log` and `replay*.log` 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.

Additional testing:
 - [x] Observing current Windows failures package hs_err into archive

-------------

Commit messages:
 - 8255895: Submit workflow artifacts miss hs_errs/replays due to ZIP include mismatch

Changes: https://git.openjdk.java.net/jdk/pull/1055/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1055&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8255895
  Stats: 8 lines in 1 file changed: 0 ins; 0 del; 8 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1055.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1055/head:pull/1055

PR: https://git.openjdk.java.net/jdk/pull/1055



More information about the build-dev mailing list