Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-6074

Healthcheck ITs fail in isolated job on Jenkins

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Health Check
    • None

    Description

      Since moving to per-module builds in the ASF Jenkins instance the health check ITs fail, both for Java 7 and Java 8.

      As far as I what happens is:

      • the ITs reference SNAPSHOT versions of the HC bundles
      • these snapshots are referenced from Pax-Exam tests
      • Pax-Exam tries to reference them using the default Maven settings ( ~/.m2/respository and Maven Central ).

      But since the snapshots are deployed on repository.apache.org this does not work. This used to work when using reactor builds since the dependencies would be installed locally.

      The concrete error message is

      1240 [main] WARN org.ops4j.pax.url.mvn.internal.AetherBasedResolver - Error resolving artifactorg.apache.sling:org.apache.sling.hc.samples:jar:1.0.7-SNAPSHOT:Could not find artifact org.apache.sling:org.apache.sling.hc.samples:jar:1.0.7-SNAPSHOT in central (http://repo1.maven.org/maven2/)
      org.sonatype.aether.resolution.ArtifactResolutionException: Could not find artifact org.apache.sling:org.apache.sling.hc.samples:jar:1.0.7-SNAPSHOT in central (http://repo1.maven.org/maven2/)

      One possible way out is to modify the pax-exam tests to take into account repository.apache.org.

      bdelacretaz, olli as you know HC and respectively Pax-Exam better, how do you suggest we approach this?

      Attachments

        Issue Links

          Activity

            People

              rombert Robert Munteanu
              rombert Robert Munteanu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: