OpenMRS Core Master

Build: #3280 failed Changes by Ian Bacher

Stages & jobs

  1. Build

  2. Test

  3. Deploy

  4. Release

    Requires a user to start manually

Build result summary

Details

Completed
Queue duration
1 second
Duration
56 seconds
Labels
None
Revisions
openmrs-core
255fa51cd26c910fc0f3806f9c1b004d94e257a0 255fa51cd26c910fc0f3806f9c1b004d94e257a0
Release scripts
ced9ff00825ca1cb8c744547be4ba8ff994bd71b ced9ff00825ca1cb8c744547be4ba8ff994bd71b
Fixed in
#3284 (Changes by Ian Bacher)
No failed test found. A possible compilation error occurred.

Responsible

Code commits

openmrs-core
Author Commit Message Commit date
Ian Bacher Ian Bacher 255fa51cd26c910fc0f3806f9c1b004d94e257a0 255fa51cd26c910fc0f3806f9c1b004d94e257a0 Fixup
Ian Bacher Ian Bacher 0255406d158c63796005104133f9a4f38816ea00 0255406d158c63796005104133f9a4f38816ea00 TRUNK-6187: Enable changing changing super user password for system-level commands

Jira issues

IssueDescriptionStatus
Unknown Issue TypeTRUNK-6187Could not obtain issue details from Jira

Error summary for Build

The job generated some errors, drill down into the full build log for more details.

