Plan responsible for building Docker images for the 3.x demo and development sites

Build: #310 failed Manual run by Ian Bacher

Stages & jobs

  1. Build

  2. Test

  3. Deploy

Build result summary

Details

Completed
Queue duration
1 second
Duration
26 seconds
Labels
None
Revisions
Distribution 3.x
78d6e5946f8b14ed3203d7ccf37d9db4ec3fadd3 78d6e5946f8b14ed3203d7ccf37d9db4ec3fadd3
Release scripts
39269cb8f38c786e7c5c4df804871bc2073177ad 39269cb8f38c786e7c5c4df804871bc2073177ad
Fixed in
#312 (Rebuilt by Ian Bacher)
No failed test found. A possible compilation error occurred.

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.

Some of the jobs or stages referenced by this result no longer exist.

Restarting failed/incomplete builds only is not possible as some of the affected jobs no longer exist.

Error summary for Build Backend

The job generated some errors, drill down into the full build log for more details.

#13 extracting sha256:1c80e616d229241dc49ff791d6d5fb5d1b2878d270a5257b5e20afb41782434a 0.0s done
#13 DONE 12.6s

#13 [linux/amd64 dev 1/5] FROM docker.io/openmrs/openmrs-core:dev@sha256:085e79db6e80fd12a98671e8953a5197d7f28b7e29016f9ecfc582b7dc3ceb15
#13 extracting sha256:10550bcaf143f9f1f2ebbba7059871481809122be12bdaff5db1c7cf2e827165
#13 extracting sha256:10550bcaf143f9f1f2ebbba7059871481809122be12bdaff5db1c7cf2e827165 0.8s done
#13 extracting sha256:712cea7a211998f2691bd1e6241aaac43d00c6effef7ece3837e6f32ee1c4130
#13 extracting sha256:712cea7a211998f2691bd1e6241aaac43d00c6effef7ece3837e6f32ee1c4130 0.3s done
#13 extracting sha256:521cd5c467688bd28d6a9441a1a5925608a0fe13aa557c5ed9f6263fd1814816
#13 extracting sha256:521cd5c467688bd28d6a9441a1a5925608a0fe13aa557c5ed9f6263fd1814816 0.1s done
#13 extracting sha256:013201dcee820ab79c9e52063f9963328e6f9e9b7b86f0e9abc5aca3acde4833 0.1s done
#13 extracting sha256:c80740d1f4f4346b168ac8145eea0028519b10cf4b73d6d6af0d623a6f3966cc
#13 extracting sha256:c80740d1f4f4346b168ac8145eea0028519b10cf4b73d6d6af0d623a6f3966cc 0.1s done
#13 extracting sha256:6c4de5ec15853aaf883d8ed3f391a9da4eeb0498c535a0c179805ab4b359a3ee
#13 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 0.0s done
#13 extracting sha256:6c4de5ec15853aaf883d8ed3f391a9da4eeb0498c535a0c179805ab4b359a3ee 1.6s done
#13 DONE 15.7s

#14 [linux/amd64 dev 2/5] WORKDIR /app
#14 DONE 0.4s

#15 [linux/amd64 dev 3/5] COPY pom.xml ./
#15 DONE 0.1s

#16 [linux/amd64 dev 4/5] COPY distro ./distro/
#16 DONE 0.2s

#17 [linux/amd64 dev 5/5] RUN --mount=type=secret,id=m2settings,target=/root/.m2/settings.xml mvn -s /usr/share/maven/ref/settings-docker.xml -U deploy
#17 2.090 [INFO] Scanning for projects...
#17 2.145 [WARNING]
#17 2.146 [WARNING] Some problems were encountered while building the effective model for org.openmrs.distro:referenceapplication-distro:pom:3.0.0-SNAPSHOT
#17 2.146 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-resources-plugin is missing. @ line 193, column 15
#17 2.146 [WARNING]
#17 2.147 [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
#17 2.147 [WARNING]
#17 2.148 [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
#17 2.148 [WARNING]
#17 2.152 [INFO] ------------------------------------------------------------------------
#17 2.153 [INFO] Reactor Build Order:
#17 2.154 [INFO]
#17 2.155 [INFO] Package and Run OpenMRS                                            [pom]
#17 2.156 [INFO] OpenMRS distro                                                     [pom]
#17 2.161 [INFO]
#17 2.162 [INFO] --------------< org.openmrs.distro:referenceapplication >---------------
#17 2.162 [INFO] Building Package and Run OpenMRS 3.0.0-SNAPSHOT                    [1/2]
#17 2.162 [INFO] --------------------------------[ pom ]---------------------------------
#17 2.230 [INFO]
#17 2.233 [INFO] --- maven-install-plugin:2.4:install (default-install) @ referenceapplication ---
#17 2.398 [INFO] Installing /app/pom.xml to /usr/share/maven/ref/repository/org/openmrs/distro/referenceapplication/3.0.0-SNAPSHOT/referenceapplication-3.0.0-SNAPSHOT.pom
#17 2.423 [INFO]
#17 2.424 [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ referenceapplication ---
#17 2.819 Downloading from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro/referenceapplication/3.0.0-SNAPSHOT/maven-metadata.xml
#17 3.608 Progress (1): 615 B
                   
Downloaded from openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro/referenceapplication/3.0.0-SNAPSHOT/maven-metadata.xml (615 B at 678 B/s)
#17 3.727 Uploading to openmrs-repo-snapshots: https://mavenrepo.openmrs.org/snapshots/org/openmrs/distro/referenceapplication/3.0.0-SNAPSHOT/referenceapplication-3.0.0-20221012.122441-2.pom
#17 3.733 Progress (1): 4.1/6.1 kB
Progress (1): 6.1 kB   
                   
[INFO] ------------------------------------------------------------------------
#17 4.242 [INFO] Reactor Summary for Package and Run OpenMRS 3.0.0-SNAPSHOT:
#17 4.242 [INFO]
#17 4.243 [INFO] Package and Run OpenMRS ............................ FAILURE [  2.080 s]
#17 4.244 [INFO] OpenMRS distro ..................................... SKIPPED
#17 4.244 [INFO] ------------------------------------------------------------------------
#17 4.245 [INFO] BUILD FAILURE
#17 4.245 [INFO] ------------------------------------------------------------------------
#17 4.246 [INFO] Total time:  2.181 s
#17 4.247 [INFO] Finished at: 2022-10-12T12:24:43Z
#17 4.247 [INFO] ------------------------------------------------------------------------
#17 4.253 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project referenceapplication: Failed to deploy artifacts: Could not transfer artifact org.openmrs.distro:referenceapplication:pom:3.0.0-20221012.122441-2 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-20221012.122441-2.pom, status: 401 Unauthorized -> [Help 1]
#17 4.253 [ERROR]
#17 4.254 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#17 4.255 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#17 4.255 [ERROR]
#17 4.255 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#17 4.256 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
#17 ERROR: process "/bin/sh -c mvn $MVN_ARGS_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1
------
> [linux/amd64 dev 5/5] RUN --mount=type=secret,id=m2settings,target=/root/.m2/settings.xml mvn -s /usr/share/maven/ref/settings-docker.xml -U deploy:
#17 4.246 [INFO] Total time:  2.181 s
#17 4.247 [INFO] Finished at: 2022-10-12T12:24:43Z
#17 4.247 [INFO] ------------------------------------------------------------------------
#17 4.253 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project referenceapplication: Failed to deploy artifacts: Could not transfer artifact org.openmrs.distro:referenceapplication:pom:3.0.0-20221012.122441-2 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-20221012.122441-2.pom, status: 401 Unauthorized -> [Help 1]
#17 4.253 [ERROR]
#17 4.254 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#17 4.255 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#17 4.255 [ERROR]
#17 4.255 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#17 4.256 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
------
Dockerfile:15
--------------------
  13 |     
  14 |     # Build the distro
  15 | >>> RUN --mount=type=secret,id=m2settings,target=/root/.m2/settings.xml mvn $MVN_ARGS_SETTINGS $MVN_ARGS
  16 |     
  17 |     ### Run Stage
--------------------
error: failed to solve: process "/bin/sh -c mvn $MVN_ARGS_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1