INFO:root:about to clone! DEBUG:root:running: git clone --recursive https://github.com/fhir-fi/finnish-scheduling --branch master repo DEBUG:root:Time to deadline 35879.998085 seconds Cloning into 'repo'... DEBUG:root:running: wget -q https://github.com/HL7/fhir-ig-publisher/releases/latest/download/publisher.jar -O publisher.jar DEBUG:root:Time to deadline 35879.480754 seconds DEBUG:root:running: npm -g install fsh-sushi DEBUG:root:Time to deadline 35878.160582 seconds npm WARN deprecated rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. added 120 packages in 5s 8 packages are looking for funding run `npm fund` for details npm notice npm notice New major version of npm available! 9.8.1 -> 10.8.3 npm notice Changelog: npm notice Run `npm install -g npm@10.8.3` to update! npm notice DEBUG:root:running: java -Xms19000m -Xmx19000m -jar ../publisher.jar -ig ig.json -api-key-file /etc/ig.builder.keyfile.ini -fhir-settings /etc/fhir-settings.json -auto-ig-build -tx http://tx.fhir.org -target https://build.fhir.org/ig/fhir-fi/finnish-scheduling/ -out /scratch/repo DEBUG:root:Time to deadline 35873.023044 seconds FHIR IG Publisher Version 1.6.23 (Git# 7018cc10a866). Built 2024-09-09T19:42:44.328Z (15 hours old) Detected Java version: 21-ea from /usr/local/openjdk-21 on Linux/amd64 (64bit). 19008MB available dir = /scratch/repo, path = /usr/local/openjdk-21/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin Parameters: -ig ig.json -api-key-file /etc/ig.builder.keyfile.ini -fhir-settings /etc/fhir-settings.json -auto-ig-build -tx http://tx.fhir.org -target https://build.fhir.org/ig/fhir-fi/finnish-scheduling/ -out /scratch/repo Start Clock @ Tuesday, September 10, 2024, 11:22:52 AM Coordinated Universal Time (2024-09-10T11:22:52Z) Build FHIR IG from /scratch/repo (00:00.026 / 00:00.027, 89Mb) API keys loaded from /etc/fhir-settings.json (00:00.004 / 00:00.031, 89Mb) Package Cache: /var/lib/.fhir/packages (00:00.003 / 00:00.034, 89Mb) Run Sushi on /scratch/repo (00:00.006 / 00:00.040, 89Mb) Sushi: info Running SUSHI v3.11.1 (implements FHIR Shorthand specification v3.0.0-ballot) (00:00.669 / 00:00.710, 97Mb) Sushi: info Arguments: (00:00.000 / 00:00.710, 97Mb) Sushi: info --require-latest (00:00.000 / 00:00.710, 97Mb) Sushi: info --out /scratch/repo (00:00.000 / 00:00.711, 97Mb) Sushi: info /scratch/repo (00:00.000 / 00:00.711, 97Mb) Sushi: info Using configuration file: /scratch/repo/sushi-config.yaml (00:00.920 / 00:01.631, 97Mb) Sushi: info Importing FSH text... (00:00.179 / 00:01.811, 97Mb) Sushi: info Preprocessed 33 documents with 3 aliases. (00:00.251 / 00:02.063, 97Mb) Sushi: info Imported 28 definitions and 4 instances. (00:00.020 / 00:02.084, 97Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.uv.tools#current... (00:00.002 / 00:02.086, 97Mb) Sushi: info Did not find hl7.fhir.uv.tools#current in /home/fhiruser/.fhir/packages. (00:00.027 / 00:02.114, 97Mb) Sushi: info Downloading hl7.fhir.uv.tools#current... https://build.fhir.org/ig/FHIR/fhir-tools-ig/branches/master/package.tgz (00:00.149 / 00:02.263, 97Mb) Sushi: info Downloaded hl7.fhir.uv.tools#current (00:00.021 / 00:02.284, 97Mb) Sushi: info Loaded package hl7.fhir.uv.tools#current (00:00.109 / 00:02.393, 97Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.terminology.r4#6.0.2... (00:00.518 / 00:02.912, 97Mb) Sushi: info Did not find hl7.terminology.r4#6.0.2 in /home/fhiruser/.fhir/packages. (00:00.030 / 00:02.943, 97Mb) Sushi: info Downloading hl7.terminology.r4#6.0.2... https://packages.fhir.org/hl7.terminology.r4/6.0.2 (00:00.001 / 00:02.944, 97Mb) Sushi: info Downloaded hl7.terminology.r4#6.0.2 (00:02.384 / 00:05.329, 97Mb) Sushi: info Loaded package hl7.terminology.r4#6.0.2 (00:02.265 / 00:07.594, 97Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.uv.extensions.r4#5.1.0... (00:00.459 / 00:08.054, 97Mb) Sushi: info Did not find hl7.fhir.uv.extensions.r4#5.1.0 in /home/fhiruser/.fhir/packages. (00:00.511 / 00:08.566, 97Mb) Sushi: info Downloading hl7.fhir.uv.extensions.r4#5.1.0... https://packages.fhir.org/hl7.fhir.uv.extensions.r4/5.1.0 (00:00.000 / 00:08.566, 97Mb) Sushi: info Downloaded hl7.fhir.uv.extensions.r4#5.1.0 (00:01.733 / 00:10.300, 97Mb) Sushi: info Loaded package hl7.fhir.uv.extensions.r4#5.1.0 (00:01.499 / 00:11.799, 97Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.fi.base#1.0.0... (00:00.532 / 00:12.331, 97Mb) Sushi: info Did not find hl7.fhir.fi.base#1.0.0 in /home/fhiruser/.fhir/packages. (00:00.752 / 00:13.084, 97Mb) Sushi: info Downloading hl7.fhir.fi.base#1.0.0... https://packages.fhir.org/hl7.fhir.fi.base/1.0.0 (00:00.000 / 00:13.084, 97Mb) Sushi: info Downloaded hl7.fhir.fi.base#1.0.0 (00:01.194 / 00:14.279, 97Mb) Sushi: info Loaded package hl7.fhir.fi.base#1.0.0 (00:00.858 / 00:15.137, 97Mb) Sushi: info Checking /home/fhiruser/.fhir/packages for hl7.fhir.r4.core#4.0.1... (00:00.000 / 00:15.138, 97Mb) Sushi: info Did not find hl7.fhir.r4.core#4.0.1 in /home/fhiruser/.fhir/packages. (00:00.854 / 00:15.992, 97Mb) Sushi: info Downloading hl7.fhir.r4.core#4.0.1... https://packages.fhir.org/hl7.fhir.r4.core/4.0.1 (00:00.000 / 00:15.992, 97Mb) Sushi: info Downloaded hl7.fhir.r4.core#4.0.1 (00:03.026 / 00:19.019, 97Mb) Sushi: info Loaded package hl7.fhir.r4.core#4.0.1 (00:02.940 / 00:21.960, 97Mb) Sushi: info Converting FSH to FHIR resources... (00:00.067 / 00:22.027, 97Mb) Sushi: info Converted 28 FHIR StructureDefinitions. (00:02.736 / 00:24.764, 97Mb) Sushi: info Converted 4 FHIR instances. (00:00.231 / 00:24.995, 97Mb) Sushi: info Exporting FHIR resources as JSON... (00:00.000 / 00:24.996, 97Mb) Sushi: info Exported 32 FHIR resources as JSON. (00:00.083 / 00:25.080, 97Mb) Sushi: info Assembling Implementation Guide sources... (00:00.002 / 00:25.082, 97Mb) Sushi: info Generated ImplementationGuide-hl7.fhir.fi.scheduling.json (00:00.039 / 00:25.122, 97Mb) Sushi: info Assembled Implementation Guide sources; ready for IG Publisher. (00:00.000 / 00:25.122, 97Mb) Sushi: ========================= SUSHI RESULTS =========================== (00:00.001 / 00:25.124, 97Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:25.124, 97Mb) Sushi: | | Profiles | Extensions | Logicals | Resources | | (00:00.000 / 00:25.124, 97Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:25.124, 97Mb) Sushi: | | 5 | 23 | 0 | 0 | | (00:00.000 / 00:25.124, 97Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:25.125, 97Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:25.125, 97Mb) Sushi: | | ValueSets | CodeSystems | Instances | | (00:00.000 / 00:25.125, 97Mb) Sushi: | |-------------------------------------------------------------| | (00:00.000 / 00:25.125, 97Mb) Sushi: | | 0 | 0 | 4 | | (00:00.000 / 00:25.126, 97Mb) Sushi: | ------------------------------------------------------------- | (00:00.000 / 00:25.126, 97Mb) Sushi: | | (00:00.000 / 00:25.126, 97Mb) Sushi: =================================================================== (00:00.000 / 00:25.126, 97Mb) Sushi: | FSHing for compliments? Super job! 0 Errors 0 Warnings | (00:00.000 / 00:25.127, 97Mb) Sushi: =================================================================== (00:00.000 / 00:25.127, 97Mb) Unable to load IG as an r5 IG - try R4 (property code is a class com.google.gson.JsonPrimitive looking for an object) (00:00.832 / 00:25.960, 37Mb) Load Template from https://github.com/fhir-fi/ig-template-fhir-fi (00:00.692 / 00:26.653, 69Mb) Load Template from fhir.base.template#current (00:00.910 / 00:27.563, 85Mb) Installing fhir.base.template#current to the package cache Fetching: Installing fhir.base.template#current done. onLoad.findSpreadsheets: onLoad.updateIg: [xslt] Processing /scratch/repo/template/onLoad-ig-working.xml to /scratch/repo/template/onLoad-ig-updated.xml [xslt] Loading stylesheet /scratch/repo/template/scripts/onLoad.xslt onLoad.extend: onLoad: Root directory: /scratch/repo (00:05.319 / 00:32.883, 136Mb) Terminology Cache is at /scratch/repo/input-cache/txcache. Trimming now (00:00.002 / 00:32.885, 136Mb) Core Package hl7.fhir.r4.core#4.0.1 Running Terminology Log: /tmp/ohfu-fhir-ig-13047448162094292673.log Connect to Terminology Server at http://tx.fhir.org (00:29.692 / 01:02.577, 575Mb) Installing hl7.fhir.pubpack#0.1.8 to the package cache Fetching: Installing hl7.fhir.pubpack#0.1.8 done. Load Package hl7.fhir.pubpack#0.1.8 Installing hl7.fhir.xver-extensions#0.1.0 to the package cache Fetching: Installing hl7.fhir.xver-extensions#0.1.0 done. Load Package hl7.fhir.xver-extensions#0.1.0 Load Package hl7.terminology.r4#6.0.2 Load Package hl7.fhir.uv.extensions.r4#5.1.0 Installing hl7.terminology.r4#5.3.0 to the package cache Fetching: Installing hl7.terminology.r4#5.3.0 done. Load Package hl7.terminology.r4#5.3.0 Installing hl7.fhir.uv.extensions.r4#1.0.0 to the package cache Fetching: Installing hl7.fhir.uv.extensions.r4#1.0.0 done. Load Package hl7.fhir.uv.extensions.r4#1.0.0 Installing hl7.fhir.uv.ipa#1.0.0 to the package cache Fetching: Installing hl7.fhir.uv.ipa#1.0.0 done. Installing hl7.terminology.r4#5.0.0 to the package cache Fetching: Installing hl7.terminology.r4#5.0.0 done. Load Package hl7.terminology.r4#5.0.0 Installing hl7.fhir.uv.smart-app-launch#2.0.0 to the package cache Fetching: Installing hl7.fhir.uv.smart-app-launch#2.0.0 done. Load Package hl7.fhir.uv.smart-app-launch#2.0.0 Load Package hl7.fhir.uv.ipa#1.0.0 Load Package hl7.fhir.fi.base#1.0.0 Installing hl7.fhir.uv.tools#0.2.0 to the package cache Fetching: Installing hl7.fhir.uv.tools#0.2.0 done. Version mismatch. This IG is version 4.0.1, while the IG 'hl7.fhir.uv.tools' is from version 5.0.0 (will try to run anyway) (00:43.349 / 01:45.927, 975Mb) Load Package hl7.fhir.uv.tools#0.2.0 Load R5 Specials Installing hl7.fhir.r5.core#5.0.0 to the package cache Fetching: Installing hl7.fhir.r5.core#5.0.0 done. Initialization complete (00:04.148 / 01:50.075, 663Mb) Load Content (00:00.000 / 01:50.075, 663Mb) Using fi_FI as the default narrative language. (inferred from ImplementationGuide.jurisdiction=FI) (00:00.091 / 01:50.167, 671Mb) loadPrePages from FetchedFile[/scratch/repo/input/includes] as /scratch/repo/input/includes loadPrePages from FetchedFile[/scratch/repo/fsh-generated/includes] as /scratch/repo/fsh-generated/includes loadPrePages from FetchedFile[/scratch/repo/input/pagecontent] as /scratch/repo/input/pagecontent Fetch https://hl7.fi/fhir/finnish-scheduling/package-list.json for version check (00:00.967 / 01:51.134, 711Mb) Fetch http://hl7.org/fhir/uv/ipa/package-list.json for version check (00:00.639 / 01:51.773, 714Mb) Processing Conformance Resources (00:00.137 / 01:51.911, 719Mb) Load Dependency Info (00:00.002 / 01:51.914, 719Mb) Load Info (00:00.001 / 01:51.916, 719Mb) Load Resources (00:00.000 / 01:51.917, 719Mb) Load Paths (00:00.343 / 01:52.260, 775Mb) Generating Snapshots (00:00.000 / 01:52.261, 775Mb) Check R4 / R4B (00:01.258 / 01:53.520, 1023Mb) Assign Comparison Ids (00:00.012 / 01:53.532, 1023Mb) Propagating status (00:00.000 / 01:53.532, 1023Mb) Generating Narratives (00:00.000 / 01:53.533, 1023Mb) Validating Conformance Resources (00:02.129 / 01:55.662, 830Mb) Check profiles & code systems (00:10.245 / 02:05.908, 482Mb) Check realm rules (00:00.004 / 02:05.912, 482Mb) Previous Version Comparison (00:00.000 / 02:05.913, 482Mb) Installing hl7.fhir.fi.scheduling#0.2.0 to the package cache Fetching: Installing hl7.fhir.fi.scheduling#0.2.0 done. Validating Resources (00:16.703 / 02:22.616, 1Gb) Processing Provenance Records (00:00.564 / 02:23.181, 1Gb) Generating Outputs in /scratch/repo/output (00:00.000 / 02:23.181, 1Gb) Generate Native Outputs (00:00.244 / 02:23.426, 1Gb) Run Template (00:04.568 / 02:27.995, 1Gb) onGenerate.checkVersions: [xslt] Processing /scratch/repo/template/onGenerate-ig-working.xml to /scratch/repo/template/versions.txt [xslt] Loading stylesheet /scratch/repo/template/scripts/onGenerate.getVersions.xslt [mkdir] Created dir: /scratch/repo/input-cache/schemas onGenerate.r5-schemas: [mkdir] Created dir: /scratch/repo/input-cache/schemas/R5 [get] Getting: http://build.fhir.org/fhir-single.xsd [get] To: /scratch/repo/input-cache/schemas/R5/fhir-single.xsd [get] Getting: http://build.fhir.org/fhir-xhtml.xsd [get] To: /scratch/repo/input-cache/schemas/R5/fhir-xhtml.xsd [get] Getting: http://build.fhir.org/xml.xsd [get] To: /scratch/repo/input-cache/schemas/R5/xml.xsd [get] Getting: http://build.fhir.org/xmldsig-core-schema.xsd [get] To: /scratch/repo/input-cache/schemas/R5/xmldsig-core-schema.xsd onGenerate.r4-schemas: [mkdir] Created dir: /scratch/repo/input-cache/schemas/R4 [get] Getting: http://hl7.org/fhir/R4/fhir-single.xsd [get] To: /scratch/repo/input-cache/schemas/R4/fhir-single.xsd [get] Getting: http://hl7.org/fhir/R4/fhir-xhtml.xsd [get] To: /scratch/repo/input-cache/schemas/R4/fhir-xhtml.xsd [get] Getting: http://hl7.org/fhir/R4/xml.xsd [get] To: /scratch/repo/input-cache/schemas/R4/xml.xsd [get] Getting: http://hl7.org/fhir/R4/xmldsig-core-schema.xsd [get] To: /scratch/repo/input-cache/schemas/R4/xmldsig-core-schema.xsd onGenerate.r3-schemas: onGenerate.r2b-schemas: onGenerate.r2-schemas: onGenerate.schemas: onGenerate.data: [xslt] Processing /scratch/repo/template/onGenerate-ig-working.xml to /scratch/repo/temp/pages/_data/artifacts.json [xslt] Loading stylesheet /scratch/repo/template/scripts/onGenerate.data.xslt onGenerate.setup: onGenerate.infoFile: [xslt] Processing /scratch/repo/template/onGenerate-ig-working.xml to /scratch/repo/temp/pages/_data/info.json [xslt] Loading stylesheet /scratch/repo/template/scripts/onGenerate.genJson.xslt onGenerate.processIncludes: [copy] Copying 19 files to /scratch/repo/temp/pages/_includes onGenerate.processIg: [xslt] Processing /scratch/repo/template/onGenerate-ig-working.xml to /scratch/repo/template/onGenerate-ig-working.1.xml [xslt] Loading stylesheet /scratch/repo/template/scripts/onGenerate.group.xslt [xslt] Processing /scratch/repo/template/onGenerate-ig-working.1.xml to /scratch/repo/template/onGenerate-ig-working.2.xml [xslt] Loading stylesheet /scratch/repo/template/scripts/onGenerate.groupSort.xslt [xslt] Processing /scratch/repo/template/onGenerate-ig-working.2.xml to /scratch/repo/template/onGenerate-ig-updated.xml [xslt] Loading stylesheet /scratch/repo/template/scripts/onGenerate.final.xslt onGenerate.igQa: [xslt] Processing /scratch/repo/template/onGenerate-ig-updated.xml to /scratch/repo/template/ongenerate-validation-igqa.json [xslt] Loading stylesheet /scratch/repo/template/scripts/onGenerate.qa.xslt onGenerate.artifactList: [xslt] Processing /scratch/repo/template/onGenerate-ig-updated.xml to /scratch/repo/temp/pages/_includes/artifacts.xml [xslt] Loading stylesheet /scratch/repo/template/scripts/createArtifactSummary.xslt check-plantumlfiles: onGenerate.plantUml.ig: onGenerate.plantUml.template: onGenerate.plantUml: onGenerate.copyDataFiles: onGenerate.extend: onGenerate: Template Done (00:01.443 / 02:29.438, 995Mb) Generate HTML Outputs (00:00.000 / 02:29.438, 995Mb) ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console... Generate Summaries (00:12.565 / 02:42.005, 1Gb) Generating Summary Outputs (00:00.000 / 02:42.005, 1Gb) DB Cumulative Time invested: 00:00:00.570 Sending Usage Stats to Server (00:12.779 / 02:54.785, 2Gb) ## Memory (MB): Use = 2262, Free = 16745, Total = 19008, Max = 19008 (00:00.010 / 02:54.795, 2Gb) Reclaiming memory... (00:00.000 / 02:54.796, 2Gb) ## Memory (MB): Use = 1285, Free = 17722, Total = 19008, Max = 19008 (00:01.388 / 02:56.184, 1Gb) Run jekyll: jekyll build --destination "/scratch/repo/output" (in folder /scratch/repo/temp/pages) (00:00.003 / 02:56.187, 1Gb) Troubleshooting Note: usual cases for Jekyll to fail are: (00:00.000 / 02:56.187, 1Gb) * A failure to produce a fragment that is already logged in the output above (00:00.000 / 02:56.188, 1Gb) * A reference to a manually edited file that hasn't been provided (00:00.000 / 02:56.188, 1Gb) Jekyll: Source: /scratch/repo/temp/pages (00:00.531 / 02:56.719, 1Gb) Jekyll: Generating... (00:00.000 / 02:56.719, 1Gb) Jekyll: done in 2.405 seconds. (00:02.404 / 02:59.123, 1Gb) Checking Output HTML (00:02.835 / 03:01.959, 2Gb) found 1003 files (00:00.008 / 03:01.968, 2Gb) ........................................ ........................................ ... 1003 html files, 0 pages invalid xhtml (0%) (00:13.086 / 03:15.054, 5Gb) ... 119599 links, 4 broken links (0%) (00:00.000 / 03:15.054, 5Gb) Generate fragment-usage-analysis.csv (00:00.000 / 03:15.055, 5Gb) Build final .zip (00:00.008 / 03:15.063, 5Gb) Final .zip built (00:02.627 / 03:17.690, 5Gb) Built. Times: loading: 00:01.835, generate: 01:30.755, narrative generation: 00:02.129, realm-rules: 00:00.000, previous-version: 00:16.669, jekyll: 00:02.958, validation: 00:10.576 (#35), template: 00:01.443 (#3) (00:05.009 / 03:22.699, 6Gb) Generating QA (00:00.000 / 03:22.700, 6Gb) Validation output in /scratch/repo/output/qa.html Errors: 14, Warnings: 44, Info: 2, Broken Links: 4 (00:01.002 / 03:23.702, 6Gb) Finished. Max Memory Used = 6Gb (00:00.020 / 03:23.722, 6Gb)