#27 8.470 [INFO] --- jacoco-maven-plugin:0.8.10:prepare-agent (prepare-agent) @ openmrs-api ---
#27 8.533 [INFO] argLine set to -javaagent:/usr/share/maven/ref/repository/org/jacoco/org.jacoco.agent/0.8.10/org.jacoco.agent-0.8.10-runtime.jar=destfile=/openmrs_core/api/target/jacoco.exec,includes=org/openmrs/** -Duser.language=en -Duser.region=US -Xmx1g -Djava.locale.providers=COMPAT
#27 8.533 [INFO]
#27 8.533 [INFO] --- maven-java-formatter-plugin:0.3:format (default) @ openmrs-api ---
#27 8.633 [INFO] Using 'UTF-8' encoding to format source files.
#27 12.32 [INFO] Number of files to be formatted: 1119
#27 15.93 [INFO] Successfully formatted: 0 file(s)
#27 15.93 [INFO] Fail to format        : 0 file(s)
#27 15.93 [INFO] Skipped               : 1119 file(s)
#27 15.93 [INFO] Approximate time taken: 7s
#27 15.93 [INFO]
#27 15.93 [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ openmrs-api ---
#27 15.94 [INFO] Copying 1 resource from src/main/resources to target/classes
#27 15.97 [INFO] Copying 158 resources from src/main/resources to target/classes
#27 16.04 [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
#27 16.04 [INFO]
#27 16.04 [INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ openmrs-api ---
#27 16.13 [INFO] Changes detected - recompiling the module! :source
#27 16.14 [INFO] Compiling 747 source files with javac [debug target 1.8] to target/classes
#27 25.87 [INFO] Processing Log4j annotations
#27 25.87 [INFO] Annotations processed
#27 25.88 [INFO] Processing Log4j annotations
#27 25.88 [INFO] No elements to process
#27 25.88 [WARNING] /openmrs_core/api/src/main/java/org/openmrs/util/DatabaseUpdater.java:[762,17] unreachable catch clause
#27 25.88   thrown type java.io.FileNotFoundException has already been caught
#27 25.88 [INFO] /openmrs_core/api/src/main/java/org/openmrs/PersonName.java: Some input files use or override a deprecated API.
#27 25.88 [INFO] /openmrs_core/api/src/main/java/org/openmrs/PersonName.java: Recompile with -Xlint:deprecation for details.
#27 25.88 [INFO] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateUtil.java: Some input files use unchecked or unsafe operations.
#27 25.88 [INFO] /openmrs_core/api/src/main/java/org/openmrs/api/db/hibernate/HibernateUtil.java: Recompile with -Xlint:unchecked for details.
#27 25.88 [INFO]
#27 25.88 [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ openmrs-api ---
#27 25.89 [INFO] Copying 153 resources from src/test/resources to target/test-classes
#27 25.94 [INFO]
#27 25.94 [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ openmrs-api ---
#27 25.96 [INFO] Changes detected - recompiling the module! :dependency
#27 25.96 [INFO] Compiling 372 source files with javac [debug target 1.8] to target/test-classes
#27 31.72 [INFO] /openmrs_core/api/src/test/java/org/openmrs/test/jupiter/BaseContextSensitiveTest.java: Some input files use or override a deprecated API.
#27 31.72 [INFO] /openmrs_core/api/src/test/java/org/openmrs/test/jupiter/BaseContextSensitiveTest.java: Recompile with -Xlint:deprecation for details.
#27 31.72 [INFO] /openmrs_core/api/src/test/java/org/openmrs/api/db/hibernate/PersonAttributeHelper.java: Some input files use unchecked or unsafe operations.
#27 31.73 [INFO] /openmrs_core/api/src/test/java/org/openmrs/api/db/hibernate/PersonAttributeHelper.java: Recompile with -Xlint:unchecked for details.
#27 31.73 [INFO] Some messages have been simplified; recompile with -Xdiags:verbose to get full output
#27 31.73 [INFO] -------------------------------------------------------------
#27 31.73 [ERROR] COMPILATION ERROR :
#27 31.73 [INFO] -------------------------------------------------------------
#27 31.73 [ERROR] /openmrs_core/api/src/test/java/org/openmrs/api/UserServiceTest.java:[1469,44] incompatible types: org.openmrs.User cannot be converted to java.lang.String
#27 31.73 [ERROR] /openmrs_core/api/src/test/java/org/openmrs/api/UserServiceTest.java:[1480,137] incompatible types: org.openmrs.User cannot be converted to java.lang.String
#27 31.73 [INFO] 2 errors
#27 31.73 [INFO] -------------------------------------------------------------
#27 31.73 [INFO] ------------------------------------------------------------------------
#27 31.73 [INFO] Reactor Summary for OpenMRS 2.7.0-SNAPSHOT:
#27 31.73 [INFO]
#27 31.73 [INFO] OpenMRS ............................................ SUCCESS [  2.242 s]
#27 31.73 [INFO] openmrs-tools ...................................... SUCCESS [  0.540 s]
#27 31.73 [INFO] openmrs-test ....................................... SUCCESS [  0.111 s]
#27 31.73 [INFO] openmrs-api ........................................ FAILURE [ 23.645 s]
#27 31.74 [INFO] openmrs-web ........................................ SKIPPED
#27 31.74 [INFO] openmrs-webapp ..................................... SKIPPED
#27 31.74 [INFO] openmrs-liquibase .................................. SKIPPED
#27 31.74 [INFO] ------------------------------------------------------------------------
#27 31.74 [INFO] BUILD FAILURE
#27 31.74 [INFO] ------------------------------------------------------------------------
#27 31.74 [INFO] Total time:  29.064 s
#27 31.74 [INFO] Finished at: 2023-09-02T14:26:19Z
#27 31.74 [INFO] ------------------------------------------------------------------------
#27 31.74 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:testCompile (default-testCompile) on project openmrs-api: Compilation failure: Compilation failure:
#27 31.74 [ERROR] /openmrs_core/api/src/test/java/org/openmrs/api/UserServiceTest.java:[1469,44] incompatible types: org.openmrs.User cannot be converted to java.lang.String
#27 31.75 [ERROR] /openmrs_core/api/src/test/java/org/openmrs/api/UserServiceTest.java:[1480,137] incompatible types: org.openmrs.User cannot be converted to java.lang.String
#27 31.75 [ERROR] -> [Help 1]
#27 31.75 [ERROR]
#27 31.75 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#27 31.75 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#27 31.75 [ERROR]
#27 31.75 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#27 31.75 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#27 31.75 [ERROR]
#27 31.75 [ERROR] After correcting the problems, you can resume the build with the command
#27 31.75 [ERROR]   mvn <args> -rf :openmrs-api
#27 ERROR: process "/bin/sh -c mvn $MVN_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1
------
> [linux/amd64 compile 15/15] RUN mvn -s /usr/share/maven/ref/settings-docker.xml clean install -DskipTests:
#27 25.89 [INFO] Copying 153 resources from src/test/resources to target/test-classes
#27 25.94 [INFO]
#27 25.94 [INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ openmrs-api ---
#27 25.96 [INFO] Changes detected - recompiling the module! :dependency
#27 25.96 [INFO] Compiling 372 source files with javac [debug target 1.8] to target/test-classes

#27 31.75 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
#27 31.75 [ERROR]
#27 31.75 [ERROR] After correcting the problems, you can resume the build with the command
#27 31.75 [ERROR]   mvn <args> -rf :openmrs-api
------
Dockerfile:46
--------------------
  44 |     
  45 |     # Build the project
  46 | >>> RUN mvn $MVN_SETTINGS $MVN_ARGS
  47 |     
  48 |     ### Development Stage
--------------------
error: failed to solve: process "/bin/sh -c mvn $MVN_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1