Deploys Reference Application SNAPSHOT to maven

Build: #14438 failed Child of CSM-CSM-3571

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

Build result summary

Details

Completed
Queue duration
< 1 second
Duration
1 minute
Labels
None
Revisions
Distribution
367b6875404a2fbb4cdd1fee4addf79b43cdf85d 367b6875404a2fbb4cdd1fee4addf79b43cdf85d
Release scripts
ced9ff00825ca1cb8c744547be4ba8ff994bd71b ced9ff00825ca1cb8c744547be4ba8ff994bd71b
Failing since
#14436 (Changes by Wikum Weerakutti <wikum@linuxdeveloper.space>)
No failed test found. A possible compilation error occurred.

Responsible

This build has been failing since #14436
No one has taken responsibility

Error summary for Build and push

The job generated some errors, drill down into the full build log for more details.

Progress (1): 54/64 kB
Progress (1): 56/64 kB
Progress (1): 59/64 kB
Progress (1): 62/64 kB
Progress (1): 64 kB   
                   
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/public/org/codehaus/mojo/build-helper-maven-plugin/3.0.0/build-helper-maven-plugin-3.0.0.jar (64 kB at 155 kB/s)
#14 15.13 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/api/openmrs-api/2.7.0-alpha/openmrs-api-2.7.0-alpha.pom
#14 16.48 Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/api/openmrs-api/2.7.0-alpha/openmrs-api-2.7.0-alpha.pom
#14 16.95 [WARNING] The POM for org.openmrs.api:openmrs-api:jar:2.7.0-alpha is missing, no dependency information available
#14 16.95 [WARNING] The POM for org.openmrs.api:openmrs-api:jar:tests:2.7.0-alpha is missing, no dependency information available
#14 16.95 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/test/openmrs-test/2.7.0-alpha/openmrs-test-2.7.0-alpha.pom
#14 19.95 Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/test/openmrs-test/2.7.0-alpha/openmrs-test-2.7.0-alpha.pom
#14 20.04 [WARNING] The POM for org.openmrs.test:openmrs-test:pom:2.7.0-alpha is missing, no dependency information available
#14 20.05 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/api/openmrs-api/2.7.0-alpha/openmrs-api-2.7.0-alpha.jar
#14 20.05 Downloading from openmrs-repo: https://mavenrepo.openmrs.org/public/org/openmrs/api/openmrs-api/2.7.0-alpha/openmrs-api-2.7.0-alpha-tests.jar
#14 ...

#17 [linux/arm64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#17 16.79 [INFO] Scanning for projects...
#17 17.55 [WARNING]
#17 17.55 [WARNING] Some problems were encountered while building the effective model for org.openmrs.distro:referenceapplication-package:jar:2.14.0-SNAPSHOT
#17 17.56 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:dataexchange-omod:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.14.0-SNAPSHOT, /app/pom.xml, line 883, column 12
#17 17.56 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:allergyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.14.0-SNAPSHOT, /app/pom.xml, line 896, column 12
#17 17.56 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:formentryapp-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.14.0-SNAPSHOT, /app/pom.xml, line 916, column 12
#17 17.56 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:legacyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.14.0-SNAPSHOT, /app/pom.xml, line 990, column 12
#17 17.56 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:reportingcompatibility-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.14.0-SNAPSHOT, /app/pom.xml, line 1009, column 12
#17 17.56 [WARNING]
#17 17.57 [WARNING] Some problems were encountered while building the effective model for org.openmrs.distro:referenceapplication:pom:2.14.0-SNAPSHOT
#17 17.57 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:dataexchange-omod:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ line 883, column 12
#17 17.57 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:allergyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ line 896, column 12
#17 17.57 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:formentryapp-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ line 916, column 12
#17 17.57 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:legacyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ line 990, column 12
#17 17.57 [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:reportingcompatibility-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ line 1009, column 12
#17 17.57 [WARNING]
#17 17.58 [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
#17 17.58 [WARNING]
#17 17.58 [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
#17 17.58 [WARNING]
#17 17.67 [INFO] ------------------------------------------------------------------------
#17 17.67 [INFO] Reactor Build Order:
#17 17.67 [INFO]
#17 17.68 [INFO] Reference Application Distribution                                 [pom]
#17 17.68 [INFO] Reference Application Distribution Package                         [jar]
#17 18.41 [INFO]
#17 18.42 [INFO] --------------< org.openmrs.distro:referenceapplication >---------------
#17 18.42 [INFO] Building Reference Application Distribution 2.14.0-SNAPSHOT        [1/2]
#17 18.44 [INFO]   from pom.xml
#17 18.44 [INFO] --------------------------------[ pom ]---------------------------------
#17 19.30 [INFO]
#17 19.31 [INFO] --- maven-install-plugin:2.4:install (default-install) @ referenceapplication ---
#17 CANCELED

#14 [linux/amd64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install
#14 23.19 Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/api/openmrs-api/2.7.0-alpha/openmrs-api-2.7.0-alpha.jar
#14 23.20 Downloading from central: https://repo.maven.apache.org/maven2/org/openmrs/api/openmrs-api/2.7.0-alpha/openmrs-api-2.7.0-alpha-tests.jar
#14 23.45 [INFO] ------------------------------------------------------------------------
#14 23.45 [INFO] Reactor Summary for Reference Application Distribution 2.14.0-SNAPSHOT:
#14 23.45 [INFO]
#14 23.45 [INFO] Reference Application Distribution ................. SUCCESS [  0.369 s]
#14 23.45 [INFO] Reference Application Distribution Package ......... FAILURE [ 19.064 s]
#14 23.45 [INFO] ------------------------------------------------------------------------
#14 23.45 [INFO] BUILD FAILURE
#14 23.45 [INFO] ------------------------------------------------------------------------
#14 23.45 [INFO] Total time:  19.640 s
#14 23.45 [INFO] Finished at: 2024-11-06T03:02:27Z
#14 23.45 [INFO] ------------------------------------------------------------------------
#14 23.45 [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: The following artifacts could not be resolved: org.openmrs.api:openmrs-api:jar:2.7.0-alpha, org.openmrs.api:openmrs-api:jar:tests:2.7.0-alpha, org.openmrs.test:openmrs-test:pom:2.7.0-alpha: Could not find artifact org.openmrs.api:openmrs-api:jar:2.7.0-alpha in openmrs-repo (https://mavenrepo.openmrs.org/public) -> [Help 1]
#14 23.45 [ERROR]
#14 23.45 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#14 23.45 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#14 23.45 [ERROR]
#14 23.45 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#14 23.46 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
#14 23.46 [ERROR]
#14 23.46 [ERROR] After correcting the problems, you can resume the build with the command
#14 23.46 [ERROR]   mvn <args> -rf :referenceapplication-package
#14 ERROR: process "/bin/sh -c mvn $MVN_ARGS_SETTINGS $MVN_ARGS" did not complete successfully: exit code: 1
------
> [linux/amd64 dev 4/4] RUN mvn -s /usr/share/maven/ref/settings-docker.xml install:
#14 23.45 [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: The following artifacts could not be resolved: org.openmrs.api:openmrs-api:jar:2.7.0-alpha, org.openmrs.api:openmrs-api:jar:tests:2.7.0-alpha, org.openmrs.test:openmrs-test:pom:2.7.0-alpha: Could not find artifact org.openmrs.api:openmrs-api:jar:2.7.0-alpha in openmrs-repo (https://mavenrepo.openmrs.org/public) -> [Help 1]
#14 23.45 [ERROR]
#14 23.45 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
#14 23.45 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
#14 23.45 [ERROR]
#14 23.45 [ERROR] For more information about the errors and possible solutions, please read the following articles:
#14 23.46 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
#14 23.46 [ERROR]
#14 23.46 [ERROR] After correcting the problems, you can resume the build with the command
#14 23.46 [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