-
-
Notifications
You must be signed in to change notification settings - Fork 334
Utilise containers in Azure dynamic VMs for AQA runs #6553
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
Conversation
|
Conflicts resolved. Pre-conflict-resultion branch has been tested again at with Marking ready for review as an initial pass that can be tested. |
|
Hmm in fact using |
|
Made a temporary change to https://ci.adoptium.net/manage/cloud/Azure/template/test-linux-x64/ to add |
|
Try different test targets and jdk versions
|
PASS!
Hmmm 4 test case failures there, 2 of which are in multicast tests.
Timeout in |
|
Yes, multicast and I believe some testcases may be trying to launch containers, given the output text of failed testcases is saying was going to check if those run 'fine' on a static docker container, if we have one for x64 Linux. |
The 100 iteration failures are from running against the release builds. java_net_0 nightlies (See Grinders 15642 through 15647 excluding 15646) seem ok so failures were likely a test material mismatch. |
|
@sophia-guo - if you are okay with it, I suggest we merge this PR and come in with a 2nd set of changes that:
|
|
Once this is merged, we will make an update in ci-jenkins-pipeline code to set CLOUD_PROVIDER=azure for x64 Linux so that when we have exhausted all static nodes, this logic will kick in and spin up dynamic containers. |
Initial implementation of #5684 based on last year's work in #5683
This PR is designed to allow dynamic containers, provisioned with Azure, to be used for AQA jobs. It spins up a system with docker installed (defined by the Azure VM agents plugin config) and then pulls down a docker image (currently UBI10) and runs a job on it. This behaviour is triggered by setting the parameter
CLOUD_PROVIDER=azurein the Test jobs.This also makes a small modification to the
westonsupport in EL10 distributions to allow a dynamicXDG_RUNTIME_DIRto be used (within the jenkins workspace) so that it does not haver to be in a fixed, reusable location on the machine. FYI @llxia @AdamBrousseau as it would be good to have your confirmation that this does not break anything on your side for EL10.In the future it is envisioned that this will allow support for different distributions (at the moment we have ubi10, ubuntu2204 and ubuntu2404 on the ghcr.io registry. It is also likely that we will change the address from
ghcr.io/adoptium/test-containersto something else in the future to avoid confusion with other products of a similar name :-)