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

Adrien Grand commented on LUCENE-10328:
---------------------------------------

There have been regular failures to TestNRTReplication in nightly jobs since 
commit ff547e7bbdc78d6869b6f47d828aa6452664ce58 has been pushed (LUCENE-10328: 
Module path for compiling and running tests is wrong). See e.g. 
[https://ci-builds.apache.org/job/Lucene/job/Lucene-NightlyTests-main/511/] for 
instance. I'm seeing the following error in the log:
{noformat}
  1> 0.126s       :     parent 
[TEST-TestNRTReplication.testCrashPrimary3-seed#[3BA8D2D3D21C6C37]] Error: 
Could not find or load main class org.junit.runner.JUnitCore
  1> 0.126s       :     parent 
[TEST-TestNRTReplication.testCrashPrimary3-seed#[3BA8D2D3D21C6C37]] Caused by: 
java.lang.ClassNotFoundException: org.junit.runner.JUnitCore
  1> 0.130s       :     parent 
[TEST-TestNRTReplication.testCrashPrimary3-seed#[3BA8D2D3D21C6C37]] top: node=0 
failed to start
  1> 0.130s       :     parent 
[TEST-TestNRTReplication.testCrashPrimary3-seed#[3BA8D2D3D21C6C37]] exit value=1
{noformat}

> Module path for compiling and running tests is wrong
> ----------------------------------------------------
>
>                 Key: LUCENE-10328
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10328
>             Project: Lucene - Core
>          Issue Type: Sub-task
>            Reporter: Dawid Weiss
>            Priority: Major
>             Fix For: 9.1, 10.0 (main)
>
>         Attachments: image-2021-12-19-12-29-21-737.png, 
> image-2022-01-04-16-04-56-563.png
>
>          Time Spent: 7h 40m
>  Remaining Estimate: 0h
>
> Uwe noticed that the module path for compiling and running tests is empty - 
> indeed, the modular configurations we create for the test sourceset do not 
> inherit from their main counterparts. This is not a standard thing created 
> for a sourceset - the test-main connection link is created by gradle's java 
> plugin. We need to do a similar thing for modular configurations.
> !image-2021-12-19-12-29-21-737.png|width=490,height=280!
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to