-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
kubernetes plugin v0.12 or current master
Jenkins 2.62
container step running in a _debian_ container
podTemplate(name: "mypod", label: "label", containers: [ containerTemplate(name: 'debian', image: 'debian', ttyEnabled: true, command: 'cat', ) ]) { node("label") { container('debian') { sh 'for i in $(seq 1 1000); do echo $i; sleep 0.3; done' } } }
leads to
[Pipeline] podTemplate [Pipeline] { [Pipeline] node Running on horst-nwmsn-32h5h in /home/jenkins/workspace/full [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] sh [full] Running shell script + seq 1 1000 + echo 1 1 + sleep 0.3 + echo 2 2 + sleep 0.3 [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] End of Pipeline ERROR: script returned exit code -1 Finished: FAILURE
Sometimes it fails a bit faster.
Might be related to the script being started with "nohup" now.
- duplicates
-
JENKINS-47791 Eliminate ProcessLiveness
-
- Resolved
-
- links to
[JENKINS-46651] container step "script returned exit code -1"
Issue Type | Original: New Feature [ 2 ] | New: Bug [ 1 ] |
Environment |
New:
kubernetes plugin v0.12 or current master Jenkins 2.62 container step running in a _debian_ container |
Priority | Original: Minor [ 4 ] | New: Trivial [ 5 ] |
Assignee | Original: Carlos Sanchez [ csanchez ] | New: Martin Sander [ 0x89 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Priority | Original: Trivial [ 5 ] | New: Minor [ 4 ] |
Remote Link | New: This issue links to "https://github.com/jenkinsci/kubernetes-plugin/pull/218 (Web Link)" [ 17892 ] |
Remote Link | New: This issue links to "https://github.com/jenkinsci/kubernetes-plugin/pull/236 (Web Link)" [ 17893 ] |
Link |
New:
This issue duplicates |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |