GH-50283: [CI][Ruby] Switch caching to apache/infrastructure-actions/stash#50284
Conversation
f216386 to
94e17b2
Compare
|
I don't understand why I keep getting permission denied errors when storing the cache on the Ubuntu job: This is the only job where it happens and it doesn't seem fundamentally different from other Docker-based jobs already using the |
|
Hmm, it seems that not all ccache files are created with the same umask for some reason... # ls -la /ccache/0/1/
total 2480
drwxr-xr-x 2 root root 4096 Jun 30 16:20 .
drwxr-xr-x 18 root root 4096 Jun 30 16:20 ..
-rw-r--r-- 1 root root 246008 Jun 30 14:58 09e4sdh7thcmo3289afb1c4du23g0qsR
-rw-r--r-- 1 root root 13819 Jun 30 14:59 1f7t0m6l1ej2irha5ea67s09k6n5qjqM
-rw-r----- 1 root root 19483 Jun 30 15:02 35u65l3sj167luhkfrt4u25vh5r3eiqM
-rw-r--r-- 1 root root 125787 Jun 30 14:58 74p5m9fh7j466onmthei1r76gq1bltuR
-rw-r--r-- 1 root root 151 Jun 30 14:58 86cg13bqae330mmc9qe0vbqtktm4lbcM
-rw-r--r-- 1 root root 495 Jun 30 16:20 88q52lrs72cf63ovc6rji9b0oknuut8R
-rw-r--r-- 1 root root 315453 Jun 30 15:00 8dt77dberl8imne0gdmtudj2s5noevsR
-rw-r--r-- 1 root root 1442226 Jun 30 15:00 b7ghr6cf0ov78d1epq5lehavh4teblaR
-rw-r--r-- 1 root root 13006 Jun 30 14:58 b7pofm1dl56tqivhlrl4adeod4c54seM
-rw-r--r-- 1 root root 291495 Jun 30 14:58 d00htmb3jlhrl6qquaf4r48c35l3mioR
-rw-r--r-- 1 root root 9776 Jun 30 14:58 f5qc8c6oi0ifg929tin83kphg7dl0h0M
-rw-r--r-- 1 root root 14436 Jun 30 14:58 fait9qjho0d8q1u23q6pe563rem16vaM
-rw-r--r-- 1 root root 84 Jun 30 16:20 stats |
0aa9e99 to
ce813a3
Compare
|
Note that on Windows builds (both MinGW and MSVC), most files are not cached because the build system passes compiler options that ccache does not support. On MinGW: On MSVC: |
|
This is now ready for review @kou |
|
After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit f349102. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
Rationale for this change
apache/infrastructure-actions/stashbenefits from much greater size limits thanactions/cache, so our compilation cache stands a greater chance of not being evicted by the next time a build runs.Are these changes tested?
By the affected CI jobs.
Are there any user-facing changes?
No.