Closed nwilliams-lw closed 1 year ago
It seems this bug is similar to the one observed in #411. We have decided to revert the changes that were part of this previous release as we were unable to reproduce and fully evaluate why these issues were appearing. Issue https://github.com/jenkinsci/ec2-fleet-plugin/issues/417 will be tracking these changes if we decide to reintroduce them. Feel free to move discussion to that issue, or reopen this issue if reverting these changes by updating to the newest release (version 3.0.2) still causes these issues.
Issue Details
Describe the bug We are having issues with the fleet plugin not starting instances even when there is demand. We see "No excess workload, provisioning not needed." even though we have a queue of jobs to run. Prior to upgrading to v3.0.1 from 2.7.1 this behaviour was fine.
I am not sure exactly why this is happening yet, so to start off I am trying to clear any warnings/errors from the plugin. This issue is one of the errors we now see from the fleet plugin.
From the attached stack trace it looks like the java code is trying to autobox a null value into an int.
To Reproduce
Logs Tip: See this guide to configure a logger in Jenkins UI. Please attach
fine
logs if you think they are relevant.Possibly related but after this we see messages like:
The
null
here looks suspicious.Environment Details
Plugin Version? 3.0.1
Jenkins Version? 2.4143
Spot Fleet or ASG? ASG
Label based fleet? Yes
Linux or Windows? Linux
EC2Fleet Configuration as Code n/a
Anything else unique about your setup? No
screenshot of the cloud config vals: