Builds the O3 backend
Build: #26 failed Changes by Ian Bacher
Build result summary
Details
- Completed
- Queue duration
- < 1 second
- Duration
- 39 seconds
- Labels
- None
- Agent
- yu.openmrs.org
- Revision
-
f197a02d09bcff70ca70ddebfff5c68fbe9668f2
f197a02d09bcff70ca70ddebfff5c68fbe9668f2 - Failing since
- #21 (Changes by Ian Bacher – )
- Fixed in
- #28 (Changes by Ian Bacher)
Responsible
- Ian Bacher Automatically assigned
Code commits
Author | Commit | Commit date | |
---|---|---|---|
Ian Bacher |
f197a02d09bcff70ca70ddebfff5c68fbe9668f2
|
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): 89/262 kB
Progress (1): 94/262 kB
Progress (1): 98/262 kB
Progress (1): 102/262 kB
Progress (1): 106/262 kB
Progress (1): 110/262 kB
Progress (1): 112/262 kB
Progress (1): 116/262 kB
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): 147/262 kB
Progress (1): 151/262 kB
Progress (1): 155/262 kB
Progress (1): 159/262 kB
Progress (1): 163/262 kB
Progress (1): 167/262 kB
Progress (1): 171/262 kB
Progress (1): 175/262 kB
Progress (1): 180/262 kB
Progress (1): 182/262 kB
Progress (1): 186/262 kB
Progress (1): 188/262 kB
Progress (1): 192/262 kB
Progress (1): 197/262 kB
Progress (1): 201/262 kB
Progress (1): 205/262 kB
Progress (1): 209/262 kB
Progress (1): 213/262 kB
Progress (1): 217/262 kB
Progress (1): 221/262 kB
Progress (1): 224/262 kB
Progress (1): 228/262 kB
Progress (1): 232/262 kB
Progress (1): 236/262 kB
Progress (1): 240/262 kB
Progress (1): 244/262 kB
Progress (1): 248/262 kB
Progress (1): 251/262 kB
Progress (1): 255/262 kB
Progress (1): 260/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 461 kB/s)
#19 13.72 Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro/referenceapplication/3.0.0-SNAPSHOT/maven-metadata.xml
#19 13.86 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.3 kB/s)
#19 14.00 Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro/referenceapplication/3.0.0-SNAPSHOT/referenceapplication-3.0.0-20240322.131658-1364.pom
#19 14.01 Progress (1): 4.1/7.2 kB
Progress (1): 7.2 kB
[INFO] ------------------------------------------------------------------------
#19 14.56 [INFO] Reactor Summary for Package and Run OpenMRS 3.0.0-SNAPSHOT:
#19 14.56 [INFO]
#19 14.56 [INFO] Package and Run OpenMRS ............................ FAILURE [ 10.177 s]
#19 14.56 [INFO] OpenMRS distro ..................................... SKIPPED
#19 14.56 [INFO] ------------------------------------------------------------------------
#19 14.56 [INFO] BUILD FAILURE
#19 14.56 [INFO] ------------------------------------------------------------------------
#19 14.56 [INFO] Total time: 10.618 s
#19 14.56 [INFO] Finished at: 2024-03-22T13:17:09Z
#19 14.56 [INFO] ------------------------------------------------------------------------
#19 14.56 [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-20240322.131658-1364 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-20240322.131658-1364.pom, status: 401 Unauthorized -> [Help 1]
#19 14.56 [ERROR]
#19 14.56 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#19 14.56 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#19 14.56 [ERROR]
#19 14.56 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#19 14.56 [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 14.56 [INFO] Total time: 10.618 s
#19 14.56 [INFO] Finished at: 2024-03-22T13:17:09Z
#19 14.56 [INFO] ------------------------------------------------------------------------
#19 14.56 [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-20240322.131658-1364 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-20240322.131658-1364.pom, status: 401 Unauthorized -> [Help 1]
#19 14.56 [ERROR]
#19 14.56 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#19 14.56 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#19 14.56 [ERROR]
#19 14.56 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#19 14.56 [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
Progress (1): 94/262 kB
Progress (1): 98/262 kB
Progress (1): 102/262 kB
Progress (1): 106/262 kB
Progress (1): 110/262 kB
Progress (1): 112/262 kB
Progress (1): 116/262 kB
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): 147/262 kB
Progress (1): 151/262 kB
Progress (1): 155/262 kB
Progress (1): 159/262 kB
Progress (1): 163/262 kB
Progress (1): 167/262 kB
Progress (1): 171/262 kB
Progress (1): 175/262 kB
Progress (1): 180/262 kB
Progress (1): 182/262 kB
Progress (1): 186/262 kB
Progress (1): 188/262 kB
Progress (1): 192/262 kB
Progress (1): 197/262 kB
Progress (1): 201/262 kB
Progress (1): 205/262 kB
Progress (1): 209/262 kB
Progress (1): 213/262 kB
Progress (1): 217/262 kB
Progress (1): 221/262 kB
Progress (1): 224/262 kB
Progress (1): 228/262 kB
Progress (1): 232/262 kB
Progress (1): 236/262 kB
Progress (1): 240/262 kB
Progress (1): 244/262 kB
Progress (1): 248/262 kB
Progress (1): 251/262 kB
Progress (1): 255/262 kB
Progress (1): 260/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 461 kB/s)
#19 13.72 Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro/referenceapplication/3.0.0-SNAPSHOT/maven-metadata.xml
#19 13.86 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.3 kB/s)
#19 14.00 Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro/referenceapplication/3.0.0-SNAPSHOT/referenceapplication-3.0.0-20240322.131658-1364.pom
#19 14.01 Progress (1): 4.1/7.2 kB
Progress (1): 7.2 kB
[INFO] ------------------------------------------------------------------------
#19 14.56 [INFO] Reactor Summary for Package and Run OpenMRS 3.0.0-SNAPSHOT:
#19 14.56 [INFO]
#19 14.56 [INFO] Package and Run OpenMRS ............................ FAILURE [ 10.177 s]
#19 14.56 [INFO] OpenMRS distro ..................................... SKIPPED
#19 14.56 [INFO] ------------------------------------------------------------------------
#19 14.56 [INFO] BUILD FAILURE
#19 14.56 [INFO] ------------------------------------------------------------------------
#19 14.56 [INFO] Total time: 10.618 s
#19 14.56 [INFO] Finished at: 2024-03-22T13:17:09Z
#19 14.56 [INFO] ------------------------------------------------------------------------
#19 14.56 [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-20240322.131658-1364 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-20240322.131658-1364.pom, status: 401 Unauthorized -> [Help 1]
#19 14.56 [ERROR]
#19 14.56 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#19 14.56 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#19 14.56 [ERROR]
#19 14.56 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#19 14.56 [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 14.56 [INFO] Total time: 10.618 s
#19 14.56 [INFO] Finished at: 2024-03-22T13:17:09Z
#19 14.56 [INFO] ------------------------------------------------------------------------
#19 14.56 [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-20240322.131658-1364 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-20240322.131658-1364.pom, status: 401 Unauthorized -> [Help 1]
#19 14.56 [ERROR]
#19 14.56 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#19 14.56 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#19 14.56 [ERROR]
#19 14.56 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#19 14.56 [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