Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-70607

ec2 fleet plugin provision doesn't work and node label setting is missing from all the freestyle jobs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ec2-fleet-plugin
    • Jenkins Version: Jenkins 2.346.1
      EC2 Fleet Plugin: 2.5.2

      Jenkins happens to run into the following troubles

       

      1. ec2-fleet plugin unable to provision new AWS asg instance

      2. The "Restrict where this project can be run" option for all the jobs is missing, the node settings still work if I try to trigger the job, but I can't change it since I can't find the option from the UI.

       

      In the jenkins log:

      Timer task hudson.slaves.NodeProvisioner$NodeProvisionerInvoker@654c7907 failed
      java.util.UnknownFormatConversionException: Conversion = 'N'
          at java.base/java.util.Formatter$FormatSpecifier.conversion(Formatter.java:2839)
          at java.base/java.util.Formatter$FormatSpecifier.<init>(Formatter.java:2865)
          at java.base/java.util.Formatter.parse(Formatter.java:2713)
          at java.base/java.util.Formatter.format(Formatter.java:2655)
          at java.base/java.util.Formatter.format(Formatter.java:2609)
          at java.base/java.lang.String.format(String.java:2897)
          at com.amazon.jenkins.ec2fleet.EC2FleetCloud.fine(EC2FleetCloud.java:878)
          at com.amazon.jenkins.ec2fleet.EC2FleetCloud.canProvision(EC2FleetCloud.java:730)
          at hudson.model.Label.getClouds(Label.java:259)
          at hudson.model.Label.isEmpty(Label.java:434)
          at jenkins.model.Jenkins.getLabels(Jenkins.java:2105)
          at hudson.slaves.NodeProvisioner$NodeProvisionerInvoker.doRun(NodeProvisioner.java:823)
          at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:92)
          at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:67)
          at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
          at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
          at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
          at java.base/java.lang.Thread.run(Thread.java:829)

        

            schmutze Chad Schmutzer
            ariyuan Ari Yuan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: