Plan responsible for building Docker images for the 3.x demo and development sites

Build: #1752 was successful

Job: Build Frontend was successful

Stages & jobs

  1. Build

  2. Deploy

  3. Generate Prefilled Containers

Job result summary

Completed
Duration
3 minutes
Agent
xiao.openmrs.org
Revision
b884a4a894e6dc57ee9d67919bd3a9b7fe549b88 b884a4a894e6dc57ee9d67919bd3a9b7fe549b88
Successful since
#1743 ()

Error summary

The build generated some errors. See the full build log for more details.

#25 44.69 npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
#25 44.89 npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
#25 51.07 npm WARN deprecated intl-messageformat-parser@1.4.0: We've written a new parser that's 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser
#25 51.11 npm WARN deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
#25 51.69 npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
#25 94.07 [openmrs] Reading configuration ...
#25 94.10 [openmrs] Assembling the importmap ...
#25 99.81 npm notice
#25 99.81 npm notice New major version of npm available! 9.8.1 -> 10.2.0
#25 99.81 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.0>
#25 99.81 npm notice Run `npm install -g npm@10.2.0` to update!
#25 99.81 npm notice
#25 DONE 100.4s

#30 [linux/amd64 dev 6/7] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa
#30 3.122 npm WARN exec The following package was not found and will be installed: openmrs@5.2.1-pre.1058
#30 7.685 [openmrs] Running build process ...
#30 47.20 (node:37) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
#30 47.20 BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
#30 47.20         Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
#30 47.20         Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
#30 47.20 (Use `node --trace-deprecation ...` to show where the warning was created)
#30 47.51 assets by info 4.88 MiB [immutable]
#30 47.51   assets by path *.woff 1.35 MiB 90 assets
#30 47.51   assets by path *.woff2 1.04 MiB 90 assets
#30 47.51   assets by path *.js 1.18 MiB 4 assets
#30 47.51   asset openmrs.f96bacfdad9b5783.css 1.3 MiB [emitted] [immutable] [big] (name: main) 1 related asset
#30 47.51 assets by path *.png 64.8 KiB
#30 47.51   asset logo-512.png 15.5 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo-512.png] [copied]
#30 47.51   asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
#30 47.51   asset icon_384x384.c8923df6b6bd08eba5c79b78d7fcecc0.png 12.7 KiB [emitted]
#30 47.51   asset icon_256x256.c729f6e7e914b58fcea5ce91d7aa9bad.png 6.87 KiB [emitted]
#30 47.51   + 4 assets
#30 47.51 asset index.html 2.96 KiB [emitted]
#30 47.51 asset logo.svg 1.33 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo.svg] [copied]
#30 47.51 asset manifest.c61e464ba60302bdc2442acdd49954f1.json 1.2 KiB [emitted]
#30 47.51 asset favicon.ico 1.12 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/favicon.ico] [copied]
#30 47.51 Entrypoint main [big] 2.43 MiB (1.5 MiB) = openmrs.f96bacfdad9b5783.css 1.3 MiB openmrs.058042e91246406f.js 1.13 MiB 2 auxiliary assets
#30 47.51 orphan modules 10.9 MiB (javascript) 39.7 KiB (css/mini-extract) 2.4 MiB (asset) 46.2 KiB (runtime) [orphan] 1487 modules
#30 47.51 runtime modules 19 KiB 14 modules
#30 47.51 built modules 4.39 MiB (javascript) 1.31 MiB (css/mini-extract) 420 bytes (share-init) 420 bytes (consume-shared) [built]
#30 47.51   javascript modules 4.39 MiB 234 modules
#30 47.51   css modules 1.31 MiB
#30 47.51     modules by path ../@react-spectrum/ 582 KiB 11 modules
#30 47.51     modules by path ../@openmrs/ 759 KiB 3 modules
#30 47.51   provide-module modules 420 bytes
#30 47.51     modules by path provide shared module (default) @openmrs/ 84 bytes 2 modules
#30 47.51     + 8 modules
#30 47.51   consume-shared-module modules 420 bytes
#30 47.51     modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
#30 47.51     + 8 modules
#30 47.51
#30 47.51 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
#30 47.51 This can impact web performance.
#30 47.51 Assets:
#30 47.51   openmrs.f96bacfdad9b5783.css (1.3 MiB)
#30 47.51   openmrs.058042e91246406f.js (1.13 MiB)
#30 47.51
#30 47.51 WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
#30 47.51 Entrypoints:
#30 47.51   main (2.43 MiB)
#30 47.51       openmrs.f96bacfdad9b5783.css
#30 47.51       openmrs.058042e91246406f.js
#30 47.51 
#30 47.51
#30 47.51 webpack 5.88.2 compiled with 2 warnings in 38532 ms
#30 47.51 [openmrs] Build finished.
#30 DONE 47.7s

#31 [linux/amd64 dev 7/7] RUN if [ ! -f ./spa/index.html ]; then echo 'Build failed. Please check the logs above for details. This may have happened because of an update to a library that OpenMRS depends on.'; exit 1; fi
#31 DONE 0.1s

#32 [linux/arm64 stage-1 7/7] COPY --from=dev /app/spa /usr/share/nginx/html
#32 DONE 0.9s

#33 [linux/amd64 stage-1 7/7] COPY --from=dev /app/spa /usr/share/nginx/html
#33 DONE 0.9s

#34 exporting to image
#34 exporting layers
#34 exporting layers 13.8s done
#34 exporting manifest sha256:9587d2e17ecc35c3034f20225860786796c6968e480ab8b94fc8bce98cfafebd 0.0s done
#34 exporting config sha256:341c2eca4b0394bf53f037dacc5d604bb5e92a81a899d332b111b2e2a3e50027 0.0s done
#34 exporting manifest sha256:bc4a45551a66604bd19b2e1a9ec6f46b87b511e3c58964669ebceec9a9912de8 0.0s done
#34 exporting config sha256:68cc9ced9147502bc871c277017248433e8ad1d1ed503042ae9ee526855e3165 0.0s done
#34 exporting manifest list sha256:2904a0dbe3535beb2512ac4b68520eab3e8c1981084eb461cb56576f3627feb9 0.0s done
#34 pushing layers
#34 ...

#35 [auth] openmrs/openmrs-reference-application-3-frontend:pull,push token for registry-1.docker.io
#35 DONE 0.0s

#34 exporting to image
#34 pushing layers 5.3s done
#34 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:2904a0dbe3535beb2512ac4b68520eab3e8c1981084eb461cb56576f3627feb9
#34 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:2904a0dbe3535beb2512ac4b68520eab3e8c1981084eb461cb56576f3627feb9 0.9s done
#34 pushing layers 1.2s done
#34 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:2904a0dbe3535beb2512ac4b68520eab3e8c1981084eb461cb56576f3627feb9
#34 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:2904a0dbe3535beb2512ac4b68520eab3e8c1981084eb461cb56576f3627feb9 0.5s done
#34 DONE 21.7s