Plan responsible for building Docker images for the 3.x demo and development sites
Build: #1947 failed
Job: Build Frontend was successful
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 [1m[32m[immutable][39m[22m
#29 45.81 assets by path [1m[32m*.woff[39m[22m 1.35 MiB 90 assets
#29 45.81 assets by path [1m[32m*.woff2[39m[22m 1.04 MiB 90 assets
#29 45.81 assets by path [1m[32m*.js[39m[22m 1.18 MiB 3 assets
#29 45.81 asset [1m[33mopenmrs.fdcb289a73e92cfc.css[39m[22m [1m[33m1.3 MiB[39m[22m [1m[32m[emitted][39m[22m [1m[32m[immutable][39m[22m [1m[33m[big][39m[22m (name: main) 1 related asset
#29 45.81 assets by path [1m[32m*.png[39m[22m 64.8 KiB
#29 45.81 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 45.81 asset [1m[32micon_512x512.7163efb26df832de513bc58d925ea22e.png[39m[22m 13.9 KiB [1m[32m[emitted][39m[22m
#29 45.81 asset [1m[32micon_384x384.c8923df6b6bd08eba5c79b78d7fcecc0.png[39m[22m 12.7 KiB [1m[32m[emitted][39m[22m
#29 45.81 asset [1m[32micon_256x256.c729f6e7e914b58fcea5ce91d7aa9bad.png[39m[22m 6.87 KiB [1m[32m[emitted][39m[22m
#29 45.81 + 4 assets
#29 45.81 asset [1m[32mindex.html[39m[22m 3.03 KiB [1m[32m[emitted][39m[22m
#29 45.81 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 45.81 asset [1m[32mmanifest.5b75f75f5d42204f1d54b9e28a60208c.json[39m[22m 1.26 KiB [1m[32m[emitted][39m[22m
#29 45.81 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 45.81 Entrypoint [1mmain[39m[22m [1m[33m[big][39m[22m 2.45 MiB (1.53 MiB) = [1m[32mopenmrs.fdcb289a73e92cfc.css[39m[22m 1.3 MiB [1m[32mopenmrs.f75354cfd703e5dc.js[39m[22m 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) [1m[33m[orphan][39m[22m 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) [1m[33m[built][39m[22m
#29 45.81 javascript modules 4.35 MiB 227 modules
#29 45.81 css modules 1.31 MiB
#29 45.81 modules by path [1m../@react-spectrum/[39m[22m 582 KiB 11 modules
#29 45.81 modules by path [1m../@openmrs/[39m[22m 759 KiB 3 modules
#29 45.81 provide-module modules 420 bytes
#29 45.81 modules by path [1mprovide shared module (default) @openmrs/[39m[22m 84 bytes 2 modules
#29 45.81 + 8 modules
#29 45.81 consume-shared-module modules 420 bytes
#29 45.81 modules by path [1mconsume shared module (default) @openmrs/[39m[22m 84 bytes 2 modules
#29 45.81 + 8 modules
#29 45.81
#29 45.81 [1m[33mWARNING[39m[22m in [1masset 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)[39m[22m
#29 45.81
#29 45.81 [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 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 [39m[22m
#29 45.81
#29 45.81 webpack 5.89.0 compiled with [1m[33m2 warnings[39m[22m 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
#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 [1m[32m[immutable][39m[22m
#29 45.81 assets by path [1m[32m*.woff[39m[22m 1.35 MiB 90 assets
#29 45.81 assets by path [1m[32m*.woff2[39m[22m 1.04 MiB 90 assets
#29 45.81 assets by path [1m[32m*.js[39m[22m 1.18 MiB 3 assets
#29 45.81 asset [1m[33mopenmrs.fdcb289a73e92cfc.css[39m[22m [1m[33m1.3 MiB[39m[22m [1m[32m[emitted][39m[22m [1m[32m[immutable][39m[22m [1m[33m[big][39m[22m (name: main) 1 related asset
#29 45.81 assets by path [1m[32m*.png[39m[22m 64.8 KiB
#29 45.81 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 45.81 asset [1m[32micon_512x512.7163efb26df832de513bc58d925ea22e.png[39m[22m 13.9 KiB [1m[32m[emitted][39m[22m
#29 45.81 asset [1m[32micon_384x384.c8923df6b6bd08eba5c79b78d7fcecc0.png[39m[22m 12.7 KiB [1m[32m[emitted][39m[22m
#29 45.81 asset [1m[32micon_256x256.c729f6e7e914b58fcea5ce91d7aa9bad.png[39m[22m 6.87 KiB [1m[32m[emitted][39m[22m
#29 45.81 + 4 assets
#29 45.81 asset [1m[32mindex.html[39m[22m 3.03 KiB [1m[32m[emitted][39m[22m
#29 45.81 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 45.81 asset [1m[32mmanifest.5b75f75f5d42204f1d54b9e28a60208c.json[39m[22m 1.26 KiB [1m[32m[emitted][39m[22m
#29 45.81 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 45.81 Entrypoint [1mmain[39m[22m [1m[33m[big][39m[22m 2.45 MiB (1.53 MiB) = [1m[32mopenmrs.fdcb289a73e92cfc.css[39m[22m 1.3 MiB [1m[32mopenmrs.f75354cfd703e5dc.js[39m[22m 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) [1m[33m[orphan][39m[22m 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) [1m[33m[built][39m[22m
#29 45.81 javascript modules 4.35 MiB 227 modules
#29 45.81 css modules 1.31 MiB
#29 45.81 modules by path [1m../@react-spectrum/[39m[22m 582 KiB 11 modules
#29 45.81 modules by path [1m../@openmrs/[39m[22m 759 KiB 3 modules
#29 45.81 provide-module modules 420 bytes
#29 45.81 modules by path [1mprovide shared module (default) @openmrs/[39m[22m 84 bytes 2 modules
#29 45.81 + 8 modules
#29 45.81 consume-shared-module modules 420 bytes
#29 45.81 modules by path [1mconsume shared module (default) @openmrs/[39m[22m 84 bytes 2 modules
#29 45.81 + 8 modules
#29 45.81
#29 45.81 [1m[33mWARNING[39m[22m in [1masset 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)[39m[22m
#29 45.81
#29 45.81 [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 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 [39m[22m
#29 45.81
#29 45.81 webpack 5.89.0 compiled with [1m[33m2 warnings[39m[22m 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