Build: #149 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Build log

The build generated 170 lines of output. Download or view full build log.

04-Feb-2025 06:16:34 Build openmrs-eip - openmrs-eip - Default Job #149 (EIP-EIP-JOB1-149) started building on agent xiao.openmrs.org (3), bamboo version: 8.2.4
04-Feb-2025 06:16:34 Remote agent on host xiao.openmrs.org
04-Feb-2025 06:16:34 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/EIP-EIP-JOB1
04-Feb-2025 06:16:34 Executing build openmrs-eip - openmrs-eip - Default Job #149 (EIP-EIP-JOB1-149)
04-Feb-2025 06:16:34 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
04-Feb-2025 06:16:34 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/EIP-EIP-JOB1
04-Feb-2025 06:16:34 Updating source code to revision: 691141149febad572fe89637897c1d807b480b5c
04-Feb-2025 06:16:34 Fetching 'refs/heads/master' from 'https://github.com/openmrs/openmrs-eip.git'.
04-Feb-2025 06:16:34 From https://github.com/openmrs/openmrs-eip
04-Feb-2025 06:16:34    9cd61a6..6911411  master     -> master
04-Feb-2025 06:16:34 Checking out revision 691141149febad572fe89637897c1d807b480b5c.
04-Feb-2025 06:16:34 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/EIP-EIP-JOB1/.git'.
04-Feb-2025 06:16:34 Cloning into '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/EIP-EIP-JOB1'...
04-Feb-2025 06:16:34 done.
04-Feb-2025 06:16:34 Already on 'master'
04-Feb-2025 06:16:34 Your branch is up to date with 'origin/master'.
04-Feb-2025 06:16:34 Updated source code to revision: 691141149febad572fe89637897c1d807b480b5c
04-Feb-2025 06:16:34 Finished task 'Checkout Default Repository' with result: Success
04-Feb-2025 06:16:34 Running pre-build action: Build Log Labeller Pre Build Action
04-Feb-2025 06:16:34 Running pre-build action: VCS Version Collector
04-Feb-2025 06:16:34 Running pre-build action: Run Predator
04-Feb-2025 06:16:34 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
04-Feb-2025 06:16:34 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
04-Feb-2025 06:16:34 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
04-Feb-2025 06:16:45 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
04-Feb-2025 06:16:45 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 26701 java        1245 bamboo-age 2947Mb  534Mb 00:04:44 /usr/lib/jvm/java-8-ope
04-Feb-2025 06:16:45 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1245 wrapper        1 bamboo-age   16Mb    2Mb 00:01:57 /home/bamboo-agent/bamb
04-Feb-2025 06:16:45 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root         99Mb   10Mb 00:00:12 /sbin/init             
04-Feb-2025 06:16:45 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
04-Feb-2025 06:16:45 [PredatorPreBuildAction] Initial free space: 5.5627327 GB
04-Feb-2025 06:16:45 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/CSM-CSM0-JOB1
04-Feb-2025 06:16:46 [PredatorPreBuildAction] Deleting 4 snapshot folders from /home/bamboo-agent/.m2/repository
04-Feb-2025 06:16:46 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
04-Feb-2025 06:16:46 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
04-Feb-2025 06:16:47 [PredatorPreBuildAction] Maven stable disk freed: 7.5124484E-4 GB, deleted 80 files
04-Feb-2025 06:16:47 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
04-Feb-2025 06:16:47 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
04-Feb-2025 06:16:47 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
04-Feb-2025 06:16:47 [PredatorPreBuildAction] Final free space: 5.602268 GB
04-Feb-2025 06:16:47 [PredatorPreBuildAction] Done
04-Feb-2025 06:16:47 Starting task 'Deploy' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3'
04-Feb-2025 06:16:47
Beginning to execute external process for build 'openmrs-eip - openmrs-eip - Default Job #149 (EIP-EIP-JOB1-149)'
... running command line:
/usr/share/apache-maven-3.8.6/bin/mvn -Djava.io.tmpdir=/home/bamboo-agent/bamboo-agent/.agent_tmp/EIP-EIP-JOB1 clean deploy -U -B
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/EIP-EIP-JOB1
04-Feb-2025 06:16:48 [INFO] Scanning for projects...
04-Feb-2025 06:16:49 [WARNING]
04-Feb-2025 06:16:49 [WARNING] Some problems were encountered while building the effective model for org.openmrs.eip:camel-openmrs-fhir:jar:4.1.0-SNAPSHOT
04-Feb-2025 06:16:49 [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 48, column 15
04-Feb-2025 06:16:49 [WARNING]
04-Feb-2025 06:16:49 [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
04-Feb-2025 06:16:49 [WARNING]
04-Feb-2025 06:16:49 [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
04-Feb-2025 06:16:49 [WARNING]
04-Feb-2025 06:16:49 [INFO] ------------------------------------------------------------------------
04-Feb-2025 06:16:49 [INFO] Reactor Build Order:
04-Feb-2025 06:16:49 [INFO]
04-Feb-2025 06:16:49 [INFO] OpenMRS EIP                                                        [pom]
04-Feb-2025 06:16:49 [INFO] OpenMRS EIP Commons                                                [jar]
04-Feb-2025 06:16:49 [INFO] OpenMRS EIP Watcher                                                [jar]
04-Feb-2025 06:16:49 [INFO] OpenMRS EIP Commons Web                                            [jar]
04-Feb-2025 06:16:49 [INFO] OpenMRS EIP Example App                                            [jar]
04-Feb-2025 06:16:49 [INFO] Camel OpenMRS FHIR                                                 [jar]
04-Feb-2025 06:16:49 [INFO]
04-Feb-2025 06:16:49 [INFO] --------------------< org.openmrs.eip:openmrs-eip >---------------------
04-Feb-2025 06:16:49 [INFO] Building OpenMRS EIP 4.1.0-SNAPSHOT                                [1/6]
04-Feb-2025 06:16:49 [INFO] --------------------------------[ pom ]---------------------------------
04-Feb-2025 06:16:51 [INFO]
04-Feb-2025 06:16:51 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-eip ---
04-Feb-2025 06:16:51 [INFO]
04-Feb-2025 06:16:51 [INFO] --- formatter-maven-plugin:2.13.0:format (default) @ openmrs-eip ---
04-Feb-2025 06:16:51 [INFO] Using 'UTF-8' encoding to format source files.
04-Feb-2025 06:16:51 [INFO] Number of files to be formatted: 0
04-Feb-2025 06:16:51 [INFO]
04-Feb-2025 06:16:51 [INFO] --- impsort-maven-plugin:1.6.2:sort (sort-imports) @ openmrs-eip ---
04-Feb-2025 06:16:51 [INFO] Processed 0 files in 00:00.007 (Already Sorted: 0, Needed Sorting: 0)
04-Feb-2025 06:16:51 [INFO]
04-Feb-2025 06:16:51 [INFO] --- maven-jar-plugin:3.2.0:test-jar (default) @ openmrs-eip ---
04-Feb-2025 06:16:52 [WARNING] JAR will be empty - no content was marked for inclusion!
04-Feb-2025 06:16:52 [INFO] Building jar: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/EIP-EIP-JOB1/target/openmrs-eip-4.1.0-SNAPSHOT-tests.jar
04-Feb-2025 06:16:52 [INFO]
04-Feb-2025 06:16:52 [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs-eip ---
04-Feb-2025 06:16:52 [INFO] Installing /home/bamboo-agent/bamboo-agent/xml-data/build-dir/EIP-EIP-JOB1/pom.xml to /home/bamboo-agent/.m2/repository/org/openmrs/eip/openmrs-eip/4.1.0-SNAPSHOT/openmrs-eip-4.1.0-SNAPSHOT.pom
04-Feb-2025 06:16:52 [INFO] Installing /home/bamboo-agent/bamboo-agent/xml-data/build-dir/EIP-EIP-JOB1/target/openmrs-eip-4.1.0-SNAPSHOT-tests.jar to /home/bamboo-agent/.m2/repository/org/openmrs/eip/openmrs-eip/4.1.0-SNAPSHOT/openmrs-eip-4.1.0-SNAPSHOT-tests.jar
04-Feb-2025 06:16:52 [INFO]
04-Feb-2025 06:16:52 [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ openmrs-eip ---
04-Feb-2025 06:16:53 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/eip/openmrs-eip/4.1.0-SNAPSHOT/maven-metadata.xml
04-Feb-2025 06:16:54 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/eip/openmrs-eip/4.1.0-SNAPSHOT/maven-metadata.xml (818 B at 922 B/s)
04-Feb-2025 06:16:54 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/eip/openmrs-eip/4.1.0-SNAPSHOT/openmrs-eip-4.1.0-20250204.061648-17.pom
04-Feb-2025 06:16:56 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/eip/openmrs-eip/4.1.0-SNAPSHOT/openmrs-eip-4.1.0-20250204.061648-17.pom (16 kB at 7.3 kB/s)
04-Feb-2025 06:16:56 [INFO] Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/eip/openmrs-eip/maven-metadata.xml
04-Feb-2025 06:16:56 [INFO] Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/eip/openmrs-eip/maven-metadata.xml (695 B at 2.7 kB/s)
04-Feb-2025 06:16:56 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/eip/openmrs-eip/4.1.0-SNAPSHOT/maven-metadata.xml
04-Feb-2025 06:16:58 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/eip/openmrs-eip/4.1.0-SNAPSHOT/maven-metadata.xml (818 B at 514 B/s)
04-Feb-2025 06:16:58 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/eip/openmrs-eip/maven-metadata.xml
04-Feb-2025 06:16:59 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/eip/openmrs-eip/maven-metadata.xml (638 B at 385 B/s)
04-Feb-2025 06:16:59 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/eip/openmrs-eip/4.1.0-SNAPSHOT/openmrs-eip-4.1.0-20250204.061648-17-tests.jar
04-Feb-2025 06:17:01 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/eip/openmrs-eip/4.1.0-SNAPSHOT/openmrs-eip-4.1.0-20250204.061648-17-tests.jar (3.7 kB at 2.0 kB/s)
04-Feb-2025 06:17:01 [INFO] Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/eip/openmrs-eip/4.1.0-SNAPSHOT/maven-metadata.xml
04-Feb-2025 06:17:03 [INFO] Uploaded to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/eip/openmrs-eip/4.1.0-SNAPSHOT/maven-metadata.xml (818 B at 497 B/s)
04-Feb-2025 06:17:03 [INFO]
04-Feb-2025 06:17:03 [INFO] ----------------------< org.openmrs.eip:commons >-----------------------
04-Feb-2025 06:17:03 [INFO] Building OpenMRS EIP Commons 4.1.0-SNAPSHOT                        [2/6]
04-Feb-2025 06:17:03 [INFO] --------------------------------[ jar ]---------------------------------
04-Feb-2025 06:17:03 [INFO]
04-Feb-2025 06:17:03 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ commons ---
04-Feb-2025 06:17:03 [INFO]
04-Feb-2025 06:17:03 [INFO] --- formatter-maven-plugin:2.13.0:format (default) @ commons ---
04-Feb-2025 06:17:03 [INFO] Using 'UTF-8' encoding to format source files.
04-Feb-2025 06:17:03 [INFO] Number of files to be formatted: 28
04-Feb-2025 06:17:05 [INFO] Successfully formatted:          0 file(s)
04-Feb-2025 06:17:05 [INFO] Fail to format:                  0 file(s)
04-Feb-2025 06:17:05 [INFO] Skipped:                         28 file(s)
04-Feb-2025 06:17:05 [INFO] Read only skipped:               0 file(s)
04-Feb-2025 06:17:05 [INFO] Approximate time taken:          2s
04-Feb-2025 06:17:05 [INFO]
04-Feb-2025 06:17:05 [INFO] --- impsort-maven-plugin:1.6.2:sort (sort-imports) @ commons ---
04-Feb-2025 06:17:06 [INFO] Processed 28 files in 00:00.648 (Already Sorted: 28, Needed Sorting: 0)
04-Feb-2025 06:17:06 [INFO]
04-Feb-2025 06:17:06 [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ commons ---
04-Feb-2025 06:17:06 [INFO] Using 'UTF-8' encoding to copy filtered resources.
04-Feb-2025 06:17:06 [INFO] Copying 7 resources
04-Feb-2025 06:17:06 [INFO]
04-Feb-2025 06:17:06 [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ commons ---
04-Feb-2025 06:17:06 [INFO] Changes detected - recompiling the module!
04-Feb-2025 06:17:06 [INFO] Compiling 15 source files to /home/bamboo-agent/bamboo-agent/xml-data/build-dir/EIP-EIP-JOB1/commons/target/classes
04-Feb-2025 06:17:06 [INFO] ------------------------------------------------------------------------
04-Feb-2025 06:17:06 [INFO] Reactor Summary for OpenMRS EIP 4.1.0-SNAPSHOT:
04-Feb-2025 06:17:06 [INFO]
04-Feb-2025 06:17:06 [INFO] OpenMRS EIP ........................................ SUCCESS [ 14.067 s]
04-Feb-2025 06:17:06 [INFO] OpenMRS EIP Commons ................................ FAILURE [  3.762 s]
04-Feb-2025 06:17:06 [INFO] OpenMRS EIP Watcher ................................ SKIPPED
04-Feb-2025 06:17:06 [INFO] OpenMRS EIP Commons Web ............................ SKIPPED
04-Feb-2025 06:17:06 [INFO] OpenMRS EIP Example App ............................ SKIPPED
04-Feb-2025 06:17:06 [INFO] Camel OpenMRS FHIR ................................. SKIPPED
04-Feb-2025 06:17:06 [INFO] ------------------------------------------------------------------------
04-Feb-2025 06:17:06 [INFO] BUILD FAILURE
04-Feb-2025 06:17:06 [INFO] ------------------------------------------------------------------------
04-Feb-2025 06:17:06 [INFO] Total time:  18.431 s
04-Feb-2025 06:17:06 [INFO] Finished at: 2025-02-04T06:17:06Z
04-Feb-2025 06:17:06 [INFO] ------------------------------------------------------------------------
04-Feb-2025 06:17:06 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project commons: Fatal error compiling: invalid flag: --release -> [Help 1]
04-Feb-2025 06:17:06 [ERROR]
04-Feb-2025 06:17:06 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
04-Feb-2025 06:17:06 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
04-Feb-2025 06:17:06 [ERROR]
04-Feb-2025 06:17:06 [ERROR] For more information about the errors and possible solutions, please read the following articles:
04-Feb-2025 06:17:06 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
04-Feb-2025 06:17:06 [ERROR]
04-Feb-2025 06:17:06 [ERROR] After correcting the problems, you can resume the build with the command
04-Feb-2025 06:17:06 [ERROR]   mvn <args> -rf :commons
04-Feb-2025 06:17:06 Failing task since return code of [/usr/share/apache-maven-3.8.6/bin/mvn -Djava.io.tmpdir=/home/bamboo-agent/bamboo-agent/.agent_tmp/EIP-EIP-JOB1 clean deploy -U -B] was 1 while expected 0
04-Feb-2025 06:17:06 Parsing test results under /home/bamboo-agent/bamboo-agent/xml-data/build-dir/EIP-EIP-JOB1...
04-Feb-2025 06:17:07 Finished task 'Deploy' with result: Failed
04-Feb-2025 06:17:07 Running post build plugin 'Docker Container Cleanup'
04-Feb-2025 06:17:07 Running post build plugin 'NCover Results Collector'
04-Feb-2025 06:17:07 Running post build plugin 'Build Results Label Collector'
04-Feb-2025 06:17:07 Running post build plugin 'Clover Results Collector'
04-Feb-2025 06:17:07 Running post build plugin 'npm Cache Cleanup'
04-Feb-2025 06:17:07 Running post build plugin 'Artifact Copier'
04-Feb-2025 06:17:07 Finalising the build...
04-Feb-2025 06:17:07 Stopping timer.
04-Feb-2025 06:17:07 Build EIP-EIP-JOB1-149 completed.
04-Feb-2025 06:17:07 Running on server: post build plugin 'Build Hanging Detection Configuration'
04-Feb-2025 06:17:07 Running on server: post build plugin 'NCover Results Collector'
04-Feb-2025 06:17:07 Running on server: post build plugin 'Build Labeller'
04-Feb-2025 06:17:07 Running on server: post build plugin 'Clover Delta Calculator'
04-Feb-2025 06:17:07 Running on server: post build plugin 'Maven Dependencies Postprocessor'
04-Feb-2025 06:17:07 All post build plugins have finished
04-Feb-2025 06:17:07 Generating build results summary...
04-Feb-2025 06:17:07 Saving build results to disk...
04-Feb-2025 06:17:07 Store variable context...
04-Feb-2025 06:17:07 Finished building EIP-EIP-JOB1-149.