-
Notifications
You must be signed in to change notification settings - Fork 721
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
OpenJDK java/lang/Thread/virtual/stress/ParkALot.java#id0 timeout #18444
Comments
Also observed at internal builds: JDK21 aarch64_linux JDK21 ppc64_aix |
It's a new test introduced in ibmruntimes/openj9-openjdk-jdk21@8f677c4. It launches num_threads and expects each thread to park and unpark 500_000 times. The test just takes a lot of time, which causes the timeout. The test passes in a reasonable time when the number of iterations are reduced to 5_000, which should be sufficient to verify functional behaviour. |
@babsingh are you planning to modify the test to avoid the timeouts in our regular testing? |
ParkALot launches a number of virtual threads and expects each thread to park and unpark 500_000 times. The test takes a lot of time to execute leading to timeouts in Jenkins testing. The number of park and unpark iterations is reduced to 5_000, which is sufficient to verify functional behaviour. Further, the reduced iterations allow the test to pass in a reasonable time in Jenkins testing. vm.debug is set to false for OpenJ9. So, the vm.debug=true variant is left unmodified. Related: eclipse-openj9/openj9#18444 Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
ParkALot launches a number of virtual threads and expects each thread to park and unpark 500_000 times. The test takes a lot of time to execute leading to timeouts in Jenkins testing. The number of park and unpark iterations is reduced to 5_000, which is sufficient to verify functional behaviour. Further, the reduced iterations allow the test to pass in a reasonable time in Jenkins testing. vm.debug is set to false for OpenJ9. So, the vm.debug=true variant is left unmodified. Related: eclipse-openj9/openj9#18444 Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
ParkALot launches a number of virtual threads and expects each thread to park and unpark 500_000 times. The test takes a lot of time to execute leading to timeouts in Jenkins testing. The number of park and unpark iterations is reduced to 5_000, which is sufficient to verify functional behaviour. Further, the reduced iterations allow the test to pass in a reasonable time in Jenkins testing. vm.debug is set to false for OpenJ9. So, the vm.debug=true variant is left unmodified. Related: eclipse-openj9/openj9#18444 Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
ParkALot launches a number of virtual threads and expects each thread to park and unpark 500_000 times. The test takes a lot of time to execute leading to timeouts in Jenkins testing. The number of park and unpark iterations is reduced to 5_000, which is sufficient to verify functional behaviour. Further, the reduced iterations allow the test to pass in a reasonable time in Jenkins testing. vm.debug is set to false for OpenJ9. So, the vm.debug=true variant is left unmodified. Related: eclipse-openj9/openj9#18444 Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
Yes, opened the below PRs to address the timeout: |
ParkALot launches a number of virtual threads and expects each thread to park and unpark 500_000 times. The test takes a lot of time to execute, leading to timeouts in Jenkins testing. The number of park and unpark iterations is reduced to 5_000, which is sufficient to verify functional behaviour. Further, the reduced iterations allow the test to pass in a reasonable time in Jenkins testing. vm.debug is set to false for OpenJ9. So, the vm.debug=true variant is left unmodified. Related: eclipse-openj9/openj9#18444 Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
ParkALot launches a number of virtual threads and expects each thread to park and unpark 500_000 times. The test takes a lot of time to execute, leading to timeouts in Jenkins testing. The number of park and unpark iterations is reduced to 5_000, which is sufficient to verify functional behaviour. Further, the reduced iterations allow the test to pass in a reasonable time in Jenkins testing. vm.debug is set to false for OpenJ9. So, the vm.debug=true variant is left unmodified. Related: eclipse-openj9/openj9#18444 Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
The two PRs, mentioned in #18444 (comment), have been merged. Closing this issue since the two PRs should resolve this issue. |
ParkALot launches a number of virtual threads and expects each thread to park and unpark 500_000 times. The test takes a lot of time to execute, leading to timeouts in Jenkins testing. The number of park and unpark iterations is reduced to 5_000, which is sufficient to verify functional behaviour. Further, the reduced iterations allow the test to pass in a reasonable time in Jenkins testing. vm.debug is set to false for OpenJ9. So, the vm.debug=true variant is left unmodified. Related: eclipse-openj9/openj9#18444 Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
ParkALot launches a number of virtual threads and expects each thread to park and unpark 500_000 times. The test takes a lot of time to execute, leading to timeouts in Jenkins testing. The number of park and unpark iterations is reduced to 5_000, which is sufficient to verify functional behaviour. Further, the reduced iterations allow the test to pass in a reasonable time in Jenkins testing. vm.debug is set to false for OpenJ9. So, the vm.debug=true variant is left unmodified. Related: eclipse-openj9/openj9#18444 Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_sanity.openjdk_aarch64_linux_Nightly_testList_0/96/
https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_sanity.openjdk_aarch64_linux_Nightly_testList_1/96/
https://openj9-artifactory.osuosl.org/artifactory/ci-openj9/Test/Test_openjdk21_j9_sanity.openjdk_aarch64_linux_Nightly_testList_0/96/openjdk_test_output.tar.gz
https://openj9-artifactory.osuosl.org/artifactory/ci-openj9/Test/Test_openjdk21_j9_sanity.openjdk_aarch64_linux_Nightly_testList_1/96/openjdk_test_output.tar.gz
java/lang/Thread/virtual/stress/ParkALot.java#id0
Showing selected threads from the timeout:
2dc399e...881ab73
eclipse-openj9/openj9-omr@2a9a7f4...9bc6e08
ibmruntimes/openj9-openjdk-jdk21@f8d2943...88ac736
The text was updated successfully, but these errors were encountered: