You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Dawid Weiss (Jira)" <ji...@apache.org> on 2020/08/18 06:06:00 UTC

[jira] [Commented] (LUCENE-9468) "./gradlew -p lucene test" leaks lucene/core/build/tmp/test/jar_extract_XXXX files

    [ https://issues.apache.org/jira/browse/LUCENE-9468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17179377#comment-17179377 ] 

Dawid Weiss commented on LUCENE-9468:
-------------------------------------

These are temporary files internal to gradle's test task. It's not something we do. They should be cleaned, but it's a bug in gradle - I don't think we should cater for this as it'll make the build more complex and it may prove difficult to track on gradle upgrades?

> "./gradlew -p lucene test" leaks lucene/core/build/tmp/test/jar_extract_XXXX files
> ----------------------------------------------------------------------------------
>
>                 Key: LUCENE-9468
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9468
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Priority: Major
>
> 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:
> {noformat}
> -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 {noformat}
> 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?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org