Builds and publishes the O3 Frontend

Build: #461 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
2 minutes
Agent
yu.openmrs.org
Revision
77de00ac054b248bef6591e53cdb45d050ed6e8b 77de00ac054b248bef6591e53cdb45d050ed6e8b
Fixed in
#462 (Manual run by Github Actions)
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.9s

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

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

#11 [linux/amd64 stage-1 1/8] FROM docker.io/library/nginx:1.25-alpine@sha256:fdbfdaea4fc323f44590e9afeb271da8c345a733bf44c4ad7861201676a95f42
#11 resolve docker.io/library/nginx:1.25-alpine@sha256:fdbfdaea4fc323f44590e9afeb271da8c345a733bf44c4ad7861201676a95f42
#11 ...

#12 [internal] load build context
#12 transferring context: 6.62kB done
#12 DONE 0.1s

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

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

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

#13 [linux/amd64 dev 1/8] FROM docker.io/library/node:18-alpine@sha256:4837c2ac8998cf172f5892fb45f229c328e4824c43c8506f8ba9c7996d702430
#13 sha256:8ae971f79f99381da4a83f2cb63aa502fb847cc81a2f270326753f6289562dfc 454B / 454B 0.1s done
#13 sha256:832e0dc1fe41d061d47d41e00abf6a9dab0c399d69bae854ef1bffe1976c2df0 1.38MB / 1.38MB 0.1s done
#13 sha256:45a0166cf96b2a4f328191f78f73e68e0e340450a962ff6fc34013111c014d26 35.65MB / 39.82MB 0.2s
#13 sha256:45a0166cf96b2a4f328191f78f73e68e0e340450a962ff6fc34013111c014d26 39.82MB / 39.82MB 0.2s done
#13 sha256:4abcf20661432fb2d719aaf90656f55c287f8ca915dc1c92ec14ff61e67fbaf8 3.41MB / 3.41MB 0.2s done
#13 extracting sha256:4abcf20661432fb2d719aaf90656f55c287f8ca915dc1c92ec14ff61e67fbaf8
#13 extracting sha256:4abcf20661432fb2d719aaf90656f55c287f8ca915dc1c92ec14ff61e67fbaf8 0.1s done
#13 DONE 0.8s

#13 [linux/amd64 dev 1/8] FROM docker.io/library/node:18-alpine@sha256:4837c2ac8998cf172f5892fb45f229c328e4824c43c8506f8ba9c7996d702430
#13 extracting sha256:45a0166cf96b2a4f328191f78f73e68e0e340450a962ff6fc34013111c014d26
#13 extracting sha256:45a0166cf96b2a4f328191f78f73e68e0e340450a962ff6fc34013111c014d26 1.2s done
#13 extracting sha256:832e0dc1fe41d061d47d41e00abf6a9dab0c399d69bae854ef1bffe1976c2df0 0.1s done
#13 DONE 2.1s

#13 [linux/amd64 dev 1/8] FROM docker.io/library/node:18-alpine@sha256:4837c2ac8998cf172f5892fb45f229c328e4824c43c8506f8ba9c7996d702430
#13 extracting sha256:8ae971f79f99381da4a83f2cb63aa502fb847cc81a2f270326753f6289562dfc 0.0s done
#13 DONE 2.2s

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

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

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

#18 [linux/amd64 dev 5/8] COPY spa-build-config.json .
#18 DONE 0.1s

#19 [linux/amd64 dev 6/8] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-assemble-config.json --target ./spa
#19 1.349 npm WARN exec The following package was not found and will be installed: openmrs@5.5.1-pre.1741
#19 135.4 npm notice
#19 135.4 npm notice New minor version of npm available! 10.5.0 -> 10.7.0
#19 135.4 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.7.0>
#19 135.4 npm notice Run `npm install -g npm@10.7.0` to update!
#19 135.4 npm notice
#19 135.4 npm ERR! code ECONNRESET
#19 135.4 npm ERR! errno ECONNRESET
#19 135.4 npm ERR! network Invalid response body while trying to fetch https://registry.npmjs.org/@carbon%2fmotion: aborted
#19 135.4 npm ERR! network This is a problem related to network connectivity.
#19 135.4 npm ERR! network In most cases you are behind a proxy or have bad network settings.
#19 135.4 npm ERR! network
#19 135.4 npm ERR! network If you are behind a proxy, please make sure that the
#19 135.4 npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
#19 135.4
#19 135.4 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-05-06T19_06_42_210Z-debug-0.log
#19 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:
#19 135.4 npm ERR! code ECONNRESET
#19 135.4 npm ERR! errno ECONNRESET
#19 135.4 npm ERR! network Invalid response body while trying to fetch https://registry.npmjs.org/@carbon%2fmotion: aborted
#19 135.4 npm ERR! network This is a problem related to network connectivity.
#19 135.4 npm ERR! network In most cases you are behind a proxy or have bad network settings.
#19 135.4 npm ERR! network
#19 135.4 npm ERR! network If you are behind a proxy, please make sure that the
#19 135.4 npm ERR! network 'proxy' config is set properly.  See: 'npm help config'
#19 135.4
#19 135.4 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-05-06T19_06_42_210Z-debug-0.log
------
Dockerfile:16
--------------------
  14 |     
  15 |     ARG CACHE_BUST
  16 | >>> RUN npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} assemble --manifest --mode config --config spa-assemble-config.json --target ./spa
  17 |     RUN npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} build --build-config spa-build-config.json --target ./spa
  18 |     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
--------------------
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