Builds and publishes the O3 Frontend
Build: #1382 failed Manual run by Github Actions
Build result summary
Details
- Completed
- Queue duration
- 1 second
- Duration
- 3 minutes
- Labels
- None
- Agent
- yu.openmrs.org
- Revision
-
8c5acfb464a6ad4cb66d041d10ce1b2c339f35df
8c5acfb464a6ad4cb66d041d10ce1b2c339f35df - Fixed in
- #1383 (Manual run by Github Actions)
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.
#12 transferring context: 6.97kB done
#12 DONE 0.1s
#13 [linux/amd64 stage-1 1/8] FROM docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00
#13 resolve docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 0.1s done
#13 DONE 0.1s
#14 [linux/amd64 dev 1/8] FROM docker.io/library/node:18-alpine@sha256:7e43a2d633d91e8655a6c0f45d2ed987aa4930f0792f6d9dd3bffc7496e44882
#14 resolve docker.io/library/node:18-alpine@sha256:7e43a2d633d91e8655a6c0f45d2ed987aa4930f0792f6d9dd3bffc7496e44882 0.1s done
#14 DONE 0.1s
#15 [linux/arm64 stage-1 1/8] FROM docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00
#15 resolve docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 0.1s done
#15 DONE 0.1s
#14 [linux/amd64 dev 1/8] FROM docker.io/library/node:18-alpine@sha256:7e43a2d633d91e8655a6c0f45d2ed987aa4930f0792f6d9dd3bffc7496e44882
#14 sha256:43c47a581c29baa57713ee0da7af754f3994227b64949cb5e9e4dbbc2108c6cd 449B / 449B 0.1s done
#14 sha256:da9db072f522755cbeb85be2b3f84059b70571b229512f1571d9217b77e1087f 3.62MB / 3.62MB 0.1s done
#14 sha256:aa6f657bab0c137ad8a7930532dbd7c53338023e828890090a4070f47a2ed65d 19.72MB / 40.09MB 0.2s
#14 sha256:aa6f657bab0c137ad8a7930532dbd7c53338023e828890090a4070f47a2ed65d 40.09MB / 40.09MB 0.3s done
#14 extracting sha256:da9db072f522755cbeb85be2b3f84059b70571b229512f1571d9217b77e1087f
#14 sha256:f477ea663f1c2a017b6f95e743b5ad72f8ff8bf861b0759a86ba1985f706308f 1.39MB / 1.39MB 0.1s done
#14 extracting sha256:da9db072f522755cbeb85be2b3f84059b70571b229512f1571d9217b77e1087f 0.3s done
#14 DONE 0.8s
#14 [linux/amd64 dev 1/8] FROM docker.io/library/node:18-alpine@sha256:7e43a2d633d91e8655a6c0f45d2ed987aa4930f0792f6d9dd3bffc7496e44882
#14 extracting sha256:aa6f657bab0c137ad8a7930532dbd7c53338023e828890090a4070f47a2ed65d
#14 extracting sha256:aa6f657bab0c137ad8a7930532dbd7c53338023e828890090a4070f47a2ed65d 1.6s done
#14 extracting sha256:f477ea663f1c2a017b6f95e743b5ad72f8ff8bf861b0759a86ba1985f706308f
#14 extracting sha256:f477ea663f1c2a017b6f95e743b5ad72f8ff8bf861b0759a86ba1985f706308f 0.1s done
#14 extracting sha256:43c47a581c29baa57713ee0da7af754f3994227b64949cb5e9e4dbbc2108c6cd 0.0s done
#14 DONE 2.5s
#16 [linux/amd64 dev 2/8] RUN mkdir -p /app
#16 DONE 0.3s
#17 [linux/amd64 dev 3/8] WORKDIR /app
#17 DONE 0.1s
#18 [linux/amd64 dev 4/8] COPY spa-assemble-config.json .
#18 DONE 0.1s
#19 [linux/amd64 dev 5/8] COPY spa-build-config.json .
#19 DONE 0.1s
#20 [linux/amd64 dev 6/8] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-assemble-config.json --target ./spa
#20 1.625 npm warn exec The following package was not found and will be installed: openmrs@5.8.2-pre.2495
#20 130.2 npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
#20 130.8 npm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
#20 131.7 npm warn deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
#20 132.4 npm warn deprecated phin@2.9.3: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
#20 133.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
#20 133.7 npm warn deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
#20 134.1 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
#20 135.4 npm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported.
#20 135.5 npm warn deprecated npmlog@6.0.2: This package is no longer supported.
#20 135.5 npm warn deprecated read-package-json@6.0.4: This package is no longer supported. Please use @npmcli/package-json instead.
#20 136.1 npm warn deprecated gauge@4.0.4: This package is no longer supported.
#20 136.3 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.
#20 139.3 npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
#20 139.5 npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
#20 140.8 npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported
#20 141.1 npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
#20 162.9 npm warn deprecated carbon-components@10.59.0: This package is no longer supported. More info at https://carbondesignsystem.com/deprecations/
#20 168.3 [openmrs] Reading configuration /app/spa-assemble-config.json ...
#20 168.3 [openmrs] Assembling dependencies and building import map and routes registry...
#20 177.2 [openmrs] Finished assembling frontend distribution
#20 177.2 npm notice
#20 177.2 npm notice New minor version of npm available! 10.8.2 -> 10.9.0
#20 177.2 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.9.0
#20 177.2 npm notice To update run: npm install -g npm@10.9.0
#20 177.2 npm notice
#20 DONE 177.8s
#21 [linux/amd64 dev 7/8] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa
#21 3.657 npm warn exec The following package was not found and will be installed: openmrs@5.8.2-pre.2496
#21 4.726 npm error code ETARGET
#21 4.727 npm error notarget No matching version found for openmrs@5.8.2-pre.2496.
#21 4.727 npm error notarget In most cases you or one of your dependencies are requesting
#21 4.727 npm error notarget a package version that doesn't exist.
#21 4.730 npm error A complete log of this run can be found in: /root/.npm/_logs/2024-11-20T17_00_21_882Z-debug-0.log
#21 ERROR: process "/bin/sh -c npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} build --build-config spa-build-config.json --target ./spa" did not complete successfully: exit code: 1
------
> [linux/amd64 dev 7/8] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa:
#21 3.657 npm warn exec The following package was not found and will be installed: openmrs@5.8.2-pre.2496
#21 4.726 npm error code ETARGET
#21 4.727 npm error notarget No matching version found for openmrs@5.8.2-pre.2496.
#21 4.727 npm error notarget In most cases you or one of your dependencies are requesting
#21 4.727 npm error notarget a package version that doesn't exist.
#21 4.730 npm error A complete log of this run can be found in: /root/.npm/_logs/2024-11-20T17_00_21_882Z-debug-0.log
------
Dockerfile:17
--------------------
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
19 |
--------------------
error: failed to solve: process "/bin/sh -c npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} build --build-config spa-build-config.json --target ./spa" did not complete successfully: exit code: 1
#12 DONE 0.1s
#13 [linux/amd64 stage-1 1/8] FROM docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00
#13 resolve docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 0.1s done
#13 DONE 0.1s
#14 [linux/amd64 dev 1/8] FROM docker.io/library/node:18-alpine@sha256:7e43a2d633d91e8655a6c0f45d2ed987aa4930f0792f6d9dd3bffc7496e44882
#14 resolve docker.io/library/node:18-alpine@sha256:7e43a2d633d91e8655a6c0f45d2ed987aa4930f0792f6d9dd3bffc7496e44882 0.1s done
#14 DONE 0.1s
#15 [linux/arm64 stage-1 1/8] FROM docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00
#15 resolve docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 0.1s done
#15 DONE 0.1s
#14 [linux/amd64 dev 1/8] FROM docker.io/library/node:18-alpine@sha256:7e43a2d633d91e8655a6c0f45d2ed987aa4930f0792f6d9dd3bffc7496e44882
#14 sha256:43c47a581c29baa57713ee0da7af754f3994227b64949cb5e9e4dbbc2108c6cd 449B / 449B 0.1s done
#14 sha256:da9db072f522755cbeb85be2b3f84059b70571b229512f1571d9217b77e1087f 3.62MB / 3.62MB 0.1s done
#14 sha256:aa6f657bab0c137ad8a7930532dbd7c53338023e828890090a4070f47a2ed65d 19.72MB / 40.09MB 0.2s
#14 sha256:aa6f657bab0c137ad8a7930532dbd7c53338023e828890090a4070f47a2ed65d 40.09MB / 40.09MB 0.3s done
#14 extracting sha256:da9db072f522755cbeb85be2b3f84059b70571b229512f1571d9217b77e1087f
#14 sha256:f477ea663f1c2a017b6f95e743b5ad72f8ff8bf861b0759a86ba1985f706308f 1.39MB / 1.39MB 0.1s done
#14 extracting sha256:da9db072f522755cbeb85be2b3f84059b70571b229512f1571d9217b77e1087f 0.3s done
#14 DONE 0.8s
#14 [linux/amd64 dev 1/8] FROM docker.io/library/node:18-alpine@sha256:7e43a2d633d91e8655a6c0f45d2ed987aa4930f0792f6d9dd3bffc7496e44882
#14 extracting sha256:aa6f657bab0c137ad8a7930532dbd7c53338023e828890090a4070f47a2ed65d
#14 extracting sha256:aa6f657bab0c137ad8a7930532dbd7c53338023e828890090a4070f47a2ed65d 1.6s done
#14 extracting sha256:f477ea663f1c2a017b6f95e743b5ad72f8ff8bf861b0759a86ba1985f706308f
#14 extracting sha256:f477ea663f1c2a017b6f95e743b5ad72f8ff8bf861b0759a86ba1985f706308f 0.1s done
#14 extracting sha256:43c47a581c29baa57713ee0da7af754f3994227b64949cb5e9e4dbbc2108c6cd 0.0s done
#14 DONE 2.5s
#16 [linux/amd64 dev 2/8] RUN mkdir -p /app
#16 DONE 0.3s
#17 [linux/amd64 dev 3/8] WORKDIR /app
#17 DONE 0.1s
#18 [linux/amd64 dev 4/8] COPY spa-assemble-config.json .
#18 DONE 0.1s
#19 [linux/amd64 dev 5/8] COPY spa-build-config.json .
#19 DONE 0.1s
#20 [linux/amd64 dev 6/8] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-assemble-config.json --target ./spa
#20 1.625 npm warn exec The following package was not found and will be installed: openmrs@5.8.2-pre.2495
#20 130.2 npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
#20 130.8 npm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
#20 131.7 npm warn deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
#20 132.4 npm warn deprecated phin@2.9.3: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
#20 133.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
#20 133.7 npm warn deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
#20 134.1 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
#20 135.4 npm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported.
#20 135.5 npm warn deprecated npmlog@6.0.2: This package is no longer supported.
#20 135.5 npm warn deprecated read-package-json@6.0.4: This package is no longer supported. Please use @npmcli/package-json instead.
#20 136.1 npm warn deprecated gauge@4.0.4: This package is no longer supported.
#20 136.3 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.
#20 139.3 npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
#20 139.5 npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
#20 140.8 npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported
#20 141.1 npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
#20 162.9 npm warn deprecated carbon-components@10.59.0: This package is no longer supported. More info at https://carbondesignsystem.com/deprecations/
#20 168.3 [openmrs] Reading configuration /app/spa-assemble-config.json ...
#20 168.3 [openmrs] Assembling dependencies and building import map and routes registry...
#20 177.2 [openmrs] Finished assembling frontend distribution
#20 177.2 npm notice
#20 177.2 npm notice New minor version of npm available! 10.8.2 -> 10.9.0
#20 177.2 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.9.0
#20 177.2 npm notice To update run: npm install -g npm@10.9.0
#20 177.2 npm notice
#20 DONE 177.8s
#21 [linux/amd64 dev 7/8] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa
#21 3.657 npm warn exec The following package was not found and will be installed: openmrs@5.8.2-pre.2496
#21 4.726 npm error code ETARGET
#21 4.727 npm error notarget No matching version found for openmrs@5.8.2-pre.2496.
#21 4.727 npm error notarget In most cases you or one of your dependencies are requesting
#21 4.727 npm error notarget a package version that doesn't exist.
#21 4.730 npm error A complete log of this run can be found in: /root/.npm/_logs/2024-11-20T17_00_21_882Z-debug-0.log
#21 ERROR: process "/bin/sh -c npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} build --build-config spa-build-config.json --target ./spa" did not complete successfully: exit code: 1
------
> [linux/amd64 dev 7/8] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa:
#21 3.657 npm warn exec The following package was not found and will be installed: openmrs@5.8.2-pre.2496
#21 4.726 npm error code ETARGET
#21 4.727 npm error notarget No matching version found for openmrs@5.8.2-pre.2496.
#21 4.727 npm error notarget In most cases you or one of your dependencies are requesting
#21 4.727 npm error notarget a package version that doesn't exist.
#21 4.730 npm error A complete log of this run can be found in: /root/.npm/_logs/2024-11-20T17_00_21_882Z-debug-0.log
------
Dockerfile:17
--------------------
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
19 |
--------------------
error: failed to solve: process "/bin/sh -c npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} build --build-config spa-build-config.json --target ./spa" did not complete successfully: exit code: 1