Deploys Reference Application SNAPSHOT to maven

Build: #13476 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
1 minute
Revision
b2e209877c4386e39744115f11b87dd768bb2948 b2e209877c4386e39744115f11b87dd768bb2948
Fixed in
#13477 (Child of RA-RA-4122)
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.6/1.6 MB
Progress (1): 1.6/1.6 MB
Progress (1): 1.6/1.6 MB
Progress (1): 1.6/1.6 MB
Progress (1): 1.6/1.6 MB
Progress (1): 1.6/1.6 MB
Progress (1): 1.6 MB   
                   
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/module/appframework-omod/2.17.0/appframework-omod-2.17.0.jar (1.6 MB at 2.7 MB/s)
#17 79.29 [INFO] Configured Artifact: org.openmrs.module:referencemetadata-omod:2.13.0:jar
#17 79.29 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/module/referencemetadata-omod/2.13.0/referencemetadata-omod-2.13.0.pom
#17 82.06 Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/module/referencemetadata-omod/2.13.0/referencemetadata-omod-2.13.0.pom
#17 82.15 [WARNING] The POM for org.openmrs.module:referencemetadata-omod:jar:2.13.0 is missing, no dependency information available
#17 82.16 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/module/referencemetadata-omod/2.13.0/referencemetadata-omod-2.13.0.jar
#17 ...

#14 [linux/arm64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#14 77.47 Progress (1): 3.4/43 kB
Progress (1): 6.2/43 kB
Progress (2): 6.2/43 kB | 3.4/14 kB
Progress (2): 9.0/43 kB | 3.4/14 kB
Progress (2): 9.0/43 kB | 6.2/14 kB
Progress (2): 9.0/43 kB | 9.0/14 kB
Progress (2): 9.0/43 kB | 12/14 kB
Progress (2): 12/43 kB | 12/14 kB
Progress (2): 15/43 kB | 12/14 kB
Progress (2): 17/43 kB | 12/14 kB
Progress (2): 20/43 kB | 12/14 kB
Progress (2): 23/43 kB | 12/14 kB
Progress (2): 26/43 kB | 12/14 kB
Progress (2): 29/43 kB | 12/14 kB
Progress (2): 31/43 kB | 12/14 kB
Progress (2): 34/43 kB | 12/14 kB
Progress (2): 37/43 kB | 12/14 kB
Progress (2): 40/43 kB | 12/14 kB
Progress (2): 43/43 kB | 12/14 kB
Progress (2): 43 kB | 12/14 kB   
Progress (2): 43 kB | 14 kB   
                           
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/apache/maven/shared/maven-filtering/1.1/maven-filtering-1.1.jar (43 kB at 30 kB/s)
#14 77.73 Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/apache/maven/maven-error-diagnostics/2.0.6/maven-error-diagnostics-2.0.6.jar (14 kB at 9.1 kB/s)
#14 78.45 [INFO] Using 'UTF-8' encoding to copy filtered resources.
#14 78.47 [INFO] Copying 1 resource
#14 78.50 [INFO] Copying 2 resources
#14 78.60 [INFO] skip non existing resourceDirectory /app/package/src/main/webapp
#14 78.61 [INFO]
#14 78.61 [INFO] --- openmrs-sdk-maven-plugin:4.5.0:build-distro (build-distro) @ referenceapplication-package ---
#14 88.43 Feb 15, 2023 5:42:04 PM org.jline.utils.Log logr
#14 88.43 WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)
#14 ...

#17 [linux/amd64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#17 84.35 Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/module/referencemetadata-omod/2.13.0/referencemetadata-omod-2.13.0.jar
#17 84.41 [INFO] ------------------------------------------------------------------------
#17 84.41 [INFO] Reactor Summary for Reference Application Distribution 2.13.0-SNAPSHOT:
#17 84.41 [INFO]
#17 84.41 [INFO] Reference Application Distribution ................. SUCCESS [  0.523 s]
#17 84.41 [INFO] Reference Application Distribution Package ......... FAILURE [01:20 min]
#17 84.41 [INFO] ------------------------------------------------------------------------
#17 84.41 [INFO] BUILD FAILURE
#17 84.41 [INFO] ------------------------------------------------------------------------
#17 84.41 [INFO] Total time:  01:21 min
#17 84.41 [INFO] Finished at: 2023-02-15T17:42:05Z
#17 84.41 [INFO] ------------------------------------------------------------------------
#17 84.41 [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 find artifact org.openmrs.module:referencemetadata-omod:jar:2.13.0 in openmrs-repo (https://mavenrepo.openmrs.org/public) -> [Help 1]
#17 84.41 [ERROR]
#17 84.41 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#17 84.41 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#17 84.42 [ERROR]
#17 84.42 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#17 84.42 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
#17 84.42 [ERROR]
#17 84.42 [ERROR] After correcting the problems, you can resume the build with the command
#17 84.43 [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 CANCELED
------
> [linux/amd64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install:
#17 84.41 [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 find artifact org.openmrs.module:referencemetadata-omod:jar:2.13.0 in openmrs-repo (https://mavenrepo.openmrs.org/public) -> [Help 1]
#17 84.41 [ERROR]
#17 84.41 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#17 84.41 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#17 84.42 [ERROR]
#17 84.42 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#17 84.42 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
#17 84.42 [ERROR]
#17 84.42 [ERROR] After correcting the problems, you can resume the build with the command
#17 84.43 [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