php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79087 failing tests for 7.4
Submitted: 2020-01-09 06:05 UTC Modified: 2020-09-23 15:58 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: bugreports at gmail dot com Assigned: cmb (profile)
Status: Closed Package: Testing related
PHP Version: 7.4Git-2020-01-09 (Git) OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bugreports at gmail dot com
New email:
PHP Version: OS:

 

 [2020-01-09 06:05 UTC] bugreports at gmail dot com
Description:
------------
these two are failing for ages and should either be fixed (the test or php) or just get removed

Bug #76675 (Segfault with H2 server push write/writeheader handlers) [ext/curl/tests/bug76675.phpt]
sendmsg()/recvmsg(): test ability to receive multiple messages [ext/sockets/tests/socket_sendrecvmsg_multi_msg-unix.phpt]

------------------

this one is pretty new

Bug #66731: file: extensive backtraking, with pcre.jit=0 [ext/fileinfo/tests/cve-2014-3538-nojit.phpt]


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-01-09 08:00 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-01-09 08:00 UTC] cmb@php.net
Please post the diffs.
 [2020-01-09 08:08 UTC] bugreports at gmail dot com
which diffs?

that's all running within rpmbuild and happily set to ont let the build fail - so please if you need any information provide where to find it for someone who is not a core developer knowing all the internal stuff
 [2020-01-09 08:24 UTC] cmb@php.net
Please see <http://qa.php.net/write-test.php#analyzing-failing-tests>.
Most interesting would be the *.diff files.
 [2020-01-09 09:13 UTC] bugreports at gmail dot com
cat bug76675.diff
001+
001- (Received \d+)+

cat cve-2014-3538-nojit.diff
002+ Failed, time=1.03
002- Ok

cat socket_sendrecvmsg_multi_msg-unix.diff
008+ Socket read timeout hit. Can be a bug, a test bug, or a firewall issue.
008- Array
009- (
010-     [name] => Array
011-         (
012-             [family] => %d
013-             [addr] => ::1
014-             [port] => 7002
015-             [flowinfo] => 0
016-             [scope_id] => 0
017-         )
018-
019-     [control] => Array
020-         (
021-             [0] => Array
022-                 (
023-                     [level] => %d
024-                     [type] => %d
025-                     [data] => Array
026-                         (
027-                             [addr] => ::1
028-                             [ifindex] => %d
029-                         )
030-
031-                 )
032-
033-             [1] => Array
034-                 (
035-                     [level] => %d
036-                     [type] => %d
037-                     [data] => 40
038-                 )
039-
040-         )
041-
042-     [iov] => Array
043-         (
044-             [0] => test thing
045-
046-         )
047-
048-     [flags] => 0
049- )
 [2020-01-09 10:01 UTC] cmb@php.net
-Status: Feedback +Status: Open
 [2020-01-09 10:01 UTC] cmb@php.net
Thanks!

bug76675.diff isn't helpful, and that test passes for me.

cve-2014-3538-nojit.diff shows that the threshold of 1 sec might
be a bit too low.  At least for now you could run with

  SKIP_PERF_SENSITIVE=1

which will then skip this test and five others.

socket_sendrecvmsg_multi_msg-unix.diff hints again at a timeout
issue.  Maybe the timeout of 500 msec[1] should be increased?
Would that test pass for you within 1000 msec or so?

[1] <https://github.com/php/php-src/blob/php-7.4.2RC1/ext/sockets/tests/socket_sendrecvmsg_multi_msg-unix.phpt#L53>
 [2020-01-09 10:01 UTC] cmb@php.net
-Summary: fialing tests for 7.4 +Summary: failing tests for 7.4
 [2020-01-09 10:04 UTC] bugreports at gmail dot com
> Would that test pass for you within 1000 msec or so?

sorry, the whole stuff is running within a PGO rpm-build unpacking the tarball, run build, profiling with own autotetss and the final build followed by "run-tests.php" (because of make test by stuopidity copies /etc/php.ini) and i won't break that in pieces
 [2020-01-09 12:14 UTC] cmb@php.net
-Status: Assigned +Status: Open -Assigned To: cmb +Assigned To:
 [2020-01-09 12:14 UTC] cmb@php.net
Oh, I see.
 [2020-09-23 15:58 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2020-09-23 15:58 UTC] cmb@php.net
I'm closing this ticket due to being unactionable.  Please don't
report test failures if you're not able to help investigating the
cause of these failures.  Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 00:01:27 2024 UTC