Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7526

Intermittent fe compilation failure due to failure of mvn enforcer rules

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.13.0
    • None
    • Frontend
    • None
    • ghx-label-6

    Description

      I ran into this thrice on clang-tidy builds [1,2,3] but I don't think it is specific to those kinds of builds. Error message as follows

      [WARNING] Could not transfer metadata com.cloudera.cdh:cdh-root:6.x-SNAPSHOT/maven-metadata.xml from/to ${distMgmtSnapshotsId} (${distMgmtSnapshotsUrl}):
      
      Cannot access ${distMgmtSnapshotsUrl} with type default using the available connector factories: BasicRepositoryConnectorFactory [WARNING] Rule 0: org.apache.maven.plugins.enforcer.BannedDependencies failed with message: 
      
      [INFO] BUILD FAILURE [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce (enforce-banned-dependencies) on project impala-frontend: Some Enforcer rules have failed. 
      
      Look above for specific messages explaining why the rule failed. -> [Help 1] 
      [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging. 
      [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] [http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException] 
      mvn -B install -DskipTests exited with code 0
      

      [1] https://jenkins.impala.io/job/clang-tidy-ub1604/2939/
      [2] https://jenkins.impala.io/job/clang-tidy-ub1604/2976/
      [3] https://jenkins.impala.io/job/clang-tidy-ub1604/2959/

      Attachments

        Activity

          People

            fredyw Fredy Wijaya
            bharathv Bharath Vissapragada
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: