-
-
Notifications
You must be signed in to change notification settings - Fork 317
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
Add hotspot_container tests to the openjdk test group #4143
Comments
These tests verify that the container detection code in OpenJDK works as expected. They'd be relevant for JDK 8, 11, 17 and latest. The basic mode of operation of those tests is that they build a cg v1:
cg v2:
Those container tests are relevant for Linux only. Other OSes don't have the (cgroup kernel) feature. |
I've opened an infra request ticket for cg v1 and cg v2 setups for Linux (x86_64 should be fine for starters): adoptium/infrastructure#2817 |
Once this is fixed, we should remove excluded tests for JDK 8 done by #3885. I see that those are excluded not only for The real fix is to use a base image which is available on those architectures. The proposed UBI 8 image is available for x86_64, ppc64, aarch64 and s390x (s390x for JDK 11+) |
These tests require os.linux to run. Closes adoptium#4143
These tests require os.linux to run. Closes #4143
We should be adding the hotspot_containers target to the openjdk/playlist nearby the other hotspot_misc targets that we already have (see hotspot_compiler, hotspot_gc, hotspot_runtime, hotspot_serviceability)
There may be an implication here that we need the test machines to have Docker installed, so presume we may need to check whether we need an infrastructure issue also created and of course disable these container tests from the appropriate platforms where it is not available). For now we can create a PR and run some tests across platforms to see how these tests behave.
The tests may skip themselves from running if machine
in which case we may not need to add restrictions in the playlist as to where they can run, TBD.
The text was updated successfully, but these errors were encountered: