Deploys Reference Application SNAPSHOT to maven

Build: #14283 failed

Job: Build and push failed

Stages & jobs

  1. Build and push

  2. Deploy to qa-refapp

  3. Release

    Requires a user to start manually
  4. Set variables

  5. Release others

Job result summary

Completed
Duration
3 minutes
Agent
yu.openmrs.org
Revision
157c61076c990a65b458df3d6f92a4fd75b34c5d
Fixed in
#14284 (Child of LU-LU-597)
No failed test found. A possible compilation error occurred.

Error summary

The build generated some errors. See the full build log for more details.

Progress (1): 87/110 kB
Progress (1): 90/110 kB
Progress (1): 93/110 kB
Progress (1): 95/110 kB
Progress (1): 98/110 kB
Progress (1): 101/110 kB
Progress (1): 104/110 kB
Progress (1): 107/110 kB
Progress (1): 109/110 kB
Progress (1): 110 kB   
#17 ...

#14 [linux/amd64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#14 198.3 [INFO] ------------------------------------------------------------------------
#14 198.3 [INFO] Reactor Summary for Reference Application Distribution 2.14.0-SNAPSHOT:
#14 198.3 [INFO]
#14 198.3 [INFO] Reference Application Distribution ................. SUCCESS [  0.691 s]
#14 198.3 [INFO] Reference Application Distribution Package ......... FAILURE [03:13 min]
#14 198.3 [INFO] ------------------------------------------------------------------------
#14 198.3 [INFO] BUILD FAILURE
#14 198.3 [INFO] ------------------------------------------------------------------------
#14 198.3 [INFO] Total time:  03:14 min
#14 198.3 [INFO] Finished at: 2024-08-13T03:04:51Z
#14 198.3 [INFO] ------------------------------------------------------------------------
#14 198.3 [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.5.0:build-distro (build-distro) on project referenceapplication-package: Unable to find/resolve artifact.: Could not transfer artifact org.openmrs.module:emrapi-omod:jar:2.0.0-20240812.162948-33 from/to openmrs-repo (https://mavenrepo.openmrs.org/public): transfer failed for https://mavenrepo.openmrs.org/public/org/openmrs/module/emrapi-omod/2.0.0-SNAPSHOT/emrapi-omod-2.0.0-20240812.162948-33.jar: Unknown host jfrog-prod-euw1-shared-ireland-main.s3.amazonaws.com: Name or service not known -> [Help 1]
#14 198.3 [ERROR]
#14 198.3 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#14 198.3 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#14 198.3 [ERROR]
#14 198.3 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#14 198.3 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
#14 198.3 [ERROR]
#14 198.3 [ERROR] After correcting the problems, you can resume the build with the command
#14 198.3 [ERROR]   mvn <args> -rf :referenceapplication-package
#14 ERROR: process "/bin/sh -c mvn $MVN_ARGS_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1

#17 [linux/arm64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#17 165.3 Progress (1): 3.2/110 kB
Progress (1): 6.0/110 kB
Progress (1): 8.8/110 kB
Progress (1): 12/110 kB
Progress (1): 14/110 kB
Progress (1): 17/110 kB
Progress (1): 20/110 kB
Progress (1): 23/110 kB
Progress (1): 26/110 kB
Progress (1): 28/110 kB
Progress (1): 31/110 kB
Progress (1): 34/110 kB
Progress (1): 37/110 kB
Progress (1): 40/110 kB
Progress (1): 42/110 kB
Progress (1): 45/110 kB
Progress (1): 48/110 kB
Progress (1): 51/110 kB
Progress (1): 54/110 kB
Progress (1): 56/110 kB
Progress (1): 59/110 kB
Progress (1): 62/110 kB
Progress (1): 65/110 kB
Progress (1): 67/110 kB
Progress (1): 70/110 kB
Progress (1): 73/110 kB
Progress (1): 76/110 kB
Progress (1): 79/110 kB
Progress (1): 81/110 kB
Progress (1): 84/110 kB
Progress (1): 87/110 kB
Progress (1): 90/110 kB
Progress (1): 93/110 kB
Progress (1): 95/110 kB
Progress (1): 98/110 kB
Progress (1): 101/110 kB
Progress (1): 104/110 kB
Progress (1): 107/110 kB
Progress (1): 109/110 kB
Progress (1): 110 kB   
#17 CANCELED
------
> [linux/amd64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install:
#14 198.3 [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:4.5.0:build-distro (build-distro) on project referenceapplication-package: Unable to find/resolve artifact.: Could not transfer artifact org.openmrs.module:emrapi-omod:jar:2.0.0-20240812.162948-33 from/to openmrs-repo (https://mavenrepo.openmrs.org/public): transfer failed for https://mavenrepo.openmrs.org/public/org/openmrs/module/emrapi-omod/2.0.0-SNAPSHOT/emrapi-omod-2.0.0-20240812.162948-33.jar: Unknown host jfrog-prod-euw1-shared-ireland-main.s3.amazonaws.com: Name or service not known -> [Help 1]
#14 198.3 [ERROR]
#14 198.3 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#14 198.3 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#14 198.3 [ERROR]
#14 198.3 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#14 198.3 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
#14 198.3 [ERROR]
#14 198.3 [ERROR] After correcting the problems, you can resume the build with the command
#14 198.3 [ERROR]   mvn <args> -rf :referenceapplication-package
------
Dockerfile:14
--------------------
  12 |     
  13 |     # Build the distro
  14 | >>> RUN mvn $MVN_ARGS_SETTINGS $MVN_ARGS
  15 |     
  16 |     ### Run Stage
--------------------
error: failed to solve: process "/bin/sh -c mvn $MVN_ARGS_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1