Stream: committers
Topic: Auto Builder Broken
Chris Moesel (Jan 06 2020 at 22:38):
@Josh Mandel -- it looks like the last couple of builds have failed with the same error:
Stack Dump (for debugging): (00:02.0157) org.hl7.fhir.exceptions.FHIRException: Unable to execute 'onLoad' in script 'scripts/ant.xml' as the script is not trusted at org.hl7.fhir.igtools.templates.Template.runScriptTarget(Template.java:162) at org.hl7.fhir.igtools.templates.Template.onLoadEvent(Template.java:322) at org.hl7.fhir.igtools.publisher.Publisher.initializeFromIg(Publisher.java:1246) at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:1174) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:655) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:6705)
Josh Mandel (Jan 06 2020 at 22:48):
Huh. Anybody know what this is about?
Jose Costa Teixeira (Jan 06 2020 at 22:54):
I tried to build the shorthand IG on my machine, works fine.
Jose Costa Teixeira (Jan 06 2020 at 22:55):
could it be an openJDK thing? (just a wild guess)
Chris Moesel (Jan 06 2020 at 23:02):
It happened for HL7/sdc:master
as well (http://build.fhir.org/ig/HL7/sdc/branches/master/build.log) so its not just the shorthand IG.
Chris Moesel (Jan 06 2020 at 23:04):
One thing those two have in common (fhir-shorthand and sdc) is that they both use the new template-based publishing mechanism.
Chris Moesel (Jan 06 2020 at 23:06):
Oh, I see @Jose Costa Teixeira pointed to another thread that seems relevant: https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/Publisher.20Error.3A.20Unable.20to.20execute.20'onLoad'.20in.20script.20'scrip
Seems it is a known problem. As Jose pointed out though, local builds seem OK. So it seems to be constrained to the auto build.
Lloyd McKenzie (Jan 07 2020 at 04:02):
A new layer was introduced in the template hierarchy. Unfortunately it has a markdown file which somehow missed being in our trusted file types list. If not for some unpleasant travel adventures, I'd have had a pull request with a fix in tonight. Hope to get it done before bedtime.
Mark Kramer (Jan 10 2020 at 13:50):
Is this still broken?
Lloyd McKenzie (Jan 10 2020 at 14:54):
y. More to fix than Grahame had hoped.
Last updated: Apr 12 2022 at 19:14 UTC