-
Notifications
You must be signed in to change notification settings - Fork 736
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
Parse test target for jitaas flag #3101
Parse test target for jitaas flag #3101
Conversation
cdb131b
to
a8abc8b
Compare
This is what we have come up with for a proposed way to handle turning on jitaas testing via either a PR or regular build. Please note: This will not work via PRs until #2728 is resolved |
As discussed with @AdamBrousseau the caveat of this approach is that committers/users may be confused and believe that sanity.functional.jitaas is an actual test target that they could run, which it is most definitely not. This approach does overcome the barrier of how to format and retrieve input from a git comment to trigger PR builds, and given our short window to enable this testing, we should likely proceed with it. I do not want to see us continue to overload the test targets via the PR build plugin everytime a new feature request comes in. It will be good for us to consciously keep the PR inputs aligned with the actual manual/commandline input for testing, otherwise make it a maintenance/doc nightmare to explain the mappings introduced over time. We see that in the internal/proprietary system we are still pulling ourselves out of, there are far too many cases of "we mapped this to this to this to this..." to the point where we no longer even understand how that evolution/hackery ever occurred. |
The alternative would be something like |
A slight modification would be sanity.functional+jitaas which maybe keeps the parsing easy for faster delivery, but is more explainable, less confusing, to users trying to figure out the test target. And then agree on a longer term strategy such as suggested in #3101 (comment), although I'm not a fan of having to specify PLATFORMS=, VERSIONS=, etc. |
sanity.functional+jitaas |
a8abc8b
to
5ad4c58
Compare
- Adds ability to pass a TESTS_TARGETS with '+jitaas' in the name - Sets flag TEST_FLAG=JITAAS and passes to Test job Issue eclipse-openj9#2893 Related adoptium/aqa-tests#584, eclipse-openj9#3059 [skip ci] Signed-off-by: Adam Brousseau <[email protected]>
5ad4c58
to
40cda9a
Compare
Updated change. Please review & merge. |
Jenkins test sanity+jitaas xlinux jdk11 |
That syntax would work if this and #2836 was merged ;) |
sorry forgot to ask this earlier, has the JVM EXTRA_OPTION "-XX:JITaaSClient " already been dealt with as well? |
Good question. I don't see where it would have been added yet. I thought it would have been in #3059 or adoptium/aqa-tests#584 but it isn't there. I do however see this. So I may have to make another change to also pass |
I don't think this was clearly communicated in the initial request (and I have not seen a reply to my question, how are customers expected to invoke this feature)... But anyway, there number of ways to do this. Testing with additional cmdline options, can be done by introducing new variants in playlist.xml file. I sense the expectation here is that you assume we will apply this commandline option across the board to all tests (that all tests should be able to be run with jitaas). If so, then we can leverage EXTRA_OPTIONS env var and set the (JVM_OPTIONS replaces existing options which is not desirable in this case, EXTRA_OPTIONS appends additional commandline options). |
@renfeiw - when we setup jitaas server, can we also append -XX:JITaaSClient ? |
Ie. Set |
@AdamBrousseau - thanks. We know where to set it, I was asking if @renfeiw can prep a PR. You do not need to help chase down test solutions, I know your plate is full in releng/build space. |
I can add |
yes, we can proceed with the separate JITAAS_OPTIONS approach. |
Can we not do something like |
Yes, we can. It's the same idea with the approach |
I guess my concern is from the build side, we're already passing TEST_FLAG=JITAAS, I'd rather not pass another, somewhat redundant, option. |
You don't need to pass another variable. I will define |
- Allows any test flag to be passed through to the test jobs. For example sanity.functional+jitaas or sanity.functional+aot [skip ci] Issue eclipse-openj9#2893 eclipse-openj9#3101 eclipse-openj9#4875 Signed-off-by: Adam Brousseau <[email protected]>
Issue #2893
Related adoptium/aqa-tests#584, #3059
[skip ci]
Signed-off-by: Adam Brousseau [email protected]