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

Build: #2247 failed

Job: Build Frontend was successful

Stages & jobs

  1. Build

  2. Deploy

  3. Generate pre-filled Docker Images

  4. Run E2E tests

Build log

The build generated 428 lines of output. Download or view full build log.

26-Jan-2024 16:28:27 Build Reference Application - Distribution 3.x - Build Frontend #2247 (REFAPP-D3X-F2-2247) started building on agent xindi.openmrs.org (3), bamboo version: 8.2.4
26-Jan-2024 16:28:27 Remote agent on host xindi.openmrs.org
26-Jan-2024 16:28:27 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-D3X-F2
26-Jan-2024 16:28:27 Executing build Reference Application - Distribution 3.x - Build Frontend #2247 (REFAPP-D3X-F2-2247)
26-Jan-2024 16:28:27 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
26-Jan-2024 16:28:27 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-D3X-F2
26-Jan-2024 16:28:27 Updating source code to revision: c41afd8baf19cd4a6c51a8f6ae58dab301ace2ae
26-Jan-2024 16:28:27 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-D3X-F2/.git'.
26-Jan-2024 16:28:27 hint: Using 'master' as the name for the initial branch. This default branch name
26-Jan-2024 16:28:27 hint: is subject to change. To configure the initial branch name to use in all
26-Jan-2024 16:28:27 hint: of your new repositories, which will suppress this warning, call:
26-Jan-2024 16:28:27 hint:
26-Jan-2024 16:28:27 hint:         git config --global init.defaultBranch <name>
26-Jan-2024 16:28:27 hint:
26-Jan-2024 16:28:27 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
26-Jan-2024 16:28:27 hint: 'development'. The just-created branch can be renamed via this command:
26-Jan-2024 16:28:27 hint:
26-Jan-2024 16:28:27 hint:         git branch -m <name>
26-Jan-2024 16:28:27 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-D3X-F2/.git/
26-Jan-2024 16:28:27 Fetching 'refs/heads/main' from 'https://github.com/openmrs/openmrs-distro-referenceapplication.git'.
26-Jan-2024 16:28:29 From https://github.com/openmrs/openmrs-distro-referenceapplication
26-Jan-2024 16:28:29 * [new branch]      main       -> main
26-Jan-2024 16:28:29 * [new tag]         2.0.1769      -> 2.0.1769
26-Jan-2024 16:28:29 * [new tag]         2.1           -> 2.1
26-Jan-2024 16:28:29 * [new tag]         2.10.0        -> 2.10.0
26-Jan-2024 16:28:29 * [new tag]         2.2           -> 2.2
26-Jan-2024 16:28:29 * [new tag]         2.3           -> 2.3
26-Jan-2024 16:28:29 * [new tag]         2.4           -> 2.4
26-Jan-2024 16:28:29 * [new tag]         2.5           -> 2.5
26-Jan-2024 16:28:29 * [new tag]         2.6.0         -> 2.6.0
26-Jan-2024 16:28:29 * [new tag]         2.7.0         -> 2.7.0
26-Jan-2024 16:28:29 * [new tag]         2.8.0         -> 2.8.0
26-Jan-2024 16:28:29 * [new tag]         2.8.1         -> 2.8.1
26-Jan-2024 16:28:29 * [new tag]         2.9.0         -> 2.9.0
26-Jan-2024 16:28:29 * [new tag]         3.0.0-alpha.2 -> 3.0.0-alpha.2
26-Jan-2024 16:28:29 * [new tag]         3.0.0-alpha.3 -> 3.0.0-alpha.3
26-Jan-2024 16:28:29 * [new tag]         3.0.0-alpha.4 -> 3.0.0-alpha.4
26-Jan-2024 16:28:29 * [new tag]         3.0.0-alpha.5 -> 3.0.0-alpha.5
26-Jan-2024 16:28:29 * [new tag]         3.0.0-alpha.6 -> 3.0.0-alpha.6
26-Jan-2024 16:28:29 * [new tag]         3.0.0-alpha.7 -> 3.0.0-alpha.7
26-Jan-2024 16:28:29 * [new tag]         3.0.0-beta.1  -> 3.0.0-beta.1
26-Jan-2024 16:28:29 * [new tag]         3.0.0-beta.10 -> 3.0.0-beta.10
26-Jan-2024 16:28:29 * [new tag]         3.0.0-beta.11 -> 3.0.0-beta.11
26-Jan-2024 16:28:29 * [new tag]         3.0.0-beta.12 -> 3.0.0-beta.12
26-Jan-2024 16:28:29 * [new tag]         3.0.0-beta.13 -> 3.0.0-beta.13
26-Jan-2024 16:28:29 * [new tag]         3.0.0-beta.14 -> 3.0.0-beta.14
26-Jan-2024 16:28:29 * [new tag]         3.0.0-beta.15 -> 3.0.0-beta.15
26-Jan-2024 16:28:29 * [new tag]         3.0.0-beta.16 -> 3.0.0-beta.16
26-Jan-2024 16:28:29 * [new tag]         3.0.0-beta.2  -> 3.0.0-beta.2
26-Jan-2024 16:28:29 * [new tag]         3.0.0-beta.3  -> 3.0.0-beta.3
26-Jan-2024 16:28:29 * [new tag]         3.0.0-beta.4  -> 3.0.0-beta.4
26-Jan-2024 16:28:29 * [new tag]         3.0.0-beta.5  -> 3.0.0-beta.5
26-Jan-2024 16:28:29 * [new tag]         3.0.0-beta.6  -> 3.0.0-beta.6
26-Jan-2024 16:28:29 * [new tag]         3.0.0-beta.7  -> 3.0.0-beta.7
26-Jan-2024 16:28:29 * [new tag]         3.0.0-beta.8  -> 3.0.0-beta.8
26-Jan-2024 16:28:29 * [new tag]         3.0.0-beta.9  -> 3.0.0-beta.9
26-Jan-2024 16:28:29 * [new tag]         latest        -> latest
26-Jan-2024 16:28:29 Checking out revision c41afd8baf19cd4a6c51a8f6ae58dab301ace2ae.
26-Jan-2024 16:28:29 Switched to branch 'main'
26-Jan-2024 16:28:29 Updated source code to revision: c41afd8baf19cd4a6c51a8f6ae58dab301ace2ae
26-Jan-2024 16:28:29 Finished task 'Checkout Default Repository' with result: Success
26-Jan-2024 16:28:29 Running pre-build action: Build Log Labeller Pre Build Action
26-Jan-2024 16:28:29 Running pre-build action: VCS Version Collector
26-Jan-2024 16:28:29 Running pre-build action: Run Predator
26-Jan-2024 16:28:29 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
26-Jan-2024 16:28:29 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
26-Jan-2024 16:28:29 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
26-Jan-2024 16:28:29 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
26-Jan-2024 16:28:29 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  3179 java        1304 bamboo-age 2972Mb  515Mb 00:21:03 /usr/lib/jvm/java-8-ope
26-Jan-2024 16:28:29 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1304 wrapper        1 bamboo-age   16Mb    2Mb 00:05:13 /home/bamboo-agent/bamb
26-Jan-2024 16:28:29 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        100Mb   11Mb 00:00:37 /sbin/init             
26-Jan-2024 16:28:29 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
26-Jan-2024 16:28:29 [PredatorPreBuildAction] Initial free space: 5.8044815 GB
26-Jan-2024 16:28:29 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-D3X-GTW
26-Jan-2024 16:28:29 [PredatorPreBuildAction] Deleting 20 snapshot folders from /home/bamboo-agent/.m2/repository
26-Jan-2024 16:28:29 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
26-Jan-2024 16:28:29 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
26-Jan-2024 16:28:29 [PredatorPreBuildAction] Maven stable disk freed: 0.8863411 GB, deleted 654 files
26-Jan-2024 16:28:29 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
26-Jan-2024 16:28:29 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
26-Jan-2024 16:28:29 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
26-Jan-2024 16:28:29 [PredatorPreBuildAction] Final free space: 5.8259773 GB
26-Jan-2024 16:28:29 [PredatorPreBuildAction] Done
26-Jan-2024 16:28:29
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
26-Jan-2024 16:28:29
Substituting password variable: ${bamboo.dockerhub.password}
26-Jan-2024 16:28:29
Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64
26-Jan-2024 16:28:29 Starting task 'Build and publish the image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
26-Jan-2024 16:28:29
Beginning to execute external process for build 'Reference Application - Distribution 3.x - Build Frontend #2247 (REFAPP-D3X-F2-2247)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-D3X-F2-2247-ScriptBuildTask-7010932105310409409.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-D3X-F2
26-Jan-2024 16:28:29 + [[ ehuB != ehuxB ]]
26-Jan-2024 16:28:29 + echo 'Start of Lmod init/bash script to define the module command'
26-Jan-2024 16:28:29 Start of Lmod init/bash script to define the module command
26-Jan-2024 16:28:29 + LMOD_PKG=/usr/share/lmod/lmod
26-Jan-2024 16:28:29 + LMOD_DIR=/usr/share/lmod/lmod/libexec
26-Jan-2024 16:28:29 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
26-Jan-2024 16:28:29 + MODULESHOME=/usr/share/lmod/lmod
26-Jan-2024 16:28:29 + export LMOD_PKG
26-Jan-2024 16:28:29 + export LMOD_CMD
26-Jan-2024 16:28:29 + export LMOD_DIR
26-Jan-2024 16:28:29 + export MODULESHOME
26-Jan-2024 16:28:29 + LMOD_VERSION=6.6
26-Jan-2024 16:28:29 + export LMOD_VERSION
26-Jan-2024 16:28:29 + '[' : '!=' : ']'
26-Jan-2024 16:28:29 + unalias ml
26-Jan-2024 16:28:29 + true
26-Jan-2024 16:28:29 ++ /usr/bin/tr '[:upper:]' '[:lower:]'
26-Jan-2024 16:28:29 ++ echo YES
26-Jan-2024 16:28:29 + export_module=yes
26-Jan-2024 16:28:29 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']'
26-Jan-2024 16:28:29 + export -f module
26-Jan-2024 16:28:29 + export -f ml
26-Jan-2024 16:28:29 + unset export_module
26-Jan-2024 16:28:29 + '[' -n '' ']'
26-Jan-2024 16:28:29 + '[' 5 -ge 3 ']'
26-Jan-2024 16:28:29 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']'
26-Jan-2024 16:28:29 + '[' -n '' ']'
26-Jan-2024 16:28:29 + [[ ehuB != ehuxB ]]
26-Jan-2024 16:28:29 + echo 'End of Lmod init/bash script to define the module command'
26-Jan-2024 16:28:29 + export IMAGE=openmrs/openmrs-reference-application-3-frontend
26-Jan-2024 16:28:29 + IMAGE=openmrs/openmrs-reference-application-3-frontend
26-Jan-2024 16:28:29 + docker login -u openmrsci -p ********
26-Jan-2024 16:28:29 End of Lmod init/bash script to define the module command
26-Jan-2024 16:28:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
26-Jan-2024 16:28:30 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
26-Jan-2024 16:28:30 Configure a credential helper to remove this warning. See
26-Jan-2024 16:28:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
26-Jan-2024 16:28:30
26-Jan-2024 16:28:30 Login Succeeded
26-Jan-2024 16:28:30 ++ date +%s
26-Jan-2024 16:28:30 + docker buildx build --pull --push --platform linux/amd64,linux/arm64 --build-arg CACHE_BUST=1706286510 -t openmrs/openmrs-reference-application-3-frontend:nightly -t openmrs/openmrs-reference-application-3-frontend:dev3 frontend/
26-Jan-2024 16:28:30 #1 [internal] load build definition from Dockerfile
26-Jan-2024 16:28:30 #1 transferring dockerfile: 1.41kB done
26-Jan-2024 16:28:30 #1 DONE 0.1s
26-Jan-2024 16:28:30
26-Jan-2024 16:28:30 #2 resolve image config for docker.io/docker/dockerfile:1.3
26-Jan-2024 16:28:30 #2 ...
26-Jan-2024 16:28:30
26-Jan-2024 16:28:30 #3 [auth] docker/dockerfile:pull token for registry-1.docker.io
26-Jan-2024 16:28:30 #3 DONE 0.0s
26-Jan-2024 16:28:30
26-Jan-2024 16:28:30 #2 resolve image config for docker.io/docker/dockerfile:1.3
26-Jan-2024 16:28:31 #2 DONE 0.3s
26-Jan-2024 16:28:31
26-Jan-2024 16:28:31 #4 docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2
26-Jan-2024 16:28:31 #4 resolve docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 0.0s done
26-Jan-2024 16:28:31 #4 CACHED
26-Jan-2024 16:28:31
26-Jan-2024 16:28:31 #5 [internal] load .dockerignore
26-Jan-2024 16:28:31 #5 transferring context: 2B done
26-Jan-2024 16:28:31 #5 DONE 0.1s
26-Jan-2024 16:28:31
26-Jan-2024 16:28:31 #6 [auth] library/nginx:pull token for registry-1.docker.io
26-Jan-2024 16:28:31 #6 DONE 0.0s
26-Jan-2024 16:28:31
26-Jan-2024 16:28:31 #7 [auth] library/node:pull token for registry-1.docker.io
26-Jan-2024 16:28:31 #7 DONE 0.0s
26-Jan-2024 16:28:31
26-Jan-2024 16:28:31 #8 [linux/amd64 internal] load metadata for docker.io/library/node:18-alpine
26-Jan-2024 16:28:31 #8 ...
26-Jan-2024 16:28:31
26-Jan-2024 16:28:31 #9 [linux/amd64 internal] load metadata for docker.io/library/nginx:1.25-alpine
26-Jan-2024 16:28:31 #9 DONE 0.2s
26-Jan-2024 16:28:31
26-Jan-2024 16:28:31 #10 [linux/arm64 internal] load metadata for docker.io/library/nginx:1.25-alpine
26-Jan-2024 16:28:31 #10 DONE 0.3s
26-Jan-2024 16:28:31
26-Jan-2024 16:28:31 #8 [linux/amd64 internal] load metadata for docker.io/library/node:18-alpine
26-Jan-2024 16:28:31 #8 DONE 0.6s
26-Jan-2024 16:28:31
26-Jan-2024 16:28:31 #11 [internal] load build context
26-Jan-2024 16:28:31 #11 DONE 0.0s
26-Jan-2024 16:28:31
26-Jan-2024 16:28:31 #12 [linux/amd64 stage-1 1/7] FROM docker.io/library/nginx:1.25-alpine@sha256:a59278fd22a9d411121e190b8cec8aa57b306aa3332459197777583beb728f59
26-Jan-2024 16:28:31 #12 resolve docker.io/library/nginx:1.25-alpine@sha256:a59278fd22a9d411121e190b8cec8aa57b306aa3332459197777583beb728f59
26-Jan-2024 16:28:32 #12 resolve docker.io/library/nginx:1.25-alpine@sha256:a59278fd22a9d411121e190b8cec8aa57b306aa3332459197777583beb728f59 0.1s done
26-Jan-2024 16:28:32 #12 DONE 0.1s
26-Jan-2024 16:28:32
26-Jan-2024 16:28:32 #13 [linux/arm64 stage-1 1/7] FROM docker.io/library/nginx:1.25-alpine@sha256:a59278fd22a9d411121e190b8cec8aa57b306aa3332459197777583beb728f59
26-Jan-2024 16:28:32 #13 resolve docker.io/library/nginx:1.25-alpine@sha256:a59278fd22a9d411121e190b8cec8aa57b306aa3332459197777583beb728f59 0.1s done
26-Jan-2024 16:28:32 #13 DONE 0.1s
26-Jan-2024 16:28:32
26-Jan-2024 16:28:32 #11 [internal] load build context
26-Jan-2024 16:28:32 #11 transferring context: 5.53kB done
26-Jan-2024 16:28:32 #11 DONE 0.1s
26-Jan-2024 16:28:32
26-Jan-2024 16:28:32 #14 [linux/amd64 dev 1/8] FROM docker.io/library/node:18-alpine@sha256:b1a0356f7d6b86c958a06949d3db3f7fb27f95f627aa6157cb98bc65c801efa2
26-Jan-2024 16:28:32 #14 resolve docker.io/library/node:18-alpine@sha256:b1a0356f7d6b86c958a06949d3db3f7fb27f95f627aa6157cb98bc65c801efa2 0.1s done
26-Jan-2024 16:28:32 #14 sha256:18f25c33705ddc3351cc4893fdc0a38405bdd0741643798918fa2b0146fd5a9d 451B / 451B 0.1s done
26-Jan-2024 16:28:32 #14 sha256:f028dff98271801e449c3ebac94a319851128c0ec687e13e00a68b2d98ec4700 0B / 2.34MB 0.2s
26-Jan-2024 16:28:32 #14 sha256:0f158788f409a5decd9495205daf4aa17df26d8219d6dc12acab5949342866fe 0B / 40.24MB 0.2s
26-Jan-2024 16:28:32 #14 sha256:661ff4d9561e3fd050929ee5097067c34bafc523ee60f5294a37fd08056a73ca 0B / 3.41MB 0.2s
26-Jan-2024 16:28:32 #14 sha256:f028dff98271801e449c3ebac94a319851128c0ec687e13e00a68b2d98ec4700 2.34MB / 2.34MB 0.2s done
26-Jan-2024 16:28:32 #14 sha256:0f158788f409a5decd9495205daf4aa17df26d8219d6dc12acab5949342866fe 6.29MB / 40.24MB 0.3s
26-Jan-2024 16:28:32 #14 sha256:661ff4d9561e3fd050929ee5097067c34bafc523ee60f5294a37fd08056a73ca 3.41MB / 3.41MB 0.3s done
26-Jan-2024 16:28:32 #14 sha256:0f158788f409a5decd9495205daf4aa17df26d8219d6dc12acab5949342866fe 19.92MB / 40.24MB 0.5s
26-Jan-2024 16:28:32 #14 extracting sha256:661ff4d9561e3fd050929ee5097067c34bafc523ee60f5294a37fd08056a73ca
26-Jan-2024 16:28:32 #14 sha256:0f158788f409a5decd9495205daf4aa17df26d8219d6dc12acab5949342866fe 36.70MB / 40.24MB 0.6s
26-Jan-2024 16:28:32 #14 extracting sha256:661ff4d9561e3fd050929ee5097067c34bafc523ee60f5294a37fd08056a73ca 0.1s done
26-Jan-2024 16:28:32 #14 sha256:0f158788f409a5decd9495205daf4aa17df26d8219d6dc12acab5949342866fe 40.24MB / 40.24MB 0.7s done
26-Jan-2024 16:28:32 #14 extracting sha256:0f158788f409a5decd9495205daf4aa17df26d8219d6dc12acab5949342866fe
26-Jan-2024 16:28:34 #14 extracting sha256:0f158788f409a5decd9495205daf4aa17df26d8219d6dc12acab5949342866fe 1.1s done
26-Jan-2024 16:28:34 #14 extracting sha256:f028dff98271801e449c3ebac94a319851128c0ec687e13e00a68b2d98ec4700
26-Jan-2024 16:28:34 #14 extracting sha256:f028dff98271801e449c3ebac94a319851128c0ec687e13e00a68b2d98ec4700 0.1s done
26-Jan-2024 16:28:34 #14 extracting sha256:18f25c33705ddc3351cc4893fdc0a38405bdd0741643798918fa2b0146fd5a9d 0.0s done
26-Jan-2024 16:28:34 #14 DONE 2.2s
26-Jan-2024 16:28:34
26-Jan-2024 16:28:34 #15 [linux/amd64 dev 2/8] RUN mkdir -p /app
26-Jan-2024 16:28:34 #15 DONE 0.2s
26-Jan-2024 16:28:34
26-Jan-2024 16:28:34 #16 [linux/amd64 dev 3/8] WORKDIR /app
26-Jan-2024 16:28:34 #16 DONE 0.1s
26-Jan-2024 16:28:34
26-Jan-2024 16:28:34 #17 [linux/amd64 dev 4/8] COPY spa-assemble-config.json .
26-Jan-2024 16:28:34 #17 DONE 0.1s
26-Jan-2024 16:28:34
26-Jan-2024 16:28:34 #18 [linux/amd64 dev 5/8] COPY spa-build-config.json .
26-Jan-2024 16:28:34 #18 DONE 0.1s
26-Jan-2024 16:28:34
26-Jan-2024 16:28:34 #19 [linux/amd64 dev 6/8] RUN npx --legacy-peer-deps openmrs@next assemble --manifest --mode config --config spa-assemble-config.json --target ./spa
26-Jan-2024 16:28:36 #19 1.411 npm WARN exec The following package was not found and will be installed: openmrs@5.3.3-pre.1432
26-Jan-2024 16:29:06 #19 32.04 npm WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
26-Jan-2024 16:29:07 #19 32.79 npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
26-Jan-2024 16:29:09 #19 34.41 npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
26-Jan-2024 16:29:10 #19 35.56 npm WARN deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0
26-Jan-2024 16:29:12 #19 37.98 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
26-Jan-2024 16:29:32 #19 58.39 [openmrs] Reading configuration /app/spa-assemble-config.json ...
26-Jan-2024 16:29:32 #19 58.39 [openmrs] Assembling dependencies and building import map and routes registry...
26-Jan-2024 16:29:37 #19 62.39 [openmrs] Finished assembling frontend distribution
26-Jan-2024 16:29:37 #19 62.41 npm notice
26-Jan-2024 16:29:37 #19 62.41 npm notice New minor version of npm available! 10.2.3 -> 10.4.0
26-Jan-2024 16:29:37 #19 62.41 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.4.0>
26-Jan-2024 16:29:37 #19 62.41 npm notice Run `npm install -g npm@10.4.0` to update!
26-Jan-2024 16:29:37 #19 62.41 npm notice
26-Jan-2024 16:29:37 #19 DONE 62.8s
26-Jan-2024 16:29:37
26-Jan-2024 16:29:37 #20 [linux/amd64 dev 7/8] RUN npx --legacy-peer-deps openmrs@next build --build-config spa-build-config.json --target ./spa
26-Jan-2024 16:29:41 #20 3.842 npm WARN exec The following package was not found and will be installed: openmrs@5.3.3-pre.1432
26-Jan-2024 16:29:46 #20 8.505 [openmrs] Running build process ...
26-Jan-2024 16:30:22 #20 44.94 (node:23) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
26-Jan-2024 16:30:22 #20 44.94 BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
26-Jan-2024 16:30:22 #20 44.94         Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
26-Jan-2024 16:30:22 #20 44.94         Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
26-Jan-2024 16:30:22 #20 44.94 (Use `node --trace-deprecation ...` to show where the warning was created)
26-Jan-2024 16:30:22 #20 45.26 assets by info 4.79 MiB [immutable]
26-Jan-2024 16:30:22 #20 45.26   assets by path *.woff 1.35 MiB 90 assets
26-Jan-2024 16:30:22 #20 45.26   assets by path *.woff2 1.04 MiB 90 assets
26-Jan-2024 16:30:22 #20 45.26   assets by path *.js 1.22 MiB 3 assets
26-Jan-2024 16:30:22 #20 45.26   + 1 asset
26-Jan-2024 16:30:22 #20 45.26 assets by path *.png 64.8 KiB
26-Jan-2024 16:30:22 #20 45.26   asset logo-512.png 15.5 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo-512.png] [copied]
26-Jan-2024 16:30:22 #20 45.26   asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted]
26-Jan-2024 16:30:22 #20 45.26   asset icon_384x384.c8923df6b6bd08eba5c79b78d7fcecc0.png 12.7 KiB [emitted]
26-Jan-2024 16:30:22 #20 45.26   + 5 assets
26-Jan-2024 16:30:22 #20 45.26 asset index.html 3.07 KiB [emitted]
26-Jan-2024 16:30:22 #20 45.26 asset logo.svg 1.33 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo.svg] [copied]
26-Jan-2024 16:30:22 #20 45.26 asset manifest.5b75f75f5d42204f1d54b9e28a60208c.json 1.26 KiB [emitted]
26-Jan-2024 16:30:22 #20 45.26 asset favicon.ico 1.12 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/favicon.ico] [copied]
26-Jan-2024 16:30:22 #20 45.26 asset service-worker.js 299 bytes [emitted] [minimized] 1 related asset
26-Jan-2024 16:30:22 #20 45.26 Entrypoint main [big] 2.36 MiB (1.59 MiB) = openmrs.37ef9ee46daee24c.css 1.18 MiB openmrs.30af674284f1afd7.js 1.19 MiB 2 auxiliary assets
26-Jan-2024 16:30:22 #20 45.26 orphan modules 10.8 MiB (javascript) 35.1 KiB (css/mini-extract) 2.4 MiB (asset) 48.9 KiB (runtime) [orphan] 1844 modules
26-Jan-2024 16:30:22 #20 45.26 runtime modules 19 KiB 13 modules
26-Jan-2024 16:30:22 #20 45.26 built modules 4.53 MiB (javascript) 1.18 MiB (css/mini-extract) 420 bytes (share-init) 420 bytes (consume-shared) [built]
26-Jan-2024 16:30:22 #20 45.26   javascript modules 4.53 MiB 234 modules
26-Jan-2024 16:30:22 #20 45.26   css modules 1.18 MiB
26-Jan-2024 16:30:22 #20 45.26     modules by path ../@react-spectrum/ 447 KiB 11 modules
26-Jan-2024 16:30:22 #20 45.26     modules by path ../@openmrs/ 764 KiB 4 modules
26-Jan-2024 16:30:22 #20 45.26   provide-module modules 420 bytes
26-Jan-2024 16:30:22 #20 45.26     modules by path provide shared module (default) @openmrs/ 84 bytes 2 modules
26-Jan-2024 16:30:22 #20 45.26     + 8 modules
26-Jan-2024 16:30:22 #20 45.26   consume-shared-module modules 420 bytes
26-Jan-2024 16:30:22 #20 45.26     modules by path consume shared module (default) @openmrs/ 84 bytes 2 modules
26-Jan-2024 16:30:22 #20 45.26     + 8 modules
26-Jan-2024 16:30:22 #20 45.26
26-Jan-2024 16:30:22 #20 45.26 LOG from InjectManifest
26-Jan-2024 16:30:22 #20 45.26 <i> The service worker at service-worker.js will precache
26-Jan-2024 16:30:22 #20 45.26 <i>         0 URLs, totaling 0 B.
26-Jan-2024 16:30:22 #20 45.26
26-Jan-2024 16:30:22 #20 45.26 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
26-Jan-2024 16:30:22 #20 45.26 This can impact web performance.
26-Jan-2024 16:30:22 #20 45.26 Assets:
26-Jan-2024 16:30:22 #20 45.26   openmrs.37ef9ee46daee24c.css (1.18 MiB)
26-Jan-2024 16:30:22 #20 45.26   openmrs.30af674284f1afd7.js (1.19 MiB)
26-Jan-2024 16:30:22 #20 45.26
26-Jan-2024 16:30:22 #20 45.26 WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
26-Jan-2024 16:30:22 #20 45.26 Entrypoints:
26-Jan-2024 16:30:22 #20 45.26   main (2.36 MiB)
26-Jan-2024 16:30:22 #20 45.26       openmrs.37ef9ee46daee24c.css
26-Jan-2024 16:30:22 #20 45.26       openmrs.30af674284f1afd7.js
26-Jan-2024 16:30:22 #20 45.26
26-Jan-2024 16:30:22 #20 45.26
26-Jan-2024 16:30:22 #20 45.26 webpack 5.90.0 compiled with 2 warnings in 35742 ms
26-Jan-2024 16:30:22 #20 45.26 [openmrs] Build finished.
26-Jan-2024 16:30:22 #20 DONE 45.4s
26-Jan-2024 16:30:22
26-Jan-2024 16:30:22 #21 [linux/amd64 dev 8/8] 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
26-Jan-2024 16:30:23 #21 DONE 0.1s
26-Jan-2024 16:30:23
26-Jan-2024 16:30:23 #12 [linux/amd64 stage-1 1/7] FROM docker.io/library/nginx:1.25-alpine@sha256:a59278fd22a9d411121e190b8cec8aa57b306aa3332459197777583beb728f59
26-Jan-2024 16:30:23 #12 CACHED
26-Jan-2024 16:30:23
26-Jan-2024 16:30:23 #13 [linux/arm64 stage-1 1/7] FROM docker.io/library/nginx:1.25-alpine@sha256:a59278fd22a9d411121e190b8cec8aa57b306aa3332459197777583beb728f59
26-Jan-2024 16:30:23 #13 CACHED
26-Jan-2024 16:30:23
26-Jan-2024 16:30:23 #22 [linux/arm64 stage-1 2/7] RUN apk update &&     apk upgrade &&     apk add --no-cache moreutils
26-Jan-2024 16:30:23 #22 0.305 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz
26-Jan-2024 16:30:24 #22 1.234 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz
26-Jan-2024 16:30:27 #22 3.427 v3.18.5-166-g7f9be8f79f0 [https://dl-cdn.alpinelinux.org/alpine/v3.18/main]
26-Jan-2024 16:30:27 #22 3.427 v3.18.5-166-g7f9be8f79f0 [https://dl-cdn.alpinelinux.org/alpine/v3.18/community]
26-Jan-2024 16:30:27 #22 3.427 OK: 19953 distinct packages available
26-Jan-2024 16:30:27 #22 ...
26-Jan-2024 16:30:27
26-Jan-2024 16:30:27 #23 [linux/amd64 stage-1 2/7] RUN apk update &&     apk upgrade &&     apk add --no-cache moreutils
26-Jan-2024 16:30:27 #0 0.145 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
26-Jan-2024 16:30:27 #0 0.643 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
26-Jan-2024 16:30:27 #0 1.012 v3.18.5-166-g7f9be8f79f0 [https://dl-cdn.alpinelinux.org/alpine/v3.18/main]
26-Jan-2024 16:30:27 #0 1.013 v3.18.5-166-g7f9be8f79f0 [https://dl-cdn.alpinelinux.org/alpine/v3.18/community]
26-Jan-2024 16:30:27 #0 1.014 OK: 20077 distinct packages available
26-Jan-2024 16:30:27 #0 1.343 (1/3) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r5)
26-Jan-2024 16:30:27 #0 1.572 (2/3) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r5)
26-Jan-2024 16:30:27 #0 1.599 (3/3) Upgrading tzdata (2023c-r1 -> 2023d-r0)
26-Jan-2024 16:30:27 #0 1.892 Executing ca-certificates-20230506-r0.trigger
26-Jan-2024 16:30:27 #0 2.040 OK: 45 MiB in 64 packages
26-Jan-2024 16:30:27 #0 2.276 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
26-Jan-2024 16:30:27 #0 2.541 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
26-Jan-2024 16:30:27 #0 3.124 (1/5) Installing perl (5.36.2-r0)
26-Jan-2024 16:30:27 #0 3.544 (2/5) Installing perl-timedate (2.33-r2)
26-Jan-2024 16:30:27 #0 3.575 (3/5) Installing perl-io-tty (1.17-r1)
26-Jan-2024 16:30:27 #0 3.608 (4/5) Installing perl-ipc-run (20220807.0-r1)
26-Jan-2024 16:30:27 #0 3.637 (5/5) Installing moreutils (0.67-r0)
26-Jan-2024 16:30:27 #0 3.676 Executing busybox-1.36.1-r5.trigger
26-Jan-2024 16:30:27 #0 3.685 OK: 84 MiB in 69 packages
26-Jan-2024 16:30:27 #23 DONE 3.9s
26-Jan-2024 16:30:27
26-Jan-2024 16:30:27 #24 [linux/amd64 stage-1 3/7] RUN rm -rf /usr/share/nginx/html/*
26-Jan-2024 16:30:27 #24 DONE 0.2s
26-Jan-2024 16:30:27
26-Jan-2024 16:30:27 #22 [linux/arm64 stage-1 2/7] RUN apk update &&     apk upgrade &&     apk add --no-cache moreutils
26-Jan-2024 16:30:27 #22 ...
26-Jan-2024 16:30:27
26-Jan-2024 16:30:27 #25 [linux/amd64 stage-1 4/7] COPY startup.sh /usr/local/bin/startup.sh
26-Jan-2024 16:30:27 #25 DONE 0.1s
26-Jan-2024 16:30:27
26-Jan-2024 16:30:27 #26 [linux/amd64 stage-1 5/7] RUN chmod +x /usr/local/bin/startup.sh
26-Jan-2024 16:30:27 #26 DONE 0.2s
26-Jan-2024 16:30:27
26-Jan-2024 16:30:27 #22 [linux/arm64 stage-1 2/7] RUN apk update &&     apk upgrade &&     apk add --no-cache moreutils
26-Jan-2024 16:30:28 #22 ...
26-Jan-2024 16:30:28
26-Jan-2024 16:30:28 #27 [linux/amd64 stage-1 6/7] COPY nginx.conf /etc/nginx/nginx.conf
26-Jan-2024 16:30:28 #27 DONE 0.1s
26-Jan-2024 16:30:28
26-Jan-2024 16:30:28 #28 [linux/amd64 stage-1 7/7] COPY --from=dev /app/spa /usr/share/nginx/html
26-Jan-2024 16:30:28 #28 DONE 0.9s
26-Jan-2024 16:30:28
26-Jan-2024 16:30:28 #22 [linux/arm64 stage-1 2/7] RUN apk update &&     apk upgrade &&     apk add --no-cache moreutils
26-Jan-2024 16:30:28 #22 5.087 (1/3) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r5)
26-Jan-2024 16:30:29 #22 5.812 (2/3) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r5)
26-Jan-2024 16:30:29 #22 5.874 (3/3) Upgrading tzdata (2023c-r1 -> 2023d-r0)
26-Jan-2024 16:30:29 #22 6.100 Executing ca-certificates-20230506-r0.trigger
26-Jan-2024 16:30:30 #22 6.497 OK: 46 MiB in 64 packages
26-Jan-2024 16:30:30 #22 6.688 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz
26-Jan-2024 16:30:31 #22 7.348 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz
26-Jan-2024 16:30:31 #22 8.265 (1/5) Installing perl (5.36.2-r0)
26-Jan-2024 16:30:33 #22 9.452 (2/5) Installing perl-timedate (2.33-r2)
26-Jan-2024 16:30:33 #22 9.496 (3/5) Installing perl-io-tty (1.17-r1)
26-Jan-2024 16:30:33 #22 9.520 (4/5) Installing perl-ipc-run (20220807.0-r1)
26-Jan-2024 16:30:33 #22 9.551 (5/5) Installing moreutils (0.67-r0)
26-Jan-2024 16:30:33 #22 9.587 Executing busybox-1.36.1-r5.trigger
26-Jan-2024 16:30:33 #22 9.647 OK: 87 MiB in 69 packages
26-Jan-2024 16:30:33 #22 DONE 9.8s
26-Jan-2024 16:30:33
26-Jan-2024 16:30:33 #29 [linux/arm64 stage-1 3/7] RUN rm -rf /usr/share/nginx/html/*
26-Jan-2024 16:30:33 #29 DONE 0.2s
26-Jan-2024 16:30:33
26-Jan-2024 16:30:33 #30 [linux/arm64 stage-1 4/7] COPY startup.sh /usr/local/bin/startup.sh
26-Jan-2024 16:30:33 #30 DONE 0.1s
26-Jan-2024 16:30:33
26-Jan-2024 16:30:33 #31 [linux/arm64 stage-1 5/7] RUN chmod +x /usr/local/bin/startup.sh
26-Jan-2024 16:30:33 #31 DONE 0.1s
26-Jan-2024 16:30:33
26-Jan-2024 16:30:33 #32 [linux/arm64 stage-1 6/7] COPY nginx.conf /etc/nginx/nginx.conf
26-Jan-2024 16:30:33 #32 DONE 0.1s
26-Jan-2024 16:30:33
26-Jan-2024 16:30:33 #33 [linux/arm64 stage-1 7/7] COPY --from=dev /app/spa /usr/share/nginx/html
26-Jan-2024 16:30:34 #33 DONE 0.8s
26-Jan-2024 16:30:34
26-Jan-2024 16:30:34 #34 exporting to image
26-Jan-2024 16:30:34 #34 exporting layers
26-Jan-2024 16:30:47 #34 exporting layers 13.1s done
26-Jan-2024 16:30:47 #34 exporting manifest sha256:b60f850a05f63a25ae9e1f67de126ee30d4b2cf93998ff1f6a64fc39acbfbcaa 0.0s done
26-Jan-2024 16:30:47 #34 exporting config sha256:d45003b5b411917a1286e37f5259681176cb6786d076fd0b036ff3cb5fb40eee 0.0s done
26-Jan-2024 16:30:47 #34 exporting manifest sha256:ddcfa5c9b928e073e564d2b8003422c5743618eed9b92eafa3b7b258b1e5b26b 0.0s done
26-Jan-2024 16:30:47 #34 exporting config sha256:0b91945ac52942e714a6b8db317bbcf8f77041f7cc2a1756754d503728d03166
26-Jan-2024 16:30:48 #34 exporting config sha256:0b91945ac52942e714a6b8db317bbcf8f77041f7cc2a1756754d503728d03166 0.0s done
26-Jan-2024 16:30:48 #34 exporting manifest list sha256:e45b78c7fb6dfb0fb1e9d87c0149b48deb55794d3ea454981c92adbfdabac41c 0.0s done
26-Jan-2024 16:30:48 #34 pushing layers
26-Jan-2024 16:30:48 #34 ...
26-Jan-2024 16:30:48
26-Jan-2024 16:30:48 #35 [auth] openmrs/openmrs-reference-application-3-frontend:pull,push token for registry-1.docker.io
26-Jan-2024 16:30:48 #35 DONE 0.0s
26-Jan-2024 16:30:48
26-Jan-2024 16:30:48 #34 exporting to image
26-Jan-2024 16:30:52 #34 pushing layers 4.5s done
26-Jan-2024 16:30:52 #34 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:e45b78c7fb6dfb0fb1e9d87c0149b48deb55794d3ea454981c92adbfdabac41c
26-Jan-2024 16:30:53 #34 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:nightly@sha256:e45b78c7fb6dfb0fb1e9d87c0149b48deb55794d3ea454981c92adbfdabac41c 1.0s done
26-Jan-2024 16:30:55 #34 pushing layers 1.5s done
26-Jan-2024 16:30:55 #34 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:e45b78c7fb6dfb0fb1e9d87c0149b48deb55794d3ea454981c92adbfdabac41c
26-Jan-2024 16:30:55 #34 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:dev3@sha256:e45b78c7fb6dfb0fb1e9d87c0149b48deb55794d3ea454981c92adbfdabac41c 0.4s done
26-Jan-2024 16:30:55 #34 DONE 20.7s
26-Jan-2024 16:30:55 Finished task 'Build and publish the image' with result: Success
26-Jan-2024 16:30:55 Running post build plugin 'Docker Container Cleanup'
26-Jan-2024 16:30:55 Running post build plugin 'NCover Results Collector'
26-Jan-2024 16:30:55 Running post build plugin 'Build Results Label Collector'
26-Jan-2024 16:30:55 Running post build plugin 'Clover Results Collector'
26-Jan-2024 16:30:55 Running post build plugin 'npm Cache Cleanup'
26-Jan-2024 16:30:55 Running post build plugin 'Artifact Copier'
26-Jan-2024 16:30:55 Finalising the build...
26-Jan-2024 16:30:55 Stopping timer.
26-Jan-2024 16:30:55 Build REFAPP-D3X-F2-2247 completed.
26-Jan-2024 16:30:55 Running on server: post build plugin 'Build Hanging Detection Configuration'
26-Jan-2024 16:30:55 Running on server: post build plugin 'NCover Results Collector'
26-Jan-2024 16:30:55 Running on server: post build plugin 'Build Labeller'
26-Jan-2024 16:30:55 Running on server: post build plugin 'Clover Delta Calculator'
26-Jan-2024 16:30:55 Running on server: post build plugin 'Maven Dependencies Postprocessor'
26-Jan-2024 16:30:55 All post build plugins have finished
26-Jan-2024 16:30:55 Generating build results summary...
26-Jan-2024 16:30:55 Saving build results to disk...
26-Jan-2024 16:30:55 Store variable context...
26-Jan-2024 16:30:55 Finished building REFAPP-D3X-F2-2247.