Release plan for OpenMRS Core 2.7.x

Build: #1 failed

Job: Release JDK 17 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 175 lines of output. Download or view full build log.

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