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

Use Windows VM until Azure ACI outage is resolved #898

Conversation

MarkEWaite
Copy link
Contributor

Use Windows VM until Azure ACI outage is resolved

An Azure outage of the Azure Container Instances service is blocking builds on ci.jenkins.io. Let's switch to use virtual machines for Windows builds, even if the Jenkinsfile requests a Windows container.

https://status.jenkins.io/issues/2025-01-08-ci.jenkins.io-azure-outage/ shows the current status of the Jenkins impact from the outage.

@MarkEWaite MarkEWaite requested a review from a team as a code owner January 10, 2025 16:58
Copy link
Contributor

@lemeurherveCB lemeurherveCB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I would add the helpdesk issue link in the refs.

Refs for this PR:

test/groovy/BuildPluginStepTests.groovy Outdated Show resolved Hide resolved
vars/buildPlugin.groovy Outdated Show resolved Hide resolved
Co-authored-by: lemeurherveCB <137290663+lemeurherveCB@users.noreply.github.com>
Copy link

@gounthar gounthar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Mark

@MarkEWaite MarkEWaite merged commit bcd195f into jenkins-infra:master Jan 10, 2025
3 checks passed
@MarkEWaite MarkEWaite deleted the use-windows-vm-until-ACI-outage-is-done branch January 10, 2025 17:40
@basil
Copy link
Contributor

basil commented Jan 10, 2025

How was this change tested? https://ci.jenkins.io/job/Plugins/job/oic-auth-plugin/job/master/306/console is failing.

@MarkEWaite
Copy link
Contributor Author

MarkEWaite commented Jan 10, 2025

How was this change tested? https://ci.jenkins.io/job/Plugins/job/oic-auth-plugin/job/master/306/console is failing.

I've verified that it replaces docker-windows label with a Windows VM label on the following builds:

It performed that same replacement on failed builds, but the Windows virtual machine was incorrectly configured for Java 11. The label should have configured it for Java 21. That is the same failure that oic-auth plugin encountered. The change made in this pull request is probably necessary, but is not sufficient to solve the issue.

I'll revert this change until I can confirm with interactive testing that a complete fix is available

MarkEWaite added a commit to MarkEWaite/pipeline-library that referenced this pull request Jan 10, 2025
…fra#898)"

Windows virtual machines are configured with Java 11 by default,
though they have Java 17 and Java 21 installed.  This change does not
propagate the Java version configuration to the Windows virtual machine.
Jobs that are configured to use Java 17 on Windows or Java 21 on Windows
are mistakenly using Java 11 on Windows.

Reverting the change so that a complete fix can be tested and confirmed
working before a pull request is proposed.

This reverts commit bcd195f.
MarkEWaite added a commit that referenced this pull request Jan 10, 2025
Windows virtual machines are configured with Java 11 by default,
though they have Java 17 and Java 21 installed.  This change does not
propagate the Java version configuration to the Windows virtual machine.
Jobs that are configured to use Java 17 on Windows or Java 21 on Windows
are mistakenly using Java 11 on Windows.

Reverting the change so that a complete fix can be tested and confirmed
working before a pull request is proposed.

This reverts commit bcd195f.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants