From d2f33867c5f2ff4790eaf06446946bb030c8ace8 Mon Sep 17 00:00:00 2001 From: Josh Date: Thu, 22 Jan 2026 11:48:22 -0500 Subject: [PATCH 1/5] test(32bit): add disk space checks before/after Signed-off-by: Josh --- .github/workflows/phpunit-32bits.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/phpunit-32bits.yml b/.github/workflows/phpunit-32bits.yml index 17453968be013..c6ed586414cb6 100644 --- a/.github/workflows/phpunit-32bits.yml +++ b/.github/workflows/phpunit-32bits.yml @@ -53,7 +53,23 @@ jobs: ./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-user=autotest --database-pass=rootpassword --admin-user admin --admin-pass admin && php -f tests/enable_all.php" + - name: Show disk usage before PHPUnit tests + run: df -h && du -sh . + + - name: Show disk usage inside container before tests + uses: docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest + with: + args: /bin/sh -c "df -h && du -sh /github/workspace" + - name: PHPUnit uses: docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest with: - args: /bin/sh -c "composer run test -- --exclude-group PRIMARY-azure,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness" + args: /bin/sh -c "composer run test -- --exclude-path apps/user_ldap/tests --exclude-group PRIMARY-azure,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness" + + - name: Show runner disk usage after PHPUnit tests + run: df -h && du -sh . + + - name: Show disk usage inside container after tests + uses: docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest + with: + args: /bin/sh -c "df -h && du -sh /github/workspace" From fd1faf313865d27ca2fc719bec8560146ded199e Mon Sep 17 00:00:00 2001 From: Josh Date: Thu, 22 Jan 2026 12:35:47 -0500 Subject: [PATCH 2/5] test(32-bit); refine disk space check permissions Signed-off-by: Josh --- .github/workflows/phpunit-32bits.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/phpunit-32bits.yml b/.github/workflows/phpunit-32bits.yml index c6ed586414cb6..5a2ce818f8a7e 100644 --- a/.github/workflows/phpunit-32bits.yml +++ b/.github/workflows/phpunit-32bits.yml @@ -54,7 +54,7 @@ jobs: php -f tests/enable_all.php" - name: Show disk usage before PHPUnit tests - run: df -h && du -sh . + run: df -h && sudo du -sh . - name: Show disk usage inside container before tests uses: docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest @@ -67,7 +67,7 @@ jobs: args: /bin/sh -c "composer run test -- --exclude-path apps/user_ldap/tests --exclude-group PRIMARY-azure,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness" - name: Show runner disk usage after PHPUnit tests - run: df -h && du -sh . + run: df -h && sudo du -sh . - name: Show disk usage inside container after tests uses: docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest From 836b0304263d2d2e429507e65f1b65925649c2fb Mon Sep 17 00:00:00 2001 From: Josh Date: Fri, 23 Jan 2026 10:36:58 -0500 Subject: [PATCH 3/5] test(32-bit): re-enable ldap tests Signed-off-by: Josh --- .github/workflows/phpunit-32bits.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/phpunit-32bits.yml b/.github/workflows/phpunit-32bits.yml index 5a2ce818f8a7e..983452720837a 100644 --- a/.github/workflows/phpunit-32bits.yml +++ b/.github/workflows/phpunit-32bits.yml @@ -64,7 +64,7 @@ jobs: - name: PHPUnit uses: docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest with: - args: /bin/sh -c "composer run test -- --exclude-path apps/user_ldap/tests --exclude-group PRIMARY-azure,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness" + args: /bin/sh -c "composer run test -- --exclude-group PRIMARY-azure,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness" - name: Show runner disk usage after PHPUnit tests run: df -h && sudo du -sh . From acf3d89812b132faf78dfbe42264d7383fca23dd Mon Sep 17 00:00:00 2001 From: Josh Date: Fri, 23 Jan 2026 18:01:00 -0500 Subject: [PATCH 4/5] fix: test phpunit-32bits on ubuntu-slim Signed-off-by: Josh --- .github/workflows/phpunit-32bits.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/phpunit-32bits.yml b/.github/workflows/phpunit-32bits.yml index 983452720837a..ae96510f95f00 100644 --- a/.github/workflows/phpunit-32bits.yml +++ b/.github/workflows/phpunit-32bits.yml @@ -22,7 +22,7 @@ concurrency: jobs: phpunit-32bits: - runs-on: ubuntu-latest + runs-on: ubuntu-slim if: ${{ github.repository_owner != 'nextcloud-gmbh' }} From 5b6e37e5dc5b371c49a560d134c77068eaa20ef9 Mon Sep 17 00:00:00 2001 From: Josh Date: Fri, 23 Jan 2026 18:27:13 -0500 Subject: [PATCH 5/5] test: see if sqlite just needs disk space Signed-off-by: Josh --- .github/workflows/phpunit-32bits.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/phpunit-32bits.yml b/.github/workflows/phpunit-32bits.yml index ae96510f95f00..da69ab86084a7 100644 --- a/.github/workflows/phpunit-32bits.yml +++ b/.github/workflows/phpunit-32bits.yml @@ -22,7 +22,7 @@ concurrency: jobs: phpunit-32bits: - runs-on: ubuntu-slim + runs-on: ubuntu-latest if: ${{ github.repository_owner != 'nextcloud-gmbh' }} @@ -45,6 +45,24 @@ jobs: git config --global --add safe.directory /github/workspace && composer install --no-interaction" + - name: Clean Up Disk Space + if: runner.os == 'Linux' + run: | + # Space usage before cleanup + df -h / + + # Remove unused stuff + sudo rm -rf /usr/lib/jvm + sudo rm -rf /usr/local/.ghcup + sudo rm -rf /usr/local/lib/android + sudo rm -rf /usr/local/share/powershell + sudo rm -rf /usr/share/dotnet + sudo rm -rf /usr/share/swift + #sudo rm -rf "$AGENT_TOOLSDIRECTORY" + + # Verify gains + df -h / + - name: Set up Nextcloud uses: docker://ghcr.io/nextcloud/continuous-integration-php8.4-32bit:latest with: