Stream: IG creation
Topic: ig-autobuilder error
Eric Haas (Nov 07 2018 at 16:53):
@Grahame Grieve , @Josh Mandel both @Kevin Power and I are get this build error using the ig-autobuilder.
Eric Haas (Nov 07 2018 at 16:54):
I don't think its on our end but looks like a package error. BTW my ig is building fine locally
Kevin Power (Nov 07 2018 at 16:57):
I can concur that the genomics-reporting IG builds fine locally for me as well, even with getting the most recent IG publisher.
Grahame Grieve (Nov 09 2018 at 06:45):
Profile DocumentSectionLibrary (http://hl7.org/fhir/StructureDefinition/example-section-library) base http://hl7.org/fhir/StructureDefinition/Composition could not be resolved
Grahame Grieve (Nov 09 2018 at 06:45):
I'm not understanding this problem, that's for sure.
Grahame Grieve (Nov 09 2018 at 06:47):
oh. interesting... order of loading issue?
Grahame Grieve (Nov 09 2018 at 06:47):
maybe unix vs windows?
Kevin Power (Nov 09 2018 at 12:35):
My local build is on a Mac (that works)
Grahame Grieve (Nov 09 2018 at 20:24):
ok thx
Eric Haas (Nov 09 2018 at 20:29):
OSX too
Grahame Grieve (Nov 09 2018 at 20:37):
strange why it's only a problem on the auto-builder. I will try and work on it today some time
Eric Haas (Nov 09 2018 at 21:14):
My money is on a case issue
Rob Hausam (Nov 10 2018 at 08:04):
We're seeing the same error on the IPS auto build, and it's working ok locally for both @Giorgio Cangioli and me
Kevin Power (Nov 12 2018 at 15:01):
@Grahame Grieve - Looks like you posted a fix for this? The build does get further, but now I see this error:
process profile: task-rec-followup (26.0554sec)
Publishing Content Failed: No snapshot found on http://hl7.org/test/StructureDefinition/example-composition (27.0950sec)
(27.0950sec)
Use -? to get command line help (27.0950sec)
(27.0950sec)
Stack Dump (for debugging): (27.0950sec)
java.lang.Exception: No snapshot found on http://hl7.org/test/StructureDefinition/example-composition
at org.hl7.fhir.igtools.publisher.Publisher.generateSnapshots(Publisher.java:2590)
at org.hl7.fhir.igtools.publisher.Publisher.loadConformance(Publisher.java:2165)
at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:586)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:526)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:4925)
Exception in thread "main" java.lang.NullPointerException
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:4935)
Kevin Power (Nov 12 2018 at 15:03):
I will add that in my local build (which still completes), I started seeing this error for all of the profiles we have in our IG.
Kevin Power (Nov 12 2018 at 15:03):
obs-base error obs-base: missing Snapshot at Genetic Observation Common Properties.Genetic Observation Common Properties
obs-base error obs-base: A snapshot is required
Grahame Grieve (Nov 12 2018 at 15:34):
well, I guess we can say that my fix has improved things in an entirely negative fashion
Rob Hausam (Nov 12 2018 at 15:37):
yes, I guess we can say that :)
Kevin Power (Nov 12 2018 at 16:10):
Well, on the positive side, it makes it further in the process? :smiley:
Kevin Power (Nov 12 2018 at 19:11):
After latest IG Publisher push, it still see successful build locally, but know see this error in the cloud build:
process profile: specimen (25.0574sec)
process profile: task-med-chg (25.0574sec)
process profile: task-rec-followup (25.0574sec)
Publishing Content Failed: No snapshot found on http://hl7.org/fhir/StructureDefinition/example-section-library (26.0725sec)
(26.0725sec)
Use -? to get command line help (26.0725sec)
(26.0725sec)
Stack Dump (for debugging): (26.0725sec)
java.lang.Exception: No snapshot found on http://hl7.org/fhir/StructureDefinition/example-section-library
at org.hl7.fhir.igtools.publisher.Publisher.generateSnapshots(Publisher.java:2590)
at org.hl7.fhir.igtools.publisher.Publisher.loadConformance(Publisher.java:2165)
at org.hl7.fhir.igtools.publisher.Publisher.createIg(Publisher.java:586)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:526)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:4925)
Exception in thread "main" java.lang.NullPointerException
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:4935)
Brian Reinhold (Nov 12 2018 at 22:48):
I see the same thing. This is the same error I had last week. Build fine at home.
Rob Hausam (Nov 13 2018 at 01:15):
yes, same
Grahame Grieve (Nov 13 2018 at 01:46):
Should be fixed by Lloyd’s merge of my last commit
Grahame Grieve (Nov 13 2018 at 09:27):
so it's not fixed. I'm a bit mystified. The build can generate the snapshots for these structure definitions that a a problem, and the build can generate IGs from scratch that work.... but the auto-ig-builder can't.... I can't figure it out
Rob Hausam (Nov 13 2018 at 09:30):
Yes, that seems odd.
Kevin Power (Nov 13 2018 at 12:28):
Success!! The last change seems to have fixed things. The genomics reporting IG now builds! Many thanks @Grahame Grieve
Oliver Egger (Nov 13 2018 at 15:06):
i had the same issue with ig-autobuilder and local build. now both run trough but i get identical error messages in my defined structure definitions or extensions: A snapshot is required , I see this message also in the other igs build. Is this related or is there are parameter somewhere that you have explicitly turn on snapshot generation during ig build?
Grahame Grieve (Nov 13 2018 at 17:31):
It should be fixed now as long as you have the latest version
Oliver Egger (Nov 25 2018 at 13:59):
@Grahame Grieve I rechecked today my ig setup. I get the the error: A snapshot is required with the current igpublisher and if I use igpublisher built on my machine. What I noticed is that in the igpublisher code org/hl7/fhir/igtools/publisher/Publisher.java generateSnapshots() is called after checkConformanceResources() where the error is generated. I was the assumption that I have not to provide the snapshot for the profile, but that the igpublisher generates the snaphshot during ig build (minimizing possible mistakes). If I switch the functions the error disappears. Should I submit a gforge ticket?
Grahame Grieve (Nov 29 2018 at 21:45):
yes you should submit a ticket. I deferred generation of the snapshot to deal with load order issues, but it still should be generated
Last updated: Apr 12 2022 at 19:14 UTC