Commit a048b31
committed
Drop coverage build intermediates before running the tests
docker system df shows buildPortableLibdatadogPhp leaves 5.97G of
coverage-instrumented cargo intermediates in php-portable-libdatadog-php,
which together with the pulled images puts the ~20G Docker host storage at
18G/93% before a single test runs. The tests then take it to 100%, and a full
disk is what breaks RaspSqliTests: InnoDB reports "Error number 28 means 'No
space left on device'".
The build copies libdatadog_php.so out of the target directory and both the
tests and the coverage report consume that copy, so the intermediates are dead
weight afterwards. This volume is also not part of loadCaches/saveCaches, so
nothing in a later job reuses them. Removing them frees ~6G before the tests
start. Done in the job script rather than the Gradle task so local incremental
rebuilds are unaffected.1 parent e5b5baa commit a048b31
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
308 | 321 | | |
309 | 322 | | |
310 | 323 | | |
| |||
0 commit comments