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

Build: #2066 was successful

Job: Build Frontend was successful

Job result summary

Completed
Duration
2 minutes
Agent
xiao.openmrs.org
Revision
99a92ce16aca36941d06f378371ab5172aa68a23 99a92ce16aca36941d06f378371ab5172aa68a23
Successful since
#2063 ()

Error summary

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

#25 32.30 npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
#25 33.67 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 34.12 npm WARN deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
#25 35.63 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 65.00 [openmrs] Reading configuration ...
#25 65.00 [openmrs] Assembling the importmap ...
#25 69.68 npm notice
#25 69.68 npm notice New patch version of npm available! 10.2.3 -> 10.2.4
#25 69.68 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.4>
#25 69.68 npm notice Run `npm install -g npm@10.2.4` to update!
#25 69.68 npm notice
#25 DONE 70.2s

#29 [linux/amd64 dev 6/7] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa
#29 3.462 npm WARN exec The following package was not found and will be installed: openmrs@5.3.3-pre.1231
#29 7.616 [openmrs] Running build process ...
#29 45.97 (node:23) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
#29 45.97 BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
#29 45.97         Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
#29 45.97         Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
#29 45.97 (Use `node --trace-deprecation ...` to show where the warning was created)
#29 46.37 assets by info 4.75 MiB [immutable]
#29 46.37   assets by path *.woff 1.35 MiB 90 assets
#29 46.37   assets by path *.woff2 1.04 MiB 90 assets
#29 46.37   assets by path *.js 1.2 MiB 3 assets
#29 46.37   asset openmrs.f51ae97698028f59.css 1.16 MiB [emitted] [immutable] [big] (name: main) 1 related asset
#29 46.37 assets by path *.png 64.8 KiB
#29 46.37   asset logo-512.png 15.5 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo-512.png] [copied]
#29 46.37   asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
#29 46.37   asset icon_384x384.c8923df6b6bd08eba5c79b78d7fcecc0.png 12.7 KiB [emitted]
#29 46.37   asset icon_256x256.c729f6e7e914b58fcea5ce91d7aa9bad.png 6.87 KiB [emitted]
#29 46.37   + 4 assets
#29 46.37 asset index.html 3.07 KiB [emitted]
#29 46.37 asset logo.svg 1.33 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo.svg] [copied]
#29 46.37 asset manifest.5b75f75f5d42204f1d54b9e28a60208c.json 1.26 KiB [emitted]
#29 46.37 asset favicon.ico 1.12 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/favicon.ico] [copied]
#29 46.37 Entrypoint main [big] 2.33 MiB (1.54 MiB) = openmrs.f51ae97698028f59.css 1.16 MiB openmrs.4bfaae3bb59ed598.js 1.17 MiB 2 auxiliary assets
#29 46.37 orphan modules 10.6 MiB (javascript) 29.9 KiB (css/mini-extract) 2.4 MiB (asset) 48.9 KiB (runtime) [orphan] 1500 modules
#29 46.37 runtime modules 19.1 KiB 14 modules
#29 46.37 built modules 4.44 MiB (javascript) 1.16 MiB (css/mini-extract) 420 bytes (share-init) 420 bytes (consume-shared) [built]
#29 46.37   javascript modules 4.44 MiB 228 modules
#29 46.37   css modules 1.16 MiB
#29 46.37     modules by path ../@react-spectrum/ 429 KiB 11 modules
#29 46.37     modules by path ../@openmrs/ 761 KiB 4 modules
#29 46.37   provide-module modules 420 bytes
#29 46.37     modules by path provide shared module (default) @openmrs/ 84 bytes 2 modules
#29 46.37     + 8 modules
#29 46.37   consume-shared-module modules 420 bytes
#29 46.37     modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
#29 46.37     + 8 modules
#29 46.37
#29 46.37 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
#29 46.37 This can impact web performance.
#29 46.37 Assets:
#29 46.37   openmrs.f51ae97698028f59.css (1.16 MiB)
#29 46.37   openmrs.4bfaae3bb59ed598.js (1.17 MiB)
#29 46.37
#29 46.37 WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
#29 46.37 Entrypoints:
#29 46.37   main (2.33 MiB)
#29 46.37       openmrs.f51ae97698028f59.css
#29 46.37       openmrs.4bfaae3bb59ed598.js
#29 46.37 
#29 46.37
#29 46.37 webpack 5.89.0 compiled with 2 warnings in 37734 ms
#29 46.37 [openmrs] Build finished.
#29 DONE 46.6s

#30 [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
#30 DONE 0.1s

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

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

#33 exporting to image
#33 exporting layers
#33 exporting layers 11.4s done
#33 exporting manifest sha256:cb07d6c587b4a05c172610ac0373313ad2c40ce71cef1b7c3ab0b140e7e6b907 0.0s done
#33 exporting config sha256:d674d17c2b5047755732eb9e33880c3596a7ce3a1aa55c0b67d6eed12d825062
#33 exporting config sha256:d674d17c2b5047755732eb9e33880c3596a7ce3a1aa55c0b67d6eed12d825062 0.0s done
#33 exporting manifest sha256:25c89625952fbef94be553f6f6b43fedc7707da72757844696fab80275f3d3a0 0.0s done
#33 exporting config sha256:b766f26a21c190979b7cc19b8c7a3dc25752730490fedd3a73990de6b3e0ff5b 0.0s done
#33 exporting manifest list sha256:967e6429b6a0ae7857066eef285d8283e8cd40f76f2b13f6bc1c33c81a4f7c84 0.0s done
#33 pushing layers
#33 ...

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

#33 exporting to image
#33 pushing layers 5.7s done
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:967e6429b6a0ae7857066eef285d8283e8cd40f76f2b13f6bc1c33c81a4f7c84
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:967e6429b6a0ae7857066eef285d8283e8cd40f76f2b13f6bc1c33c81a4f7c84 0.8s done
#33 pushing layers 3.1s done
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:967e6429b6a0ae7857066eef285d8283e8cd40f76f2b13f6bc1c33c81a4f7c84
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:967e6429b6a0ae7857066eef285d8283e8cd40f76f2b13f6bc1c33c81a4f7c84 0.5s done
#33 DONE 21.6s