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

Azure Windows 2019 VMs agent are failing when starting the agent process #3283

Closed
dduportal opened this issue Dec 6, 2022 · 6 comments
Closed

Comments

@dduportal
Copy link
Contributor

Service(s)

ci.jenkins.io, trusted.ci.jenkins.io

Summary

The agents of type "Azure Windows 2019 VM" are failing on ci.jenkins.io and trusted.ci.jenkins.io with the following error in jenkins logs:

Dec 06, 2022 12:01:55 PM WARNING com.microsoft.azure.vmagent.AzureVMCloudVerificationTask verify
AzureVMCloudVerificationTask: verify: win-2019 could not be verified:
Error: Not a valid JVM Option. JVM options should start with a hyphen(-). e.g. -Xmx1500m

Reproduction steps

No response

@dduportal dduportal added the triage Incoming issues that need review label Dec 6, 2022
@dduportal dduportal added this to the infra-team-sync-2022-12-06 milestone Dec 6, 2022
@dduportal dduportal added azure windows trusted.ci bug Something isn't working and removed trusted.ci.jenkins.io triage Incoming issues that need review labels Dec 6, 2022
@dduportal
Copy link
Contributor Author

Found the culprit in "Manage Jenkins" -> "Manage Node" -> "Configure Cloud" -> select the Azure VM template for Windows 2019 and click on the "Advanced" Button:

Capture d’écran 2022-12-06 à 15 06 40

Removing the double quotes fixes the issues.

Cc @smerle33 it's an unexpected consequence of jenkins-infra/jenkins-infra#2509.

We now have 2 cases to handle for Windows agents:

@dduportal
Copy link
Contributor Author

@smerle33
Copy link
Contributor

smerle33 commented Dec 7, 2022

short term fix in place with jenkins-infra/jenkins-infra#2521

@dduportal dduportal assigned dduportal and unassigned smerle33 Dec 8, 2022
@dduportal
Copy link
Contributor Author

dduportal commented Dec 8, 2022

Long term fix in jenkins-infra/jenkins-infra#2527

@dduportal
Copy link
Contributor Author

Hotfi (I did a typo 😅): jenkins-infra/jenkins-infra#2530

@dduportal
Copy link
Contributor Author

Applied and verified on ci.jenkins.io

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

Successfully merging a pull request may close this issue.

2 participants