Builds the O3 backend
Build: #247 failed Manual run by Rafal Korytkowski
Build result summary
Details
- Completed
- Queue duration
- < 1 second
- Duration
- 5 minutes
- Labels
- None
- Revision
-
b60dce9fb47506c391d92e3bf0fac812a3a02819
- Fixed in
- #249 (Manual run by Rafal Korytkowski)
Responsible
No one has taken responsibility for this failure
Configuration changes
Plan configuration has changed since the last successful build. See the plan audit log for more details.
Error summary for Build and Publish the Backend Image Without Demo Content
The job generated some errors, drill down into the full build log for more details.
#20 169.4 Progress (1): 0.5/1.5 kB
Progress (1): 1.5 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/projectlombok/lombok/1.18.24/lombok-1.18.24.pom (1.5 kB at 12 kB/s)
#20 169.4 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/queue-omod/2.9.0/queue-omod-2.9.0.pom
#20 169.6 Progress (1): 0.4/5.3 kB
Progress (1): 1.8/5.3 kB
Progress (1): 3.2/5.3 kB
Progress (1): 4.6/5.3 kB
Progress (1): 5.3 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/queue-omod/2.9.0/queue-omod-2.9.0.pom (5.3 kB at 43 kB/s)
#20 169.6 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/queue/2.9.0/queue-2.9.0.pom
#20 169.7 Progress (1): 0.5/14 kB
Progress (1): 1.9/14 kB
Progress (1): 3.3/14 kB
Progress (1): 4.7/14 kB
Progress (1): 6.1/14 kB
Progress (1): 7.5/14 kB
Progress (1): 8.9/14 kB
Progress (1): 10/14 kB
Progress (1): 12/14 kB
Progress (1): 13/14 kB
Progress (1): 14 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/queue/2.9.0/queue-2.9.0.pom (14 kB at 62 kB/s)
#20 169.9 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/queue-api/2.9.0/queue-api-2.9.0.pom
#20 170.0 Progress (1): 0.4/2.2 kB
Progress (1): 1.8/2.2 kB
Progress (1): 2.2 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/queue-api/2.9.0/queue-api-2.9.0.pom (2.2 kB at 16 kB/s)
#20 170.0 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/appointments-omod/2.1.0-SNAPSHOT/appointments-omod-2.1.0-20250318.070530-1.pom
#20 170.2 Progress (1): 0.4/5.6 kB
Progress (1): 1.8/5.6 kB
Progress (1): 3.2/5.6 kB
Progress (1): 4.6/5.6 kB
Progress (1): 5.6 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/appointments-omod/2.1.0-SNAPSHOT/appointments-omod-2.1.0-20250318.070530-1.pom (5.6 kB at 38 kB/s)
#20 170.2 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/appointments/2.1.0-SNAPSHOT/maven-metadata.xml
#20 170.3 Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/bahmni/module/appointments/2.1.0-SNAPSHOT/maven-metadata.xml
#20 170.3 Downloading from mks-nexus-public: https://nexus.mekomsolutions.net/repository/maven-public/org/bahmni/module/appointments/2.1.0-SNAPSHOT/maven-metadata.xml
#20 170.3 Downloading from mks-nexus-snapshots: https://nexus.mekomsolutions.net/repository/maven-snapshots/org/bahmni/module/appointments/2.1.0-SNAPSHOT/maven-metadata.xml
#20 170.4 Progress (1): 481/606 B
Progress (1): 606 B
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/appointments/2.1.0-SNAPSHOT/maven-metadata.xml (606 B at 3.3 kB/s)
#20 170.4 Downloading from sonatype-nexus-snapshots: https://central.sonatype.com/repository/maven-snapshots/org/bahmni/module/appointments/2.1.0-SNAPSHOT/maven-metadata.xml
#20 170.6 Progress (1): 606 B
Downloaded from sonatype-nexus-snapshots: https://central.sonatype.com/repository/maven-snapshots/org/bahmni/module/appointments/2.1.0-SNAPSHOT/maven-metadata.xml (606 B at 1.6 kB/s)
#20 171.0 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/appointments/2.1.0-SNAPSHOT/appointments-2.1.0-20251126.093532-8.pom
#20 171.2 Progress (1): 0.4/10 kB
Progress (1): 1.8/10 kB
Progress (1): 3.2/10 kB
Progress (1): 4.6/10 kB
Progress (1): 6.0/10 kB
Progress (1): 7.4/10 kB
Progress (1): 8.8/10 kB
Progress (1): 10/10 kB
Progress (1): 10 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/appointments/2.1.0-SNAPSHOT/appointments-2.1.0-20251126.093532-8.pom (10 kB at 40 kB/s)
#20 171.3 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/appointments-api/2.1.0-SNAPSHOT/maven-metadata.xml
#20 171.3 Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/bahmni/module/appointments-api/2.1.0-SNAPSHOT/maven-metadata.xml
#20 171.3 Downloading from mks-nexus-public: https://nexus.mekomsolutions.net/repository/maven-public/org/bahmni/module/appointments-api/2.1.0-SNAPSHOT/maven-metadata.xml
#20 171.3 Downloading from mks-nexus-snapshots: https://nexus.mekomsolutions.net/repository/maven-snapshots/org/bahmni/module/appointments-api/2.1.0-SNAPSHOT/maven-metadata.xml
#20 171.5 Progress (1): 481/995 B
Progress (1): 995 B
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/appointments-api/2.1.0-SNAPSHOT/maven-metadata.xml (995 B at 6.4 kB/s)
#20 171.5 Downloading from sonatype-nexus-snapshots: https://central.sonatype.com/repository/maven-snapshots/org/bahmni/module/appointments-api/2.1.0-SNAPSHOT/maven-metadata.xml
#20 171.6 Progress (1): 995 B
Downloaded from sonatype-nexus-snapshots: https://central.sonatype.com/repository/maven-snapshots/org/bahmni/module/appointments-api/2.1.0-SNAPSHOT/maven-metadata.xml (995 B at 1.8 kB/s)
#20 172.6 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/appointments-api/2.1.0-SNAPSHOT/appointments-api-2.1.0-20251126.093532-8.pom
#20 CANCELED
------
> [linux/amd64 dev 5/11] RUN --mount=type=secret,id=m2settings,target=/usr/share/maven/ref/settings-docker.xml if [[ "deploy -Pno-demo" != "deploy" || "$(arch)" = "x86_64" ]]; then mvn -s /usr/share/maven/ref/settings-docker.xml -U -P distro deploy -Pno-demo; else mvn -s /usr/share/maven/ref/settings-docker.xml -U -P distro install; fi:
172.8 [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:6.1.0-SNAPSHOT:build-distro (openmrs-sdk:build-distro) on project distro-emr-configuration: Execution openmrs-sdk:build-distro of goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:6.1.0-SNAPSHOT:build-distro failed: Index -1 out of bounds for length 1 -> [Help 1]
172.8 [ERROR]
172.8 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
172.8 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
172.8 [ERROR]
172.8 [ERROR] For more information about the errors and possible solutions, please read the following articles:
172.9 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
172.9 [ERROR]
172.9 [ERROR] After correcting the problems, you can resume the build with the command
172.9 [ERROR] mvn <args> -rf :distro-emr-configuration
------
Dockerfile:16
--------------------
14 | ARG CACHE_BUST
15 | # Build the distro, but only deploy from the amd64 build
16 | >>> RUN --mount=type=secret,id=m2settings,target=/usr/share/maven/ref/settings-docker.xml if [[ "$MVN_ARGS" != "deploy" || "$(arch)" = "x86_64" ]]; then mvn $MVN_ARGS_SETTINGS $MVN_ARGS; else mvn $MVN_ARGS_SETTINGS install; fi
17 |
18 | RUN cp /openmrs_distro/distro/target/sdk-distro/web/openmrs_core/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
Progress (1): 1.5 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/projectlombok/lombok/1.18.24/lombok-1.18.24.pom (1.5 kB at 12 kB/s)
#20 169.4 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/queue-omod/2.9.0/queue-omod-2.9.0.pom
#20 169.6 Progress (1): 0.4/5.3 kB
Progress (1): 1.8/5.3 kB
Progress (1): 3.2/5.3 kB
Progress (1): 4.6/5.3 kB
Progress (1): 5.3 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/queue-omod/2.9.0/queue-omod-2.9.0.pom (5.3 kB at 43 kB/s)
#20 169.6 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/queue/2.9.0/queue-2.9.0.pom
#20 169.7 Progress (1): 0.5/14 kB
Progress (1): 1.9/14 kB
Progress (1): 3.3/14 kB
Progress (1): 4.7/14 kB
Progress (1): 6.1/14 kB
Progress (1): 7.5/14 kB
Progress (1): 8.9/14 kB
Progress (1): 10/14 kB
Progress (1): 12/14 kB
Progress (1): 13/14 kB
Progress (1): 14 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/queue/2.9.0/queue-2.9.0.pom (14 kB at 62 kB/s)
#20 169.9 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/queue-api/2.9.0/queue-api-2.9.0.pom
#20 170.0 Progress (1): 0.4/2.2 kB
Progress (1): 1.8/2.2 kB
Progress (1): 2.2 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/queue-api/2.9.0/queue-api-2.9.0.pom (2.2 kB at 16 kB/s)
#20 170.0 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/appointments-omod/2.1.0-SNAPSHOT/appointments-omod-2.1.0-20250318.070530-1.pom
#20 170.2 Progress (1): 0.4/5.6 kB
Progress (1): 1.8/5.6 kB
Progress (1): 3.2/5.6 kB
Progress (1): 4.6/5.6 kB
Progress (1): 5.6 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/appointments-omod/2.1.0-SNAPSHOT/appointments-omod-2.1.0-20250318.070530-1.pom (5.6 kB at 38 kB/s)
#20 170.2 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/appointments/2.1.0-SNAPSHOT/maven-metadata.xml
#20 170.3 Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/bahmni/module/appointments/2.1.0-SNAPSHOT/maven-metadata.xml
#20 170.3 Downloading from mks-nexus-public: https://nexus.mekomsolutions.net/repository/maven-public/org/bahmni/module/appointments/2.1.0-SNAPSHOT/maven-metadata.xml
#20 170.3 Downloading from mks-nexus-snapshots: https://nexus.mekomsolutions.net/repository/maven-snapshots/org/bahmni/module/appointments/2.1.0-SNAPSHOT/maven-metadata.xml
#20 170.4 Progress (1): 481/606 B
Progress (1): 606 B
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/appointments/2.1.0-SNAPSHOT/maven-metadata.xml (606 B at 3.3 kB/s)
#20 170.4 Downloading from sonatype-nexus-snapshots: https://central.sonatype.com/repository/maven-snapshots/org/bahmni/module/appointments/2.1.0-SNAPSHOT/maven-metadata.xml
#20 170.6 Progress (1): 606 B
Downloaded from sonatype-nexus-snapshots: https://central.sonatype.com/repository/maven-snapshots/org/bahmni/module/appointments/2.1.0-SNAPSHOT/maven-metadata.xml (606 B at 1.6 kB/s)
#20 171.0 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/appointments/2.1.0-SNAPSHOT/appointments-2.1.0-20251126.093532-8.pom
#20 171.2 Progress (1): 0.4/10 kB
Progress (1): 1.8/10 kB
Progress (1): 3.2/10 kB
Progress (1): 4.6/10 kB
Progress (1): 6.0/10 kB
Progress (1): 7.4/10 kB
Progress (1): 8.8/10 kB
Progress (1): 10/10 kB
Progress (1): 10 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/appointments/2.1.0-SNAPSHOT/appointments-2.1.0-20251126.093532-8.pom (10 kB at 40 kB/s)
#20 171.3 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/appointments-api/2.1.0-SNAPSHOT/maven-metadata.xml
#20 171.3 Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/bahmni/module/appointments-api/2.1.0-SNAPSHOT/maven-metadata.xml
#20 171.3 Downloading from mks-nexus-public: https://nexus.mekomsolutions.net/repository/maven-public/org/bahmni/module/appointments-api/2.1.0-SNAPSHOT/maven-metadata.xml
#20 171.3 Downloading from mks-nexus-snapshots: https://nexus.mekomsolutions.net/repository/maven-snapshots/org/bahmni/module/appointments-api/2.1.0-SNAPSHOT/maven-metadata.xml
#20 171.5 Progress (1): 481/995 B
Progress (1): 995 B
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/appointments-api/2.1.0-SNAPSHOT/maven-metadata.xml (995 B at 6.4 kB/s)
#20 171.5 Downloading from sonatype-nexus-snapshots: https://central.sonatype.com/repository/maven-snapshots/org/bahmni/module/appointments-api/2.1.0-SNAPSHOT/maven-metadata.xml
#20 171.6 Progress (1): 995 B
Downloaded from sonatype-nexus-snapshots: https://central.sonatype.com/repository/maven-snapshots/org/bahmni/module/appointments-api/2.1.0-SNAPSHOT/maven-metadata.xml (995 B at 1.8 kB/s)
#20 172.6 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/appointments-api/2.1.0-SNAPSHOT/appointments-api-2.1.0-20251126.093532-8.pom
#20 CANCELED
------
> [linux/amd64 dev 5/11] RUN --mount=type=secret,id=m2settings,target=/usr/share/maven/ref/settings-docker.xml if [[ "deploy -Pno-demo" != "deploy" || "$(arch)" = "x86_64" ]]; then mvn -s /usr/share/maven/ref/settings-docker.xml -U -P distro deploy -Pno-demo; else mvn -s /usr/share/maven/ref/settings-docker.xml -U -P distro install; fi:
172.8 [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:6.1.0-SNAPSHOT:build-distro (openmrs-sdk:build-distro) on project distro-emr-configuration: Execution openmrs-sdk:build-distro of goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:6.1.0-SNAPSHOT:build-distro failed: Index -1 out of bounds for length 1 -> [Help 1]
172.8 [ERROR]
172.8 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
172.8 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
172.8 [ERROR]
172.8 [ERROR] For more information about the errors and possible solutions, please read the following articles:
172.9 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
172.9 [ERROR]
172.9 [ERROR] After correcting the problems, you can resume the build with the command
172.9 [ERROR] mvn <args> -rf :distro-emr-configuration
------
Dockerfile:16
--------------------
14 | ARG CACHE_BUST
15 | # Build the distro, but only deploy from the amd64 build
16 | >>> RUN --mount=type=secret,id=m2settings,target=/usr/share/maven/ref/settings-docker.xml if [[ "$MVN_ARGS" != "deploy" || "$(arch)" = "x86_64" ]]; then mvn $MVN_ARGS_SETTINGS $MVN_ARGS; else mvn $MVN_ARGS_SETTINGS install; fi
17 |
18 | RUN cp /openmrs_distro/distro/target/sdk-distro/web/openmrs_core/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