DO NOT MANUALLY RUN! Builds the 3.x Docker images and deploys them to the test server
Build: #9 failed
Job: Frontend failed
Job result summary
- Completed
- Duration
- 50 seconds
- Flags
- Tag build
- Agent
- yu.openmrs.org
- Revision
-
4bbf87cccfdf21cf7c1df14d5022a656c3d079c6
4bbf87cccfdf21cf7c1df14d5022a656c3d079c6 - Fixed in
- #10 (Rebuilt by Ian Bacher)
Custom variables
- Custom revision
-
4bbf87cccfdf21cf7c1df14d5022a656c3d079c6
4bbf87cccfdf21cf7c1df14d5022a656c3d079c6 - Tag name
- 3.0.0-beta.10
Error summary
The build generated some errors. See the full build log for more details.
+ 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=1689787494 -t openmrs/openmrs-reference-application-3-frontend:3.0.0-beta.10 -t openmrs/openmrs-reference-application-3-frontend:qa frontend/
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 938B 0.0s done
#1 DONE 0.0s
#2 [internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.1s
#3 resolve image config for docker.io/docker/dockerfile:1.3
#3 DONE 0.1s
#4 docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2
#4 resolve docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 0.1s done
#4 DONE 0.1s
#4 docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2
#4 CACHED
#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 [linux/amd64 stage-1 1/7] FROM docker.io/library/nginx:1.23-alpine@sha256:02ffd439b71d9ea9408e449b568f65c0bbbb94bebd8750f1d80231ab6496008e
#8 resolve docker.io/library/nginx:1.23-alpine@sha256:02ffd439b71d9ea9408e449b568f65c0bbbb94bebd8750f1d80231ab6496008e 0.1s done
#8 DONE 0.1s
#9 [linux/amd64 dev 1/6] FROM docker.io/library/node:18-alpine@sha256:d5b2a7869a4016b1847986ea52098fa404421e44281bb7615a9e3615e07f37fb
#9 resolve docker.io/library/node:18-alpine@sha256:d5b2a7869a4016b1847986ea52098fa404421e44281bb7615a9e3615e07f37fb 0.1s done
#9 CACHED
#10 [linux/arm64 stage-1 1/7] FROM docker.io/library/nginx:1.23-alpine@sha256:02ffd439b71d9ea9408e449b568f65c0bbbb94bebd8750f1d80231ab6496008e
#10 resolve docker.io/library/nginx:1.23-alpine@sha256:02ffd439b71d9ea9408e449b568f65c0bbbb94bebd8750f1d80231ab6496008e 0.1s done
#10 DONE 0.1s
#11 [internal] load build context
#11 transferring context: 5.24kB done
#11 DONE 0.0s
#12 [linux/amd64 dev 2/6] RUN mkdir -p /app
#12 DONE 0.1s
#13 [linux/amd64 dev 3/6] WORKDIR /app
#13 DONE 0.1s
#14 [linux/amd64 dev 4/6] COPY spa-build-config.json .
#14 DONE 0.1s
#15 [linux/amd64 dev 5/6] RUN npx --legacy-peer-deps openmrs@5.1.0 assemble --manifest --mode config --config spa-build-config.json --target ./spa
#15 0.955 npm WARN exec The following package was not found and will be installed: openmrs@5.1.0
#15 18.84 npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
#15 19.30 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 21.42 npm WARN deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
#15 22.41 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 25.39 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 47.59 [openmrs] Reading configuration ...
#15 47.60 [openmrs] Assembling the importmap ...
#15 48.28 [openmrs] No matching version found for @openmrs/esm-system-admin-app@3.0.1-pre.5.
#15 48.30 npm notice
#15 48.30 npm notice New minor version of npm available! 9.5.1 -> 9.8.1
#15 48.31 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.8.1>
#15 48.31 npm notice Run `npm install -g npm@9.8.1` to update!
#15 48.31 npm notice
#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: 1
------
> [linux/amd64 dev 5/6] RUN npx --legacy-peer-deps openmrs@5.1.0 assemble --manifest --mode config --config spa-build-config.json --target ./spa:
#15 21.42 npm WARN deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
#15 22.41 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
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 47.59 [openmrs] Reading configuration ...
#15 47.60 [openmrs] Assembling the importmap ...
notice
#15 48.30 npm notice New minor version of npm available! 9.5.1 -> 9.8.1
#15 48.31 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.8.1>
#15 48.31 npm notice Run `npm install -g npm@9.8.1` to update!
#15 48.31 npm notice
------
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: 1
+ 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=1689787494 -t openmrs/openmrs-reference-application-3-frontend:3.0.0-beta.10 -t openmrs/openmrs-reference-application-3-frontend:qa frontend/
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 938B 0.0s done
#1 DONE 0.0s
#2 [internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.1s
#3 resolve image config for docker.io/docker/dockerfile:1.3
#3 DONE 0.1s
#4 docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2
#4 resolve docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 0.1s done
#4 DONE 0.1s
#4 docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2
#4 CACHED
#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 [linux/amd64 stage-1 1/7] FROM docker.io/library/nginx:1.23-alpine@sha256:02ffd439b71d9ea9408e449b568f65c0bbbb94bebd8750f1d80231ab6496008e
#8 resolve docker.io/library/nginx:1.23-alpine@sha256:02ffd439b71d9ea9408e449b568f65c0bbbb94bebd8750f1d80231ab6496008e 0.1s done
#8 DONE 0.1s
#9 [linux/amd64 dev 1/6] FROM docker.io/library/node:18-alpine@sha256:d5b2a7869a4016b1847986ea52098fa404421e44281bb7615a9e3615e07f37fb
#9 resolve docker.io/library/node:18-alpine@sha256:d5b2a7869a4016b1847986ea52098fa404421e44281bb7615a9e3615e07f37fb 0.1s done
#9 CACHED
#10 [linux/arm64 stage-1 1/7] FROM docker.io/library/nginx:1.23-alpine@sha256:02ffd439b71d9ea9408e449b568f65c0bbbb94bebd8750f1d80231ab6496008e
#10 resolve docker.io/library/nginx:1.23-alpine@sha256:02ffd439b71d9ea9408e449b568f65c0bbbb94bebd8750f1d80231ab6496008e 0.1s done
#10 DONE 0.1s
#11 [internal] load build context
#11 transferring context: 5.24kB done
#11 DONE 0.0s
#12 [linux/amd64 dev 2/6] RUN mkdir -p /app
#12 DONE 0.1s
#13 [linux/amd64 dev 3/6] WORKDIR /app
#13 DONE 0.1s
#14 [linux/amd64 dev 4/6] COPY spa-build-config.json .
#14 DONE 0.1s
#15 [linux/amd64 dev 5/6] RUN npx --legacy-peer-deps openmrs@5.1.0 assemble --manifest --mode config --config spa-build-config.json --target ./spa
#15 0.955 npm WARN exec The following package was not found and will be installed: openmrs@5.1.0
#15 18.84 npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
#15 19.30 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 21.42 npm WARN deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
#15 22.41 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 25.39 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 47.59 [openmrs] Reading configuration ...
#15 47.60 [openmrs] Assembling the importmap ...
#15 48.28 [openmrs] No matching version found for @openmrs/esm-system-admin-app@3.0.1-pre.5.
#15 48.30 npm notice
#15 48.30 npm notice New minor version of npm available! 9.5.1 -> 9.8.1
#15 48.31 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.8.1>
#15 48.31 npm notice Run `npm install -g npm@9.8.1` to update!
#15 48.31 npm notice
#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: 1
------
> [linux/amd64 dev 5/6] RUN npx --legacy-peer-deps openmrs@5.1.0 assemble --manifest --mode config --config spa-build-config.json --target ./spa:
#15 21.42 npm WARN deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
#15 22.41 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
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 47.59 [openmrs] Reading configuration ...
#15 47.60 [openmrs] Assembling the importmap ...
notice
#15 48.30 npm notice New minor version of npm available! 9.5.1 -> 9.8.1
#15 48.31 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.8.1>
#15 48.31 npm notice Run `npm install -g npm@9.8.1` to update!
#15 48.31 npm notice
------
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: 1