Deploys Reference Application SNAPSHOT to maven

Build: #13767 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
1 minute
Agent
xindi.openmrs.org
Revision
44fb43f04f07c08dcc58bbf9f6e069a77eec5fb2
Fixed in
#13769 (Child of CSM-CSM-3127)
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.6/4.2 MB
Progress (1): 3.6/4.2 MB
Progress (1): 3.6/4.2 MB
Progress (1): 3.6/4.2 MB
Progress (1): 3.7/4.2 MB
Progress (1): 3.7/4.2 MB
Progress (1): 3.7/4.2 MB
Progress (1): 3.7/4.2 MB
Progress (1): 3.8/4.2 MB
Progress (1): 3.8/4.2 MB
Progress (1): 3.8/4.2 MB
Progress (1): 3.8/4.2 MB
Progress (1): 3.9/4.2 MB
Progress (1): 3.9/4.2 MB
Progress (1): 3.9/4.2 MB
Progress (1): 3.9/4.2 MB
Progress (1): 4.0/4.2 MB
Progress (1): 4.0/4.2 MB
Progress (1): 4.0/4.2 MB
Progress (1): 4.0/4.2 MB
Progress (1): 4.1/4.2 MB
Progress (1): 4.1/4.2 MB
Progress (1): 4.1/4.2 MB
Progress (1): 4.1/4.2 MB
Progress (1): 4.2/4.2 MB
Progress (1): 4.2/4.2 MB
Progress (1): 4.2/4.2 MB
Progress (1): 4.2 MB   
                   
Downloaded from central: https://repo.maven.apache.org/maven2/com/oracle/database/jdbc/ojdbc8/19.3.0.0/ojdbc8-19.3.0.0.jar (4.2 MB at 1.1 MB/s)
#17 66.41 [INFO] ------------------------------------------------------------------------
#17 66.41 [INFO] Reactor Summary for Reference Application Distribution 2.14.0-SNAPSHOT:
#17 66.41 [INFO]
#17 66.41 [INFO] Reference Application Distribution ................. SUCCESS [  9.175 s]
#17 66.41 [INFO] Reference Application Distribution Package ......... FAILURE [ 54.352 s]
#17 66.41 [INFO] ------------------------------------------------------------------------
#17 66.41 [INFO] BUILD FAILURE
#17 66.41 [INFO] ------------------------------------------------------------------------
#17 66.41 [INFO] Total time:  01:03 min
#17 66.41 [INFO] Finished at: 2023-08-05T03:02:04Z
#17 66.41 [INFO] ------------------------------------------------------------------------
#17 66.41 [ERROR] Failed to execute goal on project referenceapplication-package: Could not resolve dependencies for project org.openmrs.distro:referenceapplication-package:jar:2.14.0-SNAPSHOT: Could not find artifact net.sf.ehcache:ehcache:jar:2.10.10.4.43 in openmrs-repo (https://mavenrepo.openmrs.org/public) -> [Help 1]
#17 66.41 [ERROR]
#17 66.41 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#17 66.41 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#17 66.41 [ERROR]
#17 66.41 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#17 66.41 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
#17 66.41 [ERROR]
#17 66.41 [ERROR] After correcting the problems, you can resume the build with the command
#17 66.41 [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

#16 [linux/arm64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#16 65.64 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/ca/uhn/hapi/hapi-base/2.1/hapi-base-2.1.pom
#16 65.80 Downloading from central: https://repo.maven.apache.org/maven2/ca/uhn/hapi/hapi-base/2.1/hapi-base-2.1.pom
#16 65.84 Progress (1): 4.1/7.3 kB
Progress (1): 7.3 kB   
                   
Downloaded from central: https://repo.maven.apache.org/maven2/ca/uhn/hapi/hapi-base/2.1/hapi-base-2.1.pom (7.3 kB at 88 kB/s)
#16 65.96 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/ca/uhn/hapi/hapi/2.1/hapi-2.1.pom
#16 66.17 Downloading from central: https://repo.maven.apache.org/maven2/ca/uhn/hapi/hapi/2.1/hapi-2.1.pom
#16 66.22 Progress (1): 4.1/19 kB
Progress (1): 8.2/19 kB
Progress (1): 12/19 kB
Progress (1): 16/19 kB
Progress (1): 19 kB   
                   
Downloaded from central: https://repo.maven.apache.org/maven2/ca/uhn/hapi/hapi/2.1/hapi-2.1.pom (19 kB at 211 kB/s)
#16 66.40 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
#16 CANCELED
------
> [linux/amd64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install:
#17 66.21 Progress (3): 2.2/4.2 MB | 638/682 kB | 18 kB
Progress (3): 2.2/4.2 MB | 643/682 kB | 18 kB
Progress (3): 2.2/4.2 MB | 647/682 kB | 18 kB
Progress (3): 2.2/4.2 MB | 647/682 kB | 18 kB
Progress (3): 2.2/4.2 MB | 651/682 kB | 18 kB
Progress (3): 2.2/4.2 MB | 655/682 kB | 18 kB
                                             
Downloaded from central: https://repo.maven.apache.org/maven2/org/powermock/powermock-module-junit4-common/2.0.9/powermock-module-junit4-common-2.0.9.jar (18 kB at 4.8 kB/s)

#17 66.41 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#17 66.41 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#17 66.41 [ERROR]
#17 66.41 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#17 66.41 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
#17 66.41 [ERROR]
#17 66.41 [ERROR] After correcting the problems, you can resume the build with the command
#17 66.41 [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