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

Build: #1314 failed

Job: Build Frontend failed

Stages & jobs

  1. Build

  2. Deploy

Job result summary

Completed
Duration
1 minute
Revision
fbb2c9d264acd64fb1f0ea67812193543d64f93a fbb2c9d264acd64fb1f0ea67812193543d64f93a
Fixed in
#1316 (Rebuilt by Ian Bacher)
No failed test found. A possible compilation error occurred.

Error summary

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


#7 [auth] library/nginx:pull token for registry-1.docker.io
#7 DONE 0.0s

#8 [auth] library/node:pull token for registry-1.docker.io
#8 DONE 0.0s

#9 [linux/amd64 internal] load metadata for docker.io/library/node:18-alpine
#9 DONE 1.3s

#6 [linux/amd64 internal] load metadata for docker.io/library/nginx:1.23-alpine
#6 DONE 1.2s

#10 [linux/arm64 internal] load metadata for docker.io/library/nginx:1.23-alpine
#10 DONE 1.3s

#11 [internal] load build context
#11 DONE 0.0s

#12 [linux/arm64 stage-1 1/7] FROM docker.io/library/nginx:1.23-alpine@sha256:02ffd439b71d9ea9408e449b568f65c0bbbb94bebd8750f1d80231ab6496008e
#12 resolve docker.io/library/nginx:1.23-alpine@sha256:02ffd439b71d9ea9408e449b568f65c0bbbb94bebd8750f1d80231ab6496008e 0.1s done
#12 DONE 0.1s

#13 [linux/amd64 dev 1/6] FROM docker.io/library/node:18-alpine@sha256:d5b2a7869a4016b1847986ea52098fa404421e44281bb7615a9e3615e07f37fb
#13 resolve docker.io/library/node:18-alpine@sha256:d5b2a7869a4016b1847986ea52098fa404421e44281bb7615a9e3615e07f37fb
#13 ...

#14 [linux/amd64 stage-1 1/7] FROM docker.io/library/nginx:1.23-alpine@sha256:02ffd439b71d9ea9408e449b568f65c0bbbb94bebd8750f1d80231ab6496008e
#14 resolve docker.io/library/nginx:1.23-alpine@sha256:02ffd439b71d9ea9408e449b568f65c0bbbb94bebd8750f1d80231ab6496008e 0.1s done
#14 DONE 0.1s

#13 [linux/amd64 dev 1/6] FROM docker.io/library/node:18-alpine@sha256:d5b2a7869a4016b1847986ea52098fa404421e44281bb7615a9e3615e07f37fb
#13 resolve docker.io/library/node:18-alpine@sha256:d5b2a7869a4016b1847986ea52098fa404421e44281bb7615a9e3615e07f37fb 0.1s done
#13 ...

#11 [internal] load build context
#11 transferring context: 5.19kB done
#11 DONE 0.1s

#13 [linux/amd64 dev 1/6] FROM docker.io/library/node:18-alpine@sha256:d5b2a7869a4016b1847986ea52098fa404421e44281bb7615a9e3615e07f37fb
#13 sha256:86d562f7b85533d4f8cf87a09747444f7002c74b1897f5e4db2ffbeafa3013b3 450B / 450B 0.1s done
#13 sha256:02735cb6c78bf40ddce33f02c68827a8ae3fdc99370db62c77e21c995ace836a 2.34MB / 2.34MB 0.1s done
#13 sha256:31e352740f534f9ad170f75378a84fe453d6156e40700b882d737a8f4a6988a3 3.40MB / 3.40MB 0.1s done
#13 extracting sha256:31e352740f534f9ad170f75378a84fe453d6156e40700b882d737a8f4a6988a3 0.1s done
#13 sha256:560412e561fb4693d4bc6e5d197ccdfb42d1453d0eebf0d772baeacdbaab4b63 15.73MB / 47.49MB 0.2s
#13 sha256:560412e561fb4693d4bc6e5d197ccdfb42d1453d0eebf0d772baeacdbaab4b63 47.49MB / 47.49MB 0.4s done
#13 extracting sha256:560412e561fb4693d4bc6e5d197ccdfb42d1453d0eebf0d772baeacdbaab4b63
#13 extracting sha256:560412e561fb4693d4bc6e5d197ccdfb42d1453d0eebf0d772baeacdbaab4b63 1.7s done
#13 extracting sha256:02735cb6c78bf40ddce33f02c68827a8ae3fdc99370db62c77e21c995ace836a
#13 extracting sha256:02735cb6c78bf40ddce33f02c68827a8ae3fdc99370db62c77e21c995ace836a 0.1s done
#13 extracting sha256:86d562f7b85533d4f8cf87a09747444f7002c74b1897f5e4db2ffbeafa3013b3 0.0s done
#13 DONE 2.6s

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

#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 assemble --manifest --mode config --config spa-build-config.json --target ./spa
#18 3.306 npm WARN exec The following package was not found and will be installed: openmrs@5.0.2-pre.818
#18 31.35 npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
#18 32.17 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 32.69 npm WARN deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
#18 33.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 37.80 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 57.41 [openmrs] Reading configuration ...
#18 57.41 [openmrs] Assembling the importmap ...
#18 60.19 [openmrs] Cannot create property '@openmrs/esm-offline-tools-app' on string '/app/spa/openmrs-esm-offline-tools-app-5.0.2-pre.818/routes.json'
#18 60.22 npm notice
#18 60.22 npm notice New minor version of npm available! 9.5.1 -> 9.7.2
#18 60.22 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.7.2>
#18 60.22 npm notice Run `npm install -g npm@9.7.2` to update!
#18 60.22 npm notice
#18 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 5/6] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-build-config.json --target ./spa:
#18 32.69 npm WARN deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
#18 33.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 37.80 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 57.41 [openmrs] Reading configuration ...
#18 57.41 [openmrs] Assembling the importmap ...
notice
#18 60.22 npm notice New minor version of npm available! 9.5.1 -> 9.7.2
#18 60.22 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.7.2>
#18 60.22 npm notice Run `npm install -g npm@9.7.2` to update!
#18 60.22 npm notice
------
Dockerfile:12
--------------------
  10 |     
  11 |     ARG CACHE_BUST
  12 | >>> RUN npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} assemble --manifest --mode config --config spa-build-config.json --target ./spa
  13 |     RUN npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} build --build-config spa-build-config.json --target ./spa
  14 |     
--------------------
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