From 3ae934232ca5b5aedf9a4dfcad33cbbd30b3d324 Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Thu, 24 Sep 2026 12:43:50 -0300 Subject: [PATCH 1/5] ci: backport PHP server crash diagnostics --- .github/workflows/behat-mariadb.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/behat-mariadb.yml b/.github/workflows/behat-mariadb.yml index 8a385ae284..d3db5dd21b 100644 --- a/.github/workflows/behat-mariadb.yml +++ b/.github/workflows/behat-mariadb.yml @@ -87,6 +87,10 @@ jobs: - name: Install system dependencies run: sudo apt update && sudo apt install poppler-utils + - name: Install PHP crash diagnostics + if: runner.debug == '1' + run: sudo apt install -y gdb systemd-coredump + - name: Checkout server uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: @@ -176,6 +180,19 @@ jobs: run: | cat data/nextcloud.log + - name: List PHP core dumps + if: failure() && runner.debug == '1' + run: | + sudo coredumpctl --no-pager list || true + + - name: Upload PHP server diagnostics + if: failure() && runner.debug == '1' + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + with: + name: behat-mariadb-server-diagnostics-${{ matrix.mariadb-versions }}-php${{ matrix.php-versions }}-nc${{ matrix.server-versions }} + path: /tmp/behat-php-server-* + if-no-files-found: ignore + summary: permissions: contents: none From 8a79e6d41b92fce2a96203b45d35b796ffbd51ca Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Thu, 24 Sep 2026 12:43:53 -0300 Subject: [PATCH 2/5] ci: backport PHP server crash diagnostics --- .github/workflows/behat-mysql.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/behat-mysql.yml b/.github/workflows/behat-mysql.yml index 00ba9bfc5b..d41b09619b 100644 --- a/.github/workflows/behat-mysql.yml +++ b/.github/workflows/behat-mysql.yml @@ -91,6 +91,10 @@ jobs: - name: Install system dependencies run: sudo apt update && sudo apt install poppler-utils + - name: Install PHP crash diagnostics + if: runner.debug == '1' + run: sudo apt install -y gdb systemd-coredump + - name: Checkout server uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: @@ -188,6 +192,19 @@ jobs: run: | cat data/nextcloud.log + - name: List PHP core dumps + if: failure() && runner.debug == '1' + run: | + sudo coredumpctl --no-pager list || true + + - name: Upload PHP server diagnostics + if: failure() && runner.debug == '1' + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + with: + name: behat-mysql-server-diagnostics-php${{ matrix.php-versions }}-nc${{ matrix.server-versions }} + path: /tmp/behat-php-server-* + if-no-files-found: ignore + summary: permissions: contents: none From e3eecfda8e034fca8cd7673121103cb816728065 Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Thu, 24 Sep 2026 12:43:58 -0300 Subject: [PATCH 3/5] ci: backport PHP server crash diagnostics --- .github/workflows/behat-pgsql.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/behat-pgsql.yml b/.github/workflows/behat-pgsql.yml index 0d36750676..ab53a32ffc 100644 --- a/.github/workflows/behat-pgsql.yml +++ b/.github/workflows/behat-pgsql.yml @@ -90,6 +90,10 @@ jobs: - name: Install system dependencies run: sudo apt update && sudo apt install poppler-utils + - name: Install PHP crash diagnostics + if: runner.debug == '1' + run: sudo apt install -y gdb systemd-coredump + - name: Checkout server uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: @@ -182,6 +186,19 @@ jobs: run: | cat data/nextcloud.log + - name: List PHP core dumps + if: failure() && runner.debug == '1' + run: | + sudo coredumpctl --no-pager list || true + + - name: Upload PHP server diagnostics + if: failure() && runner.debug == '1' + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + with: + name: behat-pgsql-server-diagnostics-php${{ matrix.php-versions }}-nc${{ matrix.server-versions }} + path: /tmp/behat-php-server-* + if-no-files-found: ignore + summary: permissions: contents: none From b5380f5e7b969d7112a5ae1b529010dc75705c81 Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Thu, 24 Sep 2026 12:44:02 -0300 Subject: [PATCH 4/5] ci: backport PHP server crash diagnostics --- .github/workflows/behat-sqlite.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/behat-sqlite.yml b/.github/workflows/behat-sqlite.yml index f8757041e0..6f85b6aa74 100644 --- a/.github/workflows/behat-sqlite.yml +++ b/.github/workflows/behat-sqlite.yml @@ -81,6 +81,10 @@ jobs: - name: Install system dependencies run: sudo apt update && sudo apt install poppler-utils + - name: Install PHP crash diagnostics + if: runner.debug == '1' + run: sudo apt install -y gdb systemd-coredump + - name: Checkout server uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: @@ -173,6 +177,19 @@ jobs: run: | cat data/nextcloud.log + - name: List PHP core dumps + if: failure() && runner.debug == '1' + run: | + sudo coredumpctl --no-pager list || true + + - name: Upload PHP server diagnostics + if: failure() && runner.debug == '1' + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + with: + name: behat-sqlite-server-diagnostics-php${{ matrix.php-versions }}-nc${{ matrix.server-versions }} + path: /tmp/behat-php-server-* + if-no-files-found: ignore + summary: permissions: contents: none From fc35eb598291eb1327db1eb04fccdd7d79666531 Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Thu, 24 Sep 2026 12:44:07 -0300 Subject: [PATCH 5/5] chore: backport Behat diagnostics dependencies --- tests/integration/composer.lock | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/tests/integration/composer.lock b/tests/integration/composer.lock index 12cbc02a09..2211645a02 100644 --- a/tests/integration/composer.lock +++ b/tests/integration/composer.lock @@ -905,16 +905,16 @@ }, { "name": "libresign/behat-builtin-extension", - "version": "v0.7.0", + "version": "v0.7.1", "source": { "type": "git", "url": "https://github.com/LibreSign/behat-builtin-extension.git", - "reference": "fbb27f1573ab646f774daab8f4a6c5d5e2c25102" + "reference": "ebcadfc0f70e0e2a102bf97138f05a2b949484ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/LibreSign/behat-builtin-extension/zipball/fbb27f1573ab646f774daab8f4a6c5d5e2c25102", - "reference": "fbb27f1573ab646f774daab8f4a6c5d5e2c25102", + "url": "https://api.github.com/repos/LibreSign/behat-builtin-extension/zipball/ebcadfc0f70e0e2a102bf97138f05a2b949484ec", + "reference": "ebcadfc0f70e0e2a102bf97138f05a2b949484ec", "shasum": "" }, "require": { @@ -945,9 +945,9 @@ "description": "Behat extension to run php built-in web server", "support": { "issues": "https://github.com/LibreSign/behat-builtin-extension/issues", - "source": "https://github.com/LibreSign/behat-builtin-extension/tree/v0.7.0" + "source": "https://github.com/LibreSign/behat-builtin-extension/tree/v0.7.1" }, - "time": "2026-09-19T19:17:52+00:00" + "time": "2026-09-24T06:33:02+00:00" }, { "name": "libresign/behat-tsa-extension", @@ -1128,23 +1128,23 @@ }, { "name": "libresign/nextcloud-behat", - "version": "v1.6.1", + "version": "v1.6.2", "source": { "type": "git", "url": "https://github.com/LibreSign/nextcloud-behat.git", - "reference": "c650035f5e61d19110b8d62ca4a8a073ad7fad12" + "reference": "76feab4b9192f10ab2eb14ef63ac64a7912de864" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/LibreSign/nextcloud-behat/zipball/c650035f5e61d19110b8d62ca4a8a073ad7fad12", - "reference": "c650035f5e61d19110b8d62ca4a8a073ad7fad12", + "url": "https://api.github.com/repos/LibreSign/nextcloud-behat/zipball/76feab4b9192f10ab2eb14ef63ac64a7912de864", + "reference": "76feab4b9192f10ab2eb14ef63ac64a7912de864", "shasum": "" }, "require": { "behat/behat": "^3.29", "estahn/json-query-wrapper": "*", "guzzlehttp/guzzle": "^7.10", - "libresign/behat-builtin-extension": "^0.7.0", + "libresign/behat-builtin-extension": "^0.7.1", "php": ">=8.2", "phpunit/phpunit": "*" }, @@ -1182,9 +1182,9 @@ ], "support": { "issues": "https://github.com/LibreSign/nextcloud-behat/issues", - "source": "https://github.com/LibreSign/nextcloud-behat/tree/v1.6.1" + "source": "https://github.com/LibreSign/nextcloud-behat/tree/v1.6.2" }, - "time": "2026-09-20T16:52:51+00:00" + "time": "2026-09-24T14:06:44+00:00" }, { "name": "myclabs/deep-copy",