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

Make integ tests always use runtime java #39732

Merged
merged 1 commit into from
Mar 6, 2019
Merged

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Mar 6, 2019

This commit ensures cluster formation always uses runtime java, never
attempting to use the bundled jdk, since the integ test zip does not
contain it.

This commit ensures cluster formation always uses runtime java, never
attempting to use the bundled jdk, since the integ test zip does not
contain it.
@rjernst rjernst added >bug >test Issues or PRs that are addressing/adding tests :Delivery/Build Build or test infrastructure v7.0.0 v8.0.0 v7.2.0 labels Mar 6, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@rjernst rjernst requested a review from alpar-t March 6, 2019 06:14
@alpar-t
Copy link
Contributor

alpar-t commented Mar 6, 2019

LGTM

I'we had to do some specific adjustments to make integ-test-zip work with test clusters recently and that had me wonder about it's special status, and weather or not we should make it reassemble other distributions more so we don't need these conditionals.
In this case, it would mean to have multiple platform specific archives each published to maven central ( AFAIK that's still how plugin authors consume it ) or even go one step beyond that and add it to the download service ? I'm not convinced we should, but wanted to leave this here as food for taught.

@rjernst
Copy link
Member Author

rjernst commented Mar 6, 2019

I think we should leave the integ test zip special for now. It will always be special since it is mostly just the server jar, without modules. Not having the bundled jdk is just another facet of that. And I don't think we should complicate it with multiple platforms.

@rjernst rjernst merged commit ab34962 into elastic:master Mar 6, 2019
@rjernst rjernst deleted the bundle_jdk8 branch March 6, 2019 18:11
rjernst added a commit that referenced this pull request Mar 8, 2019
This commit ensures cluster formation always uses runtime java, never
attempting to use the bundled jdk, since the integ test zip does not
contain it.
rjernst added a commit that referenced this pull request Mar 8, 2019
This commit ensures cluster formation always uses runtime java, never
attempting to use the bundled jdk, since the integ test zip does not
contain it.
jkakavas added a commit to jkakavas/elasticsearch that referenced this pull request Mar 11, 2019
The changes in elastic#39732 mean that nodes in the IntegTest clusters will
now run with whichever java version is defined as `runtime.java` and
not JAVA_HOME anymore.
This means that these nodes will also run in JVM with fips approved
mode enabled and as such, need to have access to the password for the
BCFKS keystore that is used as the default keystore/truststore.

This change sets the two necessary system properties.
danielmitterdorfer pushed a commit that referenced this pull request Mar 11, 2019
The changes in #39732 mean that nodes in the IntegTest clusters will
now run with whichever java version is defined as `runtime.java` and
not JAVA_HOME anymore.
This means that these nodes will also run in JVM with fips approved
mode enabled and as such, need to have access to the password for the
BCFKS keystore that is used as the default keystore/truststore.

This change sets the two necessary system properties.

Resolves #39855
danielmitterdorfer pushed a commit to danielmitterdorfer/elasticsearch that referenced this pull request Mar 11, 2019
The changes in elastic#39732 mean that nodes in the IntegTest clusters will
now run with whichever java version is defined as `runtime.java` and
not JAVA_HOME anymore.
This means that these nodes will also run in JVM with fips approved
mode enabled and as such, need to have access to the password for the
BCFKS keystore that is used as the default keystore/truststore.

This change sets the two necessary system properties.

Resolves elastic#39855
danielmitterdorfer pushed a commit to danielmitterdorfer/elasticsearch that referenced this pull request Mar 11, 2019
The changes in elastic#39732 mean that nodes in the IntegTest clusters will
now run with whichever java version is defined as `runtime.java` and
not JAVA_HOME anymore.
This means that these nodes will also run in JVM with fips approved
mode enabled and as such, need to have access to the password for the
BCFKS keystore that is used as the default keystore/truststore.

This change sets the two necessary system properties.

Resolves elastic#39855
danielmitterdorfer added a commit that referenced this pull request Mar 12, 2019
The changes in #39732 mean that nodes in the IntegTest clusters will
now run with whichever java version is defined as `runtime.java` and
not JAVA_HOME anymore.
This means that these nodes will also run in JVM with fips approved
mode enabled and as such, need to have access to the password for the
BCFKS keystore that is used as the default keystore/truststore.

This change sets the two necessary system properties.

Resolves #39855
danielmitterdorfer added a commit that referenced this pull request Mar 12, 2019
The changes in #39732 mean that nodes in the IntegTest clusters will
now run with whichever java version is defined as `runtime.java` and
not JAVA_HOME anymore.
This means that these nodes will also run in JVM with fips approved
mode enabled and as such, need to have access to the password for the
BCFKS keystore that is used as the default keystore/truststore.

This change sets the two necessary system properties.

Resolves #39855
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
@jakelandis jakelandis removed the v8.0.0 label Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team >test Issues or PRs that are addressing/adding tests v7.0.0-rc2 v7.2.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants