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

Build: #571 failed Manual run by Github Actions

Stages & jobs

  1. Build

  2. Deploy

Build result summary

Details

Completed
Queue duration
< 1 second
Duration
9 minutes
Labels
None
Revisions
Distribution 3.x
6d6262b60bb90a3a752d847c2564a47d868bec65 6d6262b60bb90a3a752d847c2564a47d868bec65
Release scripts
ced9ff00825ca1cb8c744547be4ba8ff994bd71b ced9ff00825ca1cb8c744547be4ba8ff994bd71b
Fixed in
#572 (Manual run by Github Actions)
No failed test found. A possible compilation error occurred.

Responsible

No one has taken responsibility for this failure

Error summary for Build Frontend

The job generated some errors, drill down into the full build log for more details.

#14 extracting sha256:092122bdc81dfcba73d372e7bee1790d1b350c13ecbeef6f80d16f3351d12cc8 0.1s done
#14 extracting sha256:bb654436a2bdf119a00dccfd2b2c4c8f6dd0a6fffb1139aea778bd98ebd86b95 0.0s done
#14 DONE 2.5s

#15 [linux/amd64 dev 2/6] RUN mkdir -p /app
#15 DONE 0.4s

#16 [linux/amd64 dev 3/6] WORKDIR /app
#16 DONE 0.1s

#17 [linux/amd64 dev 4/6] COPY spa-build-config.json .
#17 DONE 0.1s

#18 [linux/amd64 dev 5/6] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa
#18 1.198 npm WARN exec The following package was not found and will be installed: openmrs@4.0.3-pre.464
#18 23.59 npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
#18 24.21 npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
#18 24.45 npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
#18 25.98 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
#18 27.99 npm WARN deprecated intl-messageformat-parser@1.4.0: We've written a new parser that's 6x faster and is backwards compatible. Please use @formatjs/icu-messageformat-parser
#18 47.35 [openmrs] Running build process ...
#18 82.67 (node:87) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
#18 82.67 BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
#18 82.67         Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
#18 82.67         Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
#18 82.67 (Use `node --trace-deprecation ...` to show where the warning was created)
#18 82.99 assets by info 2.4 MiB [immutable]
#18 82.99   assets by path *.woff 1.35 MiB 90 assets
#18 82.99   assets by path *.woff2 1.04 MiB 90 assets
#18 82.99   + 1 asset
#18 82.99 assets by path *.png 64.8 KiB
#18 82.99   asset logo-512.png 15.5 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo-512.png] [copied]
#18 82.99   asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
#18 82.99   + 6 assets
#18 82.99 assets by status 1.82 MiB [big]
#18 82.99   asset openmrs.js 1.18 MiB [emitted] [minimized] [big] (name: main) 1 related asset
#18 82.99   asset openmrs.css 659 KiB [emitted] [big] (name: main)
#18 82.99 + 5 assets
#18 82.99 Entrypoint main [big] 1.82 MiB = openmrs.css 659 KiB openmrs.js 1.18 MiB
#18 82.99 orphan modules 4.8 MiB (javascript) 2.4 MiB (asset) 8.18 KiB (runtime) [orphan] 1248 modules
#18 82.99 runtime modules 19.2 KiB 15 modules
#18 82.99 built modules 3.9 MiB (javascript) 420 bytes (share-init) 420 bytes (consume-shared) 665 KiB (css/mini-extract) [built]
#18 82.99   javascript modules 3.9 MiB 259 modules
#18 82.99   provide-module modules 420 bytes
#18 82.99     modules by path provide shared module (default) @openmrs/ 84 bytes 2 modules
#18 82.99     + 8 modules
#18 82.99   consume-shared-module modules 420 bytes
#18 82.99     modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
#18 82.99     + 8 modules
#18 82.99   css modules 665 KiB
#18 82.99     css ../css-loader/dist/cjs.js!../sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../@openmrs/esm-styleguide/dist/openmrs-esm-styleguide.css 663 KiB [built] [code generated]
#18 82.99     css ../css-loader/dist/cjs.js!../sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../@openmrs/esm-styleguide/src/left-nav/left-nav.module.scss 930 bytes [built] [code generated]
#18 82.99     css ../css-loader/dist/cjs.js!../sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../@openmrs/esm-styleguide/src/error-state/error-state.module.scss 1.5 KiB [built] [code generated]
#18 82.99
#18 82.99 LOG from InjectManifest
#18 82.99 <i> The service worker at service-worker.js will precache
#18 82.99 <i>         189 URLs, totaling 4.44 MB.
#18 82.99
#18 82.99 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
#18 82.99 This can impact web performance.
#18 82.99 Assets:
#18 82.99   openmrs.css (659 KiB)
#18 82.99   openmrs.js (1.18 MiB)
#18 82.99
#18 82.99 WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
#18 82.99 Entrypoints:
#18 82.99   main (1.82 MiB)
#18 82.99       openmrs.css
#18 82.99       openmrs.js
#18 82.99 
#18 82.99
#18 82.99 webpack 5.75.0 compiled with 2 warnings in 34879 ms
#18 82.99 [openmrs] Build finished.
#18 83.06 npm notice
#18 83.06 npm notice New major version of npm available! 8.19.3 -> 9.2.0
#18 83.06 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.2.0>
#18 83.06 npm notice Run `npm install -g npm@9.2.0` to update!
#18 83.06 npm notice
#18 DONE 83.3s

#19 [linux/amd64 dev 6/6] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-build-config.json --target ./spa
#19 3.637 [openmrs] Reading configuration ...
#19 3.662 [openmrs] Assembling the importmap ...
#19 4.342 [openmrs] 409 Conflict - GET https://registry.npmjs.org/@openmrs%2fesm-implementer-tools-app
#19 ERROR: process "/bin/sh -c npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} assemble --manifest --mode config --config spa-build-config.json --target ./spa" did not complete successfully: exit code: 1
------
> [linux/amd64 dev 6/6] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-build-config.json --target ./spa:
#19 3.637 [openmrs] Reading configuration ...
#19 3.662 [openmrs] Assembling the importmap ...
#19 4.342 [openmrs] 409 Conflict - GET https://registry.npmjs.org/@openmrs%2fesm-implementer-tools-app
------
Dockerfile:13
--------------------
  11 |     ARG CACHE_BUST
  12 |     RUN npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} build --build-config spa-build-config.json --target ./spa
  13 | >>> RUN npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} assemble --manifest --mode config --config spa-build-config.json --target ./spa
  14 |     
  15 |     FROM nginx:1.23-alpine
--------------------
error: failed to solve: process "/bin/sh -c npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} assemble --manifest --mode config --config spa-build-config.json --target ./spa" did not complete successfully: exit code: 1