simple 02-Sep-2025 16:32:38 Build O3 Reference Application - Publish QA Release - Deploy #41 (O3-PQR-DEP-41) is being prepared for building on agent xiao.openmrs.org (2), bamboo version: 11.0.2 simple 02-Sep-2025 16:32:38 Remote agent on host xiao.openmrs.org simple 02-Sep-2025 16:32:38 Build working directory is /data/bamboo-agent/xml-data/build-dir/O3-PQR-DEP simple 02-Sep-2025 16:32:38 Executing build O3 Reference Application - Publish QA Release - Deploy #41 (O3-PQR-DEP-41) simple 02-Sep-2025 16:32:38 Running pre-build action: Build Log Labeller Pre Build Action simple 02-Sep-2025 16:32:38 Running pre-build action: VCS Version Collector simple 02-Sep-2025 16:32:38 Running pre-build action: Run Predator simple 02-Sep-2025 16:32:38 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 02-Sep-2025 16:32:38 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 02-Sep-2025 16:32:38 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 02-Sep-2025 16:32:38 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 02-Sep-2025 16:32:38 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 4520 java 1484 bamboo-age 3189Mb 523Mb 00:07:30 /usr/lib/jvm/java-21-op simple 02-Sep-2025 16:32:38 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1484 wrapper 1422 bamboo-age 88Mb 3Mb 00:01:57 /data/bamboo-agent/bin/ simple 02-Sep-2025 16:32:38 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1422 bamboo 734 bamboo-age 3Mb 1Mb 00:00:00 /bin/sh /data/bamboo-ag simple 02-Sep-2025 16:32:38 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 734 java 1 bamboo-age 4038Mb 42Mb 00:01:35 /usr/lib/jvm/java-21-op simple 02-Sep-2025 16:32:38 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 100Mb 11Mb 00:00:11 /sbin/init simple 02-Sep-2025 16:32:38 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 02-Sep-2025 16:32:38 [PredatorPreBuildAction] Initial free space: 62.54819 GB simple 02-Sep-2025 16:32:38 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM227-BTJ8 simple 02-Sep-2025 16:32:38 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage simple 02-Sep-2025 16:32:38 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-DTM simple 02-Sep-2025 16:32:38 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-DTM simple 02-Sep-2025 16:32:38 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/RESTWS-RESTWS-DTM simple 02-Sep-2025 16:32:38 [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM2-DTM simple 02-Sep-2025 16:32:38 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository simple 02-Sep-2025 16:32:38 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 02-Sep-2025 16:32:39 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 02-Sep-2025 16:32:39 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files simple 02-Sep-2025 16:32:39 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 02-Sep-2025 16:32:39 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. simple 02-Sep-2025 16:32:39 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 02-Sep-2025 16:32:39 [PredatorPreBuildAction] Final free space: 62.548187 GB simple 02-Sep-2025 16:32:39 [PredatorPreBuildAction] Done simple 02-Sep-2025 16:32:39 Build O3 Reference Application - Publish QA Release - Deploy #41 (O3-PQR-DEP-41) started building on agent 'xiao.openmrs.org (2)' (Remote agent on host xiao.openmrs.org) simple 02-Sep-2025 16:32:39 Starting task 'Deploy to test3.openmrs.org' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 02-Sep-2025 16:32:39 Beginning to execute external process for build 'O3 Reference Application - Publish QA Release - Deploy #41 (O3-PQR-DEP-41)'\n ... running command line: \n/data/bamboo-agent/temp/O3-PQR-DEP-41-ScriptBuildTask-11684513156372722176.sh\n ... in: /data/bamboo-agent/xml-data/build-dir/O3-PQR-DEP\nbamboo_planRepository_1_branch=main\nbamboo_dockerhub_password=********\nbamboo_planRepository_1_branchDisplayName=main\nbamboo_repository_revision_number=c0b6e502f9f8167810fc543f0f3713b3ae96469e\nbamboo_capability_system_builder_command_transifex=/usr/bin/tx\nbamboo_resultsUrl=https://ci.openmrs.org/browse/O3-PQR-DEP-41\nbamboo_build_working_directory=/data/bamboo-agent/xml-data/build-dir/O3-PQR-DEP\nbamboo_planRepository_1_name=Distribution 3.x SSH\nbamboo_buildKey=O3-PQR-DEP\nbamboo_preparing_refapp_distro_release=false\nbamboo_shortPlanName=Publish QA Release\nbamboo_git_user_email=infrastructure@openmrs.org\nbamboo_planRepository_name=Distribution 3.x SSH\nbamboo_docs_aws_secret_key=********\nbamboo_buildNumber=41\nbamboo_simpleBuildTimeStamp=20250902163237\nbamboo_shortJobName=Deploy\nbamboo_buildResultsUrl=https://ci.openmrs.org/browse/O3-PQR-DEP-41\nbamboo_capability_system_jdk_JDK_21=/usr/lib/jvm/java-21-openjdk-amd64\nbamboo_planRepository_repositoryUrl=git@github.com:openmrs/openmrs-distro-referenceapplication.git\nbamboo_docker_image_platforms=linux/amd64,linux/arm64\nbamboo_ManualBuildTriggerReason_stageName=Deploy and Store Build Info\nbamboo_agentId=331513858\nbamboo_planName=O3 Reference Application - Publish QA Release\nbamboo_shortPlanKey=PQR\nbamboo_shortJobKey=DEP\nbamboo_capability_system_jdk_JDK_8=/usr/lib/jvm/java-8-openjdk-amd64\nbamboo_planRepository_revision=c0b6e502f9f8167810fc543f0f3713b3ae96469e\nbamboo_buildTimeStamp=2025-09-02T16:32:37.966Z\nbamboo_build_commandline_com_atlassian_bamboo_plugins_scripttask_task_builder_script_1=/data/bamboo-agent/temp/O3-PQR-DEP-41-ScriptBuildTask-14750905133977711316.sh\nbamboo_repository_304873476_branch_name=main\nbamboo_refapp_bamboo_build_number=\nbamboo_repository_git_branch=main\nbamboo_buildResultKey=O3-PQR-DEP-41\nbamboo_repository_branch_name=main\nbamboo_docs_aws_access_key=AKIAI7KMDL5KP2673G7A\nbamboo_buildPlanName=O3 Reference Application - Publish QA Release - Deploy\nbamboo_dockerhub_username=openmrsci\nbamboo_planRepository_1_revision=c0b6e502f9f8167810fc543f0f3713b3ae96469e\nbamboo_git_user_name=openmrs-bot\nbamboo_repository_304873476_git_repositoryUrl=git@github.com:openmrs/openmrs-distro-referenceapplication.git\nbamboo_repository_name=Distribution 3.x SSH\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_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_304873476_revision_number=c0b6e502f9f8167810fc543f0f3713b3ae96469e\nbamboo_planRepository_branch=main\nbamboo_repository_304873476_git_branch=main\nbamboo_capability_system_builder_command_Bash=/bin/bash\nbamboo_agentWorkingDirectory=/data/bamboo-agent/xml-data/build-dir\nbamboo_capability_system_git_executable=/usr/bin/git\nbamboo_repository_git_username=\nbamboo_planRepository_branchDisplayName=main\nbamboo_capability_system_jdk_JDK_21_0_8=/usr/lib/jvm/java-21-openjdk-amd64\nbamboo_capability_system_jdk_JDK_11=/usr/lib/jvm/java-11-openjdk-amd64\nbamboo_planRepository_1_type=gitv2\nbamboo_capability_system_jdk_openjdk_21_jdk=/usr/lib/jvm/java-21-openjdk-amd64\nbamboo_planRepository_branchName=main\nbamboo_shortPlanBranchName=\nbamboo_repository_304873476_name=Distribution 3.x SSH\nbamboo_TagBuildTriggerReason_tagName=3.5.0-rc.4\nbamboo_capability_system_jdk_JDK=/usr/lib/jvm/java-21-openjdk-amd64\nbamboo_mavenBuildGoals=clean install\nbamboo_plan_storageTag=plan-281083928\nbamboo_planRepository_1_username=\nbamboo_planRepository_type=gitv2\nbamboo_git_cache_directory=/data/bamboo-agent/xml-data/build-dir/_git-repositories-cache\nbamboo_ManualBuildTriggerReason_userName=ibacher\nbamboo_repository_git_repositoryUrl=git@github.com:openmrs/openmrs-distro-referenceapplication.git\nbamboo_transifex_username=api\nbamboo_TagBuildTriggerReason_customRevision=c0b6e502f9f8167810fc543f0f3713b3ae96469e\nbamboo_refapp_distro_dev_branch=2.x\nbamboo_TagBuildTriggerReason_buildKey=O3-PQR-41\nbamboo_capability_system_builder_mvn3_Maven_3=/usr/share/apache-maven-3.8.6\nbamboo_tmp_directory=/data/bamboo-agent/temp\nbamboo_working_directory=/data/bamboo-agent/xml-data/build-dir/O3-PQR-DEP\nbamboo_planKey=O3-PQR\nbamboo_RerunBuildTriggerReason_noOfRetries=5\nbamboo_capability_system_builder_command_nvm=nvm\nbamboo_planRepository_1_repositoryUrl=git@github.com:openmrs/openmrs-distro-referenceapplication.git\nbamboo_planRepository_username=\nbamboo_capability_system_jdk_JDK_1_8=/usr/lib/jvm/java-8-openjdk-amd64\nbamboo_triggerReason_key=com.atlassian.bamboo.plugin.system.triggerReason:RerunBuildTriggerReason\nbamboo_repository_304873476_git_username=\nbamboo_planRepository_1_branchName=main\n error 02-Sep-2025 16:32:39 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@test3.openmrs.org sudo deploy-compose emr-3-qa error 02-Sep-2025 16:32:39 Warning: Permanently added 'test3.openmrs.org' (ED25519) to the list of known hosts. build 02-Sep-2025 16:32:40 Removing unused images if any error 02-Sep-2025 16:32:40 time="2025-09-02T16:32:40Z" level=warning msg="/root/docker/emr-3-qa/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion" error 02-Sep-2025 16:32:40 gateway Pulling error 02-Sep-2025 16:32:40 backend Pulling error 02-Sep-2025 16:32:40 db Pulling error 02-Sep-2025 16:32:40 frontend Pulling error 02-Sep-2025 16:32:41 frontend Pulled error 02-Sep-2025 16:32:41 db Pulled error 02-Sep-2025 16:32:41 gateway Pulled error 02-Sep-2025 16:32:41 backend Pulled build 02-Sep-2025 16:32:41 Keeping volumes error 02-Sep-2025 16:32:41 time="2025-09-02T16:32:41Z" level=warning msg="/root/docker/emr-3-qa/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion" error 02-Sep-2025 16:32:41 Container emr-3-qa-frontend-1 Running error 02-Sep-2025 16:32:41 Container emr-3-qa-db-1 Running error 02-Sep-2025 16:32:41 Container emr-3-qa-backend-1 Running error 02-Sep-2025 16:32:41 Container emr-3-qa-gateway-1 Running error 02-Sep-2025 16:32:41 /usr/local/bin/deploy-compose: line 57: docker-compose: command not found simple 02-Sep-2025 16:32:41 Failing task since return code of [/data/bamboo-agent/temp/O3-PQR-DEP-41-ScriptBuildTask-11684513156372722176.sh] was 127 while expected 0 simple 02-Sep-2025 16:32:41 Finished task 'Deploy to test3.openmrs.org' with result: Failed simple 02-Sep-2025 16:32:41 Running post build plugin 'Docker Container Cleanup' simple 02-Sep-2025 16:32:41 Running post build plugin 'NCover Results Collector' simple 02-Sep-2025 16:32:41 Running post build plugin 'Build Results Label Collector' simple 02-Sep-2025 16:32:41 Running post build plugin 'Clover Results Collector' simple 02-Sep-2025 16:32:41 Running post build plugin 'npm Cache Cleanup' simple 02-Sep-2025 16:32:41 Running post build plugin 'Artifact Copier' simple 02-Sep-2025 16:32:41 Finalising the build... simple 02-Sep-2025 16:32:41 Stopping timer. simple 02-Sep-2025 16:32:41 Build O3-PQR-DEP-41 completed. simple 02-Sep-2025 16:32:41 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 02-Sep-2025 16:32:41 Running on server: post build plugin 'NCover Results Collector' simple 02-Sep-2025 16:32:41 Running on server: post build plugin 'Build Labeller' simple 02-Sep-2025 16:32:41 Running on server: post build plugin 'Clover Delta Calculator' simple 02-Sep-2025 16:32:41 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 02-Sep-2025 16:32:41 All post build plugins have finished simple 02-Sep-2025 16:32:41 Generating build results summary... simple 02-Sep-2025 16:32:41 Saving build results to disk... simple 02-Sep-2025 16:32:41 Store variable context... simple 02-Sep-2025 16:32:41 Finished building O3-PQR-DEP-41.