Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-1688

Apache fails to build Sentry package Sentry-jdk-1.7-v2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Invalid
    • None
    • 2.1.0
    • Sentry
    • None

    Description

      For some time Apache job that builds Sentry-jdk-1.7-v2 fails with a rat exception in sentry-service-server:

      [INFO] ------------------------------------------------------------------------
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] Sentry ............................................ SUCCESS [16.973s]
      [INFO] Sentry Core ....................................... SUCCESS [2.369s]
      [INFO] Sentry Core Common ................................ SUCCESS [1:18.513s]
      [INFO] Sentry Core Model DB .............................. SUCCESS [7.649s]
      [INFO] Sentry Core Model Indexer ......................... SUCCESS [5.596s]
      [INFO] Sentry Core Model Search .......................... SUCCESS [5.282s]
      [INFO] Sentry Core Model Sqoop ........................... SUCCESS [5.448s]
      [INFO] Sentry Core Model Kafka ........................... SUCCESS [5.676s]
      [INFO] Sentry Service .................................... SUCCESS [2.295s]
      [INFO] Sentry Service Common ............................. SUCCESS [14.661s]
      [INFO] Sentry Providers .................................. SUCCESS [2.751s]
      [INFO] Sentry Provider Common ............................ SUCCESS [4.940s]
      [INFO] Sentry Provider File .............................. SUCCESS [6.453s]
      [INFO] Sentry Service Client ............................. SUCCESS [5.534s]
      [INFO] Sentry Policies ................................... SUCCESS [2.150s]
      [INFO] Sentry Policy Common .............................. SUCCESS [10.257s]
      [INFO] Sentry Authorization Provider ..................... SUCCESS [9.241s]
      [INFO] Sentry Service Server ............................. FAILURE [10:06.319s]
      [INFO] Sentry Provider DB ................................ SUCCESS [5.009s]
      [INFO] Sentry Policy Engine .............................. SUCCESS [5.334s]
      [INFO] Sentry Bindings ................................... SUCCESS [2.437s]
      [INFO] Sentry Binding for Kafka .......................... SUCCESS [20.473s]
      [INFO] Sentry Provider Cache ............................. SUCCESS [7.156s]
      [INFO] Sentry Hive Binding Common ........................ SUCCESS [10.143s]
      [INFO] Sentry Binding for Solr ........................... SUCCESS [19.103s]
      [INFO] Sentry Binding for Sqoop .......................... SUCCESS [15.041s]
      [INFO] Sentry Binding v2 for Hive ........................ SUCCESS [16.203s]
      [INFO] Sentry Policy for Indexer ......................... SUCCESS [17.663s]
      [INFO] Sentry Solr ....................................... SUCCESS [3.083s]
      [INFO] Solr Sentry Core .................................. SUCCESS [7.723s]
      [INFO] Solr Sentry handler ............................... SUCCESS [27.111s]
      [INFO] Sentry Tests ...................................... SUCCESS [2.865s]
      [INFO] Sentry Solr Tests ................................. SKIPPED
      [INFO] Sentry Sqoop Tests ................................ SKIPPED
      [INFO] Sentry Kafka Tests ................................ SKIPPED
      [INFO] Sentry HDFS ....................................... SUCCESS [3.260s]
      [INFO] Sentry HDFS Common ................................ SKIPPED
      [INFO] Sentry HDFS Service ............................... SKIPPED
      [INFO] Sentry HDFS Namenode Plugin ....................... SKIPPED
      [INFO] Sentry Hive Tests v2 .............................. SKIPPED
      [INFO] Sentry HDFS Dist .................................. SKIPPED
      [INFO] Sentry Distribution ............................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 17:17.124s
      [INFO] Finished at: Sat Apr 01 00:32:51 UTC 2017
      [INFO] Final Memory: 113M/694M
      [INFO] ------------------------------------------------------------------------
      Waiting for Jenkins to finish collecting data
      [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.10:check (header-check) on project sentry-service-server: Too many files with unapproved license: 1 See RAT report in: /home/jenkins/jenkins-slave/workspace/Sentry-jdk-1.7-v2/sentry-service/sentry-service-server/target/rat.txt -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.rat:apache-rat-plugin:0.10:check (header-check) on project sentry-service-server: Too many files with unapproved license: 1 See RAT report in: /home/jenkins/jenkins-slave/workspace/Sentry-jdk-1.7-v2/sentry-service/sentry-service-server/target/rat.txt
      

      But when I build it manually I don't see this problem.

      Attachments

        Activity

          People

            spena Sergio Peña
            akolb Alex Kolbasov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: