FHIR Chat · Auto Builder Broken · committers

Stream: committers

Topic: Auto Builder Broken


view this post on Zulip 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)

view this post on Zulip Josh Mandel (Jan 06 2020 at 22:48):

Huh. Anybody know what this is about?

view this post on Zulip Jose Costa Teixeira (Jan 06 2020 at 22:54):

I tried to build the shorthand IG on my machine, works fine.

view this post on Zulip Jose Costa Teixeira (Jan 06 2020 at 22:55):

could it be an openJDK thing? (just a wild guess)

view this post on Zulip 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.

view this post on Zulip 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.

view this post on Zulip 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.

view this post on Zulip 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.

view this post on Zulip Mark Kramer (Jan 10 2020 at 13:50):

Is this still broken?

view this post on Zulip 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