Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a System wide property to enable PRS #2230

Merged
merged 7 commits into from
Feb 20, 2024

Conversation

noblepaul
Copy link
Contributor

@noblepaul noblepaul commented Jan 29, 2024

This is to clean up the JUnit tests. We want all tests to use PRS randomly

@noblepaul noblepaul marked this pull request as draft January 29, 2024 19:41
@noblepaul noblepaul changed the title Use a System wide property to enable PRS. the testcase can piggyback … Use a System wide property to enable PRS Jan 29, 2024
@github-actions github-actions bot added documentation Improvements or additions to documentation client:solrj module:sql labels Feb 5, 2024
@noblepaul noblepaul marked this pull request as ready for review February 5, 2024 19:58
@noblepaul noblepaul merged commit 61a67c0 into apache:main Feb 20, 2024
4 checks passed
@dsmiley
Copy link
Contributor

dsmiley commented Mar 7, 2024

I believe this has caused NullPointerExceptions in OverseerStatusTest -- createcollection is null. Quite a number of test failures for this since this was merged.

@dsmiley
Copy link
Contributor

dsmiley commented Mar 7, 2024

BTW it's nice to see PRS used/tested more :-)

@dsmiley
Copy link
Contributor

dsmiley commented Mar 13, 2024

http://fucit.org/solr-jenkins-reports/failure-report.html 8% is considerable. Not sure if the other failures are related. Is this a tough one to figure out @noblepaul ?

@dsmiley
Copy link
Contributor

dsmiley commented Mar 16, 2024

TestLocalFSCloudBackupRestore failures seems plausibly related as its failures begin at the same time:
https://ge.apache.org/scans/tests?search.relativeStartTime=P90D&search.rootProjectNames=solr-root&search.timeZoneId=America%2FNew_York&tests.container=*TestLocalFSCloudBackupRestore Maybe only 2-3% fail

@dsmiley
Copy link
Contributor

dsmiley commented Mar 16, 2024

@dsmiley
Copy link
Contributor

dsmiley commented Apr 22, 2024

@noblepaul OverseerStatusTest still fails occasionally :-( A number of people have bumped into it and maybe wasted some time trying to figure out what happened. Something has to be done.

@gerlowskija
Copy link
Contributor

+1 I spent a bunch of time on this this morning after running into OverseerStatusTest failures on main, before stumbling on this discussion. Any chance you're able to investigate further @noblepaul ?

@gus-asf
Copy link
Contributor

gus-asf commented May 1, 2024

Neither this PR nor the commit mention a jira so I'll drop this reproducing failure here: https://issues.apache.org/jira/browse/SOLR-17265

@HoustonPutman
Copy link
Contributor

Ok created a PR to fix this, I'm not sure what the logic here was supposed to be, but I've changed PRS to be a much more normal per-test-class randomized option.

@HoustonPutman
Copy link
Contributor

Why isn't any of this PRS testing logic backported to 9x @noblepaul ?

@dsmiley
Copy link
Contributor

dsmiley commented May 2, 2024

The approach seen here is perfect -- bake something risky in main then bring to branch_9x.

@HoustonPutman
Copy link
Contributor

Fair enough. We will let it bake then backport both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants