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

Chris M. Hostetter commented on SOLR-17360:
-------------------------------------------

{quote}"./gradlew clean" should be enough to workaround the issue though. I'd 
just add a "clean" task to the command to skip broken builds, and the final 
test line at the end of the script. e.g.
{quote}
{quote}The reason is that the generated code goes in the build directory (which 
git-clean ignores by default). You could add the "-x" flag to your "git clean" 
command, instead of running "gradlew clean", if you prefer. Either should work.
{quote}
Bah – i was completely oblivious to the fact that the problematic files were in 
a build dir. Thanks.

(I generally avoid {{git clean -x}} because it deletes our (generated) 
{{gradle.properties}} which i have local modifications to. )

> ShardSplitTest 100% failures on main branch
> -------------------------------------------
>
>                 Key: SOLR-17360
>                 URL: https://issues.apache.org/jira/browse/SOLR-17360
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Chris M. Hostetter
>            Priority: Major
>
> ShardSplitTest is a nightly only testclass that has 4 test methods which have 
> recently been failing 100% of the time in jenkins, regardless of seed...
>  * testSplitMixedReplicaTypes
>  * testSplitStaticIndexReplicationLink
>  * testSplitStaticIndexReplication
>  * testSplitMixedReplicaTypesLink
>  
> ...but AFAICT these failures are not new.  IIUC this test has been failing on 
> 100% of – the _MAIN_ branch – jenkins builds since ~ Oct/Nov {*}2023{*}!
> (I believe the historical graphs since then just look "sporadic" because it's 
> a nightly only test so run's very infrequently and was still (mostly) passing 
> on the 9x branch)
>  
> ----
>  
> It's trivial to see these failures locally, regardless of seed; or whether 
> you run a single test method, or multiple test methods.  
> Example...
> {noformat}
> git clean -fd && ./gradlew -p solr/core test -Ptests.nightly=true --tests 
> ShardSplitTest.testSplitMixedReplicaTypes{noformat}
>  
> The failures are all fairly non-sopecific...
> {noformat}
>    >     java.util.concurrent.TimeoutException: Timeout waiting to see state 
> for collection=testSplitMixedReplicaTypes_rewrite 
> :DocCollection(testSplitMixedReplicaTypes_rewrite//collections/testSplitMixedReplicaTypes_rewrite/state.json/18
>  )={
>    >       "pullReplicas":2,
>    >       "configName":"conf1",
> ...
>    >         at 
> __randomizedtesting.SeedInfo.seed([462B215EC450E717:FEE875FE388B3262]:0)
>    >         at 
> org.apache.solr.common.cloud.ZkStateReader.waitForState(ZkStateReader.java:1884)
>    >         at 
> org.apache.solr.cloud.api.collections.ShardSplitTest.doSplitMixedReplicaTypes(ShardSplitTest.java:442)
>    >         at 
> org.apache.solr.cloud.api.collections.ShardSplitTest.testSplitMixedReplicaTypes(ShardSplitTest.java:407){noformat}
>  
> ...with no errors in the logs indicating when/what might be going wrong.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to