Deploys Reference Application SNAPSHOT to maven

Build: #13981 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
13 minutes
Agent
yu.openmrs.org
Revision
515a74fbdfcd666e2e4d9581a75388907fa3cfaa 515a74fbdfcd666e2e4d9581a75388907fa3cfaa
Fixed in
#13982 (Child of CSM-CSM-3276)
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): 723/753 kB
Progress (1): 727/753 kB
Progress (1): 732/753 kB
Progress (1): 736/753 kB
Progress (1): 740/753 kB
Progress (1): 744/753 kB
Progress (1): 748/753 kB
Progress (1): 752/753 kB
Progress (1): 753 kB   
                   
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/commons/commons-collections4/4.2/commons-collections4-4.2.jar (753 kB at 322 kB/s)
#18 148.1 [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.7.0-SNAPSHOT:war
#18 148.3 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/web/openmrs-webapp/2.7.0-SNAPSHOT/maven-metadata.xml
#18 148.5 Progress (1): 999 B
                   
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/web/openmrs-webapp/2.7.0-SNAPSHOT/maven-metadata.xml (999 B at 2.3 kB/s)
#18 148.8 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/web/openmrs-webapp/2.7.0-SNAPSHOT/openmrs-webapp-2.7.0-20240105.132324-193.pom
#18 148.9 Progress (1): 3.2/13 kB
Progress (1): 6.0/13 kB
Progress (1): 8.8/13 kB
Progress (1): 12/13 kB
Progress (1): 13 kB   
                   
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/web/openmrs-webapp/2.7.0-SNAPSHOT/openmrs-webapp-2.7.0-20240105.132324-193.pom (13 kB at 32 kB/s)
#18 149.5 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/web/openmrs-webapp/2.7.0-SNAPSHOT/openmrs-webapp-2.7.0-20240105.132324-193.war
#18 149.8 [INFO] ------------------------------------------------------------------------
#18 149.8 [INFO] Reactor Summary for Reference Application Distribution 2.14.0-SNAPSHOT:
#18 149.8 [INFO]
#18 149.9 [INFO] Reference Application Distribution ................. SUCCESS [  5.865 s]
#18 149.9 [INFO] Reference Application Distribution Package ......... FAILURE [01:57 min]
#18 149.9 [INFO] ------------------------------------------------------------------------
#18 149.9 [INFO] BUILD FAILURE
#18 149.9 [INFO] ------------------------------------------------------------------------
#18 149.9 [INFO] Total time:  02:08 min
#18 149.9 [INFO] Finished at: 2024-01-08T03:14:29Z
#18 149.9 [INFO] ------------------------------------------------------------------------
#18 149.9 [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.web:openmrs-webapp:war:2.7.0-20240105.132324-193 from/to openmrs-repo (https://mavenrepo.openmrs.org/public): transfer failed for https://mavenrepo.openmrs.org/public/org/openmrs/web/openmrs-webapp/2.7.0-SNAPSHOT/openmrs-webapp-2.7.0-20240105.132324-193.war: Unknown host jfrog-prod-euw1-shared-ireland-main.s3.amazonaws.com -> [Help 1]
#18 149.9 [ERROR]
#18 149.9 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#18 149.9 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#18 149.9 [ERROR]
#18 149.9 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#18 149.9 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
#18 149.9 [ERROR]
#18 149.9 [ERROR] After correcting the problems, you can resume the build with the command
#18 149.9 [ERROR]   mvn <args> -rf :referenceapplication-package
#18 ...

