Commit 99531d1
committed
fix(Jenkinsfile): use sleep infinity (no TTY) for nova-ci idle process
Build #32 reached the Build stage but nova-ci's first sh died with:
process apparently never started in
/home/jenkins/agent/workspace/nova-cicd@tmp/durable-d3168952
ERROR: script returned exit code -2
Pod ownership (fsGroup) was fixed in the previous commit, so this is a
different failure: ttyEnabled=true + command='cat' is the well-known
trigger for durable-task "process apparently never started" / exit -2.
durable-task uses kubectl exec to attach a non-TTY wrapper script to a
TTY-allocated container, and on this controller's plugin/runtime combo
the wrapper fails to launch.
Use the standard workaround:
ttyEnabled: false
command: 'sleep'
args: 'infinity'
Just dropping the TTY (keeping 'cat') was tried before on claude-broke-it
and broke differently: cat exits on stdin EOF and Kubernetes terminates
the sidecar during Get Token. sleep infinity is the canonical idle
process for durable-task exec containers and is what the working
configuration on claude-broke-it converged to.
Signed-off-by: Edwin Peer <epeer@nvidia.com>1 parent d71725b commit 99531d1
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
| |||
106 | 111 | | |
107 | 112 | | |
108 | 113 | | |
109 | | - | |
110 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
111 | 117 | | |
112 | 118 | | |
113 | 119 | | |
| |||
0 commit comments