Comments (10)
error logs
[Pipeline] stage
[Pipeline] { (Processing Template)
[Pipeline] sh
[workspace] Running shell script
+ set -u
+ set -e
+ for i in 'hshinde-{stage,run}'
+ oc delete all --all -n hshinde-stage
deploymentconfig "nodejs-health-check-osio-master" deleted
imagestream "nodejs-health-check-osio-master" deleted
imagestream "runtime-osio-master" deleted
route "nodejs-health-check-osio-master" deleted
pod "nodejs-health-check-osio-master-2-2zt6r" deleted
service "nodejs-health-check-osio-master" deleted
+ for i in 'hshinde-{stage,run}'
+ oc delete all --all -n hshinde-run
deploymentconfig "nodejs-health-check-osio-master" deleted
imagestream "nodejs-health-check-osio-master" deleted
imagestream "runtime-osio-master" deleted
route "nodejs-health-check-osio-master" deleted
pod "nodejs-health-check-osio-master-2-sp99x" deleted
service "nodejs-health-check-osio-master" deleted
+ for i in hshinde 'hshinde-{stage,run}'
+ oc apply -f- -n hshinde
+ oc process -f .openshiftio/application.yaml SOURCE_REPOSITORY_REF=1f4e5af SUFFIX_NAME=-osio-master SOURCE_REPOSITORY_URL=https://github.com/hrishin/nodejs-health-check.git
from osio-pipeline.
Since most of this work is done by shelling out OC command. Hence Jenkins throws memory allocation issues during fork -> exec.
from osio-pipeline.
For further testing, increased memory limit of Jenkins from 512Mi to 1 Gi. After running 20+ builds I've never seen that memory issue again.
Resource usage stats of Jenkins pod.
from osio-pipeline.
Memory snapshot of Jenkins container. It clearly appears the invoking sh command may be creating zombie processes.
from osio-pipeline.
from osio-pipeline.
@chmouel this can be handle gracefully by executing a job in new slave agent?
from osio-pipeline.
why do we need a slave agent? why not just a timeout { }
from osio-pipeline.
yes @chmouel lets put timeout events for such cases.
However running jobs in slave pods with enough memory would prevent such kind problems, right?
from osio-pipeline.
yeah right, but let's try to make sure we make this works with the current limiters of what we have on OSIO, we can't really assume we can request more memory/pods/cpu in the osio tenant,
from osio-pipeline.
This is fixed now.
from osio-pipeline.
Related Issues (20)
- Image promotion between environment HOT 5
- Multi environments support HOT 2
- Rename OSIO-Pipeline codeready toolchain based name
- Add a diagram of osio-pipeline flow
- oc new-app integration HOT 7
- update doc for the config API
- Add golang slave image support in pipeline HOT 2
- Add debug/verbose mode
- Private GIT repo
- Split application.yaml between build and deploy bits HOT 1
- Attach a secret to an environment HOT 1
- refactor the pipeline code
- update Readme for runTest, testNamespace and changes in spawn API HOT 1
- Pipeline build API is failing
- Verify Deployment is not waiting for pod to be ready HOT 1
- Go Based OSIO-Pipeline - Proposal
- revert runtest API related changes
- make this library independent of osio constraints HOT 1
- Documentation for jenkinsfile-runners
- Detect if bayeseian plugin is available HOT 3
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 osio-pipeline.