OpenMRS Core 2.6

Build: #74 failed

Job: Build failed

Stages & jobs

  1. Build

  2. Test

  3. Deploy

  4. Release

    Requires a user to start manually

Job result summary

Completed
Duration
4 minutes
Revision
0d47299a1714003295f700f134509fbce2b9358e 0d47299a1714003295f700f134509fbce2b9358e
Fixed in
#75 (Code changes detected)
No failed test found. A possible compilation error occurred.

Error summary

The build generated some errors. See the full build log for more details.

#31 194.4 Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar (0 B at 0 B/s)
#31 196.3 [INFO] Using 'UTF-8' encoding to format source files.
#31 206.9 [INFO] Number of files to be formatted: 1117
#31 ...

#29 [linux/amd64 dev 10/13] RUN --mount=type=cache,target=/root/.m2 mvn clean install -DskipTests
#29 206.8 [INFO] Number of files to be formatted: 1117
#29 210.3 [INFO] Successfully formatted: 0 file(s)
#29 210.3 [INFO] Fail to format        : 0 file(s)
#29 210.3 [INFO] Skipped               : 1117 file(s)
#29 210.3 [INFO] Approximate time taken: 10s
#29 210.3 [INFO]
#29 210.3 [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ openmrs-api ---
#29 210.3 [INFO] Copying 1 resource
#29 210.4 [INFO] Copying 161 resources
#29 210.6 [INFO] The encoding used to copy filtered properties files have not been set. This means that the same encoding will be used to copy filtered properties files as when copying other filtered resources. This might not be what you want! Run your build with --debug to see which files might be affected. Read more at https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html
#29 210.6 [INFO]
#29 210.6 [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ openmrs-api ---
#29 210.7 [INFO] Changes detected - recompiling the module!
#29 210.7 [INFO] Compiling 746 source files to /openmrs_core/api/target/classes
#29 225.2 [INFO] /openmrs_core/api/src/main/java/org/openmrs/PersonName.java: Some input files use or override a deprecated API.
#29 225.2 [INFO] /openmrs_core/api/src/main/java/org/openmrs/PersonName.java: Recompile with -Xlint:deprecation for details.
#29 225.2 [INFO] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateUtil.java: Some input files use unchecked or unsafe operations.
#29 225.2 [INFO] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateUtil.java: Recompile with -Xlint:unchecked for details.
#29 225.2 [INFO]
#29 225.2 [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ openmrs-api ---
#29 225.2 [INFO] Copying 153 resources
#29 225.4 [INFO]
#29 225.4 [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ openmrs-api ---
#29 225.4 [INFO] Changes detected - recompiling the module!
#29 225.4 [INFO] Compiling 371 source files to /openmrs_core/api/target/test-classes
#29 236.0 [INFO] /openmrs_core/api/src/test/java/org/openmrs/test/jupiter/BaseContextSensitiveTest.java: Some input files use or override a deprecated API.
#29 236.0 [INFO] /openmrs_core/api/src/test/java/org/openmrs/test/jupiter/BaseContextSensitiveTest.java: Recompile with -Xlint:deprecation for details.
#29 236.1 [INFO] /openmrs_core/api/src/test/java/org/openmrs/api/db/hibernate/PersonAttributeHelper.java: Some input files use unchecked or unsafe operations.
#29 236.1 [INFO] /openmrs_core/api/src/test/java/org/openmrs/api/db/hibernate/PersonAttributeHelper.java: Recompile with -Xlint:unchecked for details.
#29 236.1 [INFO] -------------------------------------------------------------
#29 236.1 [ERROR] COMPILATION ERROR :
#29 236.1 [INFO] -------------------------------------------------------------
#29 236.1 [ERROR] /openmrs_core/api/src/test/java/org/openmrs/api/PersonServiceTest.java:[2324,36] cannot find symbol
#29 236.1   symbol:   method containsInAnyOrder(java.lang.Object[])
#29 236.1   location: class org.openmrs.api.PersonServiceTest
#29 236.1 [INFO] 1 error
#29 236.1 [INFO] -------------------------------------------------------------
#29 236.1 [INFO] ------------------------------------------------------------------------
#29 236.1 [INFO] Reactor Summary for OpenMRS 2.6.1-SNAPSHOT:
#29 236.1 [INFO]
#29 236.1 [INFO] OpenMRS ............................................ SUCCESS [01:30 min]
#29 236.1 [INFO] openmrs-tools ...................................... SUCCESS [ 21.112 s]
#29 236.1 [INFO] openmrs-test ....................................... SUCCESS [ 14.211 s]
#29 236.1 [INFO] openmrs-api ........................................ FAILURE [01:43 min]
#29 236.1 [INFO] openmrs-web ........................................ SKIPPED
#29 236.1 [INFO] openmrs-webapp ..................................... SKIPPED
#29 236.1 [INFO] openmrs-liquibase .................................. SKIPPED
#29 236.1 [INFO] ------------------------------------------------------------------------
#29 236.1 [INFO] BUILD FAILURE
#29 236.1 [INFO] ------------------------------------------------------------------------
#29 236.1 [INFO] Total time:  03:53 min
#29 236.1 [INFO] Finished at: 2023-03-29T12:14:28Z
#29 236.1 [INFO] ------------------------------------------------------------------------
#29 236.1 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:testCompile (default-testCompile) on project openmrs-api: Compilation failure
#29 236.1 [ERROR] /openmrs_core/api/src/test/java/org/openmrs/api/PersonServiceTest.java:[2324,36] cannot find symbol
#29 236.1 [ERROR]   symbol:   method containsInAnyOrder(java.lang.Object[])
#29 236.1 [ERROR]   location: class org.openmrs.api.PersonServiceTest
#29 236.1 [ERROR]
#29 236.1 [ERROR] -> [Help 1]
#29 236.1 [ERROR]
#29 236.1 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#29 236.1 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#29 236.1 [ERROR]
#29 236.1 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#29 236.1 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#29 236.1 [ERROR]
#29 236.1 [ERROR] After correcting the problems, you can resume the build with the command
#29 236.1 [ERROR]   mvn <args> -rf :openmrs-api
#29 ERROR: process "/bin/sh -c mvn $MVN_ARGS" did not complete successfully: exit code: 1

#31 [linux/arm64 dev 10/13] RUN --mount=type=cache,target=/root/.m2 mvn clean install -DskipTests
#31 CANCELED
------
> [linux/amd64 dev 10/13] RUN --mount=type=cache,target=/root/.m2 mvn clean install -DskipTests:
#29 236.1 [ERROR] -> [Help 1]
#29 236.1 [ERROR]
#29 236.1 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#29 236.1 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#29 236.1 [ERROR]
#29 236.1 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#29 236.1 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#29 236.1 [ERROR]
#29 236.1 [ERROR] After correcting the problems, you can resume the build with the command
#29 236.1 [ERROR]   mvn <args> -rf :openmrs-api
------
Dockerfile:57
--------------------
  55 |     
  56 |     # Build the project
  57 | >>> RUN --mount=type=cache,target=/root/.m2 mvn $MVN_ARGS
  58 |     
  59 |     RUN mkdir -p /openmrs/distribution/openmrs_core/ \
--------------------
error: failed to solve: process "/bin/sh -c mvn $MVN_ARGS" did not complete successfully: exit code: 1