solr icon indicating copy to clipboard operation
solr copied to clipboard

SmokeTestRelease Added support for multiple JDK

Open iamsanjay opened this issue 1 year ago • 1 comments

This PR removes the hardcoded reference to Java and introduces support for multiple JDK versions through the new --test-alt-java parameter. This enhancement was largely inspired by the work in Apache Lucene PR #13108.

Credits to the contributors of the original implementation for their valuable insights.

iamsanjay avatar Aug 30 '24 14:08 iamsanjay

Though I have yet to test with the different version. I mostly ran it with the same version, and on mac.

python3 -u ./dev-tools/scripts/smokeTestRelease.py   --test-alt-java /Library/Java/JavaVirtualMachines/jdk-21.jdk/Contents/Home  file:///tmp/releases/10.0.0/solr-10.0.0-RC1-rev-fed9db04b5b16ae829d9c7bfb19b972ade0f0bdc

iamsanjay avatar Aug 30 '24 15:08 iamsanjay

This PR has had no activity for 60 days and is now labeled as stale. Any new activity will remove the stale label. To attract more reviewers, please tag people who might be familiar with the code area and/or notify the [email protected] mailing list. To exempt this PR from being marked as stale, make it a draft PR or add the label "exempt-stale". If left unattended, this PR will be closed after another 60 days of inactivity. Thank you for your contribution!

github-actions[bot] avatar Oct 30 '24 00:10 github-actions[bot]

This PR is now closed due to 60 days of inactivity after being marked as stale. Re-opening this PR is still possible, in which case it will be marked as active again.

github-actions[bot] avatar Dec 29 '24 00:12 github-actions[bot]

@iamsanjay Can you also update the description of the tool in README.md in the scripts folder?

janhoy avatar Jan 03 '25 12:01 janhoy

This PR has had no activity for 60 days and is now labeled as stale. Any new activity will remove the stale label. To attract more reviewers, please tag people who might be familiar with the code area and/or notify the [email protected] mailing list. To exempt this PR from being marked as stale, make it a draft PR or add the label "exempt-stale". If left unattended, this PR will be closed after another 60 days of inactivity. Thank you for your contribution!

github-actions[bot] avatar Mar 05 '25 00:03 github-actions[bot]

@iamsanjay I merged in main branch and resolved conflicts the best I could. I also updated README.md with the latest usage text for the tool, and took it for a spin and fixed a bug with an uninitialized variable.

However, I don't have a release candidate at hand for testing with.

@HoustonPutman are you willing to be the first to test this generalization for the 9.8.1 release? It basically lets you test with one or more alternative JDKs instead of hardcoded versions as in todays script. So you could

dev-tools/scripts/smokeTestRelease.py --revision 9.8.1 --test-alt-java /path/to/java23 --test-alt-java /path/to/java25 ...

janhoy avatar Mar 05 '25 11:03 janhoy

This PR has had no activity for 60 days and is now labeled as stale. Any new activity will remove the stale label. To attract more reviewers, please tag people who might be familiar with the code area and/or notify the [email protected] mailing list. To exempt this PR from being marked as stale, make it a draft PR or add the label "exempt-stale". If left unattended, this PR will be closed after another 60 days of inactivity. Thank you for your contribution!

github-actions[bot] avatar May 05 '25 00:05 github-actions[bot]

No response on my latest changes, so I'll assume lazy consensus and merge this as is.

janhoy avatar May 06 '25 08:05 janhoy