simple 11-Sep-2024 08:48:31 Build HIS Distro - HIS Distro - Build and Publish the Image #9 (HD-HD-JOB1-9) started building on agent yu.openmrs.org (3), bamboo version: 8.2.4 simple 11-Sep-2024 08:48:31 Remote agent on host yu.openmrs.org simple 11-Sep-2024 08:48:31 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/HD-HD-JOB1 simple 11-Sep-2024 08:48:31 Executing build HIS Distro - HIS Distro - Build and Publish the Image #9 (HD-HD-JOB1-9) simple 11-Sep-2024 08:48:31 Running pre-build action: Build Log Labeller Pre Build Action simple 11-Sep-2024 08:48:31 Running pre-build action: VCS Version Collector simple 11-Sep-2024 08:48:31 Running pre-build action: Run Predator simple 11-Sep-2024 08:48:31 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 11-Sep-2024 08:48:31 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 11-Sep-2024 08:48:31 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 11-Sep-2024 08:48:31 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 11-Sep-2024 08:48:31 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 3164 java 1407 bamboo-age 3004Mb 570Mb 00:41:08 /usr/lib/jvm/java-8-ope simple 11-Sep-2024 08:48:31 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1407 wrapper 1 bamboo-age 16Mb 3Mb 00:10:37 /home/bamboo-agent/bamb simple 11-Sep-2024 08:48:31 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:01:00 /sbin/init simple 11-Sep-2024 08:48:31 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 11-Sep-2024 08:48:31 [PredatorPreBuildAction] Initial free space: 3.6981773 GB simple 11-Sep-2024 08:48:31 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/FHIR-FM2-BTM simple 11-Sep-2024 08:48:32 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository simple 11-Sep-2024 08:48:32 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 11-Sep-2024 08:48:32 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 11-Sep-2024 08:48:33 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files simple 11-Sep-2024 08:48:33 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 11-Sep-2024 08:48:33 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. simple 11-Sep-2024 08:48:33 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 11-Sep-2024 08:48:33 [PredatorPreBuildAction] Final free space: 3.8344383 GB simple 11-Sep-2024 08:48:33 [PredatorPreBuildAction] Done simple 11-Sep-2024 08:48:33 Starting task 'Clone Distro HIS' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 11-Sep-2024 08:48:33 Beginning to execute external process for build 'HIS Distro - HIS Distro - Build and Publish the Image #9 (HD-HD-JOB1-9)'\n ... running command line: \n/home/bamboo-agent/bamboo-agent/temp/HD-HD-JOB1-9-ScriptBuildTask-5718088180843209326.sh\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/HD-HD-JOB1\nbamboo_planRepository_1_branch=main\nbamboo_capability_system_builder_grailsBuilder_Grails_2_3_7=/opt/grails\nbamboo_repository_298516482_git_username=\nbamboo_dockerhub_password=********\nbamboo_planRepository_1_branchDisplayName=main\nbamboo_repository_revision_number=cc486b7b47e0e4670ee4815657b75a7cb4c89f76\nbamboo_capability_system_builder_command_transifex=/usr/bin/tx\nbamboo_resultsUrl=https://ci.openmrs.org/browse/HD-HD-JOB1-9\nbamboo_build_working_directory=/home/bamboo-agent/bamboo-agent/xml-data/build-dir/HD-HD-JOB1\nbamboo_planRepository_1_name=HIS\nbamboo_buildKey=HD-HD-JOB1\nbamboo_repository_298516482_previous_revision_number=cc486b7b47e0e4670ee4815657b75a7cb4c89f76\nbamboo_preparing_refapp_distro_release=false\nbamboo_shortPlanName=HIS Distro\nbamboo_planRepository_name=HIS\nbamboo_docs_aws_secret_key=********\nbamboo_buildNumber=9\nbamboo_shortJobName=Build and Publish the Image\nbamboo_buildResultsUrl=https://ci.openmrs.org/browse/HD-HD-JOB1-9\nbamboo_planRepository_repositoryUrl=https://github.com/openmrs/openmrs-distro-his\nbamboo_docker_image_platforms=linux/amd64,linux/arm64\nbamboo_ManualBuildTriggerReason_stageName=Default Stage\nbamboo_agentId=260931586\nbamboo_planName=HIS Distro - HIS Distro\nbamboo_build_commandline_com_atlassian_bamboo_plugins_scripttask_task_builder_script_6=/home/bamboo-agent/bamboo-agent/temp/HD-HD-JOB1-9-ScriptBuildTask-316988548360795565.sh\nbamboo_shortPlanKey=HD\nbamboo_shortJobKey=JOB1\nbamboo_capability_system_jdk_JDK_8=/usr/lib/jvm/java-8-openjdk-amd64\nbamboo_repository_298516482_name=HIS\nbamboo_planRepository_revision=cc486b7b47e0e4670ee4815657b75a7cb4c89f76\nbamboo_buildTimeStamp=2024-09-11T08:48:31.597Z\nbamboo_repository_previous_revision_number=cc486b7b47e0e4670ee4815657b75a7cb4c89f76\nbamboo_planRepository_previousRevision=cc486b7b47e0e4670ee4815657b75a7cb4c89f76\nbamboo_build_commandline_com_atlassian_bamboo_plugins_scripttask_task_builder_script_4=/home/bamboo-agent/bamboo-agent/temp/HD-HD-JOB1-9-ScriptBuildTask-711035012005922310.sh\nbamboo_refapp_bamboo_build_number=\nbamboo_repository_git_branch=main\nbamboo_buildResultKey=HD-HD-JOB1-9\nbamboo_repository_branch_name=main\nbamboo_docs_aws_access_key=AKIAI7KMDL5KP2673G7A\nbamboo_buildPlanName=HIS Distro - HIS Distro - Build and Publish the Image\nbamboo_dockerhub_username=openmrsci\nbamboo_planRepository_1_revision=cc486b7b47e0e4670ee4815657b75a7cb4c89f76\nbamboo_repository_298516482_git_repositoryUrl=https://github.com/openmrs/openmrs-distro-his\nbamboo_capability_system_jdk_JDK_1_8_0_422=/usr/lib/jvm/java-8-openjdk-amd64\nbamboo_repository_name=HIS\nbamboo_capability_system_jdk_openjdk_8_jdk=/usr/lib/jvm/java-8-openjdk-amd64\nbamboo_refapp_distro_scm=git@github.com:openmrs/openmrs-distro-referenceapplication.git\nbamboo_transifex_password=********\nbamboo_dependenciesDisabled=false\nbamboo_capability_system_jdk_openjdk_11_jdk=/usr/lib/jvm/java-11-openjdk-amd64\nbamboo_capability_system_builder_grailsBuilder_Grails_2=/opt/grails\nbamboo_buildFailed=false\nbamboo_capability_system_docker_executable=/usr/bin/docker\nbamboo_repository_298516482_revision_number=cc486b7b47e0e4670ee4815657b75a7cb4c89f76\nbamboo_planRepository_branch=main\nbamboo_capability_system_builder_command_Bash=/bin/bash\nbamboo_agentWorkingDirectory=/home/bamboo-agent/bamboo-agent/xml-data/build-dir\nbamboo_capability_system_git_executable=/usr/bin/git\nbamboo_repository_git_username=\nbamboo_planRepository_1_previousRevision=cc486b7b47e0e4670ee4815657b75a7cb4c89f76\nbamboo_planRepository_branchDisplayName=main\nbamboo_capability_system_jdk_JDK_11=/usr/lib/jvm/java-11-openjdk-amd64\nbamboo_planRepository_1_type=gitv2\nbamboo_planRepository_branchName=main\nbamboo_capability_system_jdk_JDK=/usr/lib/jvm/java-8-openjdk-amd64\nbamboo_mavenBuildGoals=clean install\nbamboo_plan_storageTag=plan-298254339\nbamboo_planRepository_1_username=\nbamboo_repository_298516482_git_branch=main\nbamboo_planRepository_type=gitv2\nbamboo_git_cache_directory=/home/bamboo-agent/bamboo-agent/xml-data/build-dir/_git-repositories-cache\nbamboo_ManualBuildTriggerReason_userName=ibacher\nbamboo_repository_git_repositoryUrl=https://github.com/openmrs/openmrs-distro-his\nbamboo_transifex_username=api\nbamboo_refapp_distro_dev_branch=2.x\nbamboo_capability_system_builder_mvn3_Maven_3=/usr/share/apache-maven-3.8.6\nbamboo_tmp_directory=/home/bamboo-agent/bamboo-agent/temp\nbamboo_working_directory=/home/bamboo-agent/bamboo-agent/xml-data/build-dir/HD-HD-JOB1\nbamboo_planKey=HD-HD\nbamboo_RerunBuildTriggerReason_noOfRetries=1\nbamboo_capability_system_builder_command_nvm=nvm\nbamboo_planRepository_1_repositoryUrl=https://github.com/openmrs/openmrs-distro-his\nbamboo_planRepository_username=\nbamboo_capability_system_jdk_JDK_1_8=/usr/lib/jvm/java-8-openjdk-amd64\nbamboo_repository_298516482_branch_name=main\nbamboo_planRepository_1_branchName=main\n error 11-Sep-2024 08:48:33 hint: Using 'master' as the name for the initial branch. This default branch name error 11-Sep-2024 08:48:33 hint: is subject to change. To configure the initial branch name to use in all error 11-Sep-2024 08:48:33 hint: of your new repositories, which will suppress this warning, call: error 11-Sep-2024 08:48:33 hint: error 11-Sep-2024 08:48:33 hint: git config --global init.defaultBranch error 11-Sep-2024 08:48:33 hint: error 11-Sep-2024 08:48:33 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and error 11-Sep-2024 08:48:33 hint: 'development'. The just-created branch can be renamed via this command: error 11-Sep-2024 08:48:33 hint: error 11-Sep-2024 08:48:33 hint: git branch -m build 11-Sep-2024 08:48:33 Initialized empty Git repository in /data/scratch/openmrs-distro-his/.git/ build 11-Sep-2024 08:48:33 Fetching origin error 11-Sep-2024 08:48:33 From github.com:openmrs/openmrs-distro-his error 11-Sep-2024 08:48:33 * [new branch] main -> origin/main error 11-Sep-2024 08:48:33 fatal: 'main' is not a commit and a branch 'main' cannot be created from it simple 11-Sep-2024 08:48:33 Failing task since return code of [/home/bamboo-agent/bamboo-agent/temp/HD-HD-JOB1-9-ScriptBuildTask-5718088180843209326.sh] was 128 while expected 0 simple 11-Sep-2024 08:48:33 Finished task 'Clone Distro HIS' with result: Failed simple 11-Sep-2024 08:48:33 Starting task 'Clean-up scratch' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 11-Sep-2024 08:48:33 Beginning to execute external process for build 'HIS Distro - HIS Distro - Build and Publish the Image #9 (HD-HD-JOB1-9)'\n ... running command line: \n/home/bamboo-agent/bamboo-agent/temp/HD-HD-JOB1-9-ScriptBuildTask-7384035752792275886.sh\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/HD-HD-JOB1\nbamboo_planRepository_1_branch=main\nbamboo_capability_system_builder_grailsBuilder_Grails_2_3_7=/opt/grails\nbamboo_repository_298516482_git_username=\nbamboo_dockerhub_password=********\nbamboo_planRepository_1_branchDisplayName=main\nbamboo_repository_revision_number=cc486b7b47e0e4670ee4815657b75a7cb4c89f76\nbamboo_capability_system_builder_command_transifex=/usr/bin/tx\nbamboo_resultsUrl=https://ci.openmrs.org/browse/HD-HD-JOB1-9\nbamboo_build_working_directory=/home/bamboo-agent/bamboo-agent/xml-data/build-dir/HD-HD-JOB1\nbamboo_planRepository_1_name=HIS\nbamboo_buildKey=HD-HD-JOB1\nbamboo_repository_298516482_previous_revision_number=cc486b7b47e0e4670ee4815657b75a7cb4c89f76\nbamboo_preparing_refapp_distro_release=false\nbamboo_shortPlanName=HIS Distro\nbamboo_planRepository_name=HIS\nbamboo_docs_aws_secret_key=********\nbamboo_buildNumber=9\nbamboo_shortJobName=Build and Publish the Image\nbamboo_buildResultsUrl=https://ci.openmrs.org/browse/HD-HD-JOB1-9\nbamboo_planRepository_repositoryUrl=https://github.com/openmrs/openmrs-distro-his\nbamboo_docker_image_platforms=linux/amd64,linux/arm64\nbamboo_ManualBuildTriggerReason_stageName=Default Stage\nbamboo_agentId=260931586\nbamboo_planName=HIS Distro - HIS Distro\nbamboo_build_commandline_com_atlassian_bamboo_plugins_scripttask_task_builder_script_6=/home/bamboo-agent/bamboo-agent/temp/HD-HD-JOB1-9-ScriptBuildTask-316988548360795565.sh\nbamboo_shortPlanKey=HD\nbamboo_shortJobKey=JOB1\nbamboo_capability_system_jdk_JDK_8=/usr/lib/jvm/java-8-openjdk-amd64\nbamboo_repository_298516482_name=HIS\nbamboo_planRepository_revision=cc486b7b47e0e4670ee4815657b75a7cb4c89f76\nbamboo_buildTimeStamp=2024-09-11T08:48:31.597Z\nbamboo_repository_previous_revision_number=cc486b7b47e0e4670ee4815657b75a7cb4c89f76\nbamboo_planRepository_previousRevision=cc486b7b47e0e4670ee4815657b75a7cb4c89f76\nbamboo_build_commandline_com_atlassian_bamboo_plugins_scripttask_task_builder_script_4=/home/bamboo-agent/bamboo-agent/temp/HD-HD-JOB1-9-ScriptBuildTask-5718088180843209326.sh\nbamboo_refapp_bamboo_build_number=\nbamboo_repository_git_branch=main\nbamboo_buildResultKey=HD-HD-JOB1-9\nbamboo_repository_branch_name=main\nbamboo_docs_aws_access_key=AKIAI7KMDL5KP2673G7A\nbamboo_buildPlanName=HIS Distro - HIS Distro - Build and Publish the Image\nbamboo_dockerhub_username=openmrsci\nbamboo_planRepository_1_revision=cc486b7b47e0e4670ee4815657b75a7cb4c89f76\nbamboo_repository_298516482_git_repositoryUrl=https://github.com/openmrs/openmrs-distro-his\nbamboo_capability_system_jdk_JDK_1_8_0_422=/usr/lib/jvm/java-8-openjdk-amd64\nbamboo_repository_name=HIS\nbamboo_capability_system_jdk_openjdk_8_jdk=/usr/lib/jvm/java-8-openjdk-amd64\nbamboo_refapp_distro_scm=git@github.com:openmrs/openmrs-distro-referenceapplication.git\nbamboo_transifex_password=********\nbamboo_dependenciesDisabled=false\nbamboo_capability_system_jdk_openjdk_11_jdk=/usr/lib/jvm/java-11-openjdk-amd64\nbamboo_capability_system_builder_grailsBuilder_Grails_2=/opt/grails\nbamboo_buildFailed=true\nbamboo_capability_system_docker_executable=/usr/bin/docker\nbamboo_repository_298516482_revision_number=cc486b7b47e0e4670ee4815657b75a7cb4c89f76\nbamboo_planRepository_branch=main\nbamboo_capability_system_builder_command_Bash=/bin/bash\nbamboo_agentWorkingDirectory=/home/bamboo-agent/bamboo-agent/xml-data/build-dir\nbamboo_jobFailed=true\nbamboo_capability_system_git_executable=/usr/bin/git\nbamboo_repository_git_username=\nbamboo_planRepository_1_previousRevision=cc486b7b47e0e4670ee4815657b75a7cb4c89f76\nbamboo_planRepository_branchDisplayName=main\nbamboo_capability_system_jdk_JDK_11=/usr/lib/jvm/java-11-openjdk-amd64\nbamboo_planRepository_1_type=gitv2\nbamboo_planRepository_branchName=main\nbamboo_capability_system_jdk_JDK=/usr/lib/jvm/java-8-openjdk-amd64\nbamboo_mavenBuildGoals=clean install\nbamboo_plan_storageTag=plan-298254339\nbamboo_planRepository_1_username=\nbamboo_repository_298516482_git_branch=main\nbamboo_planRepository_type=gitv2\nbamboo_git_cache_directory=/home/bamboo-agent/bamboo-agent/xml-data/build-dir/_git-repositories-cache\nbamboo_ManualBuildTriggerReason_userName=ibacher\nbamboo_repository_git_repositoryUrl=https://github.com/openmrs/openmrs-distro-his\nbamboo_transifex_username=api\nbamboo_refapp_distro_dev_branch=2.x\nbamboo_capability_system_builder_mvn3_Maven_3=/usr/share/apache-maven-3.8.6\nbamboo_tmp_directory=/home/bamboo-agent/bamboo-agent/temp\nbamboo_working_directory=/home/bamboo-agent/bamboo-agent/xml-data/build-dir/HD-HD-JOB1\nbamboo_planKey=HD-HD\nbamboo_RerunBuildTriggerReason_noOfRetries=1\nbamboo_capability_system_builder_command_nvm=nvm\nbamboo_planRepository_1_repositoryUrl=https://github.com/openmrs/openmrs-distro-his\nbamboo_planRepository_username=\nbamboo_capability_system_jdk_JDK_1_8=/usr/lib/jvm/java-8-openjdk-amd64\nbamboo_repository_298516482_branch_name=main\nbamboo_planRepository_1_branchName=main\n simple 11-Sep-2024 08:48:33 Finished task 'Clean-up scratch' with result: Success simple 11-Sep-2024 08:48:33 Running post build plugin 'Docker Container Cleanup' simple 11-Sep-2024 08:48:33 Running post build plugin 'NCover Results Collector' simple 11-Sep-2024 08:48:33 Running post build plugin 'Build Results Label Collector' simple 11-Sep-2024 08:48:33 Running post build plugin 'Clover Results Collector' simple 11-Sep-2024 08:48:33 Running post build plugin 'npm Cache Cleanup' simple 11-Sep-2024 08:48:33 Running post build plugin 'Artifact Copier' simple 11-Sep-2024 08:48:33 Finalising the build... simple 11-Sep-2024 08:48:33 Stopping timer. simple 11-Sep-2024 08:48:33 Build HD-HD-JOB1-9 completed. simple 11-Sep-2024 08:48:34 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 11-Sep-2024 08:48:34 Running on server: post build plugin 'NCover Results Collector' simple 11-Sep-2024 08:48:34 Running on server: post build plugin 'Build Labeller' simple 11-Sep-2024 08:48:34 Running on server: post build plugin 'Clover Delta Calculator' simple 11-Sep-2024 08:48:34 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 11-Sep-2024 08:48:34 All post build plugins have finished simple 11-Sep-2024 08:48:34 Generating build results summary... simple 11-Sep-2024 08:48:34 Saving build results to disk... simple 11-Sep-2024 08:48:34 Store variable context... simple 11-Sep-2024 08:48:34 Finished building HD-HD-JOB1-9.