Plan responsible for building Docker images for the 3.x demo and development sites
Build: #1611 failed
Job: Build Backend failed
Job result summary
- Completed
- Duration
- 2 seconds
- Agent
- yu.openmrs.org
- Revision
-
f30c0b141bef8854f88a829b0fa11dabf9c40fc5
f30c0b141bef8854f88a829b0fa11dabf9c40fc5 - Fixed in
- #1613 (Manual run by Github Actions)
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-backend
+ IMAGE=openmrs/openmrs-reference-application-3-backend
+ 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
+ docker buildx build --pull --push --platform linux/amd64,linux/arm64 --secret type=file,id=m2settings,src=/home/bamboo-agent/.m2/settings.xml --build-arg MVN_ARGS=deploy --build-arg MVN_ARGS_SETTINGS=-U -t openmrs/openmrs-reference-application-3-backend:nightly -t openmrs/openmrs-reference-application-3-backend:dev3 .
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.56kB done
#1 DONE 0.1s
#2 resolve image config for docker.io/docker/dockerfile:1
#2 ...
#3 [auth] docker/dockerfile:pull token for registry-1.docker.io
#3 DONE 0.0s
#2 resolve image config for docker.io/docker/dockerfile:1
#2 DONE 0.6s
#4 docker-image://docker.io/docker/dockerfile:1@sha256:ac85f380a63b13dfcefa89046420e1781752bab202122f8f50032edf31be0021
#4 resolve docker.io/docker/dockerfile:1@sha256:ac85f380a63b13dfcefa89046420e1781752bab202122f8f50032edf31be0021 0.0s done
#4 CACHED
#5 [linux/amd64 internal] load metadata for docker.io/openmrs/openmrs-core:dev
#5 CANCELED
#6 [auth] openmrs/openmrs-core:pull token for registry-1.docker.io
#6 DONE 0.0s
#7 [linux/arm64 internal] load metadata for docker.io/openmrs/openmrs-core:nightly
#7 ERROR: unexpected status from HEAD request to https://registry-1.docker.io/v2/openmrs/openmrs-core/manifests/nightly: 503 Service Unavailable
#8 [linux/arm64 internal] load metadata for docker.io/openmrs/openmrs-core:dev
#8 CANCELED
#9 [linux/amd64 internal] load metadata for docker.io/openmrs/openmrs-core:nightly
#9 CANCELED
------
> [linux/arm64 internal] load metadata for docker.io/openmrs/openmrs-core:nightly:
------
Dockerfile:28
--------------------
26 | ### Run Stage
27 | # Replace 'nightly' with the exact version of openmrs-core built for production (if available)
28 | >>> FROM openmrs/openmrs-core:nightly
29 |
30 | # Do not copy the war if using the correct openmrs-core image version
--------------------
error: failed to solve: openmrs/openmrs-core:nightly: unexpected status from HEAD request to https://registry-1.docker.io/v2/openmrs/openmrs-core/manifests/nightly: 503 Service Unavailable
+ 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-backend
+ IMAGE=openmrs/openmrs-reference-application-3-backend
+ 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
+ docker buildx build --pull --push --platform linux/amd64,linux/arm64 --secret type=file,id=m2settings,src=/home/bamboo-agent/.m2/settings.xml --build-arg MVN_ARGS=deploy --build-arg MVN_ARGS_SETTINGS=-U -t openmrs/openmrs-reference-application-3-backend:nightly -t openmrs/openmrs-reference-application-3-backend:dev3 .
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.56kB done
#1 DONE 0.1s
#2 resolve image config for docker.io/docker/dockerfile:1
#2 ...
#3 [auth] docker/dockerfile:pull token for registry-1.docker.io
#3 DONE 0.0s
#2 resolve image config for docker.io/docker/dockerfile:1
#2 DONE 0.6s
#4 docker-image://docker.io/docker/dockerfile:1@sha256:ac85f380a63b13dfcefa89046420e1781752bab202122f8f50032edf31be0021
#4 resolve docker.io/docker/dockerfile:1@sha256:ac85f380a63b13dfcefa89046420e1781752bab202122f8f50032edf31be0021 0.0s done
#4 CACHED
#5 [linux/amd64 internal] load metadata for docker.io/openmrs/openmrs-core:dev
#5 CANCELED
#6 [auth] openmrs/openmrs-core:pull token for registry-1.docker.io
#6 DONE 0.0s
#7 [linux/arm64 internal] load metadata for docker.io/openmrs/openmrs-core:nightly
#7 ERROR: unexpected status from HEAD request to https://registry-1.docker.io/v2/openmrs/openmrs-core/manifests/nightly: 503 Service Unavailable
#8 [linux/arm64 internal] load metadata for docker.io/openmrs/openmrs-core:dev
#8 CANCELED
#9 [linux/amd64 internal] load metadata for docker.io/openmrs/openmrs-core:nightly
#9 CANCELED
------
> [linux/arm64 internal] load metadata for docker.io/openmrs/openmrs-core:nightly:
------
Dockerfile:28
--------------------
26 | ### Run Stage
27 | # Replace 'nightly' with the exact version of openmrs-core built for production (if available)
28 | >>> FROM openmrs/openmrs-core:nightly
29 |
30 | # Do not copy the war if using the correct openmrs-core image version
--------------------
error: failed to solve: openmrs/openmrs-core:nightly: unexpected status from HEAD request to https://registry-1.docker.io/v2/openmrs/openmrs-core/manifests/nightly: 503 Service Unavailable