Build: #405 failed
Job: Build and push failed
Build log
The build generated 117 lines of output. Download or view full build log.
27-Aug-2025 10:14:03 | Build OpenMRS Platform - OpenMRS Platform - 2.1.x - Build and push #405 (OP-OPM0-JOB1-405) is being prepared for building on agent xiao.openmrs.org (2), bamboo version: 11.0.2 |
27-Aug-2025 10:14:03 | Remote agent on host xiao.openmrs.org |
27-Aug-2025 10:14:03 | Build working directory is /data/bamboo-agent/xml-data/build-dir/OP-OPM0-JOB1 |
27-Aug-2025 10:14:03 | Executing build OpenMRS Platform - OpenMRS Platform - 2.1.x - Build and push #405 (OP-OPM0-JOB1-405) |
27-Aug-2025 10:14:03 | Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' |
27-Aug-2025 10:14:03 | Build always requires a clean checkout |
27-Aug-2025 10:14:03 | Cleaning build directory '/data/bamboo-agent/xml-data/build-dir/OP-OPM0-JOB1' |
27-Aug-2025 10:14:03 | Build always requires a clean checkout |
27-Aug-2025 10:14:03 | Cleaning build directory '/data/bamboo-agent/xml-data/build-dir/OP-OPM0-JOB1/release-scripts' |
27-Aug-2025 10:14:03 | Checking out into /data/bamboo-agent/xml-data/build-dir/OP-OPM0-JOB1 |
27-Aug-2025 10:14:03 | Updating source code to revision: a199c68baea02e5a98eebd73269c8fb299d4b318 |
27-Aug-2025 10:14:03 | Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/OP-OPM0-JOB1/.git'. |
27-Aug-2025 10:14:03 | hint: Using 'master' as the name for the initial branch. This default branch name |
27-Aug-2025 10:14:03 | hint: is subject to change. To configure the initial branch name to use in all |
27-Aug-2025 10:14:03 | hint: of your new repositories, which will suppress this warning, call: |
27-Aug-2025 10:14:03 | hint: |
27-Aug-2025 10:14:03 | hint: git config --global init.defaultBranch <name> |
27-Aug-2025 10:14:03 | hint: |
27-Aug-2025 10:14:03 | hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and |
27-Aug-2025 10:14:03 | hint: 'development'. The just-created branch can be renamed via this command: |
27-Aug-2025 10:14:03 | hint: |
27-Aug-2025 10:14:03 | hint: git branch -m <name> |
27-Aug-2025 10:14:03 | Initialized empty Git repository in /data/bamboo-agent/xml-data/build-dir/OP-OPM0-JOB1/.git/ |
27-Aug-2025 10:14:03 | Fetching 'refs/heads/2.1.x' from 'https://github.com/openmrs/openmrs-distro-platform Will try to do a shallow fetch.'. |
27-Aug-2025 10:14:03 | Checking out revision a199c68baea02e5a98eebd73269c8fb299d4b318. |
27-Aug-2025 10:14:03 | Switched to branch '2.1.x' |
27-Aug-2025 10:14:03 | Updated source code to revision: a199c68baea02e5a98eebd73269c8fb299d4b318 |
27-Aug-2025 10:14:03 | Checking out into /data/bamboo-agent/xml-data/build-dir/OP-OPM0-JOB1/release-scripts |
27-Aug-2025 10:14:03 | Updating source code to revision: d5831e94deff58c79f07afa118e3aad928391687 |
27-Aug-2025 10:14:03 | Creating local git repository in '/data/bamboo-agent/xml-data/build-dir/OP-OPM0-JOB1/release-scripts/.git'. |
27-Aug-2025 10:14:03 | hint: Using 'master' as the name for the initial branch. This default branch name |
27-Aug-2025 10:14:03 | hint: is subject to change. To configure the initial branch name to use in all |
27-Aug-2025 10:14:03 | hint: of your new repositories, which will suppress this warning, call: |
27-Aug-2025 10:14:03 | hint: |
27-Aug-2025 10:14:03 | hint: git config --global init.defaultBranch <name> |
27-Aug-2025 10:14:03 | hint: |
27-Aug-2025 10:14:03 | hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and |
27-Aug-2025 10:14:03 | hint: 'development'. The just-created branch can be renamed via this command: |
27-Aug-2025 10:14:03 | hint: |
27-Aug-2025 10:14:03 | hint: git branch -m <name> |
27-Aug-2025 10:14:03 | Initialized empty Git repository in /data/bamboo-agent/xml-data/build-dir/OP-OPM0-JOB1/release-scripts/.git/ |
27-Aug-2025 10:14:03 | Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-contrib-bamboo.git'. |
27-Aug-2025 10:14:04 | Checking out revision d5831e94deff58c79f07afa118e3aad928391687. |
27-Aug-2025 10:14:04 | Already on 'master' |
27-Aug-2025 10:14:04 | Updated source code to revision: d5831e94deff58c79f07afa118e3aad928391687 |
27-Aug-2025 10:14:04 | Finished task 'Checkout Default Repository' with result: Success |
27-Aug-2025 10:14:04 | Running pre-build action: Build Log Labeller Pre Build Action |
27-Aug-2025 10:14:04 | Running pre-build action: VCS Version Collector |
27-Aug-2025 10:14:04 | Running pre-build action: Run Predator |
27-Aug-2025 10:14:04 | [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner |
27-Aug-2025 10:14:04 | [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh |
27-Aug-2025 10:14:04 | [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' |
27-Aug-2025 10:14:04 | [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 |
27-Aug-2025 10:14:04 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1385 java 1365 bamboo-age 3212Mb 639Mb 00:29:40 /usr/lib/jvm/java-21-op |
27-Aug-2025 10:14:04 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1365 wrapper 1303 bamboo-age 88Mb 2Mb 00:06:20 /data/bamboo-agent/bin/ |
27-Aug-2025 10:14:04 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1303 bamboo 728 bamboo-age 3Mb 1Mb 00:00:00 /bin/sh /data/bamboo-ag |
27-Aug-2025 10:14:04 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 728 java 1 bamboo-age 4038Mb 37Mb 00:05:03 /usr/lib/jvm/java-21-op |
27-Aug-2025 10:14:04 | [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 100Mb 10Mb 00:00:42 /sbin/init |
27-Aug-2025 10:14:04 | [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) |
27-Aug-2025 10:14:04 | [PredatorPreBuildAction] Initial free space: 29.67546 GB |
27-Aug-2025 10:14:04 | [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/temporaryArtifactStorage |
27-Aug-2025 10:14:04 | [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/O3-DD3-JOB1 |
27-Aug-2025 10:14:04 | [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/HFEUI-HFEUI-DTM |
27-Aug-2025 10:14:04 | [PredatorPreBuildAction] Deleting folder /data/bamboo-agent/xml-data/build-dir/FHIR-FM2-DTM |
27-Aug-2025 10:14:04 | [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository |
27-Aug-2025 10:14:04 | [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB |
27-Aug-2025 10:14:05 | [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator |
27-Aug-2025 10:14:05 | [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files |
27-Aug-2025 10:14:05 | [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. |
27-Aug-2025 10:14:05 | [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. |
27-Aug-2025 10:14:05 | [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. |
27-Aug-2025 10:14:05 | [PredatorPreBuildAction] Final free space: 29.67546 GB |
27-Aug-2025 10:14:05 | [PredatorPreBuildAction] Done |
27-Aug-2025 10:14:05 | Build OpenMRS Platform - OpenMRS Platform - 2.1.x - Build and push #405 (OP-OPM0-JOB1-405) started building on agent 'xiao.openmrs.org (2)' (Remote agent on host xiao.openmrs.org) |
27-Aug-2025 10:14:05 | Substituting variable: ${bamboo.dockerhub.username} with openmrsci |
27-Aug-2025 10:14:05 | Substituting password variable: ${bamboo.dockerhub.password} |
27-Aug-2025 10:14:05 | Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-platform |
27-Aug-2025 10:14:05 | Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-platform |
27-Aug-2025 10:14:05 | Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64 |
27-Aug-2025 10:14:05 | Substituting variable: ${bamboo.docker.image.platforms} with linux/amd64,linux/arm64 |
27-Aug-2025 10:14:05 | Starting task 'Build and deploy' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' |
27-Aug-2025 10:14:05 | Beginning to execute external process for build 'OpenMRS Platform - OpenMRS Platform - 2.1.x - Build and push #405 (OP-OPM0-JOB1-405)' ... running command line: /data/bamboo-agent/temp/OP-OPM0-JOB1-405-ScriptBuildTask-15418236638531262585.sh ... in: /data/bamboo-agent/xml-data/build-dir/OP-OPM0-JOB1 |
27-Aug-2025 10:14:05 | + set +x |
27-Aug-2025 10:14:05 | WARNING! Using --password via the CLI is insecure. Use --password-stdin. |
27-Aug-2025 10:14:05 | WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. |
27-Aug-2025 10:14:05 | Configure a credential helper to remove this warning. See |
27-Aug-2025 10:14:05 | https://docs.docker.com/engine/reference/commandline/login/#credential-stores |
27-Aug-2025 10:14:05 | |
27-Aug-2025 10:14:05 | Login Succeeded |
27-Aug-2025 10:14:05 | Building dev image |
27-Aug-2025 10:14:06 | #0 building with "sad_grothendieck" instance using docker-container driver |
27-Aug-2025 10:14:06 | |
27-Aug-2025 10:14:06 | #1 [internal] load build definition from Dockerfile |
27-Aug-2025 10:14:06 | #1 transferring dockerfile: 2B done |
27-Aug-2025 10:14:06 | #1 DONE 0.1s |
27-Aug-2025 10:14:06 | ERROR: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory |
27-Aug-2025 10:14:06 | Failing task since return code of [/data/bamboo-agent/temp/OP-OPM0-JOB1-405-ScriptBuildTask-15418236638531262585.sh] was 1 while expected 0 |
27-Aug-2025 10:14:06 | Finished task 'Build and deploy' with result: Failed |
27-Aug-2025 10:14:06 | Running post build plugin 'Docker Container Cleanup' |
27-Aug-2025 10:14:06 | Running post build plugin 'NCover Results Collector' |
27-Aug-2025 10:14:06 | Running post build plugin 'Build Results Label Collector' |
27-Aug-2025 10:14:06 | Running post build plugin 'Clover Results Collector' |
27-Aug-2025 10:14:06 | Running post build plugin 'npm Cache Cleanup' |
27-Aug-2025 10:14:06 | Running post build plugin 'Artifact Copier' |
27-Aug-2025 10:14:06 | Finalising the build... |
27-Aug-2025 10:14:06 | Stopping timer. |
27-Aug-2025 10:14:06 | Build OP-OPM0-JOB1-405 completed. |
27-Aug-2025 10:14:06 | Running on server: post build plugin 'Build Hanging Detection Configuration' |
27-Aug-2025 10:14:06 | Running on server: post build plugin 'NCover Results Collector' |
27-Aug-2025 10:14:06 | Running on server: post build plugin 'Build Labeller' |
27-Aug-2025 10:14:06 | Running on server: post build plugin 'Clover Delta Calculator' |
27-Aug-2025 10:14:06 | Running on server: post build plugin 'Maven Dependencies Postprocessor' |
27-Aug-2025 10:14:06 | All post build plugins have finished |
27-Aug-2025 10:14:06 | Generating build results summary... |
27-Aug-2025 10:14:06 | Saving build results to disk... |
27-Aug-2025 10:14:06 | Store variable context... |
27-Aug-2025 10:14:06 | Finished building OP-OPM0-JOB1-405. |