Release plan for OpenMRS Core 2.7.x

Build: #6 failed

Job: Release JDK 11 image failed

Stages & jobs

  1. Build

  2. Test

  3. Deploy

  4. Release

    Requires a user to start manually
  5. Release image variants

Build log

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

05-Nov-2024 03:40:18 Build OpenMRS Core - OpenMRS Core 2.7.x - 2.7.x - Release JDK 11 image #6 (TRUNK-CORE270-RTD11-6) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4
05-Nov-2024 03:40:18 Remote agent on host xiao.openmrs.org
05-Nov-2024 03:40:18 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE270-RTD11
05-Nov-2024 03:40:18 Executing build OpenMRS Core - OpenMRS Core 2.7.x - 2.7.x - Release JDK 11 image #6 (TRUNK-CORE270-RTD11-6)
05-Nov-2024 03:40:18 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
05-Nov-2024 03:40:18 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE270-RTD11
05-Nov-2024 03:40:18 Updating source code to revision: 35b96f9b01a344aaeeb60b17eead575f2bb6c666
05-Nov-2024 03:40:18 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE270-RTD11/.git'.
05-Nov-2024 03:40:18 hint: Using 'master' as the name for the initial branch. This default branch name
05-Nov-2024 03:40:18 hint: is subject to change. To configure the initial branch name to use in all
05-Nov-2024 03:40:18 hint: of your new repositories, which will suppress this warning, call:
05-Nov-2024 03:40:18 hint:
05-Nov-2024 03:40:18 hint:         git config --global init.defaultBranch <name>
05-Nov-2024 03:40:18 hint:
05-Nov-2024 03:40:18 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
05-Nov-2024 03:40:18 hint: 'development'. The just-created branch can be renamed via this command:
05-Nov-2024 03:40:18 hint:
05-Nov-2024 03:40:18 hint:         git branch -m <name>
05-Nov-2024 03:40:18 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE270-RTD11/.git/
05-Nov-2024 03:40:18 Fetching 'refs/heads/2.7.x' from 'https://github.com/openmrs/openmrs-core.git'. Will try to do a shallow fetch.
05-Nov-2024 03:40:20 From https://github.com/openmrs/openmrs-core
05-Nov-2024 03:40:20 * [new branch]      2.7.x       -> 2.7.x
05-Nov-2024 03:40:20 * [new tag]         2.7.0-alpha -> 2.7.0-alpha
05-Nov-2024 03:40:20 Checking out revision 35b96f9b01a344aaeeb60b17eead575f2bb6c666.
05-Nov-2024 03:40:20 fatal: reference is not a tree: 35b96f9b01a344aaeeb60b17eead575f2bb6c666
05-Nov-2024 03:40:20 Checkout to revision 35b96f9b01a344aaeeb60b17eead575f2bb6c666 has failed.
05-Nov-2024 03:40:20 Warning: failed to checkout source code to directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE270-RTD11', trying to recover...
05-Nov-2024 03:40:20 Cleaned source directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE270-RTD11'...
05-Nov-2024 03:40:20 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE270-RTD11/.git'.
05-Nov-2024 03:40:20 hint: Using 'master' as the name for the initial branch. This default branch name
05-Nov-2024 03:40:20 hint: is subject to change. To configure the initial branch name to use in all
05-Nov-2024 03:40:20 hint: of your new repositories, which will suppress this warning, call:
05-Nov-2024 03:40:20 hint:
05-Nov-2024 03:40:20 hint:         git config --global init.defaultBranch <name>
05-Nov-2024 03:40:20 hint:
05-Nov-2024 03:40:20 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
05-Nov-2024 03:40:20 hint: 'development'. The just-created branch can be renamed via this command:
05-Nov-2024 03:40:20 hint:
05-Nov-2024 03:40:20 hint:         git branch -m <name>
05-Nov-2024 03:40:20 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE270-RTD11/.git/
05-Nov-2024 03:40:20 Fetching 'refs/heads/2.7.x' from 'https://github.com/openmrs/openmrs-core.git'.
05-Nov-2024 03:40:27 From https://github.com/openmrs/openmrs-core
05-Nov-2024 03:40:27 * [new branch]          2.7.x       -> 2.7.x
05-Nov-2024 03:40:27 * [new tag]             2.7.0-alpha -> 2.7.0-alpha
05-Nov-2024 03:40:27 * [new tag]             1.1.0                     -> 1.1.0
05-Nov-2024 03:40:27 * [new tag]             1.10.0-alpha              -> 1.10.0-alpha
05-Nov-2024 03:40:27 * [new tag]             1.2.0                     -> 1.2.0
05-Nov-2024 03:40:27 * [new tag]             1.2.01                    -> 1.2.01
05-Nov-2024 03:40:27 * [new tag]             1.2.01-RC1                -> 1.2.01-RC1
05-Nov-2024 03:40:27 * [new tag]             1.3.0-RC1                 -> 1.3.0-RC1
05-Nov-2024 03:40:27 * [new tag]             1.3.0-RC2                 -> 1.3.0-RC2
05-Nov-2024 03:40:27 * [new tag]             1.3.0-RC3                 -> 1.3.0-RC3
05-Nov-2024 03:40:27 * [new tag]             1.3.0-RC4                 -> 1.3.0-RC4
05-Nov-2024 03:40:27 * [new tag]             1.9.0-RC                  -> 1.9.0-RC
05-Nov-2024 03:40:27 * [new tag]             1.9.0-RC2                 -> 1.9.0-RC2
05-Nov-2024 03:40:27 * [new tag]             1.9.0-RC3                 -> 1.9.0-RC3
05-Nov-2024 03:40:27 * [new tag]             1.9.0-RC4                 -> 1.9.0-RC4
05-Nov-2024 03:40:27 * [new tag]             1.9.0-alpha               -> 1.9.0-alpha
05-Nov-2024 03:40:27 * [new tag]             1.9.0-beta                -> 1.9.0-beta
05-Nov-2024 03:40:27 * [new tag]             1.9.2                     -> 1.9.2
05-Nov-2024 03:40:27 * [new tag]             1.9.3                     -> 1.9.3
05-Nov-2024 03:40:27 * [new tag]             1.9.4                     -> 1.9.4
05-Nov-2024 03:40:27 * [new tag]             1.9.5                     -> 1.9.5
05-Nov-2024 03:40:27 * [new tag]             1.9.6                     -> 1.9.6
05-Nov-2024 03:40:27 * [new tag]             2.2.0-20181112.082045-243 -> 2.2.0-20181112.082045-243
05-Nov-2024 03:40:27 * [new tag]             2.4.0-alpha               -> 2.4.0-alpha
05-Nov-2024 03:40:27 * [new tag]             mirebalais_deploy_version -> mirebalais_deploy_version
05-Nov-2024 03:40:27 Fetching to source directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE270-RTD11' completed, proceeding with checkout...
05-Nov-2024 03:40:27 Checking out revision 35b96f9b01a344aaeeb60b17eead575f2bb6c666.
05-Nov-2024 03:40:28 Note: switching to '35b96f9b01a344aaeeb60b17eead575f2bb6c666'.
05-Nov-2024 03:40:28
05-Nov-2024 03:40:28 You are in 'detached HEAD' state. You can look around, make experimental
05-Nov-2024 03:40:28 changes and commit them, and you can discard any commits you make in this
05-Nov-2024 03:40:28 state without impacting any branches by switching back to a branch.
05-Nov-2024 03:40:28
05-Nov-2024 03:40:28 If you want to create a new branch to retain commits you create, you may
05-Nov-2024 03:40:28 do so (now or later) by using -c with the switch command. Example:
05-Nov-2024 03:40:28
05-Nov-2024 03:40:28   git switch -c <new-branch-name>
05-Nov-2024 03:40:28
05-Nov-2024 03:40:28 Or undo this operation with:
05-Nov-2024 03:40:28
05-Nov-2024 03:40:28   git switch -
05-Nov-2024 03:40:28
05-Nov-2024 03:40:28 Turn off this advice by setting config variable advice.detachedHead to false
05-Nov-2024 03:40:28
05-Nov-2024 03:40:28 HEAD is now at 35b96f9b0 maven(deps): bump net.bytebuddy:byte-buddy-agent from 1.15.7 to 1.15.8 (#4810)
05-Nov-2024 03:40:28 Checkout completed, recover successful.
05-Nov-2024 03:40:28 Updated source code to revision: 35b96f9b01a344aaeeb60b17eead575f2bb6c666
05-Nov-2024 03:40:28 Finished task 'Checkout Default Repository' with result: Success
05-Nov-2024 03:40:28 Running pre-build action: Build Log Labeller Pre Build Action
05-Nov-2024 03:40:28 Running pre-build action: VCS Version Collector
05-Nov-2024 03:40:28 Running pre-build action: Run Predator
05-Nov-2024 03:40:28 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
05-Nov-2024 03:40:28 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
05-Nov-2024 03:40:28 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
05-Nov-2024 03:40:52 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
05-Nov-2024 03:40:52 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 23955 java        1258 bamboo-age 2973Mb  394Mb 00:11:11 /usr/lib/jvm/java-8-ope
05-Nov-2024 03:40:52 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1258 wrapper        1 bamboo-age   16Mb    3Mb 00:09:12 /home/bamboo-agent/bamb
05-Nov-2024 03:40:52 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:00:48 /sbin/init             
05-Nov-2024 03:40:52 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
05-Nov-2024 03:40:52 [PredatorPreBuildAction] Initial free space: 5.459423 GB
05-Nov-2024 03:40:52 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE270-RTD
05-Nov-2024 03:41:03 [PredatorPreBuildAction] Deleting 22 snapshot folders from /home/bamboo-agent/.m2/repository
05-Nov-2024 03:41:03 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
05-Nov-2024 03:41:03 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
05-Nov-2024 03:41:04 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
05-Nov-2024 03:41:04 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
05-Nov-2024 03:41:04 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
05-Nov-2024 03:41:04 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
05-Nov-2024 03:41:04 [PredatorPreBuildAction] Final free space: 5.4944763 GB
05-Nov-2024 03:41:04 [PredatorPreBuildAction] Done
05-Nov-2024 03:41:04
Substituting variable: ${bamboo.maven.release.version} with 2.7.0-alpha
05-Nov-2024 03:41:04
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-core
05-Nov-2024 03:41:04
Substituting variable: ${bamboo.docker.image.tag} with nightly
05-Nov-2024 03:41:04
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-core
05-Nov-2024 03:41:04
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-core
05-Nov-2024 03:41:04
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
05-Nov-2024 03:41:04
Substituting password variable: ${bamboo.dockerhub.password}
05-Nov-2024 03:41:04
Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64
05-Nov-2024 03:41:04
Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64
05-Nov-2024 03:41:04 Starting task 'Build and push JDK 11 images' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
05-Nov-2024 03:41:04
Beginning to execute external process for build 'OpenMRS Core - OpenMRS Core 2.7.x - 2.7.x - Release JDK 11 image #6 (TRUNK-CORE270-RTD11-6)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/TRUNK-CORE270-RTD11-6-ScriptBuildTask-4679071235172801471.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-CORE270-RTD11
05-Nov-2024 03:41:04 Start of Lmod init/bash script to define the module command
05-Nov-2024 03:41:04 + [[ ehuB != ehuxB ]]
05-Nov-2024 03:41:04 + echo 'Start of Lmod init/bash script to define the module command'
05-Nov-2024 03:41:04 + LMOD_PKG=/usr/share/lmod/lmod
05-Nov-2024 03:41:04 + LMOD_DIR=/usr/share/lmod/lmod/libexec
05-Nov-2024 03:41:04 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
05-Nov-2024 03:41:04 + MODULESHOME=/usr/share/lmod/lmod
05-Nov-2024 03:41:04 + export LMOD_PKG
05-Nov-2024 03:41:04 + export LMOD_CMD
05-Nov-2024 03:41:04 + export LMOD_DIR
05-Nov-2024 03:41:04 + export MODULESHOME
05-Nov-2024 03:41:04 + LMOD_VERSION=6.6
05-Nov-2024 03:41:04 + export LMOD_VERSION
05-Nov-2024 03:41:04 + '[' : '!=' : ']'
05-Nov-2024 03:41:04 + unalias ml
05-Nov-2024 03:41:04 + true
05-Nov-2024 03:41:04 ++ echo YES
05-Nov-2024 03:41:04 ++ /usr/bin/tr '[:upper:]' '[:lower:]'
05-Nov-2024 03:41:04 + export_module=yes
05-Nov-2024 03:41:04 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']'
05-Nov-2024 03:41:04 + export -f module
05-Nov-2024 03:41:04 + export -f ml
05-Nov-2024 03:41:04 + unset export_module
05-Nov-2024 03:41:04 + '[' -n '' ']'
05-Nov-2024 03:41:04 + '[' 5 -ge 3 ']'
05-Nov-2024 03:41:04 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']'
05-Nov-2024 03:41:04 + '[' -n '' ']'
05-Nov-2024 03:41:04 + [[ ehuB != ehuxB ]]
05-Nov-2024 03:41:04 + echo 'End of Lmod init/bash script to define the module command'
05-Nov-2024 03:41:04 End of Lmod init/bash script to define the module command
05-Nov-2024 03:41:04 + set +x
05-Nov-2024 03:41:04 /home/bamboo-agent/bamboo-agent/temp/TRUNK-CORE270-RTD11-6-ScriptBuildTask-4679071235172801471.sh: line 6: JDK_IMAGE: unbound variable
05-Nov-2024 03:41:04 Failing task since return code of [/home/bamboo-agent/bamboo-agent/temp/TRUNK-CORE270-RTD11-6-ScriptBuildTask-4679071235172801471.sh] was 1 while expected 0
05-Nov-2024 03:41:04 Finished task 'Build and push JDK 11 images' with result: Failed
05-Nov-2024 03:41:04 Running post build plugin 'Docker Container Cleanup'
05-Nov-2024 03:41:04 Running post build plugin 'NCover Results Collector'
05-Nov-2024 03:41:04 Running post build plugin 'Build Results Label Collector'
05-Nov-2024 03:41:04 Running post build plugin 'Clover Results Collector'
05-Nov-2024 03:41:04 Running post build plugin 'npm Cache Cleanup'
05-Nov-2024 03:41:04 Running post build plugin 'Artifact Copier'
05-Nov-2024 03:41:04 Finalising the build...
05-Nov-2024 03:41:04 Stopping timer.
05-Nov-2024 03:41:04 Build TRUNK-CORE270-RTD11-6 completed.
05-Nov-2024 03:41:04 Running on server: post build plugin 'Build Hanging Detection Configuration'
05-Nov-2024 03:41:04 Running on server: post build plugin 'NCover Results Collector'
05-Nov-2024 03:41:04 Running on server: post build plugin 'Build Labeller'
05-Nov-2024 03:41:04 Running on server: post build plugin 'Clover Delta Calculator'
05-Nov-2024 03:41:04 Running on server: post build plugin 'Maven Dependencies Postprocessor'
05-Nov-2024 03:41:04 All post build plugins have finished
05-Nov-2024 03:41:04 Generating build results summary...
05-Nov-2024 03:41:04 Saving build results to disk...
05-Nov-2024 03:41:04 Store variable context...
05-Nov-2024 03:41:04 Finished building TRUNK-CORE270-RTD11-6.