#1116354 php-crypt-gpg: Testsuite somtimes timesout on s390x with PHPUnit 12

Package:
php-crypt-gpg
Source:
php-crypt-gpg
Submitter:
David Prévot
Date:
2026-08-10 22:07:01 UTC
Severity:
normal
Tags:
#1116354#5
Date:
2025-09-26 05:53:05 UTC
From:
To:
Hi Guilhem,

I noticed on the experimental excuses for phpunit 12 [1] that
php-crypt-gpg fails its testsuite on s390x. Looking further on the
related debci page [2], I noticed the tests run for almost three hours
now with PHPUnit 12.3.11, while they used to run in less than three
minutes with PHPUnit 12.3.8. Here is the output of the latest test.

 89s autopkgtest [05:44:04]: test command1: [-----------------------
 90s PHPUnit 12.3.12 by Sebastian Bergmann and contributors.
 90s
 90s Runtime:       PHP 8.4.11
 90s
10090s ............................autopkgtest [08:30:45]: ERROR: timed out on command "su -s /bin/bash debci -c set -e; exec /tmp/autopkgtest-lxc.0wds541u/downtmp/wrapper.sh --artifacts=/tmp/autopkgtest-lxc.0wds541u/downtmp/command1-artifacts --chdir=/tmp/autopkgtest-lxc.0wds541u/downtmp/build.yZl/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=10 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest-lxc.0wds541u/downtmp/command1-stderr --stdout=/tmp/autopkgtest-lxc.0wds541u/downtmp/command1-stdout --tmp=/tmp/autopkgtest-lxc.0wds541u/downtmp/autopkgtest_tmp -- bash -ec 'phpunit Crypt_GPG-*/tests --process-isolation --exclude-group write'" (kind: test)
10091s autopkgtest [08:30:46]: test command1: -----------------------]

	1: https://qa.debian.org/excuses.php?experimental=1&package=phpunit
	2: https://ci.debian.net/packages/p/php-crypt-gpg/unstable/s390x/
	3: https://ci.debian.net/packages/p/php-crypt-gpg/unstable/s390x/64736428/

I have not tried to debug this issue, and hope it will vanish is quickly
as it appears, but if not, it may block the upcoming PHPUnit 12
transition (and it may even be the only blocker soon). Thanks in advance
if you have any idea about the root issue and even better, a potential
fix. In the mean time, I’d suggest disabling the test(suite) on s390x
for the time being to not hold the PHPUnit 12 transition.

Regards,

taffit

#1116354#14
Date:
2025-09-28 06:52:22 UTC
From:
To:
Salut Guilhem,

Le Fri, Sep 26, 2025 at 07:53:05AM +0200, David Prévot a écrit :
[…]

The latest test with phpunit/12.3.14-1 passed (but the previous one with
phpunit/12.3.14-1 too, also timed out).

Seems like the issue vanished on that point of view.

Feel free to close this bug report if the timeout doesn’t happen again
or if you don’t intend to investigate further.

Cheers,

taffit

#1116354#23
Date:
2025-09-28 06:52:22 UTC
From:
To:
Salut Guilhem,

Le Fri, Sep 26, 2025 at 07:53:05AM +0200, David Prévot a écrit :
[…]

The latest test with phpunit/12.3.14-1 passed (but the previous one with
phpunit/12.3.14-1 too, also timed out).

Seems like the issue vanished on that point of view.

Feel free to close this bug report if the timeout doesn’t happen again
or if you don’t intend to investigate further.

Cheers,

taffit

#1116354#34
Date:
2026-01-01 06:53:53 UTC
From:
To:
Good morning,

this seems to have become semi-reproducible, it is blocking gnupg2's
migration to testing. (The CI test has already been retried at least
once).

cu Andreas

#1116354#39
Date:
2026-01-03 12:24:39 UTC
From:
To:
Strangely I cannot reproduce the issue on zelenka/sid
* either by running dpkg-buildpackage -b multiple times
* or by running
  time phpunit Crypt_GPG-*/tests --process-isolation --exclude-group write
  in a loop.

cu Andreas

