Builds the O3 backend
Build: #248 failed Manual run by Rafal Korytkowski
Build result summary
Details
- Completed
- Queue duration
- 1 second
- Duration
- 9 minutes
- Labels
- None
- Revision
-
b60dce9fb47506c391d92e3bf0fac812a3a02819
- Failing since
- #247 (Manual run by Rafal Korytkowski – )
- Fixed in
- #249 (Manual run by Rafal Korytkowski)
Responsible
This build has been failing since #247
No one has taken responsibility
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.
#23 153.2 Progress (1): 0.5/2.2 kB
Progress (1): 1.9/2.2 kB
Progress (1): 2.2 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/avalon/framework/avalon-framework-api/4.3.1/avalon-framework-api-4.3.1.pom (2.2 kB at 2.4 kB/s)
#23 153.9 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/net/sf/barcode4j/barcode4j/2.1/barcode4j-2.1.pom
#23 154.0 Progress (1): 0.5/2.1 kB
Progress (1): 1.9/2.1 kB
Progress (1): 2.1 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/net/sf/barcode4j/barcode4j/2.1/barcode4j-2.1.pom (2.1 kB at 13 kB/s)
#23 154.1 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/avalon-framework/avalon-framework-impl/4.2.0/avalon-framework-impl-4.2.0.pom
#23 154.2 Progress (1): 171 B
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/avalon-framework/avalon-framework-impl/4.2.0/avalon-framework-impl-4.2.0.pom (171 B at 1.2 kB/s)
#23 154.3 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/commons-cli/commons-cli/1.0/commons-cli-1.0.pom
#23 154.4 Progress (1): 0.5/2.1 kB
Progress (1): 1.9/2.1 kB
Progress (1): 2.1 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/commons-cli/commons-cli/1.0/commons-cli-1.0.pom (2.1 kB at 17 kB/s)
#23 154.4 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/commons-logging/commons-logging/1.0/commons-logging-1.0.pom
#23 154.6 Progress (1): 163 B
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/commons-logging/commons-logging/1.0/commons-logging-1.0.pom (163 B at 1.3 kB/s)
#23 154.6 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/ant/ant/1.7.1/ant-1.7.1.pom
#23 154.8 Progress (1): 0.5/9.8 kB
Progress (1): 1.9/9.8 kB
Progress (1): 3.3/9.8 kB
Progress (1): 4.7/9.8 kB
Progress (1): 6.1/9.8 kB
Progress (1): 7.5/9.8 kB
Progress (1): 8.9/9.8 kB
Progress (1): 9.8 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/ant/ant/1.7.1/ant-1.7.1.pom (9.8 kB at 53 kB/s)
#23 154.9 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/ant/ant-parent/1.7.1/ant-parent-1.7.1.pom
#23 155.0 Progress (1): 0.5/4.4 kB
Progress (1): 1.9/4.4 kB
Progress (1): 3.3/4.4 kB
Progress (1): 4.4 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/ant/ant-parent/1.7.1/ant-parent-1.7.1.pom (4.4 kB at 28 kB/s)
#23 155.1 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.pom
#23 155.2 Progress (1): 0.5/2.4 kB
Progress (1): 1.9/2.4 kB
Progress (1): 2.4 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.pom (2.4 kB at 16 kB/s)
#23 155.3 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/net/sf/barcode4j/barcode4j-fop-ext/2.1/barcode4j-fop-ext-2.1.pom
#23 155.5 Progress (1): 0.5/1.7 kB
Progress (1): 1.7 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/net/sf/barcode4j/barcode4j-fop-ext/2.1/barcode4j-fop-ext-2.1.pom (1.7 kB at 10 kB/s)
#23 155.6 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/commons-lang/commons-lang/1.0/commons-lang-1.0.pom
#23 155.7 Progress (1): 0.5/2.5 kB
Progress (1): 1.9/2.5 kB
Progress (1): 2.5 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/commons-lang/commons-lang/1.0/commons-lang-1.0.pom (2.5 kB at 16 kB/s)
#23 155.8 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/junit/junit/3.7/junit-3.7.pom
#23 155.9 Progress (1): 509/745 B
Progress (1): 745 B
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/junit/junit/3.7/junit-3.7.pom (745 B at 4.9 kB/s)
#23 156.1 Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/module/metadatamapping-omod/2.0.0-SNAPSHOT/maven-metadata.xml
#23 156.1 Downloading from mks-nexus-snapshots: https://nexus.mekomsolutions.net/repository/maven-snapshots/org/openmrs/module/metadatamapping-omod/2.0.0-SNAPSHOT/maven-metadata.xml
#23 156.1 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/metadatamapping-omod/2.0.0-SNAPSHOT/maven-metadata.xml
#23 156.2 Downloading from mks-nexus-public: https://nexus.mekomsolutions.net/repository/maven-public/org/openmrs/module/metadatamapping-omod/2.0.0-SNAPSHOT/maven-metadata.xml
#23 156.3 Progress (1): 0.5/1.2 kB
Progress (1): 1.2 kB
Progress (2): 1.2 kB | 0.5/1.2 kB
Progress (2): 1.2 kB | 1.2 kB
Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/module/metadatamapping-omod/2.0.0-SNAPSHOT/maven-metadata.xml (1.2 kB at 5.8 kB/s)
#23 156.3 Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/metadatamapping-omod/2.0.0-SNAPSHOT/maven-metadata.xml (1.2 kB at 7.1 kB/s)
#23 156.3 Downloading from sonatype-nexus-snapshots: https://central.sonatype.com/repository/maven-snapshots/org/openmrs/module/metadatamapping-omod/2.0.0-SNAPSHOT/maven-metadata.xml
#23 CANCELED
------
> [linux/amd64 dev 5/11] RUN --mount=type=secret,id=m2settings,target=/usr/share/maven/ref/settings-docker.xml if [[ "install -Pno-demo" != "deploy" || "$(arch)" = "x86_64" ]]; then mvn -s /usr/share/maven/ref/settings-docker.xml -U -P distro install -Pno-demo; else mvn -s /usr/share/maven/ref/settings-docker.xml -U -P distro install; fi:
167.0 [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]
167.0 [ERROR]
167.0 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
167.0 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
167.0 [ERROR]
167.0 [ERROR] For more information about the errors and possible solutions, please read the following articles:
167.0 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
167.0 [ERROR]
167.0 [ERROR] After correcting the problems, you can resume the build with the command
167.0 [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.9/2.2 kB
Progress (1): 2.2 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/avalon/framework/avalon-framework-api/4.3.1/avalon-framework-api-4.3.1.pom (2.2 kB at 2.4 kB/s)
#23 153.9 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/net/sf/barcode4j/barcode4j/2.1/barcode4j-2.1.pom
#23 154.0 Progress (1): 0.5/2.1 kB
Progress (1): 1.9/2.1 kB
Progress (1): 2.1 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/net/sf/barcode4j/barcode4j/2.1/barcode4j-2.1.pom (2.1 kB at 13 kB/s)
#23 154.1 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/avalon-framework/avalon-framework-impl/4.2.0/avalon-framework-impl-4.2.0.pom
#23 154.2 Progress (1): 171 B
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/avalon-framework/avalon-framework-impl/4.2.0/avalon-framework-impl-4.2.0.pom (171 B at 1.2 kB/s)
#23 154.3 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/commons-cli/commons-cli/1.0/commons-cli-1.0.pom
#23 154.4 Progress (1): 0.5/2.1 kB
Progress (1): 1.9/2.1 kB
Progress (1): 2.1 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/commons-cli/commons-cli/1.0/commons-cli-1.0.pom (2.1 kB at 17 kB/s)
#23 154.4 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/commons-logging/commons-logging/1.0/commons-logging-1.0.pom
#23 154.6 Progress (1): 163 B
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/commons-logging/commons-logging/1.0/commons-logging-1.0.pom (163 B at 1.3 kB/s)
#23 154.6 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/ant/ant/1.7.1/ant-1.7.1.pom
#23 154.8 Progress (1): 0.5/9.8 kB
Progress (1): 1.9/9.8 kB
Progress (1): 3.3/9.8 kB
Progress (1): 4.7/9.8 kB
Progress (1): 6.1/9.8 kB
Progress (1): 7.5/9.8 kB
Progress (1): 8.9/9.8 kB
Progress (1): 9.8 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/ant/ant/1.7.1/ant-1.7.1.pom (9.8 kB at 53 kB/s)
#23 154.9 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/ant/ant-parent/1.7.1/ant-parent-1.7.1.pom
#23 155.0 Progress (1): 0.5/4.4 kB
Progress (1): 1.9/4.4 kB
Progress (1): 3.3/4.4 kB
Progress (1): 4.4 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/ant/ant-parent/1.7.1/ant-parent-1.7.1.pom (4.4 kB at 28 kB/s)
#23 155.1 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.pom
#23 155.2 Progress (1): 0.5/2.4 kB
Progress (1): 1.9/2.4 kB
Progress (1): 2.4 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.pom (2.4 kB at 16 kB/s)
#23 155.3 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/net/sf/barcode4j/barcode4j-fop-ext/2.1/barcode4j-fop-ext-2.1.pom
#23 155.5 Progress (1): 0.5/1.7 kB
Progress (1): 1.7 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/net/sf/barcode4j/barcode4j-fop-ext/2.1/barcode4j-fop-ext-2.1.pom (1.7 kB at 10 kB/s)
#23 155.6 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/commons-lang/commons-lang/1.0/commons-lang-1.0.pom
#23 155.7 Progress (1): 0.5/2.5 kB
Progress (1): 1.9/2.5 kB
Progress (1): 2.5 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/commons-lang/commons-lang/1.0/commons-lang-1.0.pom (2.5 kB at 16 kB/s)
#23 155.8 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/junit/junit/3.7/junit-3.7.pom
#23 155.9 Progress (1): 509/745 B
Progress (1): 745 B
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/junit/junit/3.7/junit-3.7.pom (745 B at 4.9 kB/s)
#23 156.1 Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/module/metadatamapping-omod/2.0.0-SNAPSHOT/maven-metadata.xml
#23 156.1 Downloading from mks-nexus-snapshots: https://nexus.mekomsolutions.net/repository/maven-snapshots/org/openmrs/module/metadatamapping-omod/2.0.0-SNAPSHOT/maven-metadata.xml
#23 156.1 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/metadatamapping-omod/2.0.0-SNAPSHOT/maven-metadata.xml
#23 156.2 Downloading from mks-nexus-public: https://nexus.mekomsolutions.net/repository/maven-public/org/openmrs/module/metadatamapping-omod/2.0.0-SNAPSHOT/maven-metadata.xml
#23 156.3 Progress (1): 0.5/1.2 kB
Progress (1): 1.2 kB
Progress (2): 1.2 kB | 0.5/1.2 kB
Progress (2): 1.2 kB | 1.2 kB
Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/module/metadatamapping-omod/2.0.0-SNAPSHOT/maven-metadata.xml (1.2 kB at 5.8 kB/s)
#23 156.3 Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/openmrs/module/metadatamapping-omod/2.0.0-SNAPSHOT/maven-metadata.xml (1.2 kB at 7.1 kB/s)
#23 156.3 Downloading from sonatype-nexus-snapshots: https://central.sonatype.com/repository/maven-snapshots/org/openmrs/module/metadatamapping-omod/2.0.0-SNAPSHOT/maven-metadata.xml
#23 CANCELED
------
> [linux/amd64 dev 5/11] RUN --mount=type=secret,id=m2settings,target=/usr/share/maven/ref/settings-docker.xml if [[ "install -Pno-demo" != "deploy" || "$(arch)" = "x86_64" ]]; then mvn -s /usr/share/maven/ref/settings-docker.xml -U -P distro install -Pno-demo; else mvn -s /usr/share/maven/ref/settings-docker.xml -U -P distro install; fi:
167.0 [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]
167.0 [ERROR]
167.0 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
167.0 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
167.0 [ERROR]
167.0 [ERROR] For more information about the errors and possible solutions, please read the following articles:
167.0 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
167.0 [ERROR]
167.0 [ERROR] After correcting the problems, you can resume the build with the command
167.0 [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