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

Tomoko Uchida commented on LUCENE-9316:
---------------------------------------

[~dweiss] I was able to reproduce the same error you shared here. I had to 
execute "clean" on separate command to do so due to the problem I mentioned 
above.
{code:java}
$ ./gradlew clean

$ ./gradlew check -x test --console=plain -Pvalidation.git.failOnModified=false
> Task :lucene:facet:javadoc

FAILURE: Build completed with 3 failures.

1: Task failed with an exception.
-----------
* Where:
Script '/mnt/hdd/repo/lucene-solr/gradle/render-javadoc.gradle' line: 137

* What went wrong:
Execution failed for task ':lucene:classification:renderJavadoc'.
> Javadoc generation failed for :lucene:classification,
    Options file at: 
/mnt/hdd/repo/lucene-solr/lucene/classification/build/tmp/renderJavadoc/javadoc-options.txt
    Command output at: 
/mnt/hdd/repo/lucene-solr/lucene/classification/build/tmp/renderJavadoc/javadoc-output.txt
......

$ cat 
/mnt/hdd/repo/lucene-solr/lucene/classification/build/tmp/renderJavadoc/javadoc-output.txt
Loading source files for package org.apache.lucene...
Constructing Javadoc information...
javadoc: error - Error reading file: 
/mnt/hdd/repo/lucene-solr/lucene/grouping/build/docs/javadoc/element-list
{code}

I'm not quite sure that if this is caused by parallel execution, but it may be 
possible that while "javadoc" task holds a write lock for the "element-list" 
file "renderJavadoc" try to read the same file at the same time.

> Incorporate all :precommit tasks into :check
> --------------------------------------------
>
>                 Key: LUCENE-9316
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9316
>             Project: Lucene - Core
>          Issue Type: Sub-task
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Minor
>




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

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

Reply via email to