#1116354#44
Date:
2026-08-10 22:05:11 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
php-crypt-gpg, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1116354@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guilhem Moulin <guilhem@debian.org> (supplier of updated php-crypt-gpg package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 09 Aug 2026 19:54:05 +0200
Source: php-crypt-gpg
Architecture: source
Version: 2.0.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>
Changed-By: Guilhem Moulin <guilhem@debian.org>
Closes: 1116354
Changes:
 php-crypt-gpg (2.0.0-1) unstable; urgency=medium
 .
   * New upstream release.
   * d/control: Drop php-mbstring and php-pear (Build-)Depends.
   * d/control: Require gpg 2.2~ or later.
   * Refresh d/patches.
   * Adjust packaging to upstream's v2.0.0 changes:
     + Port to composer from PEAR
     + Add Build-Depends: phpab
     + Add autoload.php and ship a pkg-php-tools autoloader
     + Remove unused lintian overrides
   * DEP-8: Revert previous attempt at making the upstream test suite more
     robust since it did not help.
   * DEP-8: Only run the upstream test suite on amd64 and i386 (closes:
     #1116354).
Checksums-Sha1:
 1fe95f6f8129f8894e3efa8f9e3c95df913c2a52 2243 php-crypt-gpg_2.0.0-1.dsc
 ff08527e93f57cb71788db6a7cd5a525af69e0ef 1208082 php-crypt-gpg_2.0.0.orig.tar.gz
 4571a8cf3e8c4865cbd3bc1fe8213948785610f6 9276 php-crypt-gpg_2.0.0-1.debian.tar.xz
 9f1a4d5fb714acfac0d81538d97fdf68c0c4c033 6194 php-crypt-gpg_2.0.0-1_source.buildinfo
Checksums-Sha256:
 bd25733e0811f9fdf2d44c8712173b05553884cd1d50e7518043d874005c13ec 2243 php-crypt-gpg_2.0.0-1.dsc
 631ed856f10ff3b578f082ed55450b9e79c925e3412b57e2d649efda96da3740 1208082 php-crypt-gpg_2.0.0.orig.tar.gz
 d6df7b57fff4c88b947c243cef70a997a23fd5480afd2fe6a6c6ed2956baaf4d 9276 php-crypt-gpg_2.0.0-1.debian.tar.xz
 56841fa14741fff3251c438727b4ddd77dc92c19112e4cdb7ac29399de7a91ad 6194 php-crypt-gpg_2.0.0-1_source.buildinfo
Files:
 c3cdf04478d99e2ec1652e2212f29e5e 2243 php optional php-crypt-gpg_2.0.0-1.dsc
 4a8ea5452e000a750102ae03d8d69ec4 1208082 php optional php-crypt-gpg_2.0.0.orig.tar.gz
 3426bb42fe3a57fe4a1baf7465a4f11d 9276 php optional php-crypt-gpg_2.0.0-1.debian.tar.xz
 644f488cdea46e360f1a4faceb10915e 6194 php optional php-crypt-gpg_2.0.0-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEERpy6p3b9sfzUdbME05pJnDwhpVIFAmp6RsIACgkQ05pJnDwh
pVLTFg//RRkrNIhIvyE9SB7RBYdOCC6EPhHBTDOPmc6cgUsQ7EGO778pq9B2IKCo
RfIDW/FB7FeLgOj4fwo9trb/fLcEJyDCQfa1bx7u88qVxmZUwaaC745zq+T9Fq6v
Q08vxzS6u6XeKQ9vmhDpDtr39VZ10SRDXhMD7e88Uo6urATL2eCPl6rZ1mfOB3fP
QjvI3cinrY0/t/WEYxDR9EdosfRhcD8ZnzuX1HmITyEgxSDNZwQ5cZm4jp73EIWf
2V9enWjHVXx4Smd6sZoMrOTSvXujE+g+W258NdTL1hlvtWIZnun9qvNz7eIippvy
ArUKn2rz4wlBIjyD/wb1a3fI4wQyijP7ha8NmzIPU+PSsN77Y8+n9AQVObWUWpwC
sJOrYgrBQFsbcY5kHH5SVTSysaIRAfWb/hqCF0JS6MEY0jrGKWOwAKRFiIh77dry
Fx93t/ny7g78NB/DtADSTrUD0p/uddurQGYXObSAuzK3JorGVRKYIFXqMib2wACn
5zYK/1eoWR3v6D0kr8baXR/wrTM0YxpscJsCv6s3JxqtFLEpNW3XfBXdKMx/o03Z
donKtrzESPlRy3u754GjdzXMGCCqMv4ktA/pKJlxbXF6fSAwC5qxRXXQvJ29w9c4
3gsTs6rLwBk9bzBc7su2uacJPAZ/mErdKvC6FVUIUjQ/a4cS3c8=
=CsJQ
-----END PGP SIGNATURE-----