Re: Can someone explain how -Ptest.seed works (Oh and DistributedQueryComponentCustomSortTest keeps failing!)?

2021-11-22 Thread Michael Gibney
Dawid, sorry for the incomplete information (and for hijacking the thread)! The "no runnable tests" error indeed isn't an issue for the gradle build. But for ant I just confirmed that on a clean checkout of `releases/lucene-solr/8.11.0`: `ant test -Dtests.class='org.apache.solr.search.facet.*'` yie

Re: Can someone explain how -Ptest.seed works (Oh and DistributedQueryComponentCustomSortTest keeps failing!)?

2021-11-22 Thread Chris Hostetter
ocess(SolrRequest.java:226) at app//org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:1004) at app//org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:1019) at app//org.apache.solr.BaseDistributedSearchTestCase.queryServer(BaseDist

Re: Can someone explain how -Ptest.seed works (Oh and DistributedQueryComponentCustomSortTest keeps failing!)?

2021-11-22 Thread Dawid Weiss
> FWIW: the test-suite-level "no runnable tests" errors usually crop up for me > when specifying tests with wildcard expressions, e.g.: > `-Dtests.class='org.apache.solr.search.facet.*'` (with `DebugAgg` being the > culprit in that case). I just ignore these "no runnable tests" errors (though >

Re: Can someone explain how -Ptest.seed works (Oh and DistributedQueryComponentCustomSortTest keeps failing!)?

2021-11-22 Thread Michael Gibney
>LUCENE-9660. Perhaps it's worth porting over to Solr too. +1 to this, I had been wondering about that! The above explanation of the test suite error messages is great, and perhaps would be nice to have in "contributing" docs too. FWIW: the test-suite-level "no runnable tests" errors usually crop

Re: Can someone explain how -Ptest.seed works (Oh and DistributedQueryComponentCustomSortTest keeps failing!)?

2021-11-22 Thread Dawid Weiss
> The test.seed will cause the randomized testing to choose the same > locale/timezone/encoding/etc so that if you're hitting a bug that only shows > up with swahili or for the kiribati timezone it will reproduce reliably. Correct. Some things will be "derived" from this property at build time (

Re: Can someone explain how -Ptest.seed works (Oh and DistributedQueryComponentCustomSortTest keeps failing!)?

2021-11-22 Thread Eric Pugh
Interesting! So, I changed my test.seed from 5B595A296E3623CE to 5B595A296E3623CC by changing the last letter from E to C, and reran the test, and it passed! Be curious if it fails for anyone else? The failing seed version was complaining about various timeouts etc in dealing with the col

Re: Can someone explain how -Ptest.seed works (Oh and DistributedQueryComponentCustomSortTest keeps failing!)?

2021-11-22 Thread Gus Heck
The test.seed will cause the randomized testing to choose the same locale/timezone/encoding/etc so that if you're hitting a bug that only shows up with swahili or for the kiribati timezone it will reproduce reliably. This only works if your test is tripped by something influenced by that seed. Oth

Can someone explain how -Ptest.seed works (Oh and DistributedQueryComponentCustomSortTest keeps failing!)?

2021-11-22 Thread Eric Pugh
Can someone explain how the -Ptest.seed works, and how I use it to figure out if a bug exists? I ran the full set of tests, and had this message: ERROR: The following test(s) have failed: - org.apache.solr.handler.component.DistributedQueryComponentCustomSortTest.test (:solr:core) Test