Builds and publishes the O3 Frontend

Build: #2145 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
2 minutes
Agent
xiao.openmrs.org
Revision
1674330fbbe63d0d2c7628823033a1589665f7ae
Fixed in
#2146 (Manual run 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.

#8 DONE 0.4s

#9 [linux/amd64 internal] load metadata for docker.io/library/nginx:1.25-alpine
#9 DONE 0.4s

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

#11 [internal] load build context
#11 transferring context: 7.34kB done
#11 DONE 0.0s

#12 [linux/amd64 dev 1/8] FROM docker.io/library/node:18-alpine@sha256:8d6421d663b4c28fd3ebc498332f249011d118945588d0a35cb9bc4b8ca09d9e
#12 resolve docker.io/library/node:18-alpine@sha256:8d6421d663b4c28fd3ebc498332f249011d118945588d0a35cb9bc4b8ca09d9e 0.1s done
#12 DONE 0.1s

#13 [linux/amd64 dev 3/8] WORKDIR /app
#13 CACHED

#14 [linux/amd64 dev 4/8] COPY spa-assemble-config.json .
#14 CACHED

#15 [linux/amd64 dev 2/8] RUN mkdir -p /app
#15 CACHED

#16 [linux/amd64 dev 5/8] COPY spa-build-config.json .
#16 CACHED

#17 [linux/arm64 stage-1 1/8] FROM docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00
#17 resolve docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 0.1s done
#17 DONE 0.1s

#18 [linux/amd64 dev 6/8] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-assemble-config.json --target ./spa
#18 ...

#19 [linux/amd64 stage-1 1/8] FROM docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00
#19 resolve docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 0.1s done
#19 DONE 0.2s

#20 [linux/amd64 stage-1 2/8] RUN apk update &&     apk upgrade &&     apk add --no-cache moreutils
#20 CACHED

#21 [linux/amd64 stage-1 3/8] RUN rm -rf /usr/share/nginx/html/*
#21 CACHED

#22 [linux/amd64 stage-1 4/8] COPY startup.sh /usr/local/bin/startup.sh
#22 CACHED

#23 [linux/amd64 stage-1 5/8] RUN chmod +x /usr/local/bin/startup.sh
#23 CACHED

#24 [linux/amd64 stage-1 6/8] COPY nginx.conf /etc/nginx/nginx.conf
#24 CACHED

#18 [linux/amd64 dev 6/8] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-assemble-config.json --target ./spa
#18 3.312 npm warn exec The following package was not found and will be installed: openmrs@6.2.1-pre.2917
#18 133.7 npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
#18 134.4 npm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
#18 135.3 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 135.8 npm warn deprecated phin@2.9.3: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
#18 136.4 npm warn deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
#18 136.7 npm warn deprecated workbox-google-analytics@6.6.0: It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained
#18 137.6 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 139.4 npm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported.
#18 139.4 npm warn deprecated npmlog@6.0.2: This package is no longer supported.
#18 139.5 npm warn deprecated read-package-json@6.0.4: This package is no longer supported. Please use @npmcli/package-json instead.
#18 139.8 npm warn deprecated gauge@4.0.4: This package is no longer supported.
#18 140.0 npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
#18 142.7 npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
#18 142.9 npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
#18 144.3 npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported
#18 144.6 npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
#18 170.8 npm error code ECONNRESET
#18 170.8 npm error network aborted
#18 170.8 npm error network This is a problem related to network connectivity.
#18 170.8 npm error network In most cases you are behind a proxy or have bad network settings.
#18 170.8 npm error network
#18 170.8 npm error network If you are behind a proxy, please make sure that the
#18 170.8 npm error network 'proxy' config is set properly.  See: 'npm help config'
#18 170.8 npm notice
#18 170.8 npm notice New major version of npm available! 10.8.2 -> 11.3.0
#18 170.8 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.3.0
#18 170.8 npm notice To update run: npm install -g npm@11.3.0
#18 170.8 npm notice
#18 170.8 npm error A complete log of this run can be found in: /root/.npm/_logs/2025-05-01T15_49_32_229Z-debug-0.log
#18 ERROR: process "/bin/sh -c npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} assemble --manifest --mode config --config spa-assemble-config.json --target ./spa" did not complete successfully: exit code: 1
------
> [linux/amd64 dev 6/8] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-assemble-config.json --target ./spa:
#18 170.8 npm error network In most cases you are behind a proxy or have bad network settings.
#18 170.8 npm error network
#18 170.8 npm error network If you are behind a proxy, please make sure that the
#18 170.8 npm error network 'proxy' config is set properly.  See: 'npm help config'
#18 170.8 npm notice
#18 170.8 npm notice New major version of npm available! 10.8.2 -> 11.3.0
#18 170.8 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.3.0
#18 170.8 npm notice To update run: npm install -g npm@11.3.0
#18 170.8 npm notice
#18 170.8 npm error A complete log of this run can be found in: /root/.npm/_logs/2025-05-01T15_49_32_229Z-debug-0.log
------
error: failed to solve: process "/bin/sh -c npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} assemble --manifest --mode config --config spa-assemble-config.json --target ./spa" did not complete successfully: exit code: 1