Builds the O3 backend

Build: #22 failed Changes by Daniel Kayiwa

Stages & jobs

  1. Default Stage

Build result summary

Details

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

Responsible

  • Ian Bacher Ian Bacher Automatically assigned

Code commits

Author Commit Message Commit date
Daniel Kayiwa Daniel Kayiwa 71c16efcc22663449ab7b783d689f6f2d1f69a32 Switch back to platform 2.6.4

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): 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): 152/262 kB
Progress (1): 156/262 kB
Progress (1): 160/262 kB
Progress (1): 164/262 kB
Progress (1): 168/262 kB
Progress (1): 172/262 kB
Progress (1): 176/262 kB
Progress (1): 180/262 kB
Progress (1): 184/262 kB
Progress (1): 187/262 kB
Progress (1): 191/262 kB
Progress (1): 195/262 kB
Progress (1): 197/262 kB
Progress (1): 201/262 kB
Progress (1): 206/262 kB
Progress (1): 210/262 kB
Progress (1): 214/262 kB
Progress (1): 218/262 kB
Progress (1): 222/262 kB
Progress (1): 226/262 kB
Progress (1): 230/262 kB
Progress (1): 232/262 kB
Progress (1): 236/262 kB
Progress (1): 240/262 kB
Progress (1): 244/262 kB
Progress (1): 249/262 kB
Progress (1): 253/262 kB
Progress (1): 257/262 kB
Progress (1): 261/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 420 kB/s)
#19 11.48 Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro/referenceapplication/3.0.0-SNAPSHOT/maven-metadata.xml
#19 11.65 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 2.0 kB/s)
#19 11.81 Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro/referenceapplication/3.0.0-SNAPSHOT/referenceapplication-3.0.0-20240321.153206-1359.pom
#19 11.81 Progress (1): 4.1/7.2 kB
Progress (1): 7.2 kB   
#19 ...

#23 [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
#23 ...

#19 [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
#19 11.81 Progress (1): 4.1/7.2 kB
Progress (1): 7.2 kB   
                   
[INFO] ------------------------------------------------------------------------
#19 12.34 [INFO] Reactor Summary for Package and Run OpenMRS 3.0.0-SNAPSHOT:
#19 12.34 [INFO]
#19 12.34 [INFO] Package and Run OpenMRS ............................ FAILURE [  9.453 s]
#19 12.35 [INFO] OpenMRS distro ..................................... SKIPPED
#19 12.35 [INFO] ------------------------------------------------------------------------
#19 12.35 [INFO] BUILD FAILURE
#19 12.38 [INFO] ------------------------------------------------------------------------
#19 12.38 [INFO] Total time:  9.677 s
#19 12.38 [INFO] Finished at: 2024-03-21T15:32:16Z
#19 12.38 [INFO] ------------------------------------------------------------------------
#19 12.39 [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-20240321.153206-1359 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-20240321.153206-1359.pom, status: 401 Unauthorized -> [Help 1]
#19 12.39 [ERROR]
#19 12.39 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#19 12.39 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#19 12.40 [ERROR]
#19 12.40 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#19 12.40 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
#19 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

#23 [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
#23 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:
#19 12.38 [INFO] Total time:  9.677 s
#19 12.38 [INFO] Finished at: 2024-03-21T15:32:16Z
#19 12.38 [INFO] ------------------------------------------------------------------------
#19 12.39 [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-20240321.153206-1359 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-20240321.153206-1359.pom, status: 401 Unauthorized -> [Help 1]
#19 12.39 [ERROR]
#19 12.39 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#19 12.39 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#19 12.40 [ERROR]
#19 12.40 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#19 12.40 [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