Deploys Reference Application SNAPSHOT to maven

Build: #14149 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
4 minutes
Agent
xindi.openmrs.org
Revision
4cd4ae82bc420449d4bcf3a3f9f426747cce94ee
Fixed in
#14150 (Child of RA-RA-4212)
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): 3.2/4.3 MB
Progress (1): 3.2/4.3 MB
Progress (1): 3.2/4.3 MB
Progress (1): 3.2/4.3 MB
Progress (1): 3.3/4.3 MB
Progress (1): 3.3/4.3 MB
Progress (1): 3.3/4.3 MB
Progress (1): 3.3/4.3 MB
Progress (1): 3.4/4.3 MB
Progress (1): 3.4/4.3 MB
Progress (1): 3.4/4.3 MB
Progress (1): 3.4/4.3 MB
Progress (1): 3.5/4.3 MB
Progress (1): 3.5/4.3 MB
Progress (1): 3.5/4.3 MB
Progress (1): 3.5/4.3 MB
Progress (1): 3.6/4.3 MB
Progress (1): 3.6/4.3 MB
Progress (1): 3.6/4.3 MB
Progress (1): 3.7/4.3 MB
Progress (1): 3.7/4.3 MB
Progress (1): 3.7/4.3 MB
Progress (1): 3.7/4.3 MB
Progress (1): 3.8/4.3 MB
Progress (1): 3.8/4.3 MB
Progress (1): 3.8/4.3 MB
Progress (1): 3.8/4.3 MB
Progress (1): 3.9/4.3 MB
Progress (1): 3.9/4.3 MB
Progress (1): 3.9/4.3 MB
Progress (1): 3.9/4.3 MB
Progress (1): 4.0/4.3 MB
Progress (1): 4.0/4.3 MB
Progress (1): 4.0/4.3 MB
Progress (1): 4.0/4.3 MB
Progress (1): 4.1/4.3 MB
Progress (1): 4.1/4.3 MB
Progress (1): 4.1/4.3 MB
Progress (1): 4.2/4.3 MB
Progress (1): 4.2/4.3 MB
Progress (1): 4.2/4.3 MB
Progress (1): 4.2/4.3 MB
Progress (1): 4.3/4.3 MB
Progress (1): 4.3/4.3 MB
Progress (1): 4.3/4.3 MB
Progress (1): 4.3 MB   
                   
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/module/coreapps-omod/1.40.0-SNAPSHOT/coreapps-omod-1.40.0-20240528.205220-58.jar (4.3 MB at 64 kB/s)
#17 257.7 [INFO] Configured Artifact: org.openmrs.module:reportingcompatibility-omod:2.10.0-SNAPSHOT:jar
#17 257.7 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/module/reportingcompatibility-omod/2.10.0-SNAPSHOT/maven-metadata.xml
#17 ...

#16 [linux/arm64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#16 258.0 [INFO] ------------------------------------------------------------------------
#16 258.0 [INFO] Reactor Summary for Reference Application Distribution 2.14.0-SNAPSHOT:
#16 258.0 [INFO]
#16 258.1 [INFO] Reference Application Distribution ................. SUCCESS [  5.337 s]
#16 258.1 [INFO] Reference Application Distribution Package ......... FAILURE [03:50 min]
#16 258.1 [INFO] ------------------------------------------------------------------------
#16 258.1 [INFO] BUILD FAILURE
#16 258.1 [INFO] ------------------------------------------------------------------------
#16 258.1 [INFO] Total time:  03:58 min
#16 258.1 [INFO] Finished at: 2024-05-29T03:05:50Z
#16 258.1 [INFO] ------------------------------------------------------------------------
#16 258.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:htmlformentry-omod:jar:5.3.0-20240524.213120-12 from/to openmrs-repo (https://mavenrepo.openmrs.org/public): authorization failed for https://mavenrepo.openmrs.org/public/org/openmrs/module/htmlformentry-omod/5.3.0-SNAPSHOT/htmlformentry-omod-5.3.0-20240524.213120-12.jar, status: 403 Forbidden -> [Help 1]
#16 258.3 [ERROR]
#16 258.3 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#16 258.3 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#16 258.3 [ERROR]
#16 258.3 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#16 258.3 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
#16 258.3 [ERROR]
#16 258.3 [ERROR] After correcting the problems, you can resume the build with the command
#16 258.3 [ERROR]   mvn <args> -rf :referenceapplication-package
#16 ERROR: process "/dev/.buildkit_qemu_emulator /bin/sh -c mvn $MVN_ARGS_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1

#17 [linux/amd64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#17 CANCELED
------
> [linux/arm64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install:
#16 258.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:htmlformentry-omod:jar:5.3.0-20240524.213120-12 from/to openmrs-repo (https://mavenrepo.openmrs.org/public): authorization failed for https://mavenrepo.openmrs.org/public/org/openmrs/module/htmlformentry-omod/5.3.0-SNAPSHOT/htmlformentry-omod-5.3.0-20240524.213120-12.jar, status: 403 Forbidden -> [Help 1]
#16 258.3 [ERROR]
#16 258.3 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#16 258.3 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#16 258.3 [ERROR]
#16 258.3 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#16 258.3 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
#16 258.3 [ERROR]
#16 258.3 [ERROR] After correcting the problems, you can resume the build with the command
#16 258.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 "/dev/.buildkit_qemu_emulator /bin/sh -c mvn $MVN_ARGS_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1