Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-137241

`Could not evaluate onlyIf predicate for task` failure on DXP fix pack builds

    Details

      Description

      DXP fix packs failing from the following error:

      BUILD FAILED
      /opt/dev/projects/github/liferay-fix-pack-builder-ee/build/projects/github/liferay-portal-ee/modules/build-app.xml:40: The following error occurred while executing this line:
      /opt/dev/projects/github/liferay-fix-pack-builder-ee/build/projects/github/liferay-portal-ee/modules/build-app.xml:42: The following error occurred while executing this line:
      /opt/dev/projects/github/liferay-fix-pack-builder-ee/build/projects/github/liferay-portal-ee/modules/build-app.xml:360: Stale artifacts detected:
      Could not evaluate onlyIf predicate for task ':dxp:apps:antivirus:antivirus-clamd-scanner:printStaleArtifact'.

      Fix Pack console logs:

      From initial investigation:

      • We confirmed that there have been no recent changes to that module
      • The builder is pulling in the correct version of the published artifact.
      • There have been changes to gradle plugins under¬†LPS-105380 & LPS-136257.
      • Last successful build SHA's
        • 7.3 ea7d244f97f006617b6e01390927cbc0ae4d8ff0
        • 7.2 b2fa1bf2f27dfe4bf0e82d34b1149da720f434ef
        • 7.1 cf03ca91db5e8aa04145e50af2de147bf5d5108e

       

      Can the error:

      Could not evaluate onlyIf predicate for task

      indicate some unrelated issue? ie gradle is choking on something else while running the task, not detecting an actual stale artifact.

      cc Lawrence Lee Laszlo Bereczki Jason Pince

        Attachments

          Activity

            People

            Assignee:
            peter.shin Peter Shin
            Reporter:
            clarissa.velazquez Clarissa Velazquez
            Participants of an Issue:
            Recent user:
            Brian Wulbern
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              5 weeks, 4 days ago

                Packages

                Version Package