Builds the O3 backend

Build result summary

Details

Completed
Queue duration
< 1 second
Duration
40 seconds
Labels
None
Agent
xiao.openmrs.org
Revision
70b65cd8f3a0c870f8f688b822cb4c76e2ae65dd 70b65cd8f3a0c870f8f688b822cb4c76e2ae65dd
Failing since
#21 (Changes by Ian Bacher)
Fixed in
#28 (Changes by Ian Bacher)
No failed test found. A possible compilation error occurred.

Responsible

Code commits

Author Commit Message Commit date
Jayasanka Weerasinghe <33048395+jayasanka-sack@users.noreply.github.com> Jayasanka Weerasinghe <33048395+jayasanka-sack@users.noreply.github.com> 70b65cd8f3a0c870f8f688b822cb4c76e2ae65dd 70b65cd8f3a0c870f8f688b822cb4c76e2ae65dd (chore) Fix incorrect backend module versions (#797)

Error summary for Build and Publish the Backend Image

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

Progress (1): 85/262 kB
Progress (1): 89/262 kB
Progress (1): 94/262 kB
Progress (1): 98/262 kB
Progress (1): 102/262 kB
Progress (1): 106/262 kB
Progress (1): 110/262 kB
Progress (1): 114/262 kB
Progress (1): 118/262 kB
Progress (1): 120/262 kB
Progress (1): 124/262 kB
Progress (1): 128/262 kB
Progress (1): 132/262 kB
Progress (1): 137/262 kB
Progress (1): 141/262 kB
Progress (1): 145/262 kB
Progress (1): 149/262 kB
Progress (1): 153/262 kB
Progress (1): 155/262 kB
Progress (1): 159/262 kB
Progress (1): 163/262 kB
Progress (1): 167/262 kB
Progress (1): 171/262 kB
Progress (1): 175/262 kB
Progress (1): 180/262 kB
Progress (1): 184/262 kB
Progress (1): 188/262 kB
Progress (1): 192/262 kB
Progress (1): 196/262 kB
Progress (1): 200/262 kB
Progress (1): 204/262 kB
Progress (1): 208/262 kB
Progress (1): 212/262 kB
Progress (1): 216/262 kB
Progress (1): 221/262 kB
Progress (1): 223/262 kB
Progress (1): 227/262 kB
Progress (1): 231/262 kB
Progress (1): 235/262 kB
Progress (1): 240/262 kB
Progress (1): 244/262 kB
Progress (1): 248/262 kB
Progress (1): 251/262 kB
Progress (1): 255/262 kB
Progress (1): 260/262 kB
Progress (1): 262 kB   
                   
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/codehaus/plexus/plexus-utils/3.3.1/plexus-utils-3.3.1.jar (262 kB at 423 kB/s)
#23 13.01 Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro/referenceapplication/3.0.0-SNAPSHOT/maven-metadata.xml
#23 13.22 Progress (1): 621 B
                   
Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro/referenceapplication/3.0.0-SNAPSHOT/maven-metadata.xml (621 B at 1.7 kB/s)
#23 13.40 Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro/referenceapplication/3.0.0-SNAPSHOT/referenceapplication-3.0.0-20240322.081059-1363.pom
#23 13.42 Progress (1): 4.1/7.2 kB
Progress (1): 7.2 kB   
                   
[INFO] ------------------------------------------------------------------------
#23 13.97 [INFO] Reactor Summary for Package and Run OpenMRS 3.0.0-SNAPSHOT:
#23 13.97 [INFO]
#23 13.98 [INFO] Package and Run OpenMRS ............................ FAILURE [  9.667 s]
#23 13.98 [INFO] OpenMRS distro ..................................... SKIPPED
#23 13.98 [INFO] ------------------------------------------------------------------------
#23 13.98 [INFO] BUILD FAILURE
#23 13.98 [INFO] ------------------------------------------------------------------------
#23 13.98 [INFO] Total time:  9.982 s
#23 13.99 [INFO] Finished at: 2024-03-22T08:11:09Z
#23 13.99 [INFO] ------------------------------------------------------------------------
#23 14.00 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.0.0:deploy (default-deploy) on project referenceapplication: Failed to deploy artifacts: Could not transfer artifact org.openmrs.distro:referenceapplication:pom:3.0.0-20240322.081059-1363 from/to openmrs-repo-snapshots (https://mavenrepo.openmrs.org/snapshots): authentication failed for https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro/referenceapplication/3.0.0-SNAPSHOT/referenceapplication-3.0.0-20240322.081059-1363.pom, status: 401 Unauthorized -> [Help 1]
#23 14.00 [ERROR]
#23 14.00 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#23 14.00 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#23 14.00 [ERROR]
#23 14.00 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#23 14.00 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
#23 ERROR: process "/bin/sh -c if [[ \"$MVN_ARGS\" != \"deploy\" || \"$(arch)\" = \"x86_64\" ]]; then mvn $MVN_ARGS_SETTINGS $MVN_ARGS; else mvn $MVN_ARGS_SETTINGS install; fi" did not complete successfully: exit code: 1

#19 [linux/arm64 dev  5/10] RUN --mount=type=secret,id=m2settings,target=/root/.m2/settings.xml if [[ "deploy" != "deploy" || "$(arch)" = "x86_64" ]]; then mvn -s /usr/share/maven/ref/settings-docker.xml -U -P distro deploy; else mvn -s /usr/share/maven/ref/settings-docker.xml -U -P distro install; fi
#19 CANCELED
------
> [linux/amd64 dev  5/10] RUN --mount=type=secret,id=m2settings,target=/root/.m2/settings.xml if [[ "deploy" != "deploy" || "$(arch)" = "x86_64" ]]; then mvn -s /usr/share/maven/ref/settings-docker.xml -U -P distro deploy; else mvn -s /usr/share/maven/ref/settings-docker.xml -U -P distro install; fi:
#23 13.98 [INFO] Total time:  9.982 s
#23 13.99 [INFO] Finished at: 2024-03-22T08:11:09Z
#23 13.99 [INFO] ------------------------------------------------------------------------
#23 14.00 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.0.0:deploy (default-deploy) on project referenceapplication: Failed to deploy artifacts: Could not transfer artifact org.openmrs.distro:referenceapplication:pom:3.0.0-20240322.081059-1363 from/to openmrs-repo-snapshots (https://mavenrepo.openmrs.org/snapshots): authentication failed for https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro/referenceapplication/3.0.0-SNAPSHOT/referenceapplication-3.0.0-20240322.081059-1363.pom, status: 401 Unauthorized -> [Help 1]
#23 14.00 [ERROR]
#23 14.00 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#23 14.00 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#23 14.00 [ERROR]
#23 14.00 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#23 14.00 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
------
Dockerfile:15
--------------------
  13 |     
  14 |     # Build the distro, but only deploy from the amd64 build
  15 | >>> RUN --mount=type=secret,id=m2settings,target=/root/.m2/settings.xml if [[ "$MVN_ARGS" != "deploy" || "$(arch)" = "x86_64" ]]; then mvn $MVN_ARGS_SETTINGS $MVN_ARGS; else mvn $MVN_ARGS_SETTINGS install; fi
  16 |     
  17 |     RUN cp /openmrs_distro/distro/target/sdk-distro/web/openmrs.war /openmrs/distribution/openmrs_core/
--------------------
error: failed to solve: process "/bin/sh -c if [[ \"$MVN_ARGS\" != \"deploy\" || \"$(arch)\" = \"x86_64\" ]]; then mvn $MVN_ARGS_SETTINGS $MVN_ARGS; else mvn $MVN_ARGS_SETTINGS install; fi" did not complete successfully: exit code: 1