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

Build: #1946 did not complete

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
xindi.openmrs.org
Revision
e81cf9e67a2dacd90418f325d22f15e350ab651b e81cf9e67a2dacd90418f325d22f15e350ab651b
Successful since
#1743 ()

Error summary

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

#25 44.67 npm WARN deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
#25 47.64 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 76.40 [openmrs] Reading configuration ...
#25 76.40 [openmrs] Assembling the importmap ...
#25 84.10 npm notice
#25 84.11 npm notice New major version of npm available! 9.8.1 -> 10.2.3
#25 84.11 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.3>
#25 84.11 npm notice Run `npm install -g npm@10.2.3` to update!
#25 84.11 npm notice
#25 DONE 84.7s

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

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

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

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

#34 exporting to image
#34 exporting layers
#34 exporting layers 10.9s done
#34 exporting manifest sha256:4ebcaa773e4af5bebd4ea61953eac3e2e458f582881a35c4ee0c20d86b097961 0.0s done
#34 exporting config sha256:771ada852a39bfed6203927d412c14d8147508bafeaa8033c54818a7e33ef93b 0.0s done
#34 exporting manifest sha256:1418c8f4283f1803f160e699f59a893df9cf130868379ce80d3d35cc9d145f61 0.0s done
#34 exporting config sha256:8bd862618d33c6ad83d4970948267be80f31de8c61ff750276765fce66835f0f 0.0s done
#34 exporting manifest list sha256:bbc31fa5c1536e6bb3641385d7dc8e1d213455fdd5b765df47c6f18d221673e0 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:bbc31fa5c1536e6bb3641385d7dc8e1d213455fdd5b765df47c6f18d221673e0
#34 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:bbc31fa5c1536e6bb3641385d7dc8e1d213455fdd5b765df47c6f18d221673e0 1.1s done
#34 pushing layers 1.2s done
#34 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:bbc31fa5c1536e6bb3641385d7dc8e1d213455fdd5b765df47c6f18d221673e0
#34 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:bbc31fa5c1536e6bb3641385d7dc8e1d213455fdd5b765df47c6f18d221673e0 0.7s done
#34 DONE 19.3s