simple 19-Dec-2022 17:54:20 Build OpenMRS environments - Deploy mdsbuilder - Build docker image #23 (OENV-DM-BUIL-23) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4 simple 19-Dec-2022 17:54:20 Remote agent on host xiao.openmrs.org simple 19-Dec-2022 17:54:20 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OENV-DM-BUIL simple 19-Dec-2022 17:54:20 Executing build OpenMRS environments - Deploy mdsbuilder - Build docker image #23 (OENV-DM-BUIL-23) simple 19-Dec-2022 17:54:20 Starting task 'Source Code Checkout' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 19-Dec-2022 17:54:20 Build always requires a clean checkout simple 19-Dec-2022 17:54:20 Cleaning build directory '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OENV-DM-BUIL' simple 19-Dec-2022 17:54:20 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OENV-DM-BUIL simple 19-Dec-2022 17:54:20 Updating source code to revision: b96f5fde9fc2bc217b48adaeed49e2278b35edcf simple 19-Dec-2022 17:54:20 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-contrib-ansible-docker-compose.git'. simple 19-Dec-2022 17:54:20 From https://github.com/openmrs/openmrs-contrib-ansible-docker-compose simple 19-Dec-2022 17:54:20 2d43b14..b96f5fd master -> master simple 19-Dec-2022 17:54:20 Checking out revision b96f5fde9fc2bc217b48adaeed49e2278b35edcf. simple 19-Dec-2022 17:54:20 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OENV-DM-BUIL/.git'. simple 19-Dec-2022 17:54:20 Cloning into '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OENV-DM-BUIL'... simple 19-Dec-2022 17:54:20 done. simple 19-Dec-2022 17:54:20 Already on 'master' simple 19-Dec-2022 17:54:20 Your branch is up to date with 'origin/master'. simple 19-Dec-2022 17:54:21 Updated source code to revision: b96f5fde9fc2bc217b48adaeed49e2278b35edcf simple 19-Dec-2022 17:54:21 Finished task 'Source Code Checkout' with result: Success simple 19-Dec-2022 17:54:21 Running pre-build action: Build Log Labeller Pre Build Action simple 19-Dec-2022 17:54:21 Running pre-build action: VCS Version Collector simple 19-Dec-2022 17:54:21 Running pre-build action: Run Predator simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] Running these commands: docker ps -q| xargs docker kill; docker ps -qa | xargs docker rm -f; docker system prune -af --filter until=48h; docker volume prune -f; simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] Running command '[docker, ps, -q|, xargs, docker, kill]' simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] Command '[docker, ps, -q|, xargs, docker, kill]' completed with exit code 125 simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] Running command '[docker, ps, -qa, |, xargs, docker, rm, -f]' simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] Command '[docker, ps, -qa, |, xargs, docker, rm, -f]' completed with exit code 125 simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] Running command '[docker, system, prune, -af, --filter, until=48h]' simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] Command '[docker, system, prune, -af, --filter, until=48h]' completed with exit code 0 simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] Running command '[docker, volume, prune, -f]' simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] Command '[docker, volume, prune, -f]' completed with exit code 0 simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 2048 java 1474 bamboo-age 2979Mb 632Mb 00:28:06 /usr/lib/jvm/java-8-ope simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1474 wrapper 1 bamboo-age 16Mb 3Mb 00:06:43 /home/bamboo-agent/bamb simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:01:04 /sbin/init simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] Initial free space: 4.2204247 GB simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OENV-DM-JOB1 simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] Final free space: 4.2204247 GB simple 19-Dec-2022 17:54:21 [PredatorPreBuildAction] Done simple 19-Dec-2022 17:54:21 Starting task 'Build distro' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3' command 19-Dec-2022 17:54:21 Beginning to execute external process for build 'OpenMRS environments - Deploy mdsbuilder - Build docker image #23 (OENV-DM-BUIL-23)'\n ... running command line: \n/usr/share/apache-maven-3.8.6/bin/mvn --batch-mode -Djava.io.tmpdir=/home/bamboo-agent/bamboo-agent/.agent_tmp/OENV-DM-BUIL org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.1.1:build-distro -Ddir=docker -U\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OENV-DM-BUIL/files/mdsbuilder\n build 19-Dec-2022 17:54:23 [INFO] Scanning for projects... build 19-Dec-2022 17:54:23 [INFO] build 19-Dec-2022 17:54:23 [INFO] ------------------< org.apache.maven:standalone-pom >------------------- build 19-Dec-2022 17:54:23 [INFO] Building Maven Stub Project (No POM) 1 build 19-Dec-2022 17:54:23 [INFO] --------------------------------[ pom ]--------------------------------- build 19-Dec-2022 17:54:23 [INFO] build 19-Dec-2022 17:54:23 [INFO] --- openmrs-sdk-maven-plugin:4.1.1:build-distro (default-cli) @ standalone-pom --- build 19-Dec-2022 17:54:24 build 19-Dec-2022 17:54:24 Building distribution from the distro file at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OENV-DM-BUIL/files/mdsbuilder/openmrs-distro.properties... build 19-Dec-2022 17:54:24 build 19-Dec-2022 17:54:24 build 19-Dec-2022 17:54:24 Downloading modules... build 19-Dec-2022 17:54:24 build 19-Dec-2022 17:54:25 [INFO] Configured Artifact: org.openmrs.distro:platform:2.5.8:jar build 19-Dec-2022 17:54:26 [INFO] Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/distro/platform/2.5.8/platform-2.5.8.jar build 19-Dec-2022 17:54:27 [INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/distro/platform/2.5.8/platform-2.5.8.jar build 19-Dec-2022 17:54:27 [INFO] ------------------------------------------------------------------------ build 19-Dec-2022 17:54:27 [INFO] BUILD FAILURE build 19-Dec-2022 17:54:27 [INFO] ------------------------------------------------------------------------ build 19-Dec-2022 17:54:27 [INFO] Total time: 4.286 s build 19-Dec-2022 17:54:27 [INFO] Finished at: 2022-12-19T17:54:27Z build 19-Dec-2022 17:54:27 [INFO] ------------------------------------------------------------------------ build 19-Dec-2022 17:54:27 [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.1.1:build-distro (default-cli) on project standalone-pom: Unable to execute mojo: Unable to find artifact. Could not find artifact org.openmrs.distro:platform:jar:2.5.8 in openmrs-repo (https://mavenrepo.openmrs.org/nexus/content/repositories/public) build 19-Dec-2022 17:54:27 [ERROR] build 19-Dec-2022 17:54:27 [ERROR] Try downloading the file manually from the project website. build 19-Dec-2022 17:54:27 [ERROR] build 19-Dec-2022 17:54:27 [ERROR] Then, install it using the command: build 19-Dec-2022 17:54:27 [ERROR] mvn install:install-file -DgroupId=org.openmrs.distro -DartifactId=platform -Dversion=2.5.8 -Dpackaging=jar -Dfile=/path/to/file build 19-Dec-2022 17:54:27 [ERROR] build 19-Dec-2022 17:54:27 [ERROR] Alternatively, if you host your own repository you can deploy the file there: build 19-Dec-2022 17:54:27 [ERROR] mvn deploy:deploy-file -DgroupId=org.openmrs.distro -DartifactId=platform -Dversion=2.5.8 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] build 19-Dec-2022 17:54:27 [ERROR] build 19-Dec-2022 17:54:27 [ERROR] build 19-Dec-2022 17:54:27 [ERROR] org.openmrs.distro:platform:jar:2.5.8 build 19-Dec-2022 17:54:27 [ERROR] build 19-Dec-2022 17:54:27 [ERROR] from the specified remote repositories: build 19-Dec-2022 17:54:27 [ERROR] openmrs-repo (https://mavenrepo.openmrs.org/nexus/content/repositories/public, releases=true, snapshots=true), build 19-Dec-2022 17:54:27 [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false) build 19-Dec-2022 17:54:27 [ERROR] -> [Help 1] build 19-Dec-2022 17:54:27 [ERROR] build 19-Dec-2022 17:54:27 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. build 19-Dec-2022 17:54:27 [ERROR] Re-run Maven using the -X switch to enable full debug logging. build 19-Dec-2022 17:54:27 [ERROR] build 19-Dec-2022 17:54:27 [ERROR] For more information about the errors and possible solutions, please read the following articles: build 19-Dec-2022 17:54:27 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException simple 19-Dec-2022 17:54:27 Failing task since return code of [/usr/share/apache-maven-3.8.6/bin/mvn --batch-mode -Djava.io.tmpdir=/home/bamboo-agent/bamboo-agent/.agent_tmp/OENV-DM-BUIL org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.1.1:build-distro -Ddir=docker -U] was 1 while expected 0 simple 19-Dec-2022 17:54:27 Finished task 'Build distro' with result: Failed simple 19-Dec-2022 17:54:27 Running post build plugin 'Docker Container Cleanup' simple 19-Dec-2022 17:54:27 Running post build plugin 'NCover Results Collector' simple 19-Dec-2022 17:54:27 Running post build plugin 'Build Results Label Collector' simple 19-Dec-2022 17:54:27 Running post build plugin 'Clover Results Collector' simple 19-Dec-2022 17:54:27 Running post build plugin 'npm Cache Cleanup' simple 19-Dec-2022 17:54:27 Running post build plugin 'Artifact Copier' simple 19-Dec-2022 17:54:27 Finalising the build... simple 19-Dec-2022 17:54:27 Stopping timer. simple 19-Dec-2022 17:54:27 Build OENV-DM-BUIL-23 completed. simple 19-Dec-2022 17:54:27 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 19-Dec-2022 17:54:27 Running on server: post build plugin 'NCover Results Collector' simple 19-Dec-2022 17:54:27 Running on server: post build plugin 'Build Labeller' simple 19-Dec-2022 17:54:27 Running on server: post build plugin 'Clover Delta Calculator' simple 19-Dec-2022 17:54:27 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 19-Dec-2022 17:54:27 All post build plugins have finished simple 19-Dec-2022 17:54:27 Generating build results summary... simple 19-Dec-2022 17:54:27 Saving build results to disk... simple 19-Dec-2022 17:54:27 Store variable context... simple 19-Dec-2022 17:54:27 Finished building OENV-DM-BUIL-23.