Deploys Reference Application SNAPSHOT to maven

Build: #13319 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
0ce4b48bb15a792a33f529c3229330ed1a2dad14
Failing since
#13314 (Changes by jwnasambu <33891016+jwnasambu@users.noreply.github.com>)
Fixed in
#13361 (Changes by Daniel Kayiwa)
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 (4): 152 kB | 37/38 kB | 31/37 kB | 20/30 kB
Progress (4): 152 kB | 37/38 kB | 34/37 kB | 20/30 kB
Progress (4): 152 kB | 37/38 kB | 34/37 kB | 23/30 kB
Progress (4): 152 kB | 37/38 kB | 37 kB | 23/30 kB   
Progress (4): 152 kB | 38 kB | 37 kB | 23/30 kB   
Progress (4): 152 kB | 38 kB | 37 kB | 26/30 kB
Progress (4): 152 kB | 38 kB | 37 kB | 29/30 kB
Progress (4): 152 kB | 38 kB | 37 kB | 30 kB   
                                           
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/apache/maven/maven-core/2.0.6/maven-core-2.0.6.jar (152 kB at 224 kB/s)
#14 98.67 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/apache/maven/maven-monitor/2.0.6/maven-monitor-2.0.6.jar
#14 98.84 Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/commons-cli/commons-cli/1.0/commons-cli-1.0.jar (30 kB at 39 kB/s)
#14 98.84 Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/classworlds/classworlds/1.1/classworlds-1.1.jar (38 kB at 48 kB/s)
#14 98.85 Progress (2): 37 kB | 3.4/10 kB
                               
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/apache/maven/maven-plugin-descriptor/2.0.6/maven-plugin-descriptor-2.0.6.jar (37 kB at 46 kB/s)
#14 98.85 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/apache/maven/shared/maven-filtering/1.1/maven-filtering-1.1.jar
#14 98.86 Progress (1): 6.2/10 kB
Progress (1): 9.0/10 kB
Progress (1): 10 kB   
Progress (2): 10 kB | 3.4/43 kB
                               
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/apache/maven/maven-monitor/2.0.6/maven-monitor-2.0.6.jar (10 kB at 8.5 kB/s)
#14 99.26 Progress (1): 6.2/43 kB
Progress (1): 9.0/43 kB
Progress (1): 12/43 kB
Progress (1): 15/43 kB
Progress (1): 17/43 kB
Progress (1): 20/43 kB
Progress (1): 23/43 kB
Progress (1): 26/43 kB
Progress (1): 29/43 kB
Progress (1): 31/43 kB
Progress (1): 34/43 kB
Progress (1): 37/43 kB
Progress (1): 40/43 kB
Progress (1): 43/43 kB
Progress (1): 43 kB   
Progress (2): 43 kB | 3.4/14 kB
Progress (2): 43 kB | 6.2/14 kB
Progress (2): 43 kB | 9.0/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 99.58 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 8.9 kB/s)
#14 ...

#17 [linux/amd64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#17 92.73 Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/module/referenceapplication-omod/2.13.0/referenceapplication-omod-2.13.0.pom
#17 92.92 [WARNING] The POM for org.openmrs.module:referenceapplication-omod:jar:2.13.0 is missing, no dependency information available
#17 92.92 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/module/referenceapplication-omod/2.13.0/referenceapplication-omod-2.13.0.jar
#17 94.22 Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/module/referenceapplication-omod/2.13.0/referenceapplication-omod-2.13.0.jar
#17 94.24 [INFO] ------------------------------------------------------------------------
#17 94.24 [INFO] Reactor Summary for Reference Application Distribution 2.13.0-SNAPSHOT:
#17 94.24 [INFO]
#17 94.24 [INFO] Reference Application Distribution ................. SUCCESS [  0.412 s]
#17 94.24 [INFO] Reference Application Distribution Package ......... FAILURE [01:31 min]
#17 94.24 [INFO] ------------------------------------------------------------------------
#17 94.24 [INFO] BUILD FAILURE
#17 94.24 [INFO] ------------------------------------------------------------------------
#17 94.24 [INFO] Total time:  01:31 min
#17 94.24 [INFO] Finished at: 2022-12-18T00:01:54Z
#17 94.24 [INFO] ------------------------------------------------------------------------
#17 94.24 [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:referenceapplication-omod:jar:2.13.0 in openmrs-repo (https://mavenrepo.openmrs.org/public) -> [Help 1]
#17 94.25 [ERROR]
#17 94.25 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#17 94.25 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#17 94.25 [ERROR]
#17 94.25 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#17 94.25 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
#17 94.25 [ERROR]
#17 94.25 [ERROR] After correcting the problems, you can resume the build with the command
#17 94.25 [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 94.24 [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:referenceapplication-omod:jar:2.13.0 in openmrs-repo (https://mavenrepo.openmrs.org/public) -> [Help 1]
#17 94.25 [ERROR]
#17 94.25 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#17 94.25 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#17 94.25 [ERROR]
#17 94.25 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#17 94.25 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
#17 94.25 [ERROR]
#17 94.25 [ERROR] After correcting the problems, you can resume the build with the command
#17 94.25 [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