#21 [linux/amd64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#21 118.7 [INFO] Copying referencemetadata-omod-2.14.0-SNAPSHOT.jar to /app/package/target/bundled-distro/web/WEB-INF/bundledModules/referencemetadata-2.14.0-SNAPSHOT.omod
#21 118.7 [INFO] Copying reportingui-omod-1.12.0-SNAPSHOT.jar to /app/package/target/bundled-distro/web/WEB-INF/bundledModules/reportingui-1.12.0-SNAPSHOT.omod
#21 118.7 [INFO] Copying coreapps-omod-1.40.0-SNAPSHOT.jar to /app/package/target/bundled-distro/web/WEB-INF/bundledModules/coreapps-1.40.0-SNAPSHOT.omod
#21 118.7 [INFO] Copying reportingcompatibility-omod-2.10.0-SNAPSHOT.jar to /app/package/target/bundled-distro/web/WEB-INF/bundledModules/reportingcompatibility-2.10.0-SNAPSHOT.omod
#21 118.7 [INFO] Copying reporting-omod-1.27.0-SNAPSHOT.jar to /app/package/target/bundled-distro/web/WEB-INF/bundledModules/reporting-1.27.0-SNAPSHOT.omod
#21 118.7 [INFO] Copying adminui-omod-1.7.0-SNAPSHOT.jar to /app/package/target/bundled-distro/web/WEB-INF/bundledModules/adminui-1.7.0-SNAPSHOT.omod
#21 118.7 [INFO] Copying registrationcore-omod-1.13.0-SNAPSHOT.jar to /app/package/target/bundled-distro/web/WEB-INF/bundledModules/registrationcore-1.13.0-SNAPSHOT.omod
#21 118.7 [INFO] Copying appointmentscheduling-omod-1.18.0-SNAPSHOT.jar to /app/package/target/bundled-distro/web/WEB-INF/bundledModules/appointmentscheduling-1.18.0-SNAPSHOT.omod
#21 118.7 [INFO] Copying atlas-omod-2.2.8-SNAPSHOT.omod to /app/package/target/bundled-distro/web/WEB-INF/bundledModules/atlas-2.2.8-SNAPSHOT.omod
#21 118.7 [INFO] Copying calculation-omod-1.3.1-SNAPSHOT.jar to /app/package/target/bundled-distro/web/WEB-INF/bundledModules/calculation-1.3.1-SNAPSHOT.omod
#21 118.8 [INFO] Copying webservices.rest-omod-2.42.0-SNAPSHOT.jar to /app/package/target/bundled-distro/web/WEB-INF/bundledModules/webservices.rest-2.42.0-SNAPSHOT.omod
#21 118.8 [INFO] Copying spa-omod-1.0.10-SNAPSHOT.jar to /app/package/target/bundled-distro/web/WEB-INF/bundledModules/spa-1.0.10-SNAPSHOT.omod
#21 118.8 [INFO] Copying uicommons-omod-2.25.0-SNAPSHOT.jar to /app/package/target/bundled-distro/web/WEB-INF/bundledModules/uicommons-2.25.0-SNAPSHOT.omod
#21 118.8 [INFO] Copying uiframework-omod-3.25.0-SNAPSHOT.jar to /app/package/target/bundled-distro/web/WEB-INF/bundledModules/uiframework-3.25.0-SNAPSHOT.omod#21 ...

#18 [linux/arm64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#18 ERROR: process "/dev/.buildkit_qemu_emulator /bin/sh -c mvn $MVN_ARGS_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1

#21 [linux/amd64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#21 118.8 [INFO] Copying uiframework-omod-3.25.0-SNAPSHOT.jar to /app/package/target/bundled-distro/web/WEB-INF/bundledModules/uiframework-3.25.0-SNAPSHOT.omod
#21 118.8 [INFO] Copying metadatasharing-omod-1.10.0-SNAPSHOT.jar to /app/package/target/bundled-distro/web/WEB-INF/bundledModules/metadatasharing-1.10.0-SNAPSHOT.omod
#21 118.8
#21 118.8 Downloading OWAs...
#21 118.8
#21 118.8
#21 118.8 Downloading OWA: org.openmrs.owa:openmrs-owa-sysadmin:1.2
#21 118.8 [INFO] Configured Artifact: org.openmrs.owa:sysadmin:1.2:zip
#21 118.8 [INFO] Copying sysadmin-1.2.zip to /app/package/target/bundled-distro/web/WEB-INF/bundledOwas/sysadmin-1.2.zip
#21 CANCELED
------
> [linux/arm64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install:
#18 149.9 [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.web:openmrs-webapp:war:2.7.0-20240105.132324-193 from/to openmrs-repo (https://mavenrepo.openmrs.org/public): transfer failed for https://mavenrepo.openmrs.org/public/org/openmrs/web/openmrs-webapp/2.7.0-SNAPSHOT/openmrs-webapp-2.7.0-20240105.132324-193.war: Unknown host jfrog-prod-euw1-shared-ireland-main.s3.amazonaws.com -> [Help 1]
#18 149.9 [ERROR]
#18 149.9 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#18 149.9 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#18 149.9 [ERROR]
#18 149.9 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#18 149.9 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
#18 149.9 [ERROR]
#18 149.9 [ERROR] After correcting the problems, you can resume the build with the command
#18 149.9 [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