Builds the O3 backend

Build: #4 failed

Job: Build and Publish the Backend Image failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
39 seconds
Agent
xindi.openmrs.org
Revision
e07fd64bf4f66f1b6f7bd1ef85f2785abded4c29 e07fd64bf4f66f1b6f7bd1ef85f2785abded4c29
Failing since
#3 (Rebuilt by Ian Bacher)
Fixed in
#5 (Manual run by Ian Bacher)
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): 110/136 kB | 51/263 kB
Progress (2): 110/136 kB | 53/263 kB
Progress (2): 110/136 kB | 57/263 kB
Progress (2): 110/136 kB | 62/263 kB
Progress (2): 110/136 kB | 66/263 kB
Progress (2): 110/136 kB | 70/263 kB
Progress (2): 110/136 kB | 74/263 kB
Progress (2): 110/136 kB | 78/263 kB
Progress (2): 110/136 kB | 82/263 kB
Progress (2): 110/136 kB | 86/263 kB
Progress (2): 110/136 kB | 88/263 kB
Progress (2): 110/136 kB | 92/263 kB
Progress (2): 110/136 kB | 96/263 kB
Progress (2): 110/136 kB | 100/263 kB
Progress (2): 110/136 kB | 105/263 kB
Progress (2): 110/136 kB | 109/263 kB
Progress (2): 110/136 kB | 113/263 kB
Progress (2): 110/136 kB | 117/263 kB
Progress (2): 110/136 kB | 121/263 kB
Progress (2): 110/136 kB | 123/263 kB
Progress (2): 110/136 kB | 125/263 kB
Progress (2): 110/136 kB | 129/263 kB
Progress (2): 110/136 kB | 134/263 kB
Progress (2): 110/136 kB | 138/263 kB
Progress (2): 110/136 kB | 142/263 kB
Progress (2): 110/136 kB | 146/263 kB
Progress (2): 110/136 kB | 150/263 kB
Progress (2): 110/136 kB | 154/263 kB
Progress (2): 110/136 kB | 158/263 kB
Progress (2): 110/136 kB | 160/263 kB
Progress (2): 110/136 kB | 164/263 kB
Progress (2): 110/136 kB | 168/263 kB
Progress (2): 110/136 kB | 172/263 kB
Progress (2): 110/136 kB | 177/263 kB
Progress (2): 110/136 kB | 181/263 kB
Progress (2): 110/136 kB | 185/263 kB
Progress (2): 110/136 kB | 188/263 kB
Progress (2): 110/136 kB | 192/263 kB
Progress (2): 110/136 kB | 197/263 kB
Progress (2): 110/136 kB | 201/263 kB
Progress (2): 110/136 kB | 205/263 kB
Progress (2): 110/136 kB | 209/263 kB
Progress (2): 110/136 kB | 213/263 kB
Progress (2): 110/136 kB | 217/263 kB
Progress (2): 110/136 kB | 221/263 kB
Progress (2): 110/136 kB | 225/263 kB
Progress (2): 110/136 kB | 229/263 kB
Progress (2): 110/136 kB | 232/263 kB
Progress (2): 110/136 kB | 236/263 kB
Progress (2): 110/136 kB | 240/263 kB
Progress (2): 110/136 kB | 244/263 kB
Progress (2): 110/136 kB | 249/263 kB
Progress (2): 110/136 kB | 253/263 kB
Progress (2): 110/136 kB | 257/263 kB
Progress (2): 110/136 kB | 260/263 kB
Progress (2): 110/136 kB | 263 kB   
Progress (2): 112/136 kB | 263 kB
Progress (2): 115/136 kB | 263 kB
Progress (2): 118/136 kB | 263 kB
Progress (2): 121/136 kB | 263 kB
Progress (2): 124/136 kB | 263 kB
Progress (2): 126/136 kB | 263 kB
Progress (2): 129/136 kB | 263 kB
Progress (2): 132/136 kB | 263 kB
Progress (2): 135/136 kB | 263 kB
Progress (2): 136 kB | 263 kB   
                             
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 531 kB/s)
#19 16.28 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 265 kB/s)
#19 16.33 [INFO] Installing /openmrs_distro/pom.xml to /root/.m2/repository/org/openmrs/distro/referenceapplication/3.0.0-SNAPSHOT/referenceapplication-3.0.0-SNAPSHOT.pom
#19 16.34 [INFO] ------------------------------------------------------------------------
#19 16.34 [INFO] BUILD SUCCESS
#19 16.34 [INFO] ------------------------------------------------------------------------
#19 16.34 [INFO] Total time:  13.961 s
#19 16.35 [INFO] Finished at: 2024-01-30T20:16:46Z
#19 16.35 [INFO] ------------------------------------------------------------------------
#19 DONE 16.4s

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

#24 [linux/amd64 dev  6/10] RUN cp /openmrs_distro/distro/target/sdk-distro/web/openmrs.war /openmrs/distribution/openmrs_core/
#0 0.109 cp: cannot stat ‘/openmrs_distro/distro/target/sdk-distro/web/openmrs.war’: No such file or directory
#24 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

#23 [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
#23 CANCELED
------
> [linux/amd64 dev  6/10] RUN cp /openmrs_distro/distro/target/sdk-distro/web/openmrs.war /openmrs/distribution/openmrs_core/:
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