Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-1673

Reduce CI log size and make build faster

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • None
    • None

    Description

      1. Sometimes build fails due to log size for example,

      Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.zeppelin.ticket.TicketContainerTest
      Running org.apache.zeppelin.security.SecurityUtilsTest
      
      
      The log length has exceeded the limit of 4 MB (this usually means that the test suite is raising the same exception over and over).
      
      The job has been terminated
      

      we can prevent this kind of failure by removing useless maven log such as

      [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-checkstyle-plugin/2.13/maven-checkstyle-plugin-2.13.pom (13 KB at 1233.1 KB/sec)
      [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-checkstyle-plugin/2.13/maven-checkstyle-plugin-2.13.jar
      [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-checkstyle-plugin/2.13/maven-checkstyle-plugin-2.13.jar (112 KB at 4858.2 KB/sec)
      [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.7/maven-resources-plugin-2.7.pom
      [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.7/maven-resources-plugin-2.7.pom (8 KB at 627.2 KB/sec)
      [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.7/maven-resources-plugin-2.7.jar
      [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.7/maven-resources-plugin-2.7.jar (31 KB at 2048.3 KB/sec)
      [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.8/maven-dependency-plugin-2.8.pom
      [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.8/maven-dependency-plugin-2.8.pom (12 KB at 860.4 KB/sec)
      [INFO] Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.8/maven-dependency-plugin-2.8.jar
      [INFO] Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.8/maven-dependency-plugin-2.8.jar (150 KB at 5342.7 KB/sec)
      
      $  CI cat 176445046.log | grep Download | wc -l
          7044
      $  CI cat 176445046.log | wc -l
         38046
      $  CI cat 176445046.log| grep -v Download > filtered.log
      $  CI ls -alh
      total 7.7M
      drwxr-xr-x  4 lambda staff  136 Nov 17 02:50 .
      drwxr-xr-x 13 lambda staff  442 Nov 17 02:49 ..
      -rw-r--r--  1 lambda staff 4.3M Nov 17 02:49 176445046.log
      -rw-r--r--  1 lambda staff 3.4M Nov 17 02:50 filtered.log
      

      2. DO not run maven checkstyle task duplicated in each profile.

      Attachments

        Issue Links

          Activity

            People

              1ambda Hoon Park
              1ambda Hoon Park
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: