simple 07-Dec-2023 17:07:20 Build Reference Application - Distribution 3.x Releases - Frontend #15 (REFAPP-D3R-FRON-15) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4 simple 07-Dec-2023 17:07:20 Remote agent on host xiao.openmrs.org simple 07-Dec-2023 17:07:20 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-D3R-FRON simple 07-Dec-2023 17:07:20 Executing build Reference Application - Distribution 3.x Releases - Frontend #15 (REFAPP-D3R-FRON-15) simple 07-Dec-2023 17:07:20 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 07-Dec-2023 17:07:20 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-D3R-FRON simple 07-Dec-2023 17:07:20 Updating source code to revision: f74583a521b58e35dc476105f8159e0c461fa088 simple 07-Dec-2023 17:07:20 /usr/bin/git version simple 07-Dec-2023 17:07:20 /usr/bin/git log -1 --encoding=UTF-8 --format=%H HEAD simple 07-Dec-2023 17:07:20 /usr/bin/git -c credential.helper= -c 'credential.helper=store --file=/home/bamboo-agent/bamboo-agent/.agent_tmp/gitCredentials2607735919607988940.tmp' ls-remote https://github.com/openmrs/openmrs-distro-referenceapplication.git simple 07-Dec-2023 17:07:21 Fetching 'refs/heads/main' from 'https://github.com/openmrs/openmrs-distro-referenceapplication.git'. simple 07-Dec-2023 17:07:21 /usr/bin/git -c credential.helper= -c 'credential.helper=store --file=/home/bamboo-agent/bamboo-agent/.agent_tmp/gitCredentials2607735919607988940.tmp' fetch https://github.com/openmrs/openmrs-distro-referenceapplication.git +refs/heads/main:refs/heads/main --update-head-ok --progress --verbose simple 07-Dec-2023 17:07:21 POST git-upload-pack (371 bytes) simple 07-Dec-2023 17:07:21 From https://github.com/openmrs/openmrs-distro-referenceapplication simple 07-Dec-2023 17:07:21 = [up to date] main -> main simple 07-Dec-2023 17:07:21 /usr/bin/git log -1 --encoding=UTF-8 --format=%H f74583a521b58e35dc476105f8159e0c461fa088 simple 07-Dec-2023 17:07:21 Checking out revision f74583a521b58e35dc476105f8159e0c461fa088. simple 07-Dec-2023 17:07:21 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-D3R-FRON/.git'. simple 07-Dec-2023 17:07:21 /usr/bin/git clone /home/bamboo-agent/bamboo-agent/xml-data/build-dir/_git-repositories-cache/0019cc67058fb130bdcc0d91c7970255301662a8 --shared --no-checkout '-c filter.lfs.smudge=' '-c filter.lfs.required=false' /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-D3R-FRON simple 07-Dec-2023 17:07:21 Cloning into '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-D3R-FRON'... simple 07-Dec-2023 17:07:21 done. simple 07-Dec-2023 17:07:21 /usr/bin/git show-ref main simple 07-Dec-2023 17:07:21 /usr/bin/git checkout -f f74583a521b58e35dc476105f8159e0c461fa088 simple 07-Dec-2023 17:07:21 Note: switching to 'f74583a521b58e35dc476105f8159e0c461fa088'. simple 07-Dec-2023 17:07:21 simple 07-Dec-2023 17:07:21 You are in 'detached HEAD' state. You can look around, make experimental simple 07-Dec-2023 17:07:21 changes and commit them, and you can discard any commits you make in this simple 07-Dec-2023 17:07:21 state without impacting any branches by switching back to a branch. simple 07-Dec-2023 17:07:21 simple 07-Dec-2023 17:07:21 If you want to create a new branch to retain commits you create, you may simple 07-Dec-2023 17:07:21 do so (now or later) by using -c with the switch command. Example: simple 07-Dec-2023 17:07:21 simple 07-Dec-2023 17:07:21 git switch -c simple 07-Dec-2023 17:07:21 simple 07-Dec-2023 17:07:21 Or undo this operation with: simple 07-Dec-2023 17:07:21 simple 07-Dec-2023 17:07:21 git switch - simple 07-Dec-2023 17:07:21 simple 07-Dec-2023 17:07:21 Turn off this advice by setting config variable advice.detachedHead to false simple 07-Dec-2023 17:07:21 simple 07-Dec-2023 17:07:21 HEAD is now at f74583a (release) Release 3.0.0-beta.16 simple 07-Dec-2023 17:07:21 /usr/bin/git remote set-url origin file:///home/bamboo-agent/bamboo-agent/xml-data/build-dir/_git-repositories-cache/0019cc67058fb130bdcc0d91c7970255301662a8 simple 07-Dec-2023 17:07:21 Updated source code to revision: f74583a521b58e35dc476105f8159e0c461fa088 simple 07-Dec-2023 17:07:21 Finished task 'Checkout Default Repository' with result: Success simple 07-Dec-2023 17:07:21 Running pre-build action: Build Log Labeller Pre Build Action simple 07-Dec-2023 17:07:21 Running pre-build action: VCS Version Collector simple 07-Dec-2023 17:07:21 Running pre-build action: Run Predator simple 07-Dec-2023 17:07:21 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 07-Dec-2023 17:07:21 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 07-Dec-2023 17:07:21 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 07-Dec-2023 17:07:21 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 07-Dec-2023 17:07:21 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 62246 java 1468 bamboo-age 2978Mb 602Mb 00:13:48 /usr/lib/jvm/java-8-ope simple 07-Dec-2023 17:07:21 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1468 wrapper 1 bamboo-age 16Mb 2Mb 00:05:38 /home/bamboo-agent/bamb simple 07-Dec-2023 17:07:21 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 99Mb 10Mb 00:00:31 /sbin/init simple 07-Dec-2023 17:07:21 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 07-Dec-2023 17:07:21 [PredatorPreBuildAction] Initial free space: 5.431099 GB simple 07-Dec-2023 17:07:21 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage simple 07-Dec-2023 17:07:21 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-D3X-RCBET simple 07-Dec-2023 17:07:27 [PredatorPreBuildAction] Deleting 6 snapshot folders from /home/bamboo-agent/.m2/repository simple 07-Dec-2023 17:07:27 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 07-Dec-2023 17:07:27 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 07-Dec-2023 17:07:27 [PredatorPreBuildAction] Maven stable disk freed: 0.54055405 GB, deleted 47 files simple 07-Dec-2023 17:07:27 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 07-Dec-2023 17:07:27 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. simple 07-Dec-2023 17:07:27 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 07-Dec-2023 17:07:27 [PredatorPreBuildAction] Final free space: 5.4311028 GB simple 07-Dec-2023 17:07:27 [PredatorPreBuildAction] Done command 07-Dec-2023 17:07:27 Substituting variable: ${bamboo.dockerhub.username} with openmrsci command 07-Dec-2023 17:07:27 Substituting password variable: ${bamboo.dockerhub.password} command 07-Dec-2023 17:07:27 Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64 command 07-Dec-2023 17:07:27 Substituting variable: ${bamboo.TagBuildTriggerReason.tagName} with 3.0.0-beta.16 simple 07-Dec-2023 17:07:27 Starting task 'Build and tag image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 07-Dec-2023 17:07:27 Beginning to execute external process for build 'Reference Application - Distribution 3.x Releases - Frontend #15 (REFAPP-D3R-FRON-15)'\n ... running command line: \n/home/bamboo-agent/bamboo-agent/temp/REFAPP-D3R-FRON-15-ScriptBuildTask-9171547043750835110.sh\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-D3R-FRON\nbamboo_planRepository_1_branch=main\nbamboo_capability_system_builder_grailsBuilder_Grails_2_3_7=/opt/grails\nbamboo_dockerhub_password=********\nbamboo_planRepository_1_branchDisplayName=main\nbamboo_repository_revision_number=f74583a521b58e35dc476105f8159e0c461fa088\nbamboo_capability_system_builder_command_transifex=/usr/bin/tx\nbamboo_resultsUrl=https://ci.openmrs.org/browse/REFAPP-D3R-FRON-15\nbamboo_repository_246579206_branch_name=main\nbamboo_build_working_directory=/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-D3R-FRON\nbamboo_planRepository_1_name=Distribution 3.x\nbamboo_buildKey=REFAPP-D3R-FRON\nbamboo_repository_246579206_git_username=\nbamboo_preparing_refapp_distro_release=false\nbamboo_shortPlanName=Distribution 3.x Releases\nbamboo_planRepository_name=Distribution 3.x\nbamboo_docs_aws_secret_key=********\nbamboo_buildNumber=15\nbamboo_shortJobName=Frontend\nbamboo_buildResultsUrl=https://ci.openmrs.org/browse/REFAPP-D3R-FRON-15\nbamboo_planRepository_repositoryUrl=https://github.com/openmrs/openmrs-distro-referenceapplication.git\nbamboo_docker_image_platforms=linux/amd64,linux/arm64\nbamboo_ManualBuildTriggerReason_stageName=Build\nbamboo_agentId=260931590\nbamboo_planName=Reference Application - Distribution 3.x Releases\nbamboo_shortPlanKey=D3R\nbamboo_shortJobKey=FRON\nbamboo_capability_system_jdk_JDK_8=/usr/lib/jvm/java-8-openjdk-amd64\nbamboo_planRepository_revision=f74583a521b58e35dc476105f8159e0c461fa088\nbamboo_buildTimeStamp=2023-12-07T17:07:20.761Z\nbamboo_repository_246579206_git_branch=main\nbamboo_refapp_bamboo_build_number=\nbamboo_repository_git_branch=main\nbamboo_buildResultKey=REFAPP-D3R-FRON-15\nbamboo_repository_branch_name=main\nbamboo_docs_aws_access_key=AKIAI7KMDL5KP2673G7A\nbamboo_buildPlanName=Reference Application - Distribution 3.x Releases - Frontend\nbamboo_dockerhub_username=openmrsci\nbamboo_planRepository_1_revision=f74583a521b58e35dc476105f8159e0c461fa088\nbamboo_repository_name=Distribution 3.x\nbamboo_capability_system_jdk_openjdk_8_jdk=/usr/lib/jvm/java-8-openjdk-amd64\nbamboo_refapp_distro_scm=git@github.com:openmrs/openmrs-distro-referenceapplication.git\nbamboo_transifex_password=********\nbamboo_capability_system_jdk_openjdk_11_jdk=/usr/lib/jvm/java-11-openjdk-amd64\nbamboo_capability_system_builder_grailsBuilder_Grails_2=/opt/grails\nbamboo_buildFailed=false\nbamboo_repository_246579206_name=Distribution 3.x\nbamboo_capability_system_docker_executable=/usr/bin/docker\nbamboo_planRepository_branch=main\nbamboo_capability_system_builder_command_Bash=/bin/bash\nbamboo_agentWorkingDirectory=/home/bamboo-agent/bamboo-agent/xml-data/build-dir\nbamboo_capability_system_git_executable=/usr/bin/git\nbamboo_repository_git_username=\nbamboo_planRepository_branchDisplayName=main\nbamboo_capability_system_jdk_JDK_1_8_0_392=/usr/lib/jvm/java-8-openjdk-amd64\nbamboo_capability_system_jdk_JDK_11=/usr/lib/jvm/java-11-openjdk-amd64\nbamboo_planRepository_1_type=gitv2\nbamboo_planRepository_branchName=main\nbamboo_TagBuildTriggerReason_tagName=3.0.0-beta.16\nbamboo_capability_system_jdk_JDK=/usr/lib/jvm/java-8-openjdk-amd64\nbamboo_mavenBuildGoals=clean install\nbamboo_plan_storageTag=plan-246317064\nbamboo_planRepository_1_username=\nbamboo_planRepository_type=gitv2\nbamboo_git_cache_directory=/home/bamboo-agent/bamboo-agent/xml-data/build-dir/_git-repositories-cache\nbamboo_ManualBuildTriggerReason_userName=ibacher\nbamboo_repository_git_repositoryUrl=https://github.com/openmrs/openmrs-distro-referenceapplication.git\nbamboo_transifex_username=api\nbamboo_repository_246579206_git_repositoryUrl=https://github.com/openmrs/openmrs-distro-referenceapplication.git\nbamboo_capability_system_builder_node_Node_js=/data/.nvm/versions/node/v16.18.0/bin/node\nbamboo_TagBuildTriggerReason_customRevision=f74583a521b58e35dc476105f8159e0c461fa088\nbamboo_refapp_distro_dev_branch=2.x\nbamboo_TagBuildTriggerReason_buildKey=REFAPP-D3R-15\nbamboo_capability_system_builder_mvn3_Maven_3=/usr/share/apache-maven-3.8.6\nbamboo_tmp_directory=/home/bamboo-agent/bamboo-agent/temp\nbamboo_working_directory=/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-D3R-FRON\nbamboo_planKey=REFAPP-D3R\nbamboo_RerunBuildTriggerReason_noOfRetries=1\nbamboo_capability_system_builder_command_nvm=nvm\nbamboo_planRepository_1_repositoryUrl=https://github.com/openmrs/openmrs-distro-referenceapplication.git\nbamboo_planRepository_username=\nbamboo_repository_246579206_revision_number=f74583a521b58e35dc476105f8159e0c461fa088\nbamboo_capability_system_jdk_JDK_1_8=/usr/lib/jvm/java-8-openjdk-amd64\nbamboo_planRepository_1_branchName=main\n build 07-Dec-2023 17:07:27 Start of Lmod init/bash script to define the module command error 07-Dec-2023 17:07:27 + [[ ehuB != ehuxB ]] error 07-Dec-2023 17:07:27 + echo 'Start of Lmod init/bash script to define the module command' error 07-Dec-2023 17:07:27 + LMOD_PKG=/usr/share/lmod/lmod error 07-Dec-2023 17:07:27 + LMOD_DIR=/usr/share/lmod/lmod/libexec error 07-Dec-2023 17:07:27 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod error 07-Dec-2023 17:07:27 + MODULESHOME=/usr/share/lmod/lmod error 07-Dec-2023 17:07:27 + export LMOD_PKG error 07-Dec-2023 17:07:27 + export LMOD_CMD error 07-Dec-2023 17:07:27 + export LMOD_DIR error 07-Dec-2023 17:07:27 + export MODULESHOME error 07-Dec-2023 17:07:27 + LMOD_VERSION=6.6 error 07-Dec-2023 17:07:27 + export LMOD_VERSION error 07-Dec-2023 17:07:27 + '[' : '!=' : ']' error 07-Dec-2023 17:07:27 + unalias ml error 07-Dec-2023 17:07:27 + true error 07-Dec-2023 17:07:27 ++ /usr/bin/tr '[:upper:]' '[:lower:]' build 07-Dec-2023 17:07:27 End of Lmod init/bash script to define the module command error 07-Dec-2023 17:07:27 ++ echo YES error 07-Dec-2023 17:07:27 + export_module=yes error 07-Dec-2023 17:07:27 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' error 07-Dec-2023 17:07:27 + export -f module error 07-Dec-2023 17:07:27 + export -f ml error 07-Dec-2023 17:07:27 + unset export_module error 07-Dec-2023 17:07:27 + '[' -n '' ']' error 07-Dec-2023 17:07:27 + '[' 5 -ge 3 ']' error 07-Dec-2023 17:07:27 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' error 07-Dec-2023 17:07:27 + '[' -n '' ']' error 07-Dec-2023 17:07:27 + [[ ehuB != ehuxB ]] error 07-Dec-2023 17:07:27 + echo 'End of Lmod init/bash script to define the module command' error 07-Dec-2023 17:07:27 + export IMAGE=openmrs/openmrs-reference-application-3-frontend error 07-Dec-2023 17:07:27 + IMAGE=openmrs/openmrs-reference-application-3-frontend error 07-Dec-2023 17:07:27 + docker login -u openmrsci -p ******** error 07-Dec-2023 17:07:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. error 07-Dec-2023 17:07:27 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. error 07-Dec-2023 17:07:27 Configure a credential helper to remove this warning. See error 07-Dec-2023 17:07:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store error 07-Dec-2023 17:07:27 build 07-Dec-2023 17:07:27 Login Succeeded error 07-Dec-2023 17:07:27 ++ date +%s error 07-Dec-2023 17:07:27 + docker buildx build --pull --push --platform linux/amd64,linux/arm64 --build-arg CACHE_BUST=1701968847 -t openmrs/openmrs-reference-application-3-frontend:3.0.0-beta.16 -t openmrs/openmrs-reference-application-3-frontend:qa frontend/ error 07-Dec-2023 17:07:28 #1 [internal] load build definition from Dockerfile error 07-Dec-2023 17:07:28 #1 transferring dockerfile: error 07-Dec-2023 17:07:28 #1 transferring dockerfile: 1.14kB done error 07-Dec-2023 17:07:28 #1 DONE 0.0s error 07-Dec-2023 17:07:28 error 07-Dec-2023 17:07:28 #2 [auth] docker/dockerfile:pull token for registry-1.docker.io error 07-Dec-2023 17:07:28 #2 DONE 0.0s error 07-Dec-2023 17:07:28 error 07-Dec-2023 17:07:28 #3 resolve image config for docker.io/docker/dockerfile:1.3 error 07-Dec-2023 17:07:28 #3 DONE 0.3s error 07-Dec-2023 17:07:28 error 07-Dec-2023 17:07:28 #4 docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 error 07-Dec-2023 17:07:28 #4 resolve docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 error 07-Dec-2023 17:07:28 #4 resolve docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 0.0s done error 07-Dec-2023 17:07:28 #4 CACHED error 07-Dec-2023 17:07:29 error 07-Dec-2023 17:07:29 #5 [internal] load .dockerignore error 07-Dec-2023 17:07:29 #5 transferring context: error 07-Dec-2023 17:07:29 #5 transferring context: 2B done error 07-Dec-2023 17:07:29 #5 DONE 0.1s error 07-Dec-2023 17:07:29 error 07-Dec-2023 17:07:29 #6 [auth] library/nginx:pull token for registry-1.docker.io error 07-Dec-2023 17:07:29 #6 DONE 0.0s error 07-Dec-2023 17:07:29 error 07-Dec-2023 17:07:29 #7 [auth] library/node:pull token for registry-1.docker.io error 07-Dec-2023 17:07:29 #7 DONE 0.0s error 07-Dec-2023 17:07:29 error 07-Dec-2023 17:07:29 #8 [linux/amd64 internal] load metadata for docker.io/library/node:18-alpine error 07-Dec-2023 17:07:29 #8 ... error 07-Dec-2023 17:07:29 error 07-Dec-2023 17:07:29 #9 [linux/arm64 internal] load metadata for docker.io/library/nginx:1.25-alpine error 07-Dec-2023 17:07:29 #9 DONE 0.4s error 07-Dec-2023 17:07:29 error 07-Dec-2023 17:07:29 #10 [linux/amd64 internal] load metadata for docker.io/library/nginx:1.25-alpine error 07-Dec-2023 17:07:29 #10 DONE 0.4s error 07-Dec-2023 17:07:29 error 07-Dec-2023 17:07:29 #8 [linux/amd64 internal] load metadata for docker.io/library/node:18-alpine error 07-Dec-2023 17:07:29 #8 DONE 0.4s error 07-Dec-2023 17:07:29 error 07-Dec-2023 17:07:29 #11 [internal] load build context error 07-Dec-2023 17:07:29 #11 DONE 0.0s error 07-Dec-2023 17:07:29 error 07-Dec-2023 17:07:29 #12 [linux/amd64 stage-1 1/7] FROM docker.io/library/nginx:1.25-alpine@sha256:3923f8de8d2214b9490e68fd6ae63ea604deddd166df2755b788bef04848b9bc error 07-Dec-2023 17:07:29 #12 resolve docker.io/library/nginx:1.25-alpine@sha256:3923f8de8d2214b9490e68fd6ae63ea604deddd166df2755b788bef04848b9bc error 07-Dec-2023 17:07:29 #12 resolve docker.io/library/nginx:1.25-alpine@sha256:3923f8de8d2214b9490e68fd6ae63ea604deddd166df2755b788bef04848b9bc 0.1s done error 07-Dec-2023 17:07:29 #12 DONE 0.1s error 07-Dec-2023 17:07:29 error 07-Dec-2023 17:07:29 #13 [linux/arm64 stage-1 1/7] FROM docker.io/library/nginx:1.25-alpine@sha256:3923f8de8d2214b9490e68fd6ae63ea604deddd166df2755b788bef04848b9bc error 07-Dec-2023 17:07:29 #13 resolve docker.io/library/nginx:1.25-alpine@sha256:3923f8de8d2214b9490e68fd6ae63ea604deddd166df2755b788bef04848b9bc 0.1s done error 07-Dec-2023 17:07:29 #13 DONE 0.1s error 07-Dec-2023 17:07:29 error 07-Dec-2023 17:07:29 #14 [linux/amd64 dev 1/7] FROM docker.io/library/node:18-alpine@sha256:4bdb3f3105718f0742bc8d64bb4e36e8f955ebbee295325e40ae80bc8ef78833 error 07-Dec-2023 17:07:29 #14 resolve docker.io/library/node:18-alpine@sha256:4bdb3f3105718f0742bc8d64bb4e36e8f955ebbee295325e40ae80bc8ef78833 0.1s done error 07-Dec-2023 17:07:29 #14 CACHED error 07-Dec-2023 17:07:29 error 07-Dec-2023 17:07:29 #15 [linux/amd64 dev 2/7] RUN mkdir -p /app error 07-Dec-2023 17:07:30 #15 ... error 07-Dec-2023 17:07:30 error 07-Dec-2023 17:07:30 #11 [internal] load build context error 07-Dec-2023 17:07:30 #11 transferring context: 5.43kB done error 07-Dec-2023 17:07:30 #11 DONE 0.1s error 07-Dec-2023 17:07:30 error 07-Dec-2023 17:07:30 #15 [linux/amd64 dev 2/7] RUN mkdir -p /app error 07-Dec-2023 17:07:30 #15 DONE 0.2s error 07-Dec-2023 17:07:30 error 07-Dec-2023 17:07:30 #16 [linux/amd64 dev 3/7] WORKDIR /app error 07-Dec-2023 17:07:30 #16 DONE 0.1s error 07-Dec-2023 17:07:30 error 07-Dec-2023 17:07:30 #17 [linux/amd64 dev 4/7] COPY spa-build-config.json . error 07-Dec-2023 17:07:30 #17 DONE 0.1s error 07-Dec-2023 17:07:30 error 07-Dec-2023 17:07:30 #18 [linux/amd64 dev 5/7] RUN npx --legacy-peer-deps openmrs@5.3.2 assemble --manifest --mode config --config spa-build-config.json --target ./spa error 07-Dec-2023 17:07:32 #18 2.150 npm WARN exec The following package was not found and will be installed: openmrs@5.3.2 error 07-Dec-2023 17:08:01 #18 31.46 npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs error 07-Dec-2023 17:08:02 #18 32.21 npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead error 07-Dec-2023 17:08:03 #18 32.84 npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser error 07-Dec-2023 17:08:04 #18 34.08 npm WARN deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0 error 07-Dec-2023 17:08:07 #18 37.03 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 error 07-Dec-2023 17:08:37 #18 66.85 [openmrs] Reading configuration ... error 07-Dec-2023 17:08:37 #18 66.85 [openmrs] Assembling the importmap ... error 07-Dec-2023 17:08:44 #18 73.88 npm notice error 07-Dec-2023 17:08:44 #18 73.88 npm notice New patch version of npm available! 10.2.3 -> 10.2.5 error 07-Dec-2023 17:08:44 #18 73.88 npm notice Changelog: error 07-Dec-2023 17:08:44 #18 73.88 npm notice Run `npm install -g npm@10.2.5` to update! error 07-Dec-2023 17:08:44 #18 73.89 npm notice error 07-Dec-2023 17:08:44 #18 DONE 74.2s error 07-Dec-2023 17:08:44 error 07-Dec-2023 17:08:44 #19 [linux/amd64 dev 6/7] RUN npx --legacy-peer-deps openmrs@5.3.2 build --build-config spa-build-config.json --target ./spa error 07-Dec-2023 17:08:49 #19 4.786 [openmrs] Running build process ... error 07-Dec-2023 17:09:27 #19 42.96 (node:23) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated. error 07-Dec-2023 17:09:27 #19 42.96 BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation. error 07-Dec-2023 17:09:27 #19 42.96 Do changes to assets earlier, e. g. in Compilation.hooks.processAssets. error 07-Dec-2023 17:09:27 #19 42.96 Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*. error 07-Dec-2023 17:09:27 #19 42.96 (Use `node --trace-deprecation ...` to show where the warning was created) error 07-Dec-2023 17:09:27 #19 43.35 assets by info 4.75 MiB [immutable] error 07-Dec-2023 17:09:27 #19 43.35 assets by path *.woff 1.35 MiB 90 assets error 07-Dec-2023 17:09:27 #19 43.35 assets by path *.woff2 1.04 MiB 90 assets error 07-Dec-2023 17:09:27 #19 43.35 assets by path *.js 1.2 MiB 3 assets error 07-Dec-2023 17:09:27 #19 43.35 asset openmrs.f51ae97698028f59.css 1.16 MiB [emitted] [immutable] [big] (name: main) 1 related asset error 07-Dec-2023 17:09:27 #19 43.35 assets by path *.png 64.8 KiB error 07-Dec-2023 17:09:27 #19 43.35 asset logo-512.png 15.5 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo-512.png] [copied] error 07-Dec-2023 17:09:27 #19 43.35 asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted] error 07-Dec-2023 17:09:27 #19 43.35 asset icon_384x384.c8923df6b6bd08eba5c79b78d7fcecc0.png 12.7 KiB [emitted] error 07-Dec-2023 17:09:27 #19 43.35 asset icon_256x256.c729f6e7e914b58fcea5ce91d7aa9bad.png 6.87 KiB [emitted] error 07-Dec-2023 17:09:27 #19 43.35 + 4 assets error 07-Dec-2023 17:09:27 #19 43.35 asset index.html 3.07 KiB [emitted] error 07-Dec-2023 17:09:27 #19 43.35 asset logo.svg 1.33 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo.svg] [copied] error 07-Dec-2023 17:09:27 #19 43.35 asset manifest.5b75f75f5d42204f1d54b9e28a60208c.json 1.26 KiB [emitted] error 07-Dec-2023 17:09:27 #19 43.35 asset favicon.ico 1.12 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/favicon.ico] [copied] error 07-Dec-2023 17:09:27 #19 43.35 Entrypoint main [big] 2.33 MiB (1.54 MiB) = openmrs.f51ae97698028f59.css 1.16 MiB openmrs.75886561fc98812f.js 1.17 MiB 2 auxiliary assets error 07-Dec-2023 17:09:27 #19 43.35 orphan modules 10.6 MiB (javascript) 29.9 KiB (css/mini-extract) 2.4 MiB (asset) 48.9 KiB (runtime) [orphan] 1500 modules error 07-Dec-2023 17:09:27 #19 43.35 runtime modules 19.1 KiB 14 modules error 07-Dec-2023 17:09:27 #19 43.35 built modules 4.44 MiB (javascript) 1.16 MiB (css/mini-extract) 420 bytes (share-init) 420 bytes (consume-shared) [built] error 07-Dec-2023 17:09:27 #19 43.35 javascript modules 4.44 MiB 228 modules error 07-Dec-2023 17:09:27 #19 43.35 css modules 1.16 MiB error 07-Dec-2023 17:09:27 #19 43.35 modules by path ../@react-spectrum/ 429 KiB 11 modules error 07-Dec-2023 17:09:27 #19 43.35 modules by path ../@openmrs/ 761 KiB 4 modules error 07-Dec-2023 17:09:27 #19 43.35 provide-module modules 420 bytes error 07-Dec-2023 17:09:27 #19 43.35 modules by path provide shared module (default) @openmrs/ 84 bytes 2 modules error 07-Dec-2023 17:09:27 #19 43.35 + 8 modules error 07-Dec-2023 17:09:27 #19 43.35 consume-shared-module modules 420 bytes error 07-Dec-2023 17:09:27 #19 43.35 modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules error 07-Dec-2023 17:09:27 #19 43.35 + 8 modules error 07-Dec-2023 17:09:27 #19 43.35 error 07-Dec-2023 17:09:27 #19 43.35 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB). error 07-Dec-2023 17:09:27 #19 43.35 This can impact web performance. error 07-Dec-2023 17:09:27 #19 43.35 Assets: error 07-Dec-2023 17:09:27 #19 43.35 openmrs.f51ae97698028f59.css (1.16 MiB) error 07-Dec-2023 17:09:27 #19 43.35 openmrs.75886561fc98812f.js (1.17 MiB) error 07-Dec-2023 17:09:27 #19 43.35 error 07-Dec-2023 17:09:27 #19 43.35 WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance. error 07-Dec-2023 17:09:27 #19 43.35 Entrypoints: error 07-Dec-2023 17:09:27 #19 43.35 main (2.33 MiB) error 07-Dec-2023 17:09:27 #19 43.35 openmrs.f51ae97698028f59.css error 07-Dec-2023 17:09:27 #19 43.35 openmrs.75886561fc98812f.js error 07-Dec-2023 17:09:27 #19 43.35  error 07-Dec-2023 17:09:27 #19 43.35 error 07-Dec-2023 17:09:27 #19 43.35 webpack 5.89.0 compiled with 2 warnings in 37690 ms error 07-Dec-2023 17:09:28 #19 43.35 [openmrs] Build finished. error 07-Dec-2023 17:09:28 #19 DONE 43.5s error 07-Dec-2023 17:09:28 error 07-Dec-2023 17:09:28 #20 [linux/amd64 dev 7/7] 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 07-Dec-2023 17:09:28 #20 DONE 0.1s error 07-Dec-2023 17:09:28 error 07-Dec-2023 17:09:28 #12 [linux/amd64 stage-1 1/7] FROM docker.io/library/nginx:1.25-alpine@sha256:3923f8de8d2214b9490e68fd6ae63ea604deddd166df2755b788bef04848b9bc error 07-Dec-2023 17:09:28 #12 CACHED error 07-Dec-2023 17:09:28 error 07-Dec-2023 17:09:28 #13 [linux/arm64 stage-1 1/7] FROM docker.io/library/nginx:1.25-alpine@sha256:3923f8de8d2214b9490e68fd6ae63ea604deddd166df2755b788bef04848b9bc error 07-Dec-2023 17:09:28 #13 CACHED error 07-Dec-2023 17:09:28 error 07-Dec-2023 17:09:28 #21 [linux/arm64 stage-1 2/7] RUN apk update && apk upgrade && apk add --no-cache moreutils error 07-Dec-2023 17:09:29 #21 0.319 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz error 07-Dec-2023 17:09:29 #21 0.935 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz error 07-Dec-2023 17:09:30 #21 ... error 07-Dec-2023 17:09:30 error 07-Dec-2023 17:09:30 #22 [linux/amd64 stage-1 2/7] RUN apk update && apk upgrade && apk add --no-cache moreutils error 07-Dec-2023 17:09:30 #0 0.176 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz error 07-Dec-2023 17:09:30 #0 0.391 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz error 07-Dec-2023 17:09:30 #0 0.696 v3.18.5-23-g461d07a7bf3 [https://dl-cdn.alpinelinux.org/alpine/v3.18/main] error 07-Dec-2023 17:09:30 #0 0.697 v3.18.5-21-gda5d97f8824 [https://dl-cdn.alpinelinux.org/alpine/v3.18/community] error 07-Dec-2023 17:09:30 #0 0.697 OK: 20076 distinct packages available error 07-Dec-2023 17:09:30 #0 0.968 (1/2) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) error 07-Dec-2023 17:09:30 #0 1.051 (2/2) Upgrading curl (8.4.0-r0 -> 8.5.0-r0) error 07-Dec-2023 17:09:30 #0 1.063 Executing busybox-1.36.1-r5.trigger error 07-Dec-2023 17:09:30 #0 1.071 OK: 45 MiB in 64 packages error 07-Dec-2023 17:09:30 #0 1.128 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz error 07-Dec-2023 17:09:30 #0 1.233 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz error 07-Dec-2023 17:09:30 #0 1.436 (1/5) Installing perl (5.36.2-r0) error 07-Dec-2023 17:09:30 #0 1.700 (2/5) Installing perl-timedate (2.33-r2) error 07-Dec-2023 17:09:30 #0 1.713 (3/5) Installing perl-io-tty (1.17-r1) error 07-Dec-2023 17:09:30 #0 1.724 (4/5) Installing perl-ipc-run (20220807.0-r1) error 07-Dec-2023 17:09:30 #0 1.737 (5/5) Installing moreutils (0.67-r0) error 07-Dec-2023 17:09:30 #0 1.749 Executing busybox-1.36.1-r5.trigger error 07-Dec-2023 17:09:30 #0 1.755 OK: 84 MiB in 69 packages error 07-Dec-2023 17:09:30 #22 DONE 1.9s error 07-Dec-2023 17:09:30 error 07-Dec-2023 17:09:30 #23 [linux/amd64 stage-1 3/7] RUN rm -rf /usr/share/nginx/html/* error 07-Dec-2023 17:09:30 #23 DONE 0.1s error 07-Dec-2023 17:09:30 error 07-Dec-2023 17:09:30 #21 [linux/arm64 stage-1 2/7] RUN apk update && apk upgrade && apk add --no-cache moreutils error 07-Dec-2023 17:09:30 #21 ... error 07-Dec-2023 17:09:30 error 07-Dec-2023 17:09:30 #24 [linux/amd64 stage-1 4/7] COPY startup.sh /usr/local/bin/startup.sh error 07-Dec-2023 17:09:30 #24 DONE 0.1s error 07-Dec-2023 17:09:30 error 07-Dec-2023 17:09:30 #21 [linux/arm64 stage-1 2/7] RUN apk update && apk upgrade && apk add --no-cache moreutils error 07-Dec-2023 17:09:30 #21 2.015 v3.18.5-23-g461d07a7bf3 [https://dl-cdn.alpinelinux.org/alpine/v3.18/main] error 07-Dec-2023 17:09:30 #21 2.015 v3.18.5-21-gda5d97f8824 [https://dl-cdn.alpinelinux.org/alpine/v3.18/community] error 07-Dec-2023 17:09:30 #21 2.015 OK: 19953 distinct packages available error 07-Dec-2023 17:09:31 #21 ... error 07-Dec-2023 17:09:31 error 07-Dec-2023 17:09:31 #25 [linux/amd64 stage-1 5/7] RUN chmod +x /usr/local/bin/startup.sh error 07-Dec-2023 17:09:31 #25 DONE 0.1s error 07-Dec-2023 17:09:31 error 07-Dec-2023 17:09:31 #26 [linux/amd64 stage-1 6/7] COPY nginx.conf /etc/nginx/nginx.conf error 07-Dec-2023 17:09:31 #26 DONE 0.1s error 07-Dec-2023 17:09:31 error 07-Dec-2023 17:09:31 #27 [linux/amd64 stage-1 7/7] COPY --from=dev /app/spa /usr/share/nginx/html error 07-Dec-2023 17:09:31 #27 DONE 0.7s error 07-Dec-2023 17:09:31 error 07-Dec-2023 17:09:31 #21 [linux/arm64 stage-1 2/7] RUN apk update && apk upgrade && apk add --no-cache moreutils error 07-Dec-2023 17:09:32 #21 3.260 (1/2) Upgrading libcurl (8.4.0-r0 -> 8.5.0-r0) error 07-Dec-2023 17:09:32 #21 3.635 (2/2) Upgrading curl (8.4.0-r0 -> 8.5.0-r0) error 07-Dec-2023 17:09:32 #21 3.676 Executing busybox-1.36.1-r5.trigger error 07-Dec-2023 17:09:32 #21 3.739 OK: 46 MiB in 64 packages error 07-Dec-2023 17:09:32 #21 3.927 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz error 07-Dec-2023 17:09:33 #21 4.485 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz error 07-Dec-2023 17:09:34 #21 5.379 (1/5) Installing perl (5.36.2-r0) error 07-Dec-2023 17:09:35 #21 6.546 (2/5) Installing perl-timedate (2.33-r2) error 07-Dec-2023 17:09:35 #21 6.580 (3/5) Installing perl-io-tty (1.17-r1) error 07-Dec-2023 17:09:35 #21 6.594 (4/5) Installing perl-ipc-run (20220807.0-r1) error 07-Dec-2023 17:09:35 #21 6.618 (5/5) Installing moreutils (0.67-r0) error 07-Dec-2023 17:09:35 #21 6.647 Executing busybox-1.36.1-r5.trigger error 07-Dec-2023 17:09:35 #21 6.706 OK: 87 MiB in 69 packages error 07-Dec-2023 17:09:35 #21 DONE 6.9s error 07-Dec-2023 17:09:35 error 07-Dec-2023 17:09:35 #28 [linux/arm64 stage-1 3/7] RUN rm -rf /usr/share/nginx/html/* error 07-Dec-2023 17:09:35 #28 DONE 0.2s error 07-Dec-2023 17:09:35 error 07-Dec-2023 17:09:35 #29 [linux/arm64 stage-1 4/7] COPY startup.sh /usr/local/bin/startup.sh error 07-Dec-2023 17:09:35 #29 DONE 0.1s error 07-Dec-2023 17:09:35 error 07-Dec-2023 17:09:35 #30 [linux/arm64 stage-1 5/7] RUN chmod +x /usr/local/bin/startup.sh error 07-Dec-2023 17:09:36 #30 DONE 0.2s error 07-Dec-2023 17:09:36 error 07-Dec-2023 17:09:36 #31 [linux/arm64 stage-1 6/7] COPY nginx.conf /etc/nginx/nginx.conf error 07-Dec-2023 17:09:36 #31 DONE 0.1s error 07-Dec-2023 17:09:36 error 07-Dec-2023 17:09:36 #32 [linux/arm64 stage-1 7/7] COPY --from=dev /app/spa /usr/share/nginx/html error 07-Dec-2023 17:09:36 #32 DONE 0.6s error 07-Dec-2023 17:09:36 error 07-Dec-2023 17:09:36 #33 exporting to image error 07-Dec-2023 17:09:36 #33 exporting layers error 07-Dec-2023 17:09:48 #33 exporting layers 11.5s done error 07-Dec-2023 17:09:48 #33 exporting manifest sha256:9e71f316da388de07f54765b5cebc9a852384939b2e3d9b6d85677c84d8292d1 0.0s done error 07-Dec-2023 17:09:48 #33 exporting config sha256:93849447228969e05f1c5d42fe5ee8b075eec2570b4815ff387349525e1a36fc 0.0s done error 07-Dec-2023 17:09:48 #33 exporting manifest sha256:acbccc3145984de5368afce1ce16bf10c4f40a2b237c36c081faf95963e4db1c 0.0s done error 07-Dec-2023 17:09:48 #33 exporting config sha256:7cf89141e7d3cb6a5ade343f54aede71ec21c143007895ee9d733cedb86c2cb8 0.0s done error 07-Dec-2023 17:09:48 #33 exporting manifest list sha256:a8b5694673d2d93b937056ec87eb7560fb8f3715b2f78390b8c060bab297ebce 0.0s done error 07-Dec-2023 17:09:48 #33 ... error 07-Dec-2023 17:09:48 error 07-Dec-2023 17:09:48 #34 [auth] openmrs/openmrs-reference-application-3-frontend:pull,push token for registry-1.docker.io error 07-Dec-2023 17:09:48 #34 DONE 0.0s error 07-Dec-2023 17:09:48 error 07-Dec-2023 17:09:48 #33 exporting to image error 07-Dec-2023 17:09:48 #33 pushing layers error 07-Dec-2023 17:09:53 #33 pushing layers 4.5s done error 07-Dec-2023 17:09:53 #33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:3.0.0-beta.16@sha256:a8b5694673d2d93b937056ec87eb7560fb8f3715b2f78390b8c060bab297ebce error 07-Dec-2023 17:09:54 #33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:3.0.0-beta.16@sha256:a8b5694673d2d93b937056ec87eb7560fb8f3715b2f78390b8c060bab297ebce 1.0s done error 07-Dec-2023 17:09:55 #33 pushing layers 1.4s done error 07-Dec-2023 17:09:55 #33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:qa@sha256:a8b5694673d2d93b937056ec87eb7560fb8f3715b2f78390b8c060bab297ebce error 07-Dec-2023 17:09:55 #33 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:qa@sha256:a8b5694673d2d93b937056ec87eb7560fb8f3715b2f78390b8c060bab297ebce 0.4s done error 07-Dec-2023 17:09:55 #33 DONE 18.9s simple 07-Dec-2023 17:09:56 Finished task 'Build and tag image' with result: Success simple 07-Dec-2023 17:09:56 Running post build plugin 'Docker Container Cleanup' simple 07-Dec-2023 17:09:56 Running post build plugin 'NCover Results Collector' simple 07-Dec-2023 17:09:56 Running post build plugin 'Build Results Label Collector' simple 07-Dec-2023 17:09:56 Running post build plugin 'Clover Results Collector' simple 07-Dec-2023 17:09:56 Running post build plugin 'npm Cache Cleanup' simple 07-Dec-2023 17:09:56 Running post build plugin 'Artifact Copier' simple 07-Dec-2023 17:09:56 Finalising the build... simple 07-Dec-2023 17:09:56 Stopping timer. simple 07-Dec-2023 17:09:56 Build REFAPP-D3R-FRON-15 completed. simple 07-Dec-2023 17:09:56 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 07-Dec-2023 17:09:56 Running on server: post build plugin 'NCover Results Collector' simple 07-Dec-2023 17:09:56 Running on server: post build plugin 'Build Labeller' simple 07-Dec-2023 17:09:56 Running on server: post build plugin 'Clover Delta Calculator' simple 07-Dec-2023 17:09:56 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 07-Dec-2023 17:09:56 All post build plugins have finished simple 07-Dec-2023 17:09:56 Generating build results summary... simple 07-Dec-2023 17:09:56 Saving build results to disk... simple 07-Dec-2023 17:09:56 Store variable context... simple 07-Dec-2023 17:09:56 Finished building REFAPP-D3R-FRON-15.