Commit 5e7638f
committed
cmdlib.sh: keep trying to remount after killall hack
Michael and I were debugging an issue where `cosa build` would still
break on:
```
+ killall rofiles-fuse
+ /sbin/fstrim -v /home/jenkins/agent/workspace/bootupd_PR-706/cache
/home/jenkins/agent/workspace/bootupd_PR-706/cache: 17.8 GiB (19084976128 bytes) trimmed
+ mount -o remount,ro /home/jenkins/agent/workspace/bootupd_PR-706/cache
mount: /home/jenkins/agent/workspace/bootupd_PR-706/cache: mount point is busy.
```
which I think is because the rofiles-fuse processes haven't fully been
cleaned up yet. Let's just spam retry to remount the cache, but notify
the user when this is happening for more visibility.
We should be able to revert this once we fix
#38481 parent 242d152 commit 5e7638f
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
762 | 762 | | |
763 | 763 | | |
764 | 764 | | |
765 | | - | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
766 | 769 | | |
767 | 770 | | |
768 | 771 | | |
| |||
0 commit comments