This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new b83d70120515 [SPARK-53836][INFRA] Update script
`free_disk_space_container`
b83d70120515 is described below
commit b83d70120515d2cfc966607b5f8a489d594d9bcd
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Wed Oct 8 08:15:27 2025 -0700
[SPARK-53836][INFRA] Update script `free_disk_space_container`
### What changes were proposed in this pull request?
Remove more unused packages
### Why are the changes needed?
to free more disk for testing
before:
```
Filesystem Size Used Avail Use% Mounted on
overlay 72G 51G 22G 71% /
tmpfs 64M 0 64M 0% /dev
shm 64M 0 64M 0% /dev/shm
/dev/root 72G 51G 22G 71% /__w
tmpfs 3.2G 1.2M 3.2G 1% /run/docker.sock
tmpfs 7.9G 0 7.9G 0% /proc/acpi
tmpfs 7.9G 0 7.9G 0% /proc/scsi
tmpfs 7.9G 0 7.9G 0% /sys/firmware
```
after:
```
Filesystem Size Used Avail Use% Mounted on
overlay 72G 49G 24G 68% /
tmpfs 64M 0 64M 0% /dev
shm 64M 0 64M 0% /dev/shm
/dev/root 72G 49G 24G 68% /__w
tmpfs 3.2G 1.2M 3.2G 1% /run/docker.sock
tmpfs 7.9G 0 7.9G 0% /proc/acpi
tmpfs 7.9G 0 7.9G 0% /proc/scsi
tmpfs 7.9G 0 7.9G 0% /sys/firmware
```
### Does this PR introduce _any_ user-facing change?
no, infra-only
### How was this patch tested?
ci
### Was this patch authored or co-authored using generative AI tooling?
no
Closes #52545 from zhengruifeng/more_clean_disk_container.
Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
dev/free_disk_space_container | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dev/free_disk_space_container b/dev/free_disk_space_container
index c60125fa3909..e19269ebac83 100755
--- a/dev/free_disk_space_container
+++ b/dev/free_disk_space_container
@@ -17,6 +17,8 @@
# limitations under the License.
#
+set -ex
+
echo "=================================="
echo "Free up disk space on CI system"
echo "=================================="
@@ -30,5 +32,9 @@ echo "Removing large packages"
rm -rf /__t/CodeQL
rm -rf /__t/go
rm -rf /__t/node
+rm -rf /__t/PyPy
+rm -rf /__t/Python
+rm -rf /__t/Ruby
+du -sh /__t/*
df -h
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]