Comments (6)
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:
- What version of the plugin are you running?
- Are you using configuration as code or configuring through the Jenkins UI?
- Do you have multiple instance configurations with OneShot enabled?
- What is the value of Instance Cap for the Google Compute Engine Cloud which contains the configuration(s)?
- 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.
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.
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.
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.
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.
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)
- Agent JVM Options
- Agent/instance is created with Preamble off while Template to use is selected HOT 1
- Feature request: try different zones if the one specified in config does not have enough resources HOT 4
- Feature request: Option to delay agent connection to allow custom startup script to finish HOT 3
- Option the set MAXIMUM triggered builds for an agent
- Enable billing measure of GCP Jenkins workers HOT 2
- The hpi download link is broken HOT 2
- Add new spot for provision type HOT 2
- New Node with "Google Compute Engine" failed HOT 1
- Add an ability to provide image family name instead of image name HOT 1
- Create snapshot defaulting to multi-region
- Expose Prefix Start Agent Command and Suffix Start Agent Command
- Jobs on preempted VMs hang indefinitely until manually cancelled HOT 2
- Option to limit run time of VM HOT 1
- Large number of offline build executors when there is no capacity
- Add option for enabling nested virtualization
- External IP Address can't be configured HOT 10
- Attaching a start up script to an instance template
- Nullsafe operator required
- Change mahine type from configuration not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-compute-engine-plugin.