Builds the O3 backend

Build: #3 failed

Job: Build and Publish the Backend Image failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
45 seconds
Agent
xindi.openmrs.org
Revision
e07fd64bf4f66f1b6f7bd1ef85f2785abded4c29 e07fd64bf4f66f1b6f7bd1ef85f2785abded4c29
Fixed in
#5 (Manual run by Ian Bacher)
Number of retries
1
No failed test found. A possible compilation error occurred.

Error summary

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

Progress (2): 112/136 kB | 48/263 kB
Progress (2): 112/136 kB | 51/263 kB
Progress (2): 112/136 kB | 55/263 kB
Progress (2): 112/136 kB | 59/263 kB
Progress (2): 112/136 kB | 63/263 kB
Progress (2): 112/136 kB | 67/263 kB
Progress (2): 112/136 kB | 71/263 kB
Progress (2): 112/136 kB | 75/263 kB
Progress (2): 112/136 kB | 79/263 kB
Progress (2): 112/136 kB | 83/263 kB
Progress (2): 112/136 kB | 85/263 kB
Progress (2): 112/136 kB | 89/263 kB
Progress (2): 112/136 kB | 94/263 kB
Progress (2): 112/136 kB | 98/263 kB
Progress (2): 112/136 kB | 102/263 kB
Progress (2): 112/136 kB | 106/263 kB
Progress (2): 112/136 kB | 110/263 kB
Progress (2): 112/136 kB | 114/263 kB
Progress (2): 112/136 kB | 116/263 kB
Progress (2): 112/136 kB | 120/263 kB
Progress (2): 112/136 kB | 125/263 kB
Progress (2): 112/136 kB | 129/263 kB
Progress (2): 112/136 kB | 133/263 kB
Progress (2): 112/136 kB | 137/263 kB
Progress (2): 112/136 kB | 141/263 kB
Progress (2): 112/136 kB | 145/263 kB
Progress (2): 112/136 kB | 149/263 kB
Progress (2): 112/136 kB | 152/263 kB
Progress (2): 112/136 kB | 156/263 kB
Progress (2): 112/136 kB | 160/263 kB
Progress (2): 112/136 kB | 164/263 kB
Progress (2): 112/136 kB | 168/263 kB
Progress (2): 112/136 kB | 172/263 kB
Progress (2): 112/136 kB | 176/263 kB
Progress (2): 112/136 kB | 180/263 kB
Progress (2): 112/136 kB | 184/263 kB
Progress (2): 112/136 kB | 187/263 kB
Progress (2): 112/136 kB | 191/263 kB
Progress (2): 112/136 kB | 195/263 kB
Progress (2): 112/136 kB | 199/263 kB
Progress (2): 112/136 kB | 203/263 kB
Progress (2): 112/136 kB | 206/263 kB
Progress (2): 112/136 kB | 210/263 kB
Progress (2): 112/136 kB | 214/263 kB
Progress (2): 112/136 kB | 218/263 kB
Progress (2): 112/136 kB | 222/263 kB
Progress (2): 112/136 kB | 226/263 kB
Progress (2): 112/136 kB | 230/263 kB
Progress (2): 112/136 kB | 234/263 kB
Progress (2): 112/136 kB | 238/263 kB
Progress (2): 112/136 kB | 243/263 kB
Progress (2): 112/136 kB | 247/263 kB
Progress (2): 112/136 kB | 251/263 kB
Progress (2): 115/136 kB | 251/263 kB
Progress (2): 118/136 kB | 251/263 kB
Progress (2): 120/136 kB | 251/263 kB
Progress (2): 123/136 kB | 251/263 kB
Progress (2): 126/136 kB | 251/263 kB
Progress (2): 129/136 kB | 251/263 kB
Progress (2): 132/136 kB | 251/263 kB
Progress (2): 134/136 kB | 251/263 kB
Progress (2): 136 kB | 251/263 kB   
Progress (2): 136 kB | 255/263 kB
Progress (2): 136 kB | 259/263 kB
Progress (2): 136 kB | 263/263 kB
Progress (2): 136 kB | 263 kB   
                             
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/eclipse/aether/aether-api/1.0.0.v20140518/aether-api-1.0.0.v20140518.jar (136 kB at 271 kB/s)
#17 17.55 Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/codehaus/plexus/plexus-utils/3.3.0/plexus-utils-3.3.0.jar (263 kB at 524 kB/s)
#17 17.62 [INFO] Installing /openmrs_distro/pom.xml to /root/.m2/repository/org/openmrs/distro/referenceapplication/3.0.0-SNAPSHOT/referenceapplication-3.0.0-SNAPSHOT.pom
#17 17.64 [INFO] ------------------------------------------------------------------------
#17 17.64 [INFO] BUILD SUCCESS
#17 17.64 [INFO] ------------------------------------------------------------------------
#17 17.65 [INFO] Total time:  14.321 s
#17 17.65 [INFO] Finished at: 2024-01-30T20:13:41Z
#17 17.66 [INFO] ------------------------------------------------------------------------
#17 DONE 17.8s

#21 [linux/arm64 dev  5/10] RUN --mount=type=secret,id=m2settings,target=/root/.m2/settings.xml if [[ "deploy" != "deploy" || "$(arch)" = "x84_64" ]]; then mvn -U deploy; else mvn -U install; fi
#21 ...

#22 [linux/amd64 dev  6/10] RUN cp /openmrs_distro/distro/target/sdk-distro/web/openmrs.war /openmrs/distribution/openmrs_core/
#22 0.165 cp: cannot stat ‘/openmrs_distro/distro/target/sdk-distro/web/openmrs.war’: No such file or directory
#22 ERROR: process "/bin/sh -c cp /openmrs_distro/distro/target/sdk-distro/web/openmrs.war /openmrs/distribution/openmrs_core/" did not complete successfully: exit code: 1

#21 [linux/arm64 dev  5/10] RUN --mount=type=secret,id=m2settings,target=/root/.m2/settings.xml if [[ "deploy" != "deploy" || "$(arch)" = "x84_64" ]]; then mvn -U deploy; else mvn -U install; fi
#21 CANCELED
------
> [linux/amd64 dev  6/10] RUN cp /openmrs_distro/distro/target/sdk-distro/web/openmrs.war /openmrs/distribution/openmrs_core/:
#22 0.165 cp: cannot stat ‘/openmrs_distro/distro/target/sdk-distro/web/openmrs.war’: No such file or directory
------
Dockerfile:17
--------------------
  15 |     RUN --mount=type=secret,id=m2settings,target=/root/.m2/settings.xml if [[ "$MVN_ARGS" != "deploy" || "$(arch)" = "x84_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/
  18 |     
  19 |     RUN cp /openmrs_distro/distro/target/sdk-distro/web/openmrs-distro.properties /openmrs/distribution/
--------------------
error: failed to solve: process "/bin/sh -c cp /openmrs_distro/distro/target/sdk-distro/web/openmrs.war /openmrs/distribution/openmrs_core/" did not complete successfully: exit code: 1