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

Enable time based parallel for AQA test builds #1032

Closed
llxia opened this issue May 13, 2024 · 0 comments · Fixed by #1037
Closed

Enable time based parallel for AQA test builds #1032

llxia opened this issue May 13, 2024 · 0 comments · Fixed by #1037

Comments

@llxia
Copy link
Contributor

llxia commented May 13, 2024

In AQA test builds, not only do we support running parallel based on NUM_MACHINES, but we also support running parallel based on the expected completion time TEST_TIME. Once TEST_TIME is specified, the AQA test pipeline will try to meet this target by distributing tests across the necessary number of machines in parallel.

This functionality is designed for the cloud environment (e.g., fyre VM, Azure cloud, etc.). However, I believe we can activate it with a sensible TEST_TIME setting (e.g., TEST_TIME=120 mins) (without cloud environment) to avoid configuring numMachines individually for every test build in defaults.json. The current NUM_MACHINES solution could result in an extensive numMachines list, and it lacks the flexibility to adapt per platform.

"defaultDynamicParas": {
"testLists" : ["extended.openjdk"],
"numMachines" : ["3"]

https://github.com/ibmruntimes/ci-jenkins-pipelines/blob/3d327e6d8b6df1b2ce904493cd12566c4de4eebb/pipelines/defaults.json#L91-L94

FYI @smlambert @pshipton @AdamBrousseau

llxia added a commit to llxia/ci-jenkins-pipelines that referenced this issue May 23, 2024
llxia added a commit to llxia/ci-jenkins-pipelines that referenced this issue May 23, 2024
llxia added a commit to llxia/ci-jenkins-pipelines that referenced this issue May 23, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in 2024 2Q Adoptium Plan May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant