[php-src] Issue #9770: Spurious test failures in sapi/fpm on Travis CI
| From: | TysonAndre | Date: | Tue, 18 Oct 2022 04:44:56 +0000 |
| Subject: | [php-src] Issue #9770: Spurious test failures in sapi/fpm on Travis CI | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-242622@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/9770
Author: TysonAndre
### Description
https://app.travis-ci.com/github/php/php-src/jobs/585899735
failed spuriously with this output (and I believe fpm has failed on previous runs)
The default port seems to be 7777 for sapi/fpm/tests/tester.inc - maybe another unit test called it
on that port, or maybe the status is incorrectly reported.
idle processes: 0 and
1 active process didn't match the expected output of 1 idle process and 0 active processes.
A --CONFLICTS-- section with other fpm tests using tester.inc may also help
```php
=====================================================================
Spawning 16 workers... Done in 0.79s
=====================================================================
========DIFF========
001+ ERROR: Expected body does not match pattern
001- Done
002+ BODY:
003+ string(377) "pool: unconfined
004+ process manager: static
005+ start time: 18/Oct/2022:02:38:56 +0000
006+ start since: 0
007+ accepted conn: 1
008+ listen queue: 0
009+ max listen queue: 0
010+ listen queue len: 4096
011+ idle processes: 0
012+ active processes: 1
013+ total processes: 1
014+ max active processes: 1
015+ max children reached: 0
016+ slow requests: 0"
017+ PATTERN:
018+ string(345) "(pool:\s+unconfined
019+ process manager:\s+static
020+ start time:\s+\d+\/\w{3}\/\d{4}:\d{2}:\d{2}:\d{2}\s[+-]\d{4}
021+ start since:\s+\d+
022+ accepted conn:\s+\d+
023+ listen queue:\s+0
024+ max listen queue:\s+0
025+ listen queue len:\s+\d+
026+ idle processes:\s+1
027+ active processes:\s+0
028+ total processes:\s+1
029+ max active processes:\s+1
030+ max children reached:\s+0
031+ slow requests:\s+0)"
032+ Done
========DONE========
FAIL FPM: Status listen test [sapi/fpm/tests/status-listen.phpt]
=====================================================================
```
### PHP Version
PHP 8.3 (any?)
### Operating System
_No response_