Builds the O3 backend
Build: #27 failed Manual run by Ian Bacher
Build result summary
Details
- Completed
- Queue duration
- 1 second
- Duration
- 18 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
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
The job generated some errors, drill down into the full build log for more details.
Progress (1): 105/262 kB
Progress (1): 109/262 kB
Progress (1): 113/262 kB
Progress (1): 117/262 kB
Progress (1): 121/262 kB
Progress (1): 124/262 kB
Progress (1): 128/262 kB
Progress (1): 132/262 kB
Progress (1): 136/262 kB
Progress (1): 140/262 kB
Progress (1): 143/262 kB
Progress (1): 147/262 kB
Progress (1): 151/262 kB
Progress (1): 155/262 kB
Progress (1): 158/262 kB
Progress (1): 162/262 kB
Progress (1): 166/262 kB
Progress (1): 170/262 kB
Progress (1): 174/262 kB
Progress (1): 179/262 kB
Progress (1): 183/262 kB
Progress (1): 187/262 kB
Progress (1): 191/262 kB
Progress (1): 195/262 kB
Progress (1): 197/262 kB
Progress (1): 201/262 kB
Progress (1): 206/262 kB
Progress (1): 210/262 kB
Progress (1): 214/262 kB
Progress (1): 218/262 kB
Progress (1): 222/262 kB
Progress (1): 226/262 kB
Progress (1): 230/262 kB
Progress (1): 234/262 kB
Progress (1): 238/262 kB
Progress (1): 242/262 kB
Progress (1): 246/262 kB
Progress (1): 251/262 kB
Progress (1): 255/262 kB
Progress (1): 259/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 475 kB/s)
#17 10.22 Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro/referenceapplication/3.0.0-SNAPSHOT/maven-metadata.xml
#17 10.36 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)
#17 10.51 Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro/referenceapplication/3.0.0-SNAPSHOT/referenceapplication-3.0.0-20240322.131821-1364.pom
#17 10.52 Progress (1): 4.1/7.2 kB
Progress (1): 7.2 kB
[INFO] ------------------------------------------------------------------------
#17 11.05 [INFO] Reactor Summary for Package and Run OpenMRS 3.0.0-SNAPSHOT:
#17 11.05 [INFO]
#17 11.05 [INFO] Package and Run OpenMRS ............................ FAILURE [ 8.768 s]
#17 11.05 [INFO] OpenMRS distro ..................................... SKIPPED
#17 11.05 [INFO] ------------------------------------------------------------------------
#17 11.05 [INFO] BUILD FAILURE
#17 11.05 [INFO] ------------------------------------------------------------------------
#17 11.05 [INFO] Total time: 8.959 s
#17 11.05 [INFO] Finished at: 2024-03-22T13:18:30Z
#17 11.05 [INFO] ------------------------------------------------------------------------
#17 11.05 [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.131821-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.131821-1364.pom, status: 401 Unauthorized -> [Help 1]
#17 11.05 [ERROR]
#17 11.06 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#17 11.06 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#17 11.06 [ERROR]
#17 11.06 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#17 11.06 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
#17 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
#10 [linux/arm64 dev 1/10] FROM docker.io/openmrs/openmrs-core:dev@sha256:0e2045c90b1cdf440f912577bf2a7efa8357b994793abf0330dfea9830488160
#10 extracting sha256:4762b9e4ed732dd2ccf2ba3e0fd0d8afac7eb26fc7be7c7b08440b3477707630 7.7s done
#10 extracting sha256:6fdb1b6bbb008937a8d14368b3d24a2ce896e33fd0db867cb770af75d4b0c4d3 2.3s done
#10 DONE 15.9s
#18 [linux/arm64 dev 2/10] WORKDIR /openmrs_distro
#18 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:
#17 11.05 [INFO] Total time: 8.959 s
#17 11.05 [INFO] Finished at: 2024-03-22T13:18:30Z
#17 11.05 [INFO] ------------------------------------------------------------------------
#17 11.05 [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.131821-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.131821-1364.pom, status: 401 Unauthorized -> [Help 1]
#17 11.05 [ERROR]
#17 11.06 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#17 11.06 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#17 11.06 [ERROR]
#17 11.06 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#17 11.06 [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): 109/262 kB
Progress (1): 113/262 kB
Progress (1): 117/262 kB
Progress (1): 121/262 kB
Progress (1): 124/262 kB
Progress (1): 128/262 kB
Progress (1): 132/262 kB
Progress (1): 136/262 kB
Progress (1): 140/262 kB
Progress (1): 143/262 kB
Progress (1): 147/262 kB
Progress (1): 151/262 kB
Progress (1): 155/262 kB
Progress (1): 158/262 kB
Progress (1): 162/262 kB
Progress (1): 166/262 kB
Progress (1): 170/262 kB
Progress (1): 174/262 kB
Progress (1): 179/262 kB
Progress (1): 183/262 kB
Progress (1): 187/262 kB
Progress (1): 191/262 kB
Progress (1): 195/262 kB
Progress (1): 197/262 kB
Progress (1): 201/262 kB
Progress (1): 206/262 kB
Progress (1): 210/262 kB
Progress (1): 214/262 kB
Progress (1): 218/262 kB
Progress (1): 222/262 kB
Progress (1): 226/262 kB
Progress (1): 230/262 kB
Progress (1): 234/262 kB
Progress (1): 238/262 kB
Progress (1): 242/262 kB
Progress (1): 246/262 kB
Progress (1): 251/262 kB
Progress (1): 255/262 kB
Progress (1): 259/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 475 kB/s)
#17 10.22 Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro/referenceapplication/3.0.0-SNAPSHOT/maven-metadata.xml
#17 10.36 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)
#17 10.51 Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro/referenceapplication/3.0.0-SNAPSHOT/referenceapplication-3.0.0-20240322.131821-1364.pom
#17 10.52 Progress (1): 4.1/7.2 kB
Progress (1): 7.2 kB
[INFO] ------------------------------------------------------------------------
#17 11.05 [INFO] Reactor Summary for Package and Run OpenMRS 3.0.0-SNAPSHOT:
#17 11.05 [INFO]
#17 11.05 [INFO] Package and Run OpenMRS ............................ FAILURE [ 8.768 s]
#17 11.05 [INFO] OpenMRS distro ..................................... SKIPPED
#17 11.05 [INFO] ------------------------------------------------------------------------
#17 11.05 [INFO] BUILD FAILURE
#17 11.05 [INFO] ------------------------------------------------------------------------
#17 11.05 [INFO] Total time: 8.959 s
#17 11.05 [INFO] Finished at: 2024-03-22T13:18:30Z
#17 11.05 [INFO] ------------------------------------------------------------------------
#17 11.05 [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.131821-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.131821-1364.pom, status: 401 Unauthorized -> [Help 1]
#17 11.05 [ERROR]
#17 11.06 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#17 11.06 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#17 11.06 [ERROR]
#17 11.06 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#17 11.06 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
#17 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
#10 [linux/arm64 dev 1/10] FROM docker.io/openmrs/openmrs-core:dev@sha256:0e2045c90b1cdf440f912577bf2a7efa8357b994793abf0330dfea9830488160
#10 extracting sha256:4762b9e4ed732dd2ccf2ba3e0fd0d8afac7eb26fc7be7c7b08440b3477707630 7.7s done
#10 extracting sha256:6fdb1b6bbb008937a8d14368b3d24a2ce896e33fd0db867cb770af75d4b0c4d3 2.3s done
#10 DONE 15.9s
#18 [linux/arm64 dev 2/10] WORKDIR /openmrs_distro
#18 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:
#17 11.05 [INFO] Total time: 8.959 s
#17 11.05 [INFO] Finished at: 2024-03-22T13:18:30Z
#17 11.05 [INFO] ------------------------------------------------------------------------
#17 11.05 [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.131821-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.131821-1364.pom, status: 401 Unauthorized -> [Help 1]
#17 11.05 [ERROR]
#17 11.06 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#17 11.06 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#17 11.06 [ERROR]
#17 11.06 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#17 11.06 [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