unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#52513: php build failure
@ 2021-12-15 13:52 Mathieu Othacehe
  2021-12-16 17:32 ` Diego Nicola Barbato
  0 siblings, 1 reply; 6+ messages in thread
From: Mathieu Othacehe @ 2021-12-15 13:52 UTC (permalink / raw)
  To: 52513


Hello,

The php package test suite is failing this way on master:

--8<---------------cut here---------------start------------->8---
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
int openssl_x509_checkpurpose ( mixed $x509cert , int $purpose [, array $cainfo = array() [, string $untrustedfile ]] ) function [ext/openssl/tests/openssl_x509_checkpurpose_basic.phpt]
=====================================================================

=====================================================================
WARNED TEST SUMMARY
---------------------------------------------------------------------
FPM: Buffered worker output decorated log with multiple continuous messages (stdout/stderr mixed) [sapi/fpm/tests/log-bwd-multiple-msgs-stdout-stderr.phpt] (warn: XFAIL section but test passes)
=====================================================================

You may have found a problem in PHP.
This report can be automatically sent to the PHP QA team at
http://qa.php.net/reports and http://news.php.net/php.qa.reports
This gives us a better understanding of PHP's behavior.
If you don't want to send the report immediately you can choose
option "s" to save it.	You can then email it to qa-reports@lists.php.net later.
Do you want to send this report now? [Yns]: 
Notice: Trying to access array offset on value of type bool in /tmp/guix-build-php-7.4.26.drv-0/php-7.4.26/run-tests.php on line 934

Please enter your email address.
(Your address will be mangled so that it will not go out on any
mailinglist in plain text): sh: line 1: autoconf: command not found

Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /tmp/guix-build-php-7.4.26.drv-0/php-7.4.26/run-tests.php on line 1133

Warning: fsockopen(): unable to connect to qa.php.net:80 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /tmp/guix-build-php-7.4.26.drv-0/php-7.4.26/run-tests.php on line 1133

The test script was unable to automatically send the report to PHP's QA Team
Please send /tmp/guix-build-php-7.4.26.drv-0/php-7.4.26/php_test_results_20211215_1332.txt to qa-reports@lists.php.net manually, thank you.
make: *** [Makefile:238: test] Error 1

Test suite failed, dumping logs.
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("test" "-j" "32") exit-status: 2 term-signal: #f stop-signal: #f> 
phase `check' failed after 971.4 seconds
command "make" "test" "-j" "32" failed with status 2
builder for `/gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv' failed with exit code 1
@ build-failed /gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv - 1 builder for `/gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv' failed with exit code 1
derivation '/gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv' offloaded to '10.0.0.1' failed: build of `/gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv' failed
build of /gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv failed
View build log at '/var/log/guix/drvs/qv/gr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv.bz2'.
guix build: error: build of `/gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv' failed
--8<---------------cut here---------------end--------------->8---

The openssl_x509_checkpurpose test seems to blame.

Thanks,

Mathieu




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#52513: php build failure
  2021-12-15 13:52 bug#52513: php build failure Mathieu Othacehe
@ 2021-12-16 17:32 ` Diego Nicola Barbato
  2021-12-16 17:38   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2021-12-16 19:27   ` Leo Famulari
  0 siblings, 2 replies; 6+ messages in thread
From: Diego Nicola Barbato @ 2021-12-16 17:32 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 52513

Hi Mathieu,

Mathieu Othacehe <othacehe@gnu.org> writes:

> Hello,
>
> The php package test suite is failing this way on master:
>
> =====================================================================
>
> =====================================================================
> FAILED TEST SUMMARY
> ---------------------------------------------------------------------
> int openssl_x509_checkpurpose ( mixed $x509cert , int $purpose [, array $cainfo = array() [, string $untrustedfile ]] ) function [ext/openssl/tests/openssl_x509_checkpurpose_basic.phpt]
> =====================================================================
>
> =====================================================================
> WARNED TEST SUMMARY
> ---------------------------------------------------------------------
> FPM: Buffered worker output decorated log with multiple continuous messages (stdout/stderr mixed) [sapi/fpm/tests/log-bwd-multiple-msgs-stdout-stderr.phpt] (warn: XFAIL section but test passes)
> =====================================================================

[...]

> Test suite failed, dumping logs.
> error: in phase 'check': uncaught exception:
> %exception #<&invoke-error program: "make" arguments: ("test" "-j" "32") exit-status: 2 term-signal: #f stop-signal: #f> 
> phase `check' failed after 971.4 seconds
> command "make" "test" "-j" "32" failed with status 2
> builder for `/gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv' failed with exit code 1
> @ build-failed /gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv - 1 builder for `/gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv' failed with exit code 1
> derivation '/gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv' offloaded to '10.0.0.1' failed: build of `/gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv' failed
> build of /gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv failed
> View build log at '/var/log/guix/drvs/qv/gr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv.bz2'.
> guix build: error: build of `/gnu/store/qvgr41cvrh6b3m5bk5n93gcw0rk0kax5-php-7.4.26.drv' failed
>
> The openssl_x509_checkpurpose test seems to blame.

The test fails because two of the certificates it uses have expired on
11 December 2021.  Upstream has already fixed it [1] but the change has
not made it into the 7.4.27 (!) release.  We could apply their fix with
a patch or just disable the openssl_x509_checkpurpose test.

[...]

HTH,

Diego

[1]: https://github.com/php/php-src/commit/98175fc7f1623873ceb2e9a017a319d19bfb3912




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#52513: php build failure
  2021-12-16 17:32 ` Diego Nicola Barbato
@ 2021-12-16 17:38   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  2021-12-16 19:27   ` Leo Famulari
  1 sibling, 0 replies; 6+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2021-12-16 17:38 UTC (permalink / raw)
  To: Diego Nicola Barbato; +Cc: othacehe, 52513

[-- Attachment #1: Type: text/plain, Size: 660 bytes --]

Diego,

I *just* pushed a commit disabling this test whilst I investigate 
further.

Diego Nicola Barbato 写道:
> The test fails because two of the certificates it uses have 
> expired on
> 11 December 2021.  Upstream has already fixed it [1] but the 
> change has
> not made it into the 7.4.27 (!) release.  We could apply their 
> fix with
> a patch or just disable the openssl_x509_checkpurpose test.

Hah, this was exactly what I suspected

  <nckx> (Hm, x509… Could it be a system time issue?)

thank you for doing the research!

I'll try cherry-picking their patch; or otherwise update the 
comment.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#52513: php build failure
  2021-12-16 17:32 ` Diego Nicola Barbato
  2021-12-16 17:38   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2021-12-16 19:27   ` Leo Famulari
  2021-12-18  4:18     ` Maxim Cournoyer
  1 sibling, 1 reply; 6+ messages in thread
From: Leo Famulari @ 2021-12-16 19:27 UTC (permalink / raw)
  To: Diego Nicola Barbato; +Cc: Mathieu Othacehe, 52513

On Thu, Dec 16, 2021 at 05:32:28PM +0000, Diego Nicola Barbato wrote:
> The test fails because two of the certificates it uses have expired on
> 11 December 2021.  Upstream has already fixed it [1] but the change has
> not made it into the 7.4.27 (!) release.  We could apply their fix with
> a patch or just disable the openssl_x509_checkpurpose test.

Oof. This is common failure of programs that use X.509 certificates in
test suites, and it's problematic for Guix because it makes our codebase
"expire".




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#52513: php build failure
  2021-12-16 19:27   ` Leo Famulari
@ 2021-12-18  4:18     ` Maxim Cournoyer
  2021-12-19 16:38       ` Mathieu Othacehe
  0 siblings, 1 reply; 6+ messages in thread
From: Maxim Cournoyer @ 2021-12-18  4:18 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 52513, Diego Nicola Barbato, Mathieu Othacehe

Hi,

Leo Famulari <leo@famulari.name> writes:

> On Thu, Dec 16, 2021 at 05:32:28PM +0000, Diego Nicola Barbato wrote:
>> The test fails because two of the certificates it uses have expired on
>> 11 December 2021.  Upstream has already fixed it [1] but the change has
>> not made it into the 7.4.27 (!) release.  We could apply their fix with
>> a patch or just disable the openssl_x509_checkpurpose test.
>
> Oof. This is common failure of programs that use X.509 certificates in
> test suites, and it's problematic for Guix because it makes our codebase
> "expire".

Yep.  I'd just disable the test to guard against future occurrences.
Test failures in PHP don't come in short supply...

Maxim




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#52513: php build failure
  2021-12-18  4:18     ` Maxim Cournoyer
@ 2021-12-19 16:38       ` Mathieu Othacehe
  0 siblings, 0 replies; 6+ messages in thread
From: Mathieu Othacehe @ 2021-12-19 16:38 UTC (permalink / raw)
  To: 52513-done


This one is fixed, thanks to all the persons involved!

Mathieu




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-12-19 16:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-15 13:52 bug#52513: php build failure Mathieu Othacehe
2021-12-16 17:32 ` Diego Nicola Barbato
2021-12-16 17:38   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-12-16 19:27   ` Leo Famulari
2021-12-18  4:18     ` Maxim Cournoyer
2021-12-19 16:38       ` Mathieu Othacehe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).