Plan responsible for building Docker images for the 3.x demo and development sites
Build: #2189 failed
Job: Build Frontend was successful
Job result summary
- Completed
- Duration
- 2 minutes
- Agent
- xindi.openmrs.org
- Revision
-
2f8f9443b3b42e7c91bb730fdcaaf153d501bc6d
2f8f9443b3b42e7c91bb730fdcaaf153d501bc6d - Successful since
- #2063 ()
Error summary
The build generated some errors. See the full build log for more details.
#24 48.83 npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
#24 49.75 npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
#24 50.62 npm WARN deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
#24 52.31 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
#24 75.19 [openmrs] Reading configuration ...
#24 75.19 [openmrs] Assembling the importmap ...
#24 82.10 npm notice
#24 82.10 npm notice New minor version of npm available! 10.2.3 -> 10.3.0
#24 82.11 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.3.0>
#24 82.11 npm notice Run `npm install -g npm@10.3.0` to update!
#24 82.11 npm notice
#24 DONE 82.6s
#29 [linux/amd64 dev 6/7] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa
#29 2.532 npm WARN exec The following package was not found and will be installed: openmrs@5.3.3-pre.1395
#29 6.360 [openmrs] Running build process ...
#29 41.85 (node:23) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
#29 41.85 BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
#29 41.85 Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
#29 41.85 Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
#29 41.85 (Use `node --trace-deprecation ...` to show where the warning was created)
#29 42.22 assets by info 4.79 MiB [1m[32m[immutable][39m[22m
#29 42.22 assets by path [1m[32m*.woff[39m[22m 1.35 MiB 90 assets
#29 42.22 assets by path [1m[32m*.woff2[39m[22m 1.04 MiB 90 assets
#29 42.22 assets by path [1m[32m*.js[39m[22m 1.22 MiB 3 assets
#29 42.22 asset [1m[33mopenmrs.a6899a603c61b967.css[39m[22m [1m[33m1.18 MiB[39m[22m [1m[32m[emitted][39m[22m [1m[32m[immutable][39m[22m [1m[33m[big][39m[22m (name: main) 1 related asset
#29 42.22 assets by path [1m[32m*.png[39m[22m 64.8 KiB
#29 42.22 asset [1m[32mlogo-512.png[39m[22m 15.5 KiB [1m[32m[emitted][39m[22m [from: ../@openmrs/esm-app-shell/src/assets/logo-512.png] [1m[32m[copied][39m[22m
#29 42.22 asset [1m[32micon_512x512.7163efb26df832de513bc58d925ea22e.png[39m[22m 13.9 KiB [1m[32m[emitted][39m[22m
#29 42.22 asset [1m[32micon_384x384.c8923df6b6bd08eba5c79b78d7fcecc0.png[39m[22m 12.7 KiB [1m[32m[emitted][39m[22m
#29 42.22 asset [1m[32micon_256x256.c729f6e7e914b58fcea5ce91d7aa9bad.png[39m[22m 6.87 KiB [1m[32m[emitted][39m[22m
#29 42.22 + 4 assets
#29 42.22 asset [1m[32mindex.html[39m[22m 3.07 KiB [1m[32m[emitted][39m[22m
#29 42.22 asset [1m[32mlogo.svg[39m[22m 1.33 KiB [1m[32m[emitted][39m[22m [from: ../@openmrs/esm-app-shell/src/assets/logo.svg] [1m[32m[copied][39m[22m
#29 42.22 asset [1m[32mmanifest.5b75f75f5d42204f1d54b9e28a60208c.json[39m[22m 1.26 KiB [1m[32m[emitted][39m[22m
#29 42.22 asset [1m[32mfavicon.ico[39m[22m 1.12 KiB [1m[32m[emitted][39m[22m [from: ../@openmrs/esm-app-shell/src/assets/favicon.ico] [1m[32m[copied][39m[22m
#29 42.22 Entrypoint [1mmain[39m[22m [1m[33m[big][39m[22m 2.36 MiB (1.59 MiB) = [1m[32mopenmrs.a6899a603c61b967.css[39m[22m 1.18 MiB [1m[32mopenmrs.8029feba92272148.js[39m[22m 1.18 MiB 2 auxiliary assets
#29 42.22 orphan modules 10.8 MiB (javascript) 35.1 KiB (css/mini-extract) 2.4 MiB (asset) 48.9 KiB (runtime) [1m[33m[orphan][39m[22m 1844 modules
#29 42.22 runtime modules 18.9 KiB 13 modules
#29 42.22 built modules 4.52 MiB (javascript) 1.18 MiB (css/mini-extract) 420 bytes (share-init) 420 bytes (consume-shared) [1m[33m[built][39m[22m
#29 42.22 javascript modules 4.52 MiB 234 modules
#29 42.22 css modules 1.18 MiB
#29 42.22 modules by path [1m../@react-spectrum/[39m[22m 447 KiB 11 modules
#29 42.22 modules by path [1m../@openmrs/[39m[22m 764 KiB 4 modules
#29 42.22 provide-module modules 420 bytes
#29 42.22 modules by path [1mprovide shared module (default) @openmrs/[39m[22m 84 bytes 2 modules
#29 42.22 + 8 modules
#29 42.22 consume-shared-module modules 420 bytes
#29 42.22 modules by path [1mconsume shared module (default) @openmrs/[39m[22m 84 bytes 2 modules
#29 42.22 + 8 modules
#29 42.22
#29 42.22 [1m[33mWARNING[39m[22m in [1masset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
#29 42.22 This can impact web performance.
#29 42.22 Assets:
#29 42.22 openmrs.a6899a603c61b967.css (1.18 MiB)
#29 42.22 openmrs.8029feba92272148.js (1.18 MiB)[39m[22m
#29 42.22
#29 42.22 [1m[33mWARNING[39m[22m in [1mentrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
#29 42.22 Entrypoints:
#29 42.22 main (2.36 MiB)
#29 42.22 openmrs.a6899a603c61b967.css
#29 42.22 openmrs.8029feba92272148.js
#29 42.22 [39m[22m
#29 42.22
#29 42.22 webpack 5.89.0 compiled with [1m[33m2 warnings[39m[22m in 34939 ms
#29 42.22 [openmrs] Build finished.
#29 DONE 42.4s
#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/arm64 stage-1 7/7] COPY --from=dev /app/spa /usr/share/nginx/html
#31 DONE 0.9s
#32 [linux/amd64 stage-1 7/7] COPY --from=dev /app/spa /usr/share/nginx/html
#32 DONE 0.9s
#33 exporting to image
#33 exporting layers
#33 exporting layers 13.4s done
#33 exporting manifest sha256:63a23f6a1eac2f29528ff1d6943b0509a221504536961558f9a2217396a5257e 0.0s done
#33 exporting config sha256:ea14b42043c62e26e3599c60e3921f87e44682a92f49cf82a59a40503ae1568f
#33 exporting config sha256:ea14b42043c62e26e3599c60e3921f87e44682a92f49cf82a59a40503ae1568f 0.0s done
#33 exporting manifest sha256:82950f3e3108bef0b113438218d305133453598f7b674d9830a54db3068312ad 0.0s done
#33 exporting config sha256:07b66085e504b9cc6411a4c0bc9e49ed721628b849b929721b4ebe0d41f1c014 0.0s done
#33 exporting manifest list sha256:4f1f65dfe11befbe5bae59a5c57acb32eeae8f8e26cebe2f325f460c652b8827 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 4.0s done
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:4f1f65dfe11befbe5bae59a5c57acb32eeae8f8e26cebe2f325f460c652b8827
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:4f1f65dfe11befbe5bae59a5c57acb32eeae8f8e26cebe2f325f460c652b8827 0.8s done
#33 pushing layers 1.0s done
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:4f1f65dfe11befbe5bae59a5c57acb32eeae8f8e26cebe2f325f460c652b8827
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:4f1f65dfe11befbe5bae59a5c57acb32eeae8f8e26cebe2f325f460c652b8827 0.3s done
#33 DONE 19.8s
#24 49.75 npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
#24 50.62 npm WARN deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
#24 52.31 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
#24 75.19 [openmrs] Reading configuration ...
#24 75.19 [openmrs] Assembling the importmap ...
#24 82.10 npm notice
#24 82.10 npm notice New minor version of npm available! 10.2.3 -> 10.3.0
#24 82.11 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.3.0>
#24 82.11 npm notice Run `npm install -g npm@10.3.0` to update!
#24 82.11 npm notice
#24 DONE 82.6s
#29 [linux/amd64 dev 6/7] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa
#29 2.532 npm WARN exec The following package was not found and will be installed: openmrs@5.3.3-pre.1395
#29 6.360 [openmrs] Running build process ...
#29 41.85 (node:23) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
#29 41.85 BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
#29 41.85 Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
#29 41.85 Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
#29 41.85 (Use `node --trace-deprecation ...` to show where the warning was created)
#29 42.22 assets by info 4.79 MiB [1m[32m[immutable][39m[22m
#29 42.22 assets by path [1m[32m*.woff[39m[22m 1.35 MiB 90 assets
#29 42.22 assets by path [1m[32m*.woff2[39m[22m 1.04 MiB 90 assets
#29 42.22 assets by path [1m[32m*.js[39m[22m 1.22 MiB 3 assets
#29 42.22 asset [1m[33mopenmrs.a6899a603c61b967.css[39m[22m [1m[33m1.18 MiB[39m[22m [1m[32m[emitted][39m[22m [1m[32m[immutable][39m[22m [1m[33m[big][39m[22m (name: main) 1 related asset
#29 42.22 assets by path [1m[32m*.png[39m[22m 64.8 KiB
#29 42.22 asset [1m[32mlogo-512.png[39m[22m 15.5 KiB [1m[32m[emitted][39m[22m [from: ../@openmrs/esm-app-shell/src/assets/logo-512.png] [1m[32m[copied][39m[22m
#29 42.22 asset [1m[32micon_512x512.7163efb26df832de513bc58d925ea22e.png[39m[22m 13.9 KiB [1m[32m[emitted][39m[22m
#29 42.22 asset [1m[32micon_384x384.c8923df6b6bd08eba5c79b78d7fcecc0.png[39m[22m 12.7 KiB [1m[32m[emitted][39m[22m
#29 42.22 asset [1m[32micon_256x256.c729f6e7e914b58fcea5ce91d7aa9bad.png[39m[22m 6.87 KiB [1m[32m[emitted][39m[22m
#29 42.22 + 4 assets
#29 42.22 asset [1m[32mindex.html[39m[22m 3.07 KiB [1m[32m[emitted][39m[22m
#29 42.22 asset [1m[32mlogo.svg[39m[22m 1.33 KiB [1m[32m[emitted][39m[22m [from: ../@openmrs/esm-app-shell/src/assets/logo.svg] [1m[32m[copied][39m[22m
#29 42.22 asset [1m[32mmanifest.5b75f75f5d42204f1d54b9e28a60208c.json[39m[22m 1.26 KiB [1m[32m[emitted][39m[22m
#29 42.22 asset [1m[32mfavicon.ico[39m[22m 1.12 KiB [1m[32m[emitted][39m[22m [from: ../@openmrs/esm-app-shell/src/assets/favicon.ico] [1m[32m[copied][39m[22m
#29 42.22 Entrypoint [1mmain[39m[22m [1m[33m[big][39m[22m 2.36 MiB (1.59 MiB) = [1m[32mopenmrs.a6899a603c61b967.css[39m[22m 1.18 MiB [1m[32mopenmrs.8029feba92272148.js[39m[22m 1.18 MiB 2 auxiliary assets
#29 42.22 orphan modules 10.8 MiB (javascript) 35.1 KiB (css/mini-extract) 2.4 MiB (asset) 48.9 KiB (runtime) [1m[33m[orphan][39m[22m 1844 modules
#29 42.22 runtime modules 18.9 KiB 13 modules
#29 42.22 built modules 4.52 MiB (javascript) 1.18 MiB (css/mini-extract) 420 bytes (share-init) 420 bytes (consume-shared) [1m[33m[built][39m[22m
#29 42.22 javascript modules 4.52 MiB 234 modules
#29 42.22 css modules 1.18 MiB
#29 42.22 modules by path [1m../@react-spectrum/[39m[22m 447 KiB 11 modules
#29 42.22 modules by path [1m../@openmrs/[39m[22m 764 KiB 4 modules
#29 42.22 provide-module modules 420 bytes
#29 42.22 modules by path [1mprovide shared module (default) @openmrs/[39m[22m 84 bytes 2 modules
#29 42.22 + 8 modules
#29 42.22 consume-shared-module modules 420 bytes
#29 42.22 modules by path [1mconsume shared module (default) @openmrs/[39m[22m 84 bytes 2 modules
#29 42.22 + 8 modules
#29 42.22
#29 42.22 [1m[33mWARNING[39m[22m in [1masset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
#29 42.22 This can impact web performance.
#29 42.22 Assets:
#29 42.22 openmrs.a6899a603c61b967.css (1.18 MiB)
#29 42.22 openmrs.8029feba92272148.js (1.18 MiB)[39m[22m
#29 42.22
#29 42.22 [1m[33mWARNING[39m[22m in [1mentrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
#29 42.22 Entrypoints:
#29 42.22 main (2.36 MiB)
#29 42.22 openmrs.a6899a603c61b967.css
#29 42.22 openmrs.8029feba92272148.js
#29 42.22 [39m[22m
#29 42.22
#29 42.22 webpack 5.89.0 compiled with [1m[33m2 warnings[39m[22m in 34939 ms
#29 42.22 [openmrs] Build finished.
#29 DONE 42.4s
#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/arm64 stage-1 7/7] COPY --from=dev /app/spa /usr/share/nginx/html
#31 DONE 0.9s
#32 [linux/amd64 stage-1 7/7] COPY --from=dev /app/spa /usr/share/nginx/html
#32 DONE 0.9s
#33 exporting to image
#33 exporting layers
#33 exporting layers 13.4s done
#33 exporting manifest sha256:63a23f6a1eac2f29528ff1d6943b0509a221504536961558f9a2217396a5257e 0.0s done
#33 exporting config sha256:ea14b42043c62e26e3599c60e3921f87e44682a92f49cf82a59a40503ae1568f
#33 exporting config sha256:ea14b42043c62e26e3599c60e3921f87e44682a92f49cf82a59a40503ae1568f 0.0s done
#33 exporting manifest sha256:82950f3e3108bef0b113438218d305133453598f7b674d9830a54db3068312ad 0.0s done
#33 exporting config sha256:07b66085e504b9cc6411a4c0bc9e49ed721628b849b929721b4ebe0d41f1c014 0.0s done
#33 exporting manifest list sha256:4f1f65dfe11befbe5bae59a5c57acb32eeae8f8e26cebe2f325f460c652b8827 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 4.0s done
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:4f1f65dfe11befbe5bae59a5c57acb32eeae8f8e26cebe2f325f460c652b8827
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:4f1f65dfe11befbe5bae59a5c57acb32eeae8f8e26cebe2f325f460c652b8827 0.8s done
#33 pushing layers 1.0s done
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:4f1f65dfe11befbe5bae59a5c57acb32eeae8f8e26cebe2f325f460c652b8827
#33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:4f1f65dfe11befbe5bae59a5c57acb32eeae8f8e26cebe2f325f460c652b8827 0.3s done
#33 DONE 19.8s