Deploys Reference Application SNAPSHOT to maven

Build: #13416 failed

Job: Build and push failed

Stages & jobs

  1. Build and push

  2. Deploy to qa-refapp

  3. Validate

  4. Release

    Requires a user to start manually
  5. Set variables

  6. Release others

Job result summary

Completed
Duration
59 minutes
Revision
f2870ee077b0f23d3763e6eeab1652ee4ad6f9b7 f2870ee077b0f23d3763e6eeab1652ee4ad6f9b7
Fixed in
#13417 (Child of RA-RA-4101)
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): 1.9/2.5 MB
Progress (1): 2.0/2.5 MB
Progress (1): 2.0/2.5 MB
Progress (1): 2.0/2.5 MB
Progress (1): 2.0/2.5 MB
Progress (1): 2.0/2.5 MB
Progress (1): 2.1/2.5 MB
Progress (1): 2.1/2.5 MB
Progress (1): 2.1/2.5 MB
Progress (1): 2.1/2.5 MB
                       
Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/api/openmrs-api/2.6.0-alpha/openmrs-api-2.6.0-alpha-tests.jar
#17 3569.5 [INFO] ------------------------------------------------------------------------
#17 3569.5 [INFO] Reactor Summary for Reference Application Distribution 2.13.0-SNAPSHOT:
#17 3569.5 [INFO]
#17 3569.5 [INFO] Reference Application Distribution ................. SUCCESS [  0.450 s]
#17 3569.5 [INFO] Reference Application Distribution Package ......... FAILURE [59:26 min]
#17 3569.5 [INFO] ------------------------------------------------------------------------
#17 3569.5 [INFO] BUILD FAILURE
#17 3569.5 [INFO] ------------------------------------------------------------------------
#17 3569.5 [INFO] Total time:  59:26 min
#17 3569.5 [INFO] Finished at: 2023-01-25T04:01:50Z
#17 3569.5 [INFO] ------------------------------------------------------------------------
#17 3569.5 [ERROR] Failed to execute goal on project referenceapplication-package: Could not resolve dependencies for project org.openmrs.distro:referenceapplication-package:jar:2.13.0-SNAPSHOT: Could not transfer artifact org.openmrs.api:openmrs-api:jar:tests:2.6.0-alpha from/to openmrs-repo (https://mavenrepo.openmrs.org/public): GET request of: org/openmrs/api/openmrs-api/2.6.0-alpha/openmrs-api-2.6.0-alpha-tests.jar from openmrs-repo failed: Premature end of Content-Length delimited message body (expected: 2,549,901; received: 2,103,631) -> [Help 1]
#17 3569.5 [ERROR]
#17 3569.5 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#17 3569.5 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#17 3569.5 [ERROR]
#17 3569.5 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#17 3569.5 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
#17 3569.5 [ERROR]
#17 3569.5 [ERROR] After correcting the problems, you can resume the build with the command
#17 3569.5 [ERROR]   mvn <args> -rf :referenceapplication-package
#17 ERROR: process "/bin/sh -c mvn $MVN_ARGS_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1

#14 [linux/arm64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#14 3560.2 Progress (1): 298/772 kB
Progress (1): 302/772 kB
Progress (1): 307/772 kB
Progress (1): 311/772 kB
Progress (1): 313/772 kB
Progress (1): 317/772 kB
Progress (1): 321/772 kB
Progress (1): 325/772 kB
Progress (1): 329/772 kB
Progress (1): 333/772 kB
Progress (1): 337/772 kB
Progress (1): 341/772 kB
Progress (1): 345/772 kB
Progress (1): 347/772 kB
Progress (1): 352/772 kB
Progress (1): 356/772 kB
Progress (1): 360/772 kB
Progress (1): 364/772 kB
Progress (1): 368/772 kB
Progress (1): 372/772 kB
Progress (1): 376/772 kB
Progress (1): 380/772 kB
Progress (1): 382/772 kB
Progress (1): 386/772 kB
Progress (1): 390/772 kB
Progress (1): 395/772 kB
Progress (1): 399/772 kB
Progress (1): 403/772 kB
Progress (1): 407/772 kB
Progress (1): 411/772 kB
Progress (1): 415/772 kB
Progress (1): 417/772 kB
Progress (1): 421/772 kB
Progress (1): 425/772 kB
Progress (1): 429/772 kB
Progress (1): 433/772 kB
Progress (1): 438/772 kB
Progress (1): 442/772 kB
Progress (1): 446/772 kB
Progress (1): 450/772 kB
Progress (1): 452/772 kB
#14 CANCELED
------
> [linux/amd64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install:
#17 3569.5 [ERROR] Failed to execute goal on project referenceapplication-package: Could not resolve dependencies for project org.openmrs.distro:referenceapplication-package:jar:2.13.0-SNAPSHOT: Could not transfer artifact org.openmrs.api:openmrs-api:jar:tests:2.6.0-alpha from/to openmrs-repo (https://mavenrepo.openmrs.org/public): GET request of: org/openmrs/api/openmrs-api/2.6.0-alpha/openmrs-api-2.6.0-alpha-tests.jar from openmrs-repo failed: Premature end of Content-Length delimited message body (expected: 2,549,901; received: 2,103,631) -> [Help 1]
#17 3569.5 [ERROR]
#17 3569.5 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#17 3569.5 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#17 3569.5 [ERROR]
#17 3569.5 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#17 3569.5 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
#17 3569.5 [ERROR]
#17 3569.5 [ERROR] After correcting the problems, you can resume the build with the command
#17 3569.5 [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