Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-9468

"./gradlew -p lucene test" leaks lucene/core/build/tmp/test/jar_extract_XXXX files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None
    • New

    Description

      I have been stupid-beasting (while(true) "./gradlew -p lucene test") Lucene core + modules tests, and noticed that I have accumulated many (~10.3K) files like these:

      -rw-r--r-- 1 mike mike  4954 Aug 17 12:49 lucene/core/build/tmp/test/jar_extract_9943749690454255636_tmp
      -rw-r--r-- 1 mike mike 84929 Aug 17 13:24 lucene/core/build/tmp/test/jar_extract_9949237584070142535_tmp
      -rw-r--r-- 1 mike mike 14627 Aug 17 14:01 lucene/core/build/tmp/test/jar_extract_9950285037002822552_tmp
      -rw-r--r-- 1 mike mike 15935 Aug 17 15:10 lucene/core/build/tmp/test/jar_extract_995066590821695944_tmp
      -rw-r--r-- 1 mike mike  5488 Aug 17 11:23 lucene/core/build/tmp/test/jar_extract_9952865172929838404_tmp
      -rw-r--r-- 1 mike mike 19078 Aug 17 14:41 lucene/core/build/tmp/test/jar_extract_9960016969100835830_tmp
      -rw-r--r-- 1 mike mike  5488 Aug 17 10:07 lucene/core/build/tmp/test/jar_extract_9960479662672452908_tmp
      -rw-r--r-- 1 mike mike 28711 Aug 17 13:07 lucene/core/build/tmp/test/jar_extract_996420631017213954_tmp
      -rw-r--r-- 1 mike mike 84929 Aug 17 10:30 lucene/core/build/tmp/test/jar_extract_9964495910786482810_tmp
      -rw-r--r-- 1 mike mike  8034 Aug 17 17:10 lucene/core/build/tmp/test/jar_extract_9965528236930220207_tmp
      -rw-r--r-- 1 mike mike 43565 Aug 17 11:52 lucene/core/build/tmp/test/jar_extract_9967892842722777228_tmp
      -rw-r--r-- 1 mike mike 36278 Aug 17 10:36 lucene/core/build/tmp/test/jar_extract_996836107828729763_tmp
      -rw-r--r-- 1 mike mike 29997 Aug 17 15:48 lucene/core/build/tmp/test/jar_extract_9968527122717193835_tmp
      -rw-r--r-- 1 mike mike 19078 Aug 17 11:11 lucene/core/build/tmp/test/jar_extract_9968609693107939092_tmp
      -rw-r--r-- 1 mike mike  9920 Aug 17 14:31 lucene/core/build/tmp/test/jar_extract_9968809316564216653_tmp
      -rw-r--r-- 1 mike mike 19078 Aug 17 13:22 lucene/core/build/tmp/test/jar_extract_9969318805542859308_tmp
      -rw-r--r-- 1 mike mike 28711 Aug 17 11:44 lucene/core/build/tmp/test/jar_extract_9974798403956637924_tmp 

      It seems to grow by ~64 files (how many cores I configured gradle to use in my ./gradle.properties on each iteration of beasting.

      I think gradle should be cleaning this up maybe?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mikemccand Michael McCandless
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: