Commit fd1ba67
authored
ci: set system resource limits for PHP lang tests (#3736)
* ci: set system resource limits for PHP lang tests
Recently we had a job fail with:
```
Spawning 87 workers...
Warning: stream_socket_accept(): Accept failed: Connection timed out in /usr/local/src/php/run-tests.php on line 1448
ERROR: Failed to accept connection from worker.
```
This is happening because the job doesn't have the right QOS for
resource requests to be respected, so it gets a burstable QOS. Sadly,
the default is a burstable QOS. So we specifically request resources
so that we'll be assigned a guaranteed QOS.
* ci: try enforce-static-cpus
We're not being auto-assigned the guaranteed QoS, try forcing.
* ci: tweak based on latest data now that QoS is enforced1 parent f1af9ca commit fd1ba67
2 files changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
159 | 163 | | |
160 | 164 | | |
161 | 165 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
487 | 504 | | |
488 | 505 | | |
489 | 506 | | |
| |||
0 commit comments