Plan responsible for building Docker images for the 3.x demo and development sites
Build: #1584 failed
Job: Build Frontend failed
Job result summary
- Completed
- Duration
- 34 seconds
- Agent
- xindi.openmrs.org
- Revision
-
f30c0b141bef8854f88a829b0fa11dabf9c40fc5
f30c0b141bef8854f88a829b0fa11dabf9c40fc5 - Failing since
- #1583 (Manual run by Github Actions – )
- Fixed in
- #1585 (Rebuilt by Rafal Korytkowski)
Error summary
The build generated some errors. See the full build log for more details.
++ date +%s
+ docker buildx build --pull --push --platform linux/amd64,linux/arm64 --build-arg CACHE_BUST=1692946680 -t openmrs/openmrs-reference-application-3-frontend:nightly -t openmrs/openmrs-reference-application-3-frontend:dev3 frontend/
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 937B done
#1 DONE 0.0s
#2 resolve image config for docker.io/docker/dockerfile:1.3
#2 DONE 0.2s
#3 docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2
#3 resolve docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 0.0s done
#3 CACHED
#4 [internal] load .dockerignore
#4 transferring context: 2B done
#4 DONE 0.0s
#5 [linux/amd64 internal] load metadata for docker.io/library/node:18-alpine
#5 DONE 0.2s
#6 [linux/arm64 internal] load metadata for docker.io/library/nginx:1.23-alpine
#6 DONE 0.2s
#7 [linux/amd64 internal] load metadata for docker.io/library/nginx:1.23-alpine
#7 DONE 0.2s
#8 [internal] load build context
#8 DONE 0.0s
#9 [linux/arm64 stage-1 1/7] FROM docker.io/library/nginx:1.23-alpine@sha256:02ffd439b71d9ea9408e449b568f65c0bbbb94bebd8750f1d80231ab6496008e
#9 resolve docker.io/library/nginx:1.23-alpine@sha256:02ffd439b71d9ea9408e449b568f65c0bbbb94bebd8750f1d80231ab6496008e 0.1s done
#9 DONE 0.1s
#10 [linux/amd64 dev 1/6] FROM docker.io/library/node:18-alpine@sha256:3482a20c97e401b56ac50ba8920cc7b5b2022bfc6aa7d4e4c231755770cf892f
#10 resolve docker.io/library/node:18-alpine@sha256:3482a20c97e401b56ac50ba8920cc7b5b2022bfc6aa7d4e4c231755770cf892f
#10 resolve docker.io/library/node:18-alpine@sha256:3482a20c97e401b56ac50ba8920cc7b5b2022bfc6aa7d4e4c231755770cf892f 0.1s done
#10 DONE 0.1s
#11 [linux/amd64 stage-1 1/7] FROM docker.io/library/nginx:1.23-alpine@sha256:02ffd439b71d9ea9408e449b568f65c0bbbb94bebd8750f1d80231ab6496008e
#11 resolve docker.io/library/nginx:1.23-alpine@sha256:02ffd439b71d9ea9408e449b568f65c0bbbb94bebd8750f1d80231ab6496008e 0.1s done
#11 DONE 0.1s
#8 [internal] load build context
#8 transferring context: 5.32kB done
#8 DONE 0.0s
#12 [linux/amd64 dev 2/6] RUN mkdir -p /app
#12 CACHED
#13 [linux/amd64 dev 3/6] WORKDIR /app
#13 CACHED
#14 [linux/amd64 dev 4/6] COPY spa-build-config.json .
#14 CACHED
#15 [linux/amd64 dev 5/6] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-build-config.json --target ./spa
#15 0.929 npm WARN exec The following package was not found and will be installed: openmrs@5.1.1-pre.977
#15 16.87 npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
#15 17.37 npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
#15 18.69 npm WARN deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
#15 19.85 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
#15 23.55 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
#15 32.75 npm WARN tar TAR_ENTRY_ERROR ENOSPC: no space left on device, write
#15 32.76 npm notice
#15 32.76 npm notice New minor version of npm available! 9.6.7 -> 9.8.1
#15 32.76 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.8.1>
#15 32.76 npm notice Run `npm install -g npm@9.8.1` to update!
#15 32.76 npm notice
#15 32.76 npm ERR! code ENOSPC
#15 32.76 npm ERR! syscall write
#15 32.76 npm ERR! errno -28
#15 32.77 npm ERR! nospc ENOSPC: no space left on device, write
#15 32.77 npm ERR! nospc There appears to be insufficient space on your system to finish.
#15 32.77 npm ERR! nospc Clear up some disk space and try again.
#15 32.77
#15 32.77 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-08-25T06_58_01_749Z-debug-0.log
#15 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: 228
------
> [linux/amd64 dev 5/6] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-build-config.json --target ./spa:
#15 32.76 npm notice Run `npm install -g npm@9.8.1` to update!
#15 32.76 npm notice
#15 32.76 npm ERR! code ENOSPC
#15 32.76 npm ERR! syscall write
#15 32.76 npm ERR! errno -28
#15 32.77 npm ERR! nospc ENOSPC: no space left on device, write
#15 32.77 npm ERR! nospc There appears to be insufficient space on your system to finish.
#15 32.77 npm ERR! nospc Clear up some disk space and try again.
#15 32.77
#15 32.77 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-08-25T06_58_01_749Z-debug-0.log
------
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: 228