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

Windows build of plugins don't start on ci #4490

Open
gounthar opened this issue Jan 10, 2025 · 12 comments
Open

Windows build of plugins don't start on ci #4490

gounthar opened this issue Jan 10, 2025 · 12 comments

Comments

@gounthar
Copy link

Service(s)

ci.jenkins.io

Summary

Following my PR on the antexec plugin, https://ci.jenkins.io/job/Plugins/job/antexec-plugin/view/change-requests/job/PR-110/1/ is taking forever to get a Windows VM.

In progress 1 hr 22 min ago in 1 hr 22 min and counting

@timja has detected the same kind of issues.

Reproduction steps

No response

@gounthar gounthar added the triage Incoming issues that need review label Jan 10, 2025
@dduportal dduportal self-assigned this Jan 10, 2025
@dduportal dduportal added this to the infra-team-sync-2025-01-14 milestone Jan 10, 2025
@dduportal dduportal removed the triage Incoming issues that need review label Jan 10, 2025
@dduportal
Copy link
Contributor

Workin on it: requires to block all builds on ci.jenkins.io (put in the queue)

@dduportal
Copy link
Contributor

Ok, there is an ongoing Azure network outage which causes these troubles:

Capture d’écran 2025-01-10 à 12 23 39 Capture d’écran 2025-01-10 à 12 28 01

This outage was only notified in our Azure Service Health console today (10 January) around 10:30 UTC, and it looks like it's not being reported properly (look at the map below):

Capture d’écran 2025-01-10 à 12 44 53

@dduportal
Copy link
Contributor

Capture d’écran 2025-01-10 à 12 51 52

@dduportal
Copy link
Contributor

Since this incident has been ongoing unoticed by Microsoft since the past 2 days, we most porbably don't see any full recovery until a few days. Let's wait and see as the team is not available to perform a full region change for the time being and it's not critically blocked.

@dduportal
Copy link
Contributor

Also did an email to the developers mailing list for awareness: https://groups.google.com/g/jenkinsci-dev/c/VQcRiUYu92o

@lemeurherveCB
Copy link

Workaround for stuck builds: set useContainerAgent to false in your pipelines as Azure VM agents are spawned successfully since they're not using the impacted ACI service.

@rantoniuk
Copy link

rantoniuk commented Jan 10, 2025

  • Banner added to ci.jenkins.io:
Capture d’écran 2025-01-10 à 12 51 52

Unfortunately that banner is not visible on the actual build pages, the user needs to be on the main Jenkins site to see it...

And it seems it's a good feature request candidate :-)

@lemeurherveCB
Copy link

Good point, unfortunately we don't have anything allowing to display a top banner on every ci.jenkins.io pages AFAIK.

@jglick
Copy link

jglick commented Jan 10, 2025

(FTR, noticed earlier in jenkinsci/jenkins-test-harness#893)

@jglick
Copy link

jglick commented Jan 10, 2025

a full region change

Or just a zonal change? According to the announcement image, other zones in the same region are unaffected.

@jglick
Copy link

jglick commented Jan 10, 2025

set useContainerAgent to false in your pipelines

Requires temporarily editing Jenkinsfile and then reverting the edit in each affected plugin. Also there is no need to touch Linux configuration, only Windows, IIUC. Would be nicer to developers to temporarily edit buildPlugin.groovy to either suppress Windows ACI builds, or quietly switch them to VMs.

@lemeurherveCB
Copy link

Would be nicer to developers to temporarily edit buildPlugin.groovy to <...> quietly switch them to VMs.

Implemented by @MarkEWaite in jenkins-infra/pipeline-library#898

jenkins-infra/pipeline-library#899 opened as

plugins that use spotless will fail their builds on a Windows VM when they pass on a Windows container. Switch from container to VM makes that issue visible to more people

MarkEWaite added a commit to MarkEWaite/pipeline-library that referenced this issue Jan 10, 2025
jenkins-infra/helpdesk#4490 notes that
Windows builds for plugins that use container agents are not starting.

https://status.jenkins.io/issues/2025-01-08-ci.jenkins.io-azure-outage/
reports the outage is due to an Azure Container Instance (ACI) outage
in the region where we host the ci.jenkins.io agents.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants