Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-6554

droolsjbpm-integration deploy job failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.60.0.Final
    • 7.59.0.Final
    • build
    • None
    • 2021 Week 31-33 (from Aug 2), 2021 Week 34-36 (from Aug 23)
    • 2
    • undefined
    • NEW
    • NEW

    Description

      Micheal wrote:
      ~~~
      When a PR was merged normally it should trigger a deploy job via webhook for the repository of the PR.
      This deploy job uploads the new -SNAPSHOT binaries to Nexus.
      There is one deploy job for droolsjbpm-integration that fails constantly.
      I suspect not all -SNAPSHOT artifacts are uploaded then.
      ~~~

      Toshiya wrote:
      ~~~
      In consoleText log, I find 2 ArtifactNotFoundException:

       Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.drools:drools-core:jar:tests:7.59.0-SNAPSHOT
       ...
       Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.kie:kie-pmml-compiler-api:jar:tests:7.59.0-SNAPSHOT
      

      So I think these 2 test-jars are not uploaded.
      ~~~

      Alberto wrote:
      ~~~
      Toshiya, the artefacts are available in the Nexus repository used with the build [1][2].

      We've been looking into the issue and it seems to be exactly the same as the one reported long ago to Maven maintainers which seems to be fixed [3]. Have we changed anything recently that could be impacting this way?
      It can be reproduced locally with a fresh local repository building just the droolsjbpm-integration project [4]. Pull request checks and other types of builds are not affected as they build Drools and install the problematic dependencies before the droolsjbpm-integration compilation takes place.

      A fix for this issue could be to add the dependencies required for integration tests, used with Maven Invoker, in the Invoker caller. For example, including org.kie:kie-pmml-compiler-api:jar:tests:7.59.0-SNAPSHOT in the kie-maven-plugin POM. So it fetches from the repository mirror before the Invoker plugin creates the maven-metadata-local.xml file.

      [3] https://issues.apache.org/jira/browse/MNG-5087
      [4] https://gist.github.com/almope/122da691bb4dbc6d65f2ee03c3fb6ad7
      ~~~

      Attachments

        Activity

          People

            rhn-support-tkobayas Toshiya Kobayashi
            rhn-support-tkobayas Toshiya Kobayashi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: