-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Ansible request for OpenJDK container detection tests (Linux x86_64) #2817
Comments
@sxa Do you have any guestimate whether or not this could be done and if so when? Happy to help get this implemented. |
Not as yet - what is the priority on it? Questions that would need answered:
If you don't REQUIRE a specific CG setup to test this initially then they could be run on the existing |
Not sure. Long term it would be good to have this test infra, though.
Yes, unfortunately that would have to change for good coverage. How to decide? For one, the system needs to support it. For two, there need to be at least 1 configured as cg 1 and one for cg 2. As for support: Fedora 36+ have cgroups v2 support. I believe latest Ubuntu comes with cgroups v2 by default as well. RHEL 8 supports it via the
I didn't cross that bridge yet. adoptium/aqa-tests#4143 added container tests group which could have different variations based on the systems they run on.
Thanks. I believe that's been done already, but there is no coverage for cgroups v2 and/or |
I wonder if we could just let each OS use it's default (configured as desired) and label appropriately?
So if I'm understanding where we are, we can run the test on some of the systems, but at the moment many machines are not configured appropriately. At the moment I think most of our systems capable of running docker images are Ubuntu so we'd need to validate that your playbook will work on Ubuntu then (assuming there are no side effects or security concerns with those changes) we can look at deploying that without our standard playbooks on the machines that have CG2 by default. |
I'm not sure this is a correct test. It looks like a hybrid system to me which usually presents itself as cgv1. What does this return?
On cgv2 it returns
Sounds OK for an initial step to get proper cg v2 configured for the tests to work. If we could label systems which have
Yes. |
It would be very useful to have specific test machines for testing the OpenJDK container detection code. See adoptium/aqa-tests#4147 and adoptium/aqa-tests#4143
Delete as appropriate from this list:
Details:
Container tests in OpenJDK require the following setup (in addition to the usual setup for aqavit test machines on Linux):
docker
orpodman
) with SELinux or similar turned offswapaccount=1
kernel command line).Ideally, there'd be both, test machines with cg v1 and cg v2 so that testing can be run on both systems. Suggested labels would be
openjdk.dev.container.cg1
andopenjdk.dev.container.cg2
.The text was updated successfully, but these errors were encountered: