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

Build: #1158 failed

Job: Build Frontend failed

Stages & jobs

  1. Build

  2. Deploy

Job result summary

Completed
Duration
1 minute
Revision
c13d58cffb3b7c09950defa6608fc9e460f1a851 c13d58cffb3b7c09950defa6608fc9e460f1a851
Fixed in
#1159 (Manual run by Github Actions)
No failed test found. A possible compilation error occurred.

Error summary

The build generated some errors. See the full build log for more details.

+ [[ ehuB != ehuxB ]]
+ echo 'Start of Lmod init/bash script to define the module command'
+ LMOD_PKG=/usr/share/lmod/lmod
+ LMOD_DIR=/usr/share/lmod/lmod/libexec
+ LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
+ MODULESHOME=/usr/share/lmod/lmod
+ export LMOD_PKG
+ export LMOD_CMD
+ export LMOD_DIR
+ export MODULESHOME
+ LMOD_VERSION=6.6
+ export LMOD_VERSION
+ '[' : '!=' : ']'
+ unalias ml
+ true
++ echo YES
++ /usr/bin/tr '[:upper:]' '[:lower:]'
+ export_module=yes
+ '[' -n '5.1.16(1)-release' -a yes '!=' no ']'
+ export -f module
+ export -f ml
+ unset export_module
+ '[' -n '' ']'
+ '[' 5 -ge 3 ']'
+ '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']'
+ '[' -n '' ']'
+ [[ 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=1684393435 -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.1s

#2 [internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.1s

#3 [auth] docker/dockerfile:pull token for registry-1.docker.io
#3 DONE 0.0s

#4 resolve image config for docker.io/docker/dockerfile:1.3
#4 DONE 0.3s

#5 docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2
#5 resolve docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 0.0s done
#5 CACHED

#6 [auth] library/nginx:pull token for registry-1.docker.io
#6 DONE 0.0s

#7 [auth] library/node:pull token for registry-1.docker.io
#7 DONE 0.0s

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

#9 [linux/amd64 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/arm64 internal] load metadata for docker.io/library/nginx:1.23-alpine
#10 ERROR: failed to copy: httpReadSeeker: failed open: unexpected status code https://registry-1.docker.io/v2/library/nginx/blobs/sha256:510900496a6c312a512d8f4ba0c69586e0fbd540955d65869b6010174362c313: 530
------
> [linux/arm64 internal] load metadata for docker.io/library/nginx:1.23-alpine:
------
Dockerfile:15
--------------------
  13 |     RUN npx --legacy-peer-deps openmrs@${APP_SHELL_VERSION:-next} build --build-config spa-build-config.json --target ./spa
  14 |     
  15 | >>> FROM nginx:1.23-alpine
  16 |     
  17 |     RUN apk update && \
--------------------
error: failed to solve: failed to copy: httpReadSeeker: failed open: unexpected status code https://registry-1.docker.io/v2/library/nginx/blobs/sha256:510900496a6c312a512d8f4ba0c69586e0fbd540955d65869b6010174362c313: 530