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

Build: #1583 failed

Job: Build Frontend failed

Stages & jobs

  1. Build

  2. Generate Prefilled Containers

  3. Deploy

Job result summary

Completed
Duration
49 seconds
Agent
xindi.openmrs.org
Revision
f30c0b141bef8854f88a829b0fa11dabf9c40fc5 f30c0b141bef8854f88a829b0fa11dabf9c40fc5
Fixed in
#1585 (Rebuilt by Rafal Korytkowski)
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 [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.23-alpine
#9 DONE 0.9s

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

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

#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

#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:3482a20c97e401b56ac50ba8920cc7b5b2022bfc6aa7d4e4c231755770cf892f
#13 resolve docker.io/library/node:18-alpine@sha256:3482a20c97e401b56ac50ba8920cc7b5b2022bfc6aa7d4e4c231755770cf892f 0.1s done
#13 DONE 0.1s

#14 [internal] load build context
#14 transferring context: 5.32kB done
#14 DONE 0.0s

#13 [linux/amd64 dev 1/6] FROM docker.io/library/node:18-alpine@sha256:3482a20c97e401b56ac50ba8920cc7b5b2022bfc6aa7d4e4c231755770cf892f
#13 sha256:c8ce5be4301941634bb8ecfacfe469f600dc7445e07ad1649b0cb539d0581f5d 447B / 447B 0.1s done
#13 sha256:eff5dce73b38adc8cbbca8df07e87163c632612267d46957778fabd9d3d8e756 2.34MB / 2.34MB 0.1s done
#13 sha256:751194035c3611aead30c71ecc70008764778b49867f805c9a12b0c42a5e07bf 19.92MB / 47.76MB 0.2s
#13 sha256:751194035c3611aead30c71ecc70008764778b49867f805c9a12b0c42a5e07bf 46.14MB / 47.76MB 0.3s
#13 sha256:7264a8db6415046d36d16ba98b79778e18accee6ffa71850405994cffa9be7de 3.40MB / 3.40MB 0.2s done
#13 extracting sha256:7264a8db6415046d36d16ba98b79778e18accee6ffa71850405994cffa9be7de
#13 sha256:751194035c3611aead30c71ecc70008764778b49867f805c9a12b0c42a5e07bf 47.76MB / 47.76MB 0.4s done
#13 extracting sha256:7264a8db6415046d36d16ba98b79778e18accee6ffa71850405994cffa9be7de 0.2s done
#13 extracting sha256:751194035c3611aead30c71ecc70008764778b49867f805c9a12b0c42a5e07bf
#13 extracting sha256:751194035c3611aead30c71ecc70008764778b49867f805c9a12b0c42a5e07bf 1.6s done
#13 extracting sha256:eff5dce73b38adc8cbbca8df07e87163c632612267d46957778fabd9d3d8e756 0.1s done
#13 DONE 2.3s

#13 [linux/amd64 dev 1/6] FROM docker.io/library/node:18-alpine@sha256:3482a20c97e401b56ac50ba8920cc7b5b2022bfc6aa7d4e4c231755770cf892f
#13 extracting sha256:c8ce5be4301941634bb8ecfacfe469f600dc7445e07ad1649b0cb539d0581f5d 0.0s done
#13 DONE 2.4s

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

#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 1.184 npm WARN exec The following package was not found and will be installed: openmrs@5.1.1-pre.977
#18 30.33 npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
#18 31.27 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 31.94 npm WARN deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
#18 33.63 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 36.75 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 42.04 npm WARN tar TAR_ENTRY_ERROR ENOSPC: no space left on device, write
#18 42.04 npm WARN tar TAR_ENTRY_ERROR ENOSPC: no space left on device, write
#18 42.05 npm notice
#18 42.05 npm notice New minor version of npm available! 9.6.7 -> 9.8.1
#18 42.05 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.8.1>
#18 42.05 npm notice Run `npm install -g npm@9.8.1` to update!
#18 42.05 npm notice
#18 42.05 npm ERR! code ENOSPC
#18 42.05 npm ERR! syscall write
#18 42.05 npm ERR! errno -28
#18 42.05 npm ERR! nospc ENOSPC: no space left on device, write
#18 42.05 npm ERR! nospc There appears to be insufficient space on your system to finish.
#18 42.05 npm ERR! nospc Clear up some disk space and try again.
#18 42.05
#18 42.05 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-08-25T06_56_16_993Z-debug-0.log
#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: 228
------
> [linux/amd64 dev 5/6] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-build-config.json --target ./spa:
#18 42.05 npm notice Run `npm install -g npm@9.8.1` to update!
#18 42.05 npm notice
#18 42.05 npm ERR! code ENOSPC
#18 42.05 npm ERR! syscall write
#18 42.05 npm ERR! errno -28
#18 42.05 npm ERR! nospc ENOSPC: no space left on device, write
#18 42.05 npm ERR! nospc There appears to be insufficient space on your system to finish.
#18 42.05 npm ERR! nospc Clear up some disk space and try again.
#18 42.05
#18 42.05 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-08-25T06_56_16_993Z-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