Builds and publishes the O3 Frontend

Build: #487 failed Manual run by Github Actions

Build result summary

Details

Completed
Queue duration
< 1 second
Duration
2 minutes
Labels
None
Agent
yu.openmrs.org
Revision
2c1b2131291b3ed661f736063ebeed3cf9fbc239 2c1b2131291b3ed661f736063ebeed3cf9fbc239
Fixed in
#488 (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 Default Job

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

#6 DONE 0.0s

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

#8 [linux/amd64 internal] load metadata for docker.io/library/node:18-alpine
#8 ...

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

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

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

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

#12 [internal] load build context
#12 transferring context: 6.70kB 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.2s

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

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

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

#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.271 npm WARN exec The following package was not found and will be installed: openmrs@5.5.1-pre.1745
#19 142.4 npm notice
#19 142.4 npm notice New minor version of npm available! 10.5.0 -> 10.7.0
#19 142.4 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.7.0>
#19 142.4 npm notice Run `npm install -g npm@10.7.0` to update!
#19 142.4 npm notice
#19 142.4 npm ERR! code EEXIST
#19 142.4 npm ERR! syscall open
#19 142.4 npm ERR! path /root/.npm/_cacache/tmp/942e1ab1
#19 142.4 npm ERR! errno -17
#19 142.4 npm ERR! EEXIST: file already exists, open '/root/.npm/_cacache/tmp/942e1ab1'
#19 142.4 npm ERR! File exists: /root/.npm/_cacache/tmp/942e1ab1
#19 142.4 npm ERR! Remove the existing file and try again, or run npm
#19 142.4 npm ERR! with --force to overwrite files recklessly.
#19 142.4
#19 142.4 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-05-10T10_43_09_653Z-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: 239
------
> [linux/amd64 dev 6/8] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-assemble-config.json --target ./spa:
#19 142.4 npm ERR! code EEXIST
#19 142.4 npm ERR! syscall open
#19 142.4 npm ERR! path /root/.npm/_cacache/tmp/942e1ab1
#19 142.4 npm ERR! errno -17
#19 142.4 npm ERR! EEXIST: file already exists, open '/root/.npm/_cacache/tmp/942e1ab1'
#19 142.4 npm ERR! File exists: /root/.npm/_cacache/tmp/942e1ab1
#19 142.4 npm ERR! Remove the existing file and try again, or run npm
#19 142.4 npm ERR! with --force to overwrite files recklessly.
#19 142.4
#19 142.4 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-05-10T10_43_09_653Z-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: 239