simple 21-May-2024 19:57:07 Build O3 Reference Application - Publish QA Release - Frontend #7 (O3-PQR-FRON-7) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4 simple 21-May-2024 19:57:07 Remote agent on host xiao.openmrs.org simple 21-May-2024 19:57:07 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-FRON simple 21-May-2024 19:57:07 Executing build O3 Reference Application - Publish QA Release - Frontend #7 (O3-PQR-FRON-7) simple 21-May-2024 19:57:07 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 21-May-2024 19:57:07 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-FRON simple 21-May-2024 19:57:07 Updating source code to revision: ec8d867823094d16541f12e3586094b7da0583c5 simple 21-May-2024 19:57:07 Fetching 'refs/heads/main' from 'https://github.com/openmrs/openmrs-distro-referenceapplication.git'. simple 21-May-2024 19:57:07 Checking out revision ec8d867823094d16541f12e3586094b7da0583c5. simple 21-May-2024 19:57:07 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-FRON/.git'. simple 21-May-2024 19:57:07 Cloning into '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-FRON'... simple 21-May-2024 19:57:07 done. simple 21-May-2024 19:57:07 Note: switching to 'ec8d867823094d16541f12e3586094b7da0583c5'. simple 21-May-2024 19:57:07 simple 21-May-2024 19:57:07 You are in 'detached HEAD' state. You can look around, make experimental simple 21-May-2024 19:57:07 changes and commit them, and you can discard any commits you make in this simple 21-May-2024 19:57:07 state without impacting any branches by switching back to a branch. simple 21-May-2024 19:57:07 simple 21-May-2024 19:57:07 If you want to create a new branch to retain commits you create, you may simple 21-May-2024 19:57:07 do so (now or later) by using -c with the switch command. Example: simple 21-May-2024 19:57:07 simple 21-May-2024 19:57:07 git switch -c simple 21-May-2024 19:57:07 simple 21-May-2024 19:57:07 Or undo this operation with: simple 21-May-2024 19:57:07 simple 21-May-2024 19:57:07 git switch - simple 21-May-2024 19:57:07 simple 21-May-2024 19:57:07 Turn off this advice by setting config variable advice.detachedHead to false simple 21-May-2024 19:57:07 simple 21-May-2024 19:57:07 HEAD is now at ec8d867 (release) Release 3.0.0-beta.20 simple 21-May-2024 19:57:07 Updated source code to revision: ec8d867823094d16541f12e3586094b7da0583c5 simple 21-May-2024 19:57:07 Finished task 'Checkout Default Repository' with result: Success simple 21-May-2024 19:57:07 Running pre-build action: Build Log Labeller Pre Build Action simple 21-May-2024 19:57:07 Running pre-build action: VCS Version Collector simple 21-May-2024 19:57:07 Running pre-build action: Run Predator simple 21-May-2024 19:57:07 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 21-May-2024 19:57:07 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 21-May-2024 19:57:07 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 21-May-2024 19:57:08 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 21-May-2024 19:57:08 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 2868 java 1226 bamboo-age 2952Mb 374Mb 00:05:08 /usr/lib/jvm/java-8-ope simple 21-May-2024 19:57:08 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1226 wrapper 1 bamboo-age 16Mb 3Mb 00:01:13 /home/bamboo-agent/bamb simple 21-May-2024 19:57:08 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:00:06 /sbin/init simple 21-May-2024 19:57:08 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 21-May-2024 19:57:08 [PredatorPreBuildAction] Initial free space: 5.053055 GB simple 21-May-2024 19:57:08 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-BF-JOB1 simple 21-May-2024 19:57:08 [PredatorPreBuildAction] Deleting 20 snapshot folders from /home/bamboo-agent/.m2/repository simple 21-May-2024 19:57:08 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 21-May-2024 19:57:08 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 21-May-2024 19:57:08 [PredatorPreBuildAction] Maven stable disk freed: 0.77552557 GB, deleted 918 files simple 21-May-2024 19:57:08 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 21-May-2024 19:57:08 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json simple 21-May-2024 19:57:08 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 21-May-2024 19:57:08 [PredatorPreBuildAction] Final free space: 5.0549583 GB simple 21-May-2024 19:57:08 [PredatorPreBuildAction] Done command 21-May-2024 19:57:08 Substituting variable: ${bamboo.dockerhub.username} with openmrsci command 21-May-2024 19:57:08 Substituting password variable: ${bamboo.dockerhub.password} command 21-May-2024 19:57:08 Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64 command 21-May-2024 19:57:08 Substituting variable: ${bamboo.TagBuildTriggerReason.tagName} with 3.0.0-beta.20 simple 21-May-2024 19:57:08 Starting task 'Build and tag image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 21-May-2024 19:57:08 Beginning to execute external process for build 'O3 Reference Application - Publish QA Release - Frontend #7 (O3-PQR-FRON-7)'\n ... running command line: \n/home/bamboo-agent/bamboo-agent/temp/O3-PQR-FRON-7-ScriptBuildTask-3341245677288723201.sh\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-FRON\n error 21-May-2024 19:57:08 + [[ ehuB != ehuxB ]] error 21-May-2024 19:57:08 + echo 'Start of Lmod init/bash script to define the module command' build 21-May-2024 19:57:08 Start of Lmod init/bash script to define the module command error 21-May-2024 19:57:08 + LMOD_PKG=/usr/share/lmod/lmod error 21-May-2024 19:57:08 + LMOD_DIR=/usr/share/lmod/lmod/libexec error 21-May-2024 19:57:08 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod error 21-May-2024 19:57:08 + MODULESHOME=/usr/share/lmod/lmod error 21-May-2024 19:57:08 + export LMOD_PKG error 21-May-2024 19:57:08 + export LMOD_CMD error 21-May-2024 19:57:08 + export LMOD_DIR error 21-May-2024 19:57:08 + export MODULESHOME error 21-May-2024 19:57:08 + LMOD_VERSION=6.6 error 21-May-2024 19:57:08 + export LMOD_VERSION error 21-May-2024 19:57:08 + '[' : '!=' : ']' error 21-May-2024 19:57:08 + unalias ml error 21-May-2024 19:57:08 + true error 21-May-2024 19:57:08 ++ /usr/bin/tr '[:upper:]' '[:lower:]' error 21-May-2024 19:57:08 ++ echo YES error 21-May-2024 19:57:08 + export_module=yes error 21-May-2024 19:57:08 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' error 21-May-2024 19:57:08 + export -f module error 21-May-2024 19:57:08 + export -f ml error 21-May-2024 19:57:08 + unset export_module error 21-May-2024 19:57:08 + '[' -n '' ']' error 21-May-2024 19:57:08 + '[' 5 -ge 3 ']' error 21-May-2024 19:57:08 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' error 21-May-2024 19:57:08 + '[' -n '' ']' error 21-May-2024 19:57:08 + [[ ehuB != ehuxB ]] error 21-May-2024 19:57:08 + echo 'End of Lmod init/bash script to define the module command' error 21-May-2024 19:57:08 + export IMAGE=openmrs/openmrs-reference-application-3-frontend error 21-May-2024 19:57:08 + IMAGE=openmrs/openmrs-reference-application-3-frontend error 21-May-2024 19:57:08 + docker login -u openmrsci -p ******** build 21-May-2024 19:57:08 End of Lmod init/bash script to define the module command error 21-May-2024 19:57:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. error 21-May-2024 19:57:08 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. error 21-May-2024 19:57:08 Configure a credential helper to remove this warning. See error 21-May-2024 19:57:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store error 21-May-2024 19:57:08 build 21-May-2024 19:57:08 Login Succeeded error 21-May-2024 19:57:08 ++ date +%s error 21-May-2024 19:57:08 + docker buildx build --pull --push --platform linux/amd64,linux/arm64 --build-arg CACHE_BUST=1716321428 -t openmrs/openmrs-reference-application-3-frontend:3.0.0-beta.20 -t openmrs/openmrs-reference-application-3-frontend:qa frontend/ error 21-May-2024 19:57:09 #1 [internal] load build definition from Dockerfile error 21-May-2024 19:57:09 #1 transferring dockerfile: 1.46kB done error 21-May-2024 19:57:09 #1 DONE 0.1s error 21-May-2024 19:57:09 error 21-May-2024 19:57:09 #2 [auth] docker/dockerfile:pull token for registry-1.docker.io error 21-May-2024 19:57:09 #2 DONE 0.0s error 21-May-2024 19:57:09 error 21-May-2024 19:57:09 #3 resolve image config for docker-image://docker.io/docker/dockerfile:1.3 error 21-May-2024 19:57:09 #3 DONE 0.3s error 21-May-2024 19:57:09 error 21-May-2024 19:57:09 #4 docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 error 21-May-2024 19:57:09 #4 resolve docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 error 21-May-2024 19:57:09 #4 resolve docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2 0.0s done error 21-May-2024 19:57:09 #4 CACHED error 21-May-2024 19:57:09 error 21-May-2024 19:57:09 #5 [internal] load .dockerignore error 21-May-2024 19:57:09 #5 transferring context: error 21-May-2024 19:57:10 #5 transferring context: 2B done error 21-May-2024 19:57:10 #5 DONE 0.1s error 21-May-2024 19:57:10 error 21-May-2024 19:57:10 #6 [auth] library/nginx:pull token for registry-1.docker.io error 21-May-2024 19:57:10 #6 DONE 0.0s error 21-May-2024 19:57:10 error 21-May-2024 19:57:10 #7 [auth] library/node:pull token for registry-1.docker.io error 21-May-2024 19:57:10 #7 DONE 0.0s error 21-May-2024 19:57:10 error 21-May-2024 19:57:10 #8 [linux/amd64 internal] load metadata for docker.io/library/node:18-alpine error 21-May-2024 19:57:10 #8 DONE 0.3s error 21-May-2024 19:57:10 error 21-May-2024 19:57:10 #9 [linux/arm64 internal] load metadata for docker.io/library/nginx:1.25-alpine error 21-May-2024 19:57:10 #9 DONE 0.3s error 21-May-2024 19:57:10 error 21-May-2024 19:57:10 #10 [linux/amd64 internal] load metadata for docker.io/library/nginx:1.25-alpine error 21-May-2024 19:57:10 #10 DONE 0.3s error 21-May-2024 19:57:10 error 21-May-2024 19:57:10 #11 [linux/arm64 stage-1 1/8] FROM docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 error 21-May-2024 19:57:10 #11 resolve docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 error 21-May-2024 19:57:11 #11 ... error 21-May-2024 19:57:11 error 21-May-2024 19:57:11 #12 [internal] load build context error 21-May-2024 19:57:11 #12 transferring context: 6.69kB done error 21-May-2024 19:57:11 #12 DONE 0.2s error 21-May-2024 19:57:11 error 21-May-2024 19:57:11 #13 [linux/amd64 dev 1/8] FROM docker.io/library/node:18-alpine@sha256:25422abc693527a71f95cfa2431cb2d1119beaf3cadd258c9c15e8b5b347ffdd error 21-May-2024 19:57:11 #13 resolve docker.io/library/node:18-alpine@sha256:25422abc693527a71f95cfa2431cb2d1119beaf3cadd258c9c15e8b5b347ffdd 0.2s done error 21-May-2024 19:57:11 #13 CACHED error 21-May-2024 19:57:11 error 21-May-2024 19:57:11 #14 [linux/amd64 stage-1 1/8] FROM docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 error 21-May-2024 19:57:11 #14 resolve docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 0.2s done error 21-May-2024 19:57:11 #14 DONE 0.3s error 21-May-2024 19:57:11 error 21-May-2024 19:57:11 #11 [linux/arm64 stage-1 1/8] FROM docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 error 21-May-2024 19:57:11 #11 resolve docker.io/library/nginx:1.25-alpine@sha256:516475cc129da42866742567714ddc681e5eed7b9ee0b9e9c015e464b4221a00 0.2s done error 21-May-2024 19:57:11 #11 DONE 0.3s error 21-May-2024 19:57:11 error 21-May-2024 19:57:11 #15 [linux/amd64 dev 2/8] RUN mkdir -p /app error 21-May-2024 19:57:11 #15 DONE 0.5s error 21-May-2024 19:57:11 error 21-May-2024 19:57:11 #16 [linux/amd64 dev 3/8] WORKDIR /app error 21-May-2024 19:57:11 #16 DONE 0.3s error 21-May-2024 19:57:11 error 21-May-2024 19:57:11 #17 [linux/amd64 dev 4/8] COPY spa-assemble-config.json . error 21-May-2024 19:57:12 #17 DONE 0.2s error 21-May-2024 19:57:12 error 21-May-2024 19:57:12 #18 [linux/amd64 dev 5/8] COPY spa-build-config.json . error 21-May-2024 19:57:12 #18 DONE 0.2s error 21-May-2024 19:57:12 error 21-May-2024 19:57:12 #19 [linux/amd64 dev 6/8] RUN npx --legacy-peer-deps openmrs@5.6.0 assemble --manifest --mode config --config spa-assemble-config.json --target ./spa error 21-May-2024 19:57:13 #19 1.512 npm warn exec The following package was not found and will be installed: openmrs@5.6.0 error 21-May-2024 19:58:37 #19 84.91 npm warn deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs error 21-May-2024 19:58:37 #19 85.54 npm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead error 21-May-2024 19:58:38 #19 86.26 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 21-May-2024 19:58:38 #19 86.81 npm warn deprecated phin@2.9.3: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. error 21-May-2024 19:58:39 #19 87.41 npm warn deprecated workbox-cacheable-response@6.6.0: workbox-background-sync@6.6.0 error 21-May-2024 19:58:40 #19 88.63 npm warn deprecated workbox-google-analytics@6.6.0: It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained error 21-May-2024 19:58:41 #19 89.76 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 21-May-2024 19:58:43 #19 91.05 npm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported. error 21-May-2024 19:58:43 #19 91.10 npm warn deprecated npmlog@6.0.2: This package is no longer supported. error 21-May-2024 19:58:43 #19 91.16 npm warn deprecated read-package-json@6.0.4: This package is no longer supported. Please use @npmcli/package-json instead. error 21-May-2024 19:58:44 #19 92.81 npm warn deprecated gauge@4.0.4: This package is no longer supported. error 21-May-2024 19:59:17 #19 125.9 [openmrs] Reading configuration /app/spa-assemble-config.json ... error 21-May-2024 19:59:18 #19 125.9 [openmrs] Assembling dependencies and building import map and routes registry... error 21-May-2024 19:59:19 #19 127.1 [openmrs] Routes file /app/spa/openmrs-esm-cohort-builder-app-4.0.0/routes.json does not exist. We expect that routes file to be defined by @openmrs/esm-cohort-builder-app. Note that this means that no pages or extensions for @openmrs/esm-cohort-builder-app will be available. error 21-May-2024 19:59:21 #19 129.1 [openmrs] Finished assembling frontend distribution error 21-May-2024 19:59:21 #19 129.1 npm notice error 21-May-2024 19:59:21 #19 129.1 npm notice New minor version of npm available! 10.7.0 -> 10.8.0 error 21-May-2024 19:59:21 #19 129.1 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.0 error 21-May-2024 19:59:21 #19 129.1 npm notice To update run: npm install -g npm@10.8.0 error 21-May-2024 19:59:21 #19 129.1 npm notice error 21-May-2024 19:59:22 #19 DONE 129.9s error 21-May-2024 19:59:22 error 21-May-2024 19:59:22 #20 [linux/amd64 dev 7/8] RUN npx --legacy-peer-deps openmrs@5.6.0 build --build-config spa-build-config.json --target ./spa error 21-May-2024 19:59:26 #20 4.335 [openmrs] Running build process ... error 21-May-2024 20:00:11 #20 49.27 (node:23) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated. error 21-May-2024 20:00:11 #20 49.27 BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation. error 21-May-2024 20:00:11 #20 49.27 Do changes to assets earlier, e. g. in Compilation.hooks.processAssets. error 21-May-2024 20:00:11 #20 49.27 Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*. error 21-May-2024 20:00:11 #20 49.27 (Use `node --trace-deprecation ...` to show where the warning was created) error 21-May-2024 20:00:12 #20 49.92 assets by info 5 MiB [immutable] error 21-May-2024 20:00:12 #20 49.92 assets by path *.woff 1.35 MiB 90 assets error 21-May-2024 20:00:12 #20 49.92 assets by path *.woff2 1.04 MiB 90 assets error 21-May-2024 20:00:12 #20 49.92 assets by path *.js 1.4 MiB 13 assets error 21-May-2024 20:00:12 #20 49.92 + 1 asset error 21-May-2024 20:00:12 #20 49.92 assets by path *.png 64.8 KiB error 21-May-2024 20:00:12 #20 49.92 asset logo-512.png 15.5 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo-512.png] [copied] error 21-May-2024 20:00:12 #20 49.92 asset icon_512x512.7163efb26df832de513bc58d925ea22e.png 13.9 KiB [emitted] error 21-May-2024 20:00:12 #20 49.92 asset icon_384x384.c8923df6b6bd08eba5c79b78d7fcecc0.png 12.7 KiB [emitted] error 21-May-2024 20:00:12 #20 49.92 + 5 assets error 21-May-2024 20:00:12 #20 49.92 asset index.html 3.07 KiB [emitted] error 21-May-2024 20:00:12 #20 49.92 asset logo.svg 1.33 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/logo.svg] [copied] error 21-May-2024 20:00:12 #20 49.92 asset manifest.5b75f75f5d42204f1d54b9e28a60208c.json 1.26 KiB [emitted] error 21-May-2024 20:00:12 #20 49.92 asset favicon.ico 1.12 KiB [emitted] [from: ../@openmrs/esm-app-shell/src/assets/favicon.ico] [copied] error 21-May-2024 20:00:12 #20 49.92 asset service-worker.js 299 bytes [emitted] [minimized] 1 related asset error 21-May-2024 20:00:12 #20 49.92 Entrypoint main [big] 2.56 MiB (1.81 MiB) = openmrs.4745912403779de8.css 1.2 MiB openmrs.9841bea6a97f299e.js 1.36 MiB 2 auxiliary assets error 21-May-2024 20:00:12 #20 49.92 orphan modules 12.7 MiB (javascript) 34.4 KiB (css/mini-extract) 2.4 MiB (asset) 109 KiB (runtime) [orphan] 3513 modules error 21-May-2024 20:00:12 #20 49.92 runtime modules 20.7 KiB 15 modules error 21-May-2024 20:00:12 #20 49.92 built modules 5.26 MiB (javascript) 1.21 MiB (css/mini-extract) 462 bytes (share-init) 462 bytes (consume-shared) [built] error 21-May-2024 20:00:12 #20 49.92 javascript modules 5.25 MiB 454 modules error 21-May-2024 20:00:12 #20 49.92 css modules 1.21 MiB error 21-May-2024 20:00:12 #20 49.92 modules by path ../@react-spectrum/ 447 KiB 23 modules error 21-May-2024 20:00:12 #20 49.92 modules by path ../@openmrs/ 793 KiB 13 modules error 21-May-2024 20:00:12 #20 49.92 provide-module modules 462 bytes 11 modules error 21-May-2024 20:00:12 #20 49.92 consume-shared-module modules 462 bytes 11 modules error 21-May-2024 20:00:12 #20 49.92 optional modules 7.13 KiB [optional] error 21-May-2024 20:00:12 #20 49.92 ../@openmrs/esm-translations/translations/am.json 800 bytes [optional] [built] [code generated] error 21-May-2024 20:00:12 #20 49.92 ../@openmrs/esm-translations/translations/ar.json 799 bytes [optional] [built] [code generated] error 21-May-2024 20:00:12 #20 49.92 + 7 modules error 21-May-2024 20:00:12 #20 49.92 error 21-May-2024 20:00:12 #20 49.92 LOG from InjectManifest error 21-May-2024 20:00:12 #20 49.92 The service worker at service-worker.js will precache error 21-May-2024 20:00:12 #20 49.92  0 URLs, totaling 0 B. error 21-May-2024 20:00:12 #20 49.92 error 21-May-2024 20:00:12 #20 49.92 WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB). error 21-May-2024 20:00:12 #20 49.92 This can impact web performance. error 21-May-2024 20:00:12 #20 49.92 Assets: error 21-May-2024 20:00:12 #20 49.92 openmrs.4745912403779de8.css (1.2 MiB) error 21-May-2024 20:00:12 #20 49.92 openmrs.9841bea6a97f299e.js (1.36 MiB) error 21-May-2024 20:00:12 #20 49.92 error 21-May-2024 20:00:12 #20 49.92 WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance. error 21-May-2024 20:00:12 #20 49.92 Entrypoints: error 21-May-2024 20:00:12 #20 49.92 main (2.56 MiB) error 21-May-2024 20:00:12 #20 49.92 openmrs.4745912403779de8.css error 21-May-2024 20:00:12 #20 49.92 openmrs.9841bea6a97f299e.js error 21-May-2024 20:00:12 #20 49.92  error 21-May-2024 20:00:12 #20 49.92 error 21-May-2024 20:00:12 #20 49.92 webpack 5.91.0 compiled with 2 warnings in 44376 ms error 21-May-2024 20:00:12 #20 49.92 [openmrs] Build finished. error 21-May-2024 20:00:12 #20 DONE 50.1s error 21-May-2024 20:00:12 error 21-May-2024 20:00:12 #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 error 21-May-2024 20:00:12 #21 DONE 0.1s error 21-May-2024 20:00:12 error 21-May-2024 20:00:12 #22 [linux/amd64 stage-1 4/8] COPY startup.sh /usr/local/bin/startup.sh error 21-May-2024 20:00:12 #22 CACHED error 21-May-2024 20:00:12 error 21-May-2024 20:00:12 #23 [linux/amd64 stage-1 2/8] RUN apk update && apk upgrade && apk add --no-cache moreutils error 21-May-2024 20:00:12 #23 CACHED error 21-May-2024 20:00:12 error 21-May-2024 20:00:12 #24 [linux/amd64 stage-1 3/8] RUN rm -rf /usr/share/nginx/html/* error 21-May-2024 20:00:12 #24 CACHED error 21-May-2024 20:00:12 error 21-May-2024 20:00:12 #25 [linux/amd64 stage-1 5/8] RUN chmod +x /usr/local/bin/startup.sh error 21-May-2024 20:00:12 #25 CACHED error 21-May-2024 20:00:12 error 21-May-2024 20:00:12 #26 [linux/amd64 stage-1 6/8] COPY nginx.conf /etc/nginx/nginx.conf error 21-May-2024 20:00:12 #26 CACHED error 21-May-2024 20:00:12 error 21-May-2024 20:00:12 #27 [linux/arm64 stage-1 4/8] COPY startup.sh /usr/local/bin/startup.sh error 21-May-2024 20:00:12 #27 CACHED error 21-May-2024 20:00:12 error 21-May-2024 20:00:12 #28 [linux/arm64 stage-1 3/8] RUN rm -rf /usr/share/nginx/html/* error 21-May-2024 20:00:12 #28 CACHED error 21-May-2024 20:00:12 error 21-May-2024 20:00:12 #29 [linux/arm64 stage-1 2/8] RUN apk update && apk upgrade && apk add --no-cache moreutils error 21-May-2024 20:00:12 #29 CACHED error 21-May-2024 20:00:12 error 21-May-2024 20:00:12 #30 [linux/arm64 stage-1 5/8] RUN chmod +x /usr/local/bin/startup.sh error 21-May-2024 20:00:12 #30 CACHED error 21-May-2024 20:00:12 error 21-May-2024 20:00:12 #31 [linux/arm64 stage-1 6/8] COPY nginx.conf /etc/nginx/nginx.conf error 21-May-2024 20:00:12 #31 CACHED error 21-May-2024 20:00:12 error 21-May-2024 20:00:12 #32 [linux/arm64 stage-1 7/8] COPY --from=dev /app/spa /usr/share/nginx/html error 21-May-2024 20:00:13 #32 DONE 0.8s error 21-May-2024 20:00:13 error 21-May-2024 20:00:13 #33 [linux/amd64 stage-1 7/8] COPY --from=dev /app/spa /usr/share/nginx/html error 21-May-2024 20:00:13 #33 DONE 0.8s error 21-May-2024 20:00:13 error 21-May-2024 20:00:13 #34 [linux/amd64 stage-1 8/8] COPY config-core_demo.json /usr/share/nginx/html error 21-May-2024 20:00:13 #34 ... error 21-May-2024 20:00:13 error 21-May-2024 20:00:13 #35 [linux/arm64 stage-1 8/8] COPY config-core_demo.json /usr/share/nginx/html error 21-May-2024 20:00:13 #35 DONE 0.2s error 21-May-2024 20:00:13 error 21-May-2024 20:00:13 #34 [linux/amd64 stage-1 8/8] COPY config-core_demo.json /usr/share/nginx/html error 21-May-2024 20:00:13 #34 DONE 0.2s error 21-May-2024 20:00:13 error 21-May-2024 20:00:13 #36 exporting to image error 21-May-2024 20:00:13 #36 exporting layers error 21-May-2024 20:00:23 #36 exporting layers 10.1s done error 21-May-2024 20:00:23 #36 exporting manifest sha256:b4f033e9ec4504c2f2d5320116a1216193fece22c79b9382328fb1ab36daef38 0.0s done error 21-May-2024 20:00:23 #36 exporting config sha256:f1553bf0f79769daaafafd09538b5a54978b2a440ae7106c214dd573fbc5ea20 0.0s done error 21-May-2024 20:00:23 #36 exporting manifest sha256:25d9853c1208750b932752a63dfcd9c3787f9273ef94e702651b65898eecb5b3 0.0s done error 21-May-2024 20:00:23 #36 exporting config sha256:7adb3a04ac1022689120f0c4c7b9d6223411b74c009a9fadf6e6b2d0186c6179 0.0s done error 21-May-2024 20:00:23 #36 exporting manifest list sha256:eb5cfd76981b87dc7c1ed35f2e99a788e5a3901816f8608df9a7cc7e11c5a124 0.0s done error 21-May-2024 20:00:23 #36 pushing layers error 21-May-2024 20:00:24 #36 ... error 21-May-2024 20:00:24 error 21-May-2024 20:00:24 #37 [auth] openmrs/openmrs-reference-application-3-frontend:pull,push token for registry-1.docker.io error 21-May-2024 20:00:24 #37 DONE 0.0s error 21-May-2024 20:00:24 error 21-May-2024 20:00:24 #36 exporting to image error 21-May-2024 20:00:27 #36 pushing layers 3.7s done error 21-May-2024 20:00:27 #36 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:3.0.0-beta.20@sha256:eb5cfd76981b87dc7c1ed35f2e99a788e5a3901816f8608df9a7cc7e11c5a124 error 21-May-2024 20:00:28 #36 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:3.0.0-beta.20@sha256:eb5cfd76981b87dc7c1ed35f2e99a788e5a3901816f8608df9a7cc7e11c5a124 0.8s done error 21-May-2024 20:00:29 #36 pushing layers 1.3s done error 21-May-2024 20:00:29 #36 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:qa@sha256:eb5cfd76981b87dc7c1ed35f2e99a788e5a3901816f8608df9a7cc7e11c5a124 error 21-May-2024 20:00:30 #36 pushing manifest for docker.io/openmrs/openmrs-reference-application-3-frontend:qa@sha256:eb5cfd76981b87dc7c1ed35f2e99a788e5a3901816f8608df9a7cc7e11c5a124 0.4s done error 21-May-2024 20:00:30 #36 DONE 16.5s simple 21-May-2024 20:00:30 Finished task 'Build and tag image' with result: Success simple 21-May-2024 20:00:30 Starting task 'Extract spa-assemble-config.json from Docker' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 21-May-2024 20:00:30 Beginning to execute external process for build 'O3 Reference Application - Publish QA Release - Frontend #7 (O3-PQR-FRON-7)'\n ... running command line: \n/home/bamboo-agent/bamboo-agent/temp/O3-PQR-FRON-7-ScriptBuildTask-3627217489438680221.sh\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-FRON\n error 21-May-2024 20:00:30 + [[ ehuB != ehuxB ]] error 21-May-2024 20:00:30 + echo 'Start of Lmod init/bash script to define the module command' error 21-May-2024 20:00:30 + LMOD_PKG=/usr/share/lmod/lmod build 21-May-2024 20:00:30 Start of Lmod init/bash script to define the module command error 21-May-2024 20:00:30 + LMOD_DIR=/usr/share/lmod/lmod/libexec error 21-May-2024 20:00:30 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod error 21-May-2024 20:00:30 + MODULESHOME=/usr/share/lmod/lmod error 21-May-2024 20:00:30 + export LMOD_PKG error 21-May-2024 20:00:30 + export LMOD_CMD error 21-May-2024 20:00:30 + export LMOD_DIR error 21-May-2024 20:00:30 + export MODULESHOME error 21-May-2024 20:00:30 + LMOD_VERSION=6.6 error 21-May-2024 20:00:30 + export LMOD_VERSION error 21-May-2024 20:00:30 + '[' : '!=' : ']' error 21-May-2024 20:00:30 + unalias ml error 21-May-2024 20:00:30 + true error 21-May-2024 20:00:30 ++ echo YES error 21-May-2024 20:00:30 ++ /usr/bin/tr '[:upper:]' '[:lower:]' build 21-May-2024 20:00:30 End of Lmod init/bash script to define the module command error 21-May-2024 20:00:30 + export_module=yes error 21-May-2024 20:00:30 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']' error 21-May-2024 20:00:30 + export -f module error 21-May-2024 20:00:30 + export -f ml error 21-May-2024 20:00:30 + unset export_module error 21-May-2024 20:00:30 + '[' -n '' ']' error 21-May-2024 20:00:30 + '[' 5 -ge 3 ']' error 21-May-2024 20:00:30 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']' error 21-May-2024 20:00:30 + '[' -n '' ']' error 21-May-2024 20:00:30 + [[ ehuB != ehuxB ]] error 21-May-2024 20:00:30 + echo 'End of Lmod init/bash script to define the module command' error 21-May-2024 20:00:30 + export IMAGE=openmrs/openmrs-reference-application-3-frontend error 21-May-2024 20:00:30 + IMAGE=openmrs/openmrs-reference-application-3-frontend error 21-May-2024 20:00:30 + docker create --name=openmrs-frontend-container openmrs/openmrs-reference-application-3-frontend:qa error 21-May-2024 20:00:30 Unable to find image 'openmrs/openmrs-reference-application-3-frontend:qa' locally error 21-May-2024 20:00:31 qa: Pulling from openmrs/openmrs-reference-application-3-frontend error 21-May-2024 20:00:31 4abcf2066143: Already exists error 21-May-2024 20:00:31 fc21a1d387f5: Already exists error 21-May-2024 20:00:31 e6ef242c1570: Already exists error 21-May-2024 20:00:31 13fcfbc94648: Already exists error 21-May-2024 20:00:31 d4bca490e609: Already exists error 21-May-2024 20:00:31 5406ed7b06d9: Already exists error 21-May-2024 20:00:31 8a3742a9529d: Already exists error 21-May-2024 20:00:31 0d0c16747d2c: Already exists error 21-May-2024 20:00:31 8f2b81f1363f: Pulling fs layer error 21-May-2024 20:00:31 f8675916ca62: Pulling fs layer error 21-May-2024 20:00:31 34df8ba33b80: Pulling fs layer error 21-May-2024 20:00:31 cacde56e1398: Pulling fs layer error 21-May-2024 20:00:31 4835f8b92435: Pulling fs layer error 21-May-2024 20:00:31 63bda440e7a2: Pulling fs layer error 21-May-2024 20:00:31 96926f34a2f1: Pulling fs layer error 21-May-2024 20:00:31 4835f8b92435: Waiting error 21-May-2024 20:00:31 63bda440e7a2: Waiting error 21-May-2024 20:00:31 cacde56e1398: Waiting error 21-May-2024 20:00:31 96926f34a2f1: Waiting error 21-May-2024 20:00:31 f8675916ca62: Verifying Checksum error 21-May-2024 20:00:31 f8675916ca62: Download complete error 21-May-2024 20:00:31 34df8ba33b80: Verifying Checksum error 21-May-2024 20:00:31 34df8ba33b80: Download complete error 21-May-2024 20:00:31 8f2b81f1363f: Download complete error 21-May-2024 20:00:31 4835f8b92435: Verifying Checksum error 21-May-2024 20:00:31 4835f8b92435: Download complete error 21-May-2024 20:00:32 cacde56e1398: Verifying Checksum error 21-May-2024 20:00:32 cacde56e1398: Download complete error 21-May-2024 20:00:32 96926f34a2f1: Verifying Checksum error 21-May-2024 20:00:32 96926f34a2f1: Download complete error 21-May-2024 20:00:32 63bda440e7a2: Verifying Checksum error 21-May-2024 20:00:32 63bda440e7a2: Download complete error 21-May-2024 20:00:33 8f2b81f1363f: Pull complete error 21-May-2024 20:00:33 f8675916ca62: Pull complete error 21-May-2024 20:00:33 34df8ba33b80: Pull complete error 21-May-2024 20:00:33 cacde56e1398: Pull complete error 21-May-2024 20:00:33 4835f8b92435: Pull complete error 21-May-2024 20:00:35 63bda440e7a2: Pull complete error 21-May-2024 20:00:35 96926f34a2f1: Pull complete error 21-May-2024 20:00:35 Digest: sha256:eb5cfd76981b87dc7c1ed35f2e99a788e5a3901816f8608df9a7cc7e11c5a124 error 21-May-2024 20:00:35 Status: Downloaded newer image for openmrs/openmrs-reference-application-3-frontend:qa build 21-May-2024 20:00:36 4854146d66e28414119ab63f4676168355048316a1c445b53019cd9bdf22e51d error 21-May-2024 20:00:36 + docker cp openmrs-frontend-container:/usr/share/nginx/html/spa-assemble-config.json ./frontend/src/main/resources/spa-assemble-config.json error 21-May-2024 20:00:36 + docker rm openmrs-frontend-container build 21-May-2024 20:00:36 openmrs-frontend-container simple 21-May-2024 20:00:36 Finished task 'Extract spa-assemble-config.json from Docker' with result: Success simple 21-May-2024 20:00:36 Starting task 'Deploy the spa-assemble-config artifact' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3' command 21-May-2024 20:00:36 Beginning to execute external process for build 'O3 Reference Application - Publish QA Release - Frontend #7 (O3-PQR-FRON-7)'\n ... running command line: \n/usr/share/apache-maven-3.8.6/bin/mvn --batch-mode -Djava.io.tmpdir=/home/bamboo-agent/bamboo-agent/.agent_tmp/O3-PQR-FRON deploy -Pfrontend -pl frontend\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-FRON\n build 21-May-2024 20:00:38 [INFO] Scanning for projects... build 21-May-2024 20:00:38 [INFO] build 21-May-2024 20:00:38 [INFO] ----------< org.openmrs.distro:referenceapplication-frontend >---------- build 21-May-2024 20:00:38 [INFO] Building OpenMRS frontend 3.0.0-beta.20 build 21-May-2024 20:00:38 [INFO] --------------------------------[ pom ]--------------------------------- build 21-May-2024 20:00:38 [INFO] build 21-May-2024 20:00:38 [INFO] --- maven-enforcer-plugin:3.2.1:enforce (enforce-maven) @ referenceapplication-frontend --- build 21-May-2024 20:00:39 [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed build 21-May-2024 20:00:39 [INFO] build 21-May-2024 20:00:39 [INFO] --- maven-assembly-plugin:3.4.2:single (package-distro-artifact) @ referenceapplication-frontend --- build 21-May-2024 20:00:40 [INFO] Reading assembly descriptor: src/main/assembly/assembly.xml build 21-May-2024 20:00:40 [INFO] Building zip: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-FRON/frontend/target/referenceapplication-frontend-3.0.0-beta.20.zip build 21-May-2024 20:00:40 [INFO] build 21-May-2024 20:00:40 [INFO] --- maven-install-plugin:3.1.0:install (default-install) @ referenceapplication-frontend --- build 21-May-2024 20:00:40 [INFO] Installing /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-FRON/frontend/pom.xml to /home/bamboo-agent/.m2/repository/org/openmrs/distro/referenceapplication-frontend/3.0.0-beta.20/referenceapplication-frontend-3.0.0-beta.20.pom build 21-May-2024 20:00:40 [INFO] Installing /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-FRON/frontend/target/referenceapplication-frontend-3.0.0-beta.20.zip to /home/bamboo-agent/.m2/repository/org/openmrs/distro/referenceapplication-frontend/3.0.0-beta.20/referenceapplication-frontend-3.0.0-beta.20.zip build 21-May-2024 20:00:40 [INFO] build 21-May-2024 20:00:40 [INFO] --- maven-deploy-plugin:3.0.0:deploy (default-deploy) @ referenceapplication-frontend --- build 21-May-2024 20:00:40 [INFO] Uploading to openmrs-repo-releases: https://mavenrepo.openmrs.org/releases/org/openmrs/distro/referenceapplication-frontend/3.0.0-beta.20/referenceapplication-frontend-3.0.0-beta.20.pom build 21-May-2024 20:00:43 [INFO] Uploaded to openmrs-repo-releases: https://mavenrepo.openmrs.org/releases/org/openmrs/distro/referenceapplication-frontend/3.0.0-beta.20/referenceapplication-frontend-3.0.0-beta.20.pom (1.3 kB at 621 B/s) build 21-May-2024 20:00:43 [INFO] Uploading to openmrs-repo-releases: https://mavenrepo.openmrs.org/releases/org/openmrs/distro/referenceapplication-frontend/3.0.0-beta.20/referenceapplication-frontend-3.0.0-beta.20.zip build 21-May-2024 20:00:44 [INFO] Uploaded to openmrs-repo-releases: https://mavenrepo.openmrs.org/releases/org/openmrs/distro/referenceapplication-frontend/3.0.0-beta.20/referenceapplication-frontend-3.0.0-beta.20.zip (533 B at 339 B/s) build 21-May-2024 20:00:44 [INFO] Downloading from openmrs-repo-releases: https://mavenrepo.openmrs.org/releases/org/openmrs/distro/referenceapplication-frontend/maven-metadata.xml build 21-May-2024 20:00:45 [INFO] Downloaded from openmrs-repo-releases: https://mavenrepo.openmrs.org/releases/org/openmrs/distro/referenceapplication-frontend/maven-metadata.xml (512 B at 782 B/s) build 21-May-2024 20:00:45 [INFO] Uploading to openmrs-repo-releases: https://mavenrepo.openmrs.org/releases/org/openmrs/distro/referenceapplication-frontend/maven-metadata.xml build 21-May-2024 20:00:46 [INFO] Uploaded to openmrs-repo-releases: https://mavenrepo.openmrs.org/releases/org/openmrs/distro/referenceapplication-frontend/maven-metadata.xml (456 B at 292 B/s) build 21-May-2024 20:00:46 [INFO] ------------------------------------------------------------------------ build 21-May-2024 20:00:46 [INFO] BUILD SUCCESS build 21-May-2024 20:00:46 [INFO] ------------------------------------------------------------------------ build 21-May-2024 20:00:46 [INFO] Total time: 8.447 s build 21-May-2024 20:00:46 [INFO] Finished at: 2024-05-21T20:00:46Z build 21-May-2024 20:00:46 [INFO] ------------------------------------------------------------------------ simple 21-May-2024 20:00:46 Finished task 'Deploy the spa-assemble-config artifact' with result: Success simple 21-May-2024 20:00:46 Running post build plugin 'Docker Container Cleanup' simple 21-May-2024 20:00:46 Running post build plugin 'NCover Results Collector' simple 21-May-2024 20:00:46 Running post build plugin 'Build Results Label Collector' simple 21-May-2024 20:00:46 Running post build plugin 'Clover Results Collector' simple 21-May-2024 20:00:46 Running post build plugin 'npm Cache Cleanup' simple 21-May-2024 20:00:46 Running post build plugin 'Artifact Copier' simple 21-May-2024 20:00:46 Finalising the build... simple 21-May-2024 20:00:46 Stopping timer. simple 21-May-2024 20:00:46 Build O3-PQR-FRON-7 completed. simple 21-May-2024 20:00:46 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 21-May-2024 20:00:46 Running on server: post build plugin 'NCover Results Collector' simple 21-May-2024 20:00:46 Running on server: post build plugin 'Build Labeller' simple 21-May-2024 20:00:46 Running on server: post build plugin 'Clover Delta Calculator' simple 21-May-2024 20:00:46 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 21-May-2024 20:00:46 All post build plugins have finished simple 21-May-2024 20:00:46 Generating build results summary... simple 21-May-2024 20:00:46 Saving build results to disk... simple 21-May-2024 20:00:46 Store variable context... simple 21-May-2024 20:00:46 Finished building O3-PQR-FRON-7.