Handle empty JVM_OPTIONS correctly on dynamic/container agents#7351
Draft
andrew-m-leonard with Copilot wants to merge 2 commits into
Draft
Handle empty JVM_OPTIONS correctly on dynamic/container agents#7351andrew-m-leonard with Copilot wants to merge 2 commits into
JVM_OPTIONS correctly on dynamic/container agents#7351andrew-m-leonard with Copilot wants to merge 2 commits into
Conversation
Copilot
AI
changed the title
[WIP] Fix SystemTests to honour playlist variation mode on dynamic test agents
Handle empty Jul 14, 2026
JVM_OPTIONS correctly on dynamic/container agents
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: adoptium/TKG#862
Fixes: #6835
System tests on dynamic Azure agents were not honoring playlist variation JVM args because containerized runs propagated
JVM_OPTIONS=""into the shell, which suppresses Makefile defaults defined viaJVM_OPTIONS?=.Problem context
JVM_OPTIONSunset, so variation-derived options were applied.JVM_OPTIONSexplicitly set to empty, causing an unintended empty override.Pipeline behavior update (
buildenv/jenkins/JenkinsfileBase)makeTest(...), conditionally prependunset JVM_OPTIONS;before invokingmakewhenenv.JVM_OPTIONSis null/empty/whitespace.genParallelList(...), apply the same conditionalunset JVM_OPTIONS;beforemake genParallelListfor consistency in dynamic parallel flows.Behavioral impact
JVM_OPTIONScontinues to intentionally override variation/default options.