Builds and publishes the O3 Frontend
Build: #117 failed
Job: Default Job failed
Job result summary
- Completed
- Duration
- 39 seconds
- Agent
- xindi.openmrs.org
- Revision
-
10bbb0c4e2c9ab17015e7cdcd72065e4759b7565
10bbb0c4e2c9ab17015e7cdcd72065e4759b7565 - Fixed in
- #118 (Manual run by Github Actions)
Error summary
The build generated some errors. See the full build log for more details.
+ [[ ehuB != ehuxB ]]
+ echo 'End of Lmod init/bash script to define the module command'
+ export IMAGE=openmrs/openmrs-reference-application-3-frontend
+ IMAGE=openmrs/openmrs-reference-application-3-frontend
+ docker login -u openmrsci -p ********
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
++ date +%s
+ docker buildx build --pull --push --platform linux/amd64,linux/arm64 --build-arg CACHE_BUST=1708455318 -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: 1.41kB 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/arm64 internal] load metadata for docker.io/library/nginx:1.25-alpine
#5 DONE 0.1s
#6 [linux/amd64 internal] load metadata for docker.io/library/node:18-alpine
#6 DONE 0.2s
#7 [linux/amd64 internal] load metadata for docker.io/library/nginx:1.25-alpine
#7 DONE 0.2s
#8 [linux/amd64 dev 1/8] FROM docker.io/library/node:18-alpine@sha256:ca9f6cb0466f9638e59e0c249d335a07c867cd50c429b5c7830dda1bed584649
#8 resolve docker.io/library/node:18-alpine@sha256:ca9f6cb0466f9638e59e0c249d335a07c867cd50c429b5c7830dda1bed584649 0.1s done
#8 DONE 0.1s
#9 [internal] load build context
#9 transferring context: 5.53kB done
#9 DONE 0.0s
#10 [linux/amd64 stage-1 1/7] FROM docker.io/library/nginx:1.25-alpine@sha256:6a2f8b28e45c4adea04ec207a251fd4a2df03ddc930f782af51e315ebc76e9a9
#10 resolve docker.io/library/nginx:1.25-alpine@sha256:6a2f8b28e45c4adea04ec207a251fd4a2df03ddc930f782af51e315ebc76e9a9
#10 ...
#11 [linux/arm64 stage-1 1/7] FROM docker.io/library/nginx:1.25-alpine@sha256:6a2f8b28e45c4adea04ec207a251fd4a2df03ddc930f782af51e315ebc76e9a9
#11 resolve docker.io/library/nginx:1.25-alpine@sha256:6a2f8b28e45c4adea04ec207a251fd4a2df03ddc930f782af51e315ebc76e9a9 0.1s done
#11 DONE 0.1s
#12 [linux/amd64 dev 4/8] COPY spa-assemble-config.json .
#12 CACHED
#13 [linux/amd64 dev 2/8] RUN mkdir -p /app
#13 CACHED
#14 [linux/amd64 dev 3/8] WORKDIR /app
#14 CACHED
#15 [linux/amd64 dev 5/8] COPY spa-build-config.json .
#15 CACHED
#16 [linux/amd64 dev 6/8] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-assemble-config.json --target ./spa
#16 3.116 npm WARN exec The following package was not found and will be installed: openmrs@5.4.1-pre.1553
#16 38.16 npm notice
#16 38.16 npm notice New minor version of npm available! 10.2.4 -> 10.4.0
#16 38.16 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.4.0>
#16 38.16 npm notice Run `npm install -g npm@10.4.0` to update!
#16 38.16 npm notice
#16 38.16 npm ERR! code ETARGET
#16 38.16 npm ERR! notarget No matching version found for @openmrs/esm-framework@5.4.1-pre.1553.
#16 38.16 npm ERR! notarget In most cases you or one of your dependencies are requesting
#16 38.16 npm ERR! notarget a package version that doesn't exist.
#16 38.16
#16 38.16 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-02-20T18_55_19_789Z-debug-0.log
#16 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:
#16 38.16 npm notice New minor version of npm available! 10.2.4 -> 10.4.0
#16 38.16 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.4.0>
#16 38.16 npm notice Run `npm install -g npm@10.4.0` to update!
#16 38.16 npm notice
#16 38.16 npm ERR! code ETARGET
#16 38.16 npm ERR! notarget No matching version found for @openmrs/esm-framework@5.4.1-pre.1553.
#16 38.16 npm ERR! notarget In most cases you or one of your dependencies are requesting
#16 38.16 npm ERR! notarget a package version that doesn't exist.
#16 38.16
#16 38.16 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-02-20T18_55_19_789Z-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
+ echo 'End of Lmod init/bash script to define the module command'
+ export IMAGE=openmrs/openmrs-reference-application-3-frontend
+ IMAGE=openmrs/openmrs-reference-application-3-frontend
+ docker login -u openmrsci -p ********
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
++ date +%s
+ docker buildx build --pull --push --platform linux/amd64,linux/arm64 --build-arg CACHE_BUST=1708455318 -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: 1.41kB 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/arm64 internal] load metadata for docker.io/library/nginx:1.25-alpine
#5 DONE 0.1s
#6 [linux/amd64 internal] load metadata for docker.io/library/node:18-alpine
#6 DONE 0.2s
#7 [linux/amd64 internal] load metadata for docker.io/library/nginx:1.25-alpine
#7 DONE 0.2s
#8 [linux/amd64 dev 1/8] FROM docker.io/library/node:18-alpine@sha256:ca9f6cb0466f9638e59e0c249d335a07c867cd50c429b5c7830dda1bed584649
#8 resolve docker.io/library/node:18-alpine@sha256:ca9f6cb0466f9638e59e0c249d335a07c867cd50c429b5c7830dda1bed584649 0.1s done
#8 DONE 0.1s
#9 [internal] load build context
#9 transferring context: 5.53kB done
#9 DONE 0.0s
#10 [linux/amd64 stage-1 1/7] FROM docker.io/library/nginx:1.25-alpine@sha256:6a2f8b28e45c4adea04ec207a251fd4a2df03ddc930f782af51e315ebc76e9a9
#10 resolve docker.io/library/nginx:1.25-alpine@sha256:6a2f8b28e45c4adea04ec207a251fd4a2df03ddc930f782af51e315ebc76e9a9
#10 ...
#11 [linux/arm64 stage-1 1/7] FROM docker.io/library/nginx:1.25-alpine@sha256:6a2f8b28e45c4adea04ec207a251fd4a2df03ddc930f782af51e315ebc76e9a9
#11 resolve docker.io/library/nginx:1.25-alpine@sha256:6a2f8b28e45c4adea04ec207a251fd4a2df03ddc930f782af51e315ebc76e9a9 0.1s done
#11 DONE 0.1s
#12 [linux/amd64 dev 4/8] COPY spa-assemble-config.json .
#12 CACHED
#13 [linux/amd64 dev 2/8] RUN mkdir -p /app
#13 CACHED
#14 [linux/amd64 dev 3/8] WORKDIR /app
#14 CACHED
#15 [linux/amd64 dev 5/8] COPY spa-build-config.json .
#15 CACHED
#16 [linux/amd64 dev 6/8] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-assemble-config.json --target ./spa
#16 3.116 npm WARN exec The following package was not found and will be installed: openmrs@5.4.1-pre.1553
#16 38.16 npm notice
#16 38.16 npm notice New minor version of npm available! 10.2.4 -> 10.4.0
#16 38.16 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.4.0>
#16 38.16 npm notice Run `npm install -g npm@10.4.0` to update!
#16 38.16 npm notice
#16 38.16 npm ERR! code ETARGET
#16 38.16 npm ERR! notarget No matching version found for @openmrs/esm-framework@5.4.1-pre.1553.
#16 38.16 npm ERR! notarget In most cases you or one of your dependencies are requesting
#16 38.16 npm ERR! notarget a package version that doesn't exist.
#16 38.16
#16 38.16 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-02-20T18_55_19_789Z-debug-0.log
#16 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:
#16 38.16 npm notice New minor version of npm available! 10.2.4 -> 10.4.0
#16 38.16 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.4.0>
#16 38.16 npm notice Run `npm install -g npm@10.4.0` to update!
#16 38.16 npm notice
#16 38.16 npm ERR! code ETARGET
#16 38.16 npm ERR! notarget No matching version found for @openmrs/esm-framework@5.4.1-pre.1553.
#16 38.16 npm ERR! notarget In most cases you or one of your dependencies are requesting
#16 38.16 npm ERR! notarget a package version that doesn't exist.
#16 38.16
#16 38.16 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-02-20T18_55_19_789Z-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