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

Build: #1947 failed

Job: Build Frontend was successful

Stages & jobs

  1. Build

  2. Deploy

  3. Generate pre-filled Docker Images

  4. Run E2E tests

Job result summary

Completed
Duration
2 minutes
Agent
yu.openmrs.org
Revision
e81cf9e67a2dacd90418f325d22f15e350ab651b e81cf9e67a2dacd90418f325d22f15e350ab651b
Successful since
#1743 ()

Error summary

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

#20 35.25 npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
#20 35.77 npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
#20 36.82 npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
#20 37.34 npm WARN deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
#20 40.25 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
#20 72.72 [openmrs] Reading configuration ...
#20 72.73 [openmrs] Assembling the importmap ...
#20 77.53 npm notice
#20 77.53 npm notice New major version of npm available! 9.8.1 -> 10.2.3
#20 77.53 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.3>
#20 77.53 npm notice Run `npm install -g npm@10.2.3` to update!
#20 77.53 npm notice
#20 DONE 78.2s

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

#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.1s

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

#33 exporting to image
#33 exporting layers
#33 exporting layers 13.3s done
#33 exporting manifest sha256:730d593417c96ee6a3491df929d6fa0a42d863ac8b272c19116a0df5f332ae2a 0.0s done
#33 exporting config sha256:e4ebab16dba437756999347aa157ca05d35c41598d4d1e901cedd61c6970a049 0.0s done
#33 exporting manifest sha256:3332c09eecd579e1b1cc2c49529db99c367032eb3b3aff35c5fad061b534b94e 0.0s done
#33 exporting config sha256:1ec07936af8b4602de673f599d25f857ea479e12629968e3d5227bb22795d7cc 0.0s done
#33 exporting manifest list sha256:07bc18066bdecc53d6d1e1088f75aa24205e8d3e0e9635669a20d47c489d7186 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.3s done
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:07bc18066bdecc53d6d1e1088f75aa24205e8d3e0e9635669a20d47c489d7186
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:07bc18066bdecc53d6d1e1088f75aa24205e8d3e0e9635669a20d47c489d7186 1.1s done
#33 pushing layers 3.2s done
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:07bc18066bdecc53d6d1e1088f75aa24205e8d3e0e9635669a20d47c489d7186
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:07bc18066bdecc53d6d1e1088f75aa24205e8d3e0e9635669a20d47c489d7186 0.4s done
#33 DONE 23.4s