DO NOT MANUALLY RUN! Builds and publishes QA releases to the O3 RefApp QA server

Build: #18 failed

Job: Gateway failed

Stages & jobs

  1. Build

  2. Deploy and Store Build Info

Build log

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

09-Sep-2024 10:06:10 Build O3 Reference Application - Publish QA Release - Gateway #18 (O3-PQR-GAT-18) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4
09-Sep-2024 10:06:10 Remote agent on host xiao.openmrs.org
09-Sep-2024 10:06:10 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-GAT
09-Sep-2024 10:06:10 Executing build O3 Reference Application - Publish QA Release - Gateway #18 (O3-PQR-GAT-18)
09-Sep-2024 10:06:10 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
09-Sep-2024 10:06:10 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-GAT
09-Sep-2024 10:06:10 Updating source code to revision: 0d95867e8a2124623fadd6d75b182630b4e25eac
09-Sep-2024 10:06:10 Enforcing full fetch as requested revision has not been found on the configured branch
09-Sep-2024 10:06:10 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-GAT/.git'.
09-Sep-2024 10:06:10 hint: Using 'master' as the name for the initial branch. This default branch name
09-Sep-2024 10:06:10 hint: is subject to change. To configure the initial branch name to use in all
09-Sep-2024 10:06:10 hint: of your new repositories, which will suppress this warning, call:
09-Sep-2024 10:06:10 hint:
09-Sep-2024 10:06:10 hint:         git config --global init.defaultBranch <name>
09-Sep-2024 10:06:10 hint:
09-Sep-2024 10:06:10 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
09-Sep-2024 10:06:10 hint: 'development'. The just-created branch can be renamed via this command:
09-Sep-2024 10:06:10 hint:
09-Sep-2024 10:06:10 hint:         git branch -m <name>
09-Sep-2024 10:06:10 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-GAT/.git/
09-Sep-2024 10:06:10 Fetching 'refs/heads/*' from 'git@github.com:openmrs/openmrs-distro-referenceapplication.git'.
09-Sep-2024 10:06:10 Warning: Permanently added '[127.0.0.1]:39371' (RSA) to the list of known hosts.
09-Sep-2024 10:06:14 From ssh://127.0.0.1:39371/openmrs/openmrs-distro-referenceapplication
09-Sep-2024 10:06:14 * [new branch]        2.12.0-dev                 -> 2.12.0-dev
09-Sep-2024 10:06:14 * [new branch]        2.12.x                     -> 2.12.x
09-Sep-2024 10:06:14 * [new branch]        2.3.x                      -> 2.3.x
09-Sep-2024 10:06:14 * [new branch]        2.6.x                      -> 2.6.x
09-Sep-2024 10:06:14 * [new branch]        2.x                        -> 2.x
09-Sep-2024 10:06:14 * [new branch]        3.x-ohri                   -> 3.x-ohri
09-Sep-2024 10:06:14 * [new branch]        KH-3                       -> KH-3
09-Sep-2024 10:06:14 * [new branch]        O3-2563-labs-tests         -> O3-2563-labs-tests
09-Sep-2024 10:06:14 * [new branch]        O3-3192-bed-management     -> O3-3192-bed-management
09-Sep-2024 10:06:14 * [new branch]        O3-3495                    -> O3-3495
09-Sep-2024 10:06:14 * [new branch]        chore/O3-3717              -> chore/O3-3717
09-Sep-2024 10:06:14 * [new branch]        feat/support-updated-spa-build-config -> feat/support-updated-spa-build-config
09-Sep-2024 10:06:14 * [new branch]        gracepotma-temperature_ranges_20240508 -> gracepotma-temperature_ranges_20240508
09-Sep-2024 10:06:14 * [new branch]        hk-add-hct-and-hp-packages -> hk-add-hct-and-hp-packages
09-Sep-2024 10:06:14 * [new branch]        main                       -> main
09-Sep-2024 10:06:14 * [new branch]        msf                        -> msf
09-Sep-2024 10:06:14 * [new branch]        platform-2.1.x             -> platform-2.1.x
09-Sep-2024 10:06:14 * [new branch]        release/3.0.0              -> release/3.0.0
09-Sep-2024 10:06:14 * [new branch]        releases/3.2.0             -> releases/3.2.0
09-Sep-2024 10:06:14 * [new branch]        releases/beta-21           -> releases/beta-21
09-Sep-2024 10:06:14 * [new branch]        show-upcoming-appointments -> show-upcoming-appointments
09-Sep-2024 10:06:14 * [new branch]        soap-note-b                -> soap-note-b
09-Sep-2024 10:06:14 * [new branch]        uat                        -> uat
09-Sep-2024 10:06:14 * [new branch]        update-lab-metadata-aug20-2024 -> update-lab-metadata-aug20-2024
09-Sep-2024 10:06:14 * [new branch]        update/drug-metadata-nevirapinedose -> update/drug-metadata-nevirapinedose
09-Sep-2024 10:06:14 * [new branch]        visit-queue-number         -> visit-queue-number
09-Sep-2024 10:06:14 * [new tag]           2.0.1769                   -> 2.0.1769
09-Sep-2024 10:06:14 * [new tag]           2.1                        -> 2.1
09-Sep-2024 10:06:14 * [new tag]           2.10.0                     -> 2.10.0
09-Sep-2024 10:06:14 * [new tag]           2.11.0                     -> 2.11.0
09-Sep-2024 10:06:14 * [new tag]           2.12.0                     -> 2.12.0
09-Sep-2024 10:06:14 * [new tag]           2.12.0-dev                 -> 2.12.0-dev
09-Sep-2024 10:06:14 * [new tag]           2.12.1                     -> 2.12.1
09-Sep-2024 10:06:14 * [new tag]           2.12.2                     -> 2.12.2
09-Sep-2024 10:06:14 * [new tag]           2.13.0                     -> 2.13.0
09-Sep-2024 10:06:14 * [new tag]           2.13.0-alpha               -> 2.13.0-alpha
09-Sep-2024 10:06:14 * [new tag]           2.13.0-alpha.1             -> 2.13.0-alpha.1
09-Sep-2024 10:06:14 * [new tag]           2.13.0-alpha.4             -> 2.13.0-alpha.4
09-Sep-2024 10:06:14 * [new tag]           2.13.0-alpha.7             -> 2.13.0-alpha.7
09-Sep-2024 10:06:14 * [new tag]           2.2                        -> 2.2
09-Sep-2024 10:06:14 * [new tag]           2.3                        -> 2.3
09-Sep-2024 10:06:14 * [new tag]           2.3.1                      -> 2.3.1
09-Sep-2024 10:06:14 * [new tag]           2.4                        -> 2.4
09-Sep-2024 10:06:14 * [new tag]           2.5                        -> 2.5
09-Sep-2024 10:06:14 * [new tag]           2.6.0                      -> 2.6.0
09-Sep-2024 10:06:14 * [new tag]           2.6.1                      -> 2.6.1
09-Sep-2024 10:06:14 * [new tag]           2.7.0                      -> 2.7.0
09-Sep-2024 10:06:14 * [new tag]           2.8.0                      -> 2.8.0
09-Sep-2024 10:06:14 * [new tag]           2.8.1                      -> 2.8.1
09-Sep-2024 10:06:14 * [new tag]           2.9.0                      -> 2.9.0
09-Sep-2024 10:06:14 * [new tag]           3.0.0                      -> 3.0.0
09-Sep-2024 10:06:14 * [new tag]           3.0.0-alpha.2              -> 3.0.0-alpha.2
09-Sep-2024 10:06:14 * [new tag]           3.0.0-alpha.3              -> 3.0.0-alpha.3
09-Sep-2024 10:06:14 * [new tag]           3.0.0-alpha.4              -> 3.0.0-alpha.4
09-Sep-2024 10:06:14 * [new tag]           3.0.0-alpha.5              -> 3.0.0-alpha.5
09-Sep-2024 10:06:14 * [new tag]           3.0.0-alpha.6              -> 3.0.0-alpha.6
09-Sep-2024 10:06:14 * [new tag]           3.0.0-alpha.7              -> 3.0.0-alpha.7
09-Sep-2024 10:06:14 * [new tag]           3.0.0-beta.1               -> 3.0.0-beta.1
09-Sep-2024 10:06:14 * [new tag]           3.0.0-beta.10              -> 3.0.0-beta.10
09-Sep-2024 10:06:14 * [new tag]           3.0.0-beta.11              -> 3.0.0-beta.11
09-Sep-2024 10:06:14 * [new tag]           3.0.0-beta.12              -> 3.0.0-beta.12
09-Sep-2024 10:06:14 * [new tag]           3.0.0-beta.13              -> 3.0.0-beta.13
09-Sep-2024 10:06:14 * [new tag]           3.0.0-beta.14              -> 3.0.0-beta.14
09-Sep-2024 10:06:14 * [new tag]           3.0.0-beta.15              -> 3.0.0-beta.15
09-Sep-2024 10:06:14 * [new tag]           3.0.0-beta.16              -> 3.0.0-beta.16
09-Sep-2024 10:06:14 * [new tag]           3.0.0-beta.17              -> 3.0.0-beta.17
09-Sep-2024 10:06:14 * [new tag]           3.0.0-beta.18              -> 3.0.0-beta.18
09-Sep-2024 10:06:14 * [new tag]           3.0.0-beta.19              -> 3.0.0-beta.19
09-Sep-2024 10:06:14 * [new tag]           3.0.0-beta.2               -> 3.0.0-beta.2
09-Sep-2024 10:06:14 * [new tag]           3.0.0-beta.20              -> 3.0.0-beta.20
09-Sep-2024 10:06:14 * [new tag]           3.0.0-beta.21              -> 3.0.0-beta.21
09-Sep-2024 10:06:14 * [new tag]           3.0.0-beta.3               -> 3.0.0-beta.3
09-Sep-2024 10:06:14 * [new tag]           3.0.0-beta.4               -> 3.0.0-beta.4
09-Sep-2024 10:06:14 * [new tag]           3.0.0-beta.5               -> 3.0.0-beta.5
09-Sep-2024 10:06:14 * [new tag]           3.0.0-beta.6               -> 3.0.0-beta.6
09-Sep-2024 10:06:14 * [new tag]           3.0.0-beta.7               -> 3.0.0-beta.7
09-Sep-2024 10:06:14 * [new tag]           3.0.0-beta.8               -> 3.0.0-beta.8
09-Sep-2024 10:06:14 * [new tag]           3.0.0-beta.9               -> 3.0.0-beta.9
09-Sep-2024 10:06:14 * [new tag]           3.1.0                      -> 3.1.0
09-Sep-2024 10:06:14 * [new tag]           3.1.1                      -> 3.1.1
09-Sep-2024 10:06:14 * [new tag]           3.1.1-rc                   -> 3.1.1-rc
09-Sep-2024 10:06:14 * [new tag]           3.2.0-rc                   -> 3.2.0-rc
09-Sep-2024 10:06:14 * [new tag]           3.2.0-rc.1                 -> 3.2.0-rc.1
09-Sep-2024 10:06:14 * [new tag]           latest                     -> latest
09-Sep-2024 10:06:14 Checking out revision 0d95867e8a2124623fadd6d75b182630b4e25eac.
09-Sep-2024 10:06:14 Note: switching to '0d95867e8a2124623fadd6d75b182630b4e25eac'.
09-Sep-2024 10:06:14
09-Sep-2024 10:06:14 You are in 'detached HEAD' state. You can look around, make experimental
09-Sep-2024 10:06:14 changes and commit them, and you can discard any commits you make in this
09-Sep-2024 10:06:14 state without impacting any branches by switching back to a branch.
09-Sep-2024 10:06:14
09-Sep-2024 10:06:14 If you want to create a new branch to retain commits you create, you may
09-Sep-2024 10:06:14 do so (now or later) by using -c with the switch command. Example:
09-Sep-2024 10:06:14
09-Sep-2024 10:06:14   git switch -c <new-branch-name>
09-Sep-2024 10:06:14
09-Sep-2024 10:06:14 Or undo this operation with:
09-Sep-2024 10:06:14
09-Sep-2024 10:06:14   git switch -
09-Sep-2024 10:06:14
09-Sep-2024 10:06:14 Turn off this advice by setting config variable advice.detachedHead to false
09-Sep-2024 10:06:14
09-Sep-2024 10:06:14 HEAD is now at 0d95867e (release) Release 3.2.0-rc.1
09-Sep-2024 10:06:14 Updated source code to revision: 0d95867e8a2124623fadd6d75b182630b4e25eac
09-Sep-2024 10:06:14 Finished task 'Checkout Default Repository' with result: Success
09-Sep-2024 10:06:14 Running pre-build action: Build Log Labeller Pre Build Action
09-Sep-2024 10:06:14 Running pre-build action: VCS Version Collector
09-Sep-2024 10:06:14 Running pre-build action: Run Predator
09-Sep-2024 10:06:14 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
09-Sep-2024 10:06:14 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
09-Sep-2024 10:06:14 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
09-Sep-2024 10:06:45 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
09-Sep-2024 10:06:45 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2905 java        1268 bamboo-age 2993Mb  648Mb 00:33:43 /usr/lib/jvm/java-8-ope
09-Sep-2024 10:06:45 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1268 wrapper        1 bamboo-age   16Mb    1Mb 00:08:55 /home/bamboo-agent/bamb
09-Sep-2024 10:06:45 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:00:33 /sbin/init             
09-Sep-2024 10:06:45 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
09-Sep-2024 10:06:45 [PredatorPreBuildAction] Initial free space: 5.5194054 GB
09-Sep-2024 10:06:45 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-BAC
09-Sep-2024 10:06:53 [PredatorPreBuildAction] Deleting 24 snapshot folders from /home/bamboo-agent/.m2/repository
09-Sep-2024 10:06:53 [PredatorPreBuildAction] Maven snapshot disk freed: 1 GB
09-Sep-2024 10:06:53 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
09-Sep-2024 10:06:53 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
09-Sep-2024 10:06:53 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
09-Sep-2024 10:06:53 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
09-Sep-2024 10:06:53 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
09-Sep-2024 10:06:53 [PredatorPreBuildAction] Final free space: 5.5193977 GB
09-Sep-2024 10:06:53 [PredatorPreBuildAction] Done
09-Sep-2024 10:06:53
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
09-Sep-2024 10:06:53
Substituting password variable: ${bamboo.dockerhub.password}
09-Sep-2024 10:06:53
Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64
09-Sep-2024 10:06:53 Starting task 'Build and tag image' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
09-Sep-2024 10:06:53
Beginning to execute external process for build 'O3 Reference Application - Publish QA Release - Gateway #18 (O3-PQR-GAT-18)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/O3-PQR-GAT-18-ScriptBuildTask-1005543241605028518.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/O3-PQR-GAT
09-Sep-2024 10:06:53 + [[ ehuB != ehuxB ]]
09-Sep-2024 10:06:53 + echo 'Start of Lmod init/bash script to define the module command'
09-Sep-2024 10:06:53 Start of Lmod init/bash script to define the module command
09-Sep-2024 10:06:53 + LMOD_PKG=/usr/share/lmod/lmod
09-Sep-2024 10:06:53 + LMOD_DIR=/usr/share/lmod/lmod/libexec
09-Sep-2024 10:06:53 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
09-Sep-2024 10:06:53 + MODULESHOME=/usr/share/lmod/lmod
09-Sep-2024 10:06:53 + export LMOD_PKG
09-Sep-2024 10:06:53 + export LMOD_CMD
09-Sep-2024 10:06:53 + export LMOD_DIR
09-Sep-2024 10:06:53 + export MODULESHOME
09-Sep-2024 10:06:53 + LMOD_VERSION=6.6
09-Sep-2024 10:06:53 + export LMOD_VERSION
09-Sep-2024 10:06:53 + '[' : '!=' : ']'
09-Sep-2024 10:06:53 + unalias ml
09-Sep-2024 10:06:53 + true
09-Sep-2024 10:06:53 ++ echo YES
09-Sep-2024 10:06:53 ++ /usr/bin/tr '[:upper:]' '[:lower:]'
09-Sep-2024 10:06:53 + export_module=yes
09-Sep-2024 10:06:53 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']'
09-Sep-2024 10:06:53 + export -f module
09-Sep-2024 10:06:53 + export -f ml
09-Sep-2024 10:06:53 + unset export_module
09-Sep-2024 10:06:53 + '[' -n '' ']'
09-Sep-2024 10:06:53 + '[' 5 -ge 3 ']'
09-Sep-2024 10:06:53 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']'
09-Sep-2024 10:06:53 + '[' -n '' ']'
09-Sep-2024 10:06:53 + [[ ehuB != ehuxB ]]
09-Sep-2024 10:06:53 + echo 'End of Lmod init/bash script to define the module command'
09-Sep-2024 10:06:53 + export IMAGE=openmrs/openmrs-reference-application-3-gateway
09-Sep-2024 10:06:53 + IMAGE=openmrs/openmrs-reference-application-3-gateway
09-Sep-2024 10:06:53 + docker login -u openmrsci -p ********
09-Sep-2024 10:06:53 End of Lmod init/bash script to define the module command
09-Sep-2024 10:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
09-Sep-2024 10:06:54 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
09-Sep-2024 10:06:54 Configure a credential helper to remove this warning. See
09-Sep-2024 10:06:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
09-Sep-2024 10:06:54
09-Sep-2024 10:06:54 Login Succeeded
09-Sep-2024 10:06:54 /home/bamboo-agent/bamboo-agent/temp/O3-PQR-GAT-18-ScriptBuildTask-1005543241605028518.sh: line 7: ${IMAGE}:${bamboo.TagBuildTriggerReason.tagName}: bad substitution
09-Sep-2024 10:06:54 Failing task since return code of [/home/bamboo-agent/bamboo-agent/temp/O3-PQR-GAT-18-ScriptBuildTask-1005543241605028518.sh] was 1 while expected 0
09-Sep-2024 10:06:54 Finished task 'Build and tag image' with result: Failed
09-Sep-2024 10:06:54 Running post build plugin 'Docker Container Cleanup'
09-Sep-2024 10:06:54 Running post build plugin 'NCover Results Collector'
09-Sep-2024 10:06:54 Running post build plugin 'Build Results Label Collector'
09-Sep-2024 10:06:54 Running post build plugin 'Clover Results Collector'
09-Sep-2024 10:06:54 Running post build plugin 'npm Cache Cleanup'
09-Sep-2024 10:06:54 Running post build plugin 'Artifact Copier'
09-Sep-2024 10:06:54 Finalising the build...
09-Sep-2024 10:06:54 Stopping timer.
09-Sep-2024 10:06:54 Build O3-PQR-GAT-18 completed.
09-Sep-2024 10:06:54 Running on server: post build plugin 'Build Hanging Detection Configuration'
09-Sep-2024 10:06:54 Running on server: post build plugin 'NCover Results Collector'
09-Sep-2024 10:06:54 Running on server: post build plugin 'Build Labeller'
09-Sep-2024 10:06:54 Running on server: post build plugin 'Clover Delta Calculator'
09-Sep-2024 10:06:54 Running on server: post build plugin 'Maven Dependencies Postprocessor'
09-Sep-2024 10:06:54 All post build plugins have finished
09-Sep-2024 10:06:54 Generating build results summary...
09-Sep-2024 10:06:54 Saving build results to disk...
09-Sep-2024 10:06:54 Store variable context...
09-Sep-2024 10:06:54 Finished building O3-PQR-GAT-18.