Giter VIP home page Giter VIP logo

Comments (6)

stephenashank avatar stephenashank commented on August 13, 2024

Hi @sce81, thanks for raising this. I have unsuccessfully attempted to recreate this bug and I'll need more information to figure out the problem, so I'd appreciate if you would answer these questions:

  1. What version of the plugin are you running?
  2. Are you using configuration as code or configuring through the Jenkins UI?
  3. Do you have multiple instance configurations with OneShot enabled?
  4. What is the value of Instance Cap for the Google Compute Engine Cloud which contains the configuration(s)?
  5. In the one shot enabled configuration(s), what are the values set for Node Retention Time, Usage ("use this node as much as possible" or "only build jobs with label expressions matching this node"), and Number of Executors?

Thanks in advance.

from google-compute-engine-plugin.

sce81 avatar sce81 commented on August 13, 2024

What version of the plugin are you running? 3.3.0 & 3.3.2

are you using configuration as code or configuring through the Jenkins UI?
code - jenkins DSL pipelineJob

Do you have multiple instance configurations with OneShot enabled? yes

What is the value of Instance Cap for the Google Compute Engine Cloud which contains the configuration(s)? 20

In the one shot enabled configuration(s), what are the values set for Node Retention Time, Usage ("use this node as much as possible" or "only build jobs with label expressions matching this node"), and Number of Executors
node retention = 10m
use this node as much as possible
executors = 3

from google-compute-engine-plugin.

ingwarsw avatar ingwarsw commented on August 13, 2024

Change executors to 1 and thy again..

I have no idea what will happen with more than 1 executor with one shot..
Probably it cannot stop instance because it have other executors..

from google-compute-engine-plugin.

stephenashank avatar stephenashank commented on August 13, 2024

I tried using two executors with one shot, with an instance cap of two. Only one instance was created, and it attempted to run both builds on the same instance. However, because the build that I ran second was shorter than the first, it finished before the first build could finish, and the instance was terminated without finishing that build.

from google-compute-engine-plugin.

stephenashank avatar stephenashank commented on August 13, 2024

Hi @sce81, have you had an opportunity to test out version 3.4.0 and see whether the one-shot feature is working as intended for you?

from google-compute-engine-plugin.

stephenashank avatar stephenashank commented on August 13, 2024

Marking this as closed after inactivity, given that the fix has been released. Let us know if there are other issues.

from google-compute-engine-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.