Does anyone have thoughts on how to debug this err...
# general
p
Does anyone have thoughts on how to debug this error:
Copy code
12:59:13.20 [INFO] Completed: Scheduling: Ensure download of JDK --jvm=zulu:8.0.392.
12:59:13.35 [ERROR] 1 Exception encountered:

Engine traceback:
  in `test` goal

ValueError: Pants was unable to parse the output of `java -version` for JDK `zulu:8.0.392`. Please open an issue at <https://github.com/pantsbuild/pants/issues/new/choose> with the following output:
Full stack trace is
seems machine specific, things work fine on my other laptop
h
Run with
--keep-sandboxes=on_failure
, and Pants will print out the location of the sandbox. Then you can
cd
into it and run
__run.sh
, which should reproduce the error, and you can see what info you get on the console
p
Thanks, this looks like a bad coursier cache (downloaded files existed but were empty in cache), a bit annoying since --no-local-cache didn't help it and I needed to manually move the cache
h
That is annoying! FWIW
--no-local-cache
controls use of the Pants process cache. Whereas the coursier cache is managed by coursier completely outside Pants's control.
p
I don't think it's totally outside pants' control, pants still orchestrates the path to the cache