Commit 7137a68
authored
fix: cap CI devbox hostname (#23591)
Running ci.sh grind was failing with `sethostname: invalid argument`.
Codex attributed the failure to a long branch name, causing a long
instance name, which was too long for `sethostname`. Confirmed that
switching to a shorter branch name fixed the issue.
```
--- request build instance (SSH) ---
Requesting m6a.48xlarge spot instance (name: spl_fix-web3signer-pipelining-test_amd64_grind-test-cdfb13e6637062de) (type: m6a.48xlarge) (ami: ami-067627aa971a1dcbb) (bid: 8.3136)...
Waiting for instance id for spot request: sir-dvtzjepj...
Timeout waiting for spot request.
Requesting m6a.48xlarge on-demand instance (name: spl_fix-web3signer-pipelining-test_amd64_grind-test-cdfb13e6637062de) (type: m6a.48xlarge) (ami: ami-067627aa971a1dcbb) (bid: 8.3136)...
Instance id: i-0fd2be01d28ec47e5
Waiting for SSH at 13.58.96.227...
--- connect via SSH ---
Stdout is not a tty, running in background...
Host processes pinned to OS CPUs: 88-95,184-191
HOST: fetching EC2 metadata token...
HOST: metadata token acquired.
HOST: decoding credentials...
HOST: starting devbox container...
HOST: devbox container launched (pid=10513). Monitoring for spot termination...
HOST: preparing devbox (uid/gid, docker run)...
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: sethostname: invalid argument
```1 parent 740b7e7 commit 7137a68
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
298 | 299 | | |
299 | 300 | | |
300 | 301 | | |
301 | | - | |
| 302 | + | |
302 | 303 | | |
303 | 304 | | |
304 | 305 | | |
| |||
0 commit comments