Test: /sapi/fpm/tests/fpm_get_status_basic.phpt - Version 7.3.4    

There are 3 different diffs reported by users for this test.

Count Diff
1 (33%)
002+ <pre class='xdebug-var-dump' dir='ltr'>
003+ <small>/home/jessedev/Downloads/php-7.3.4/sapi/fpm/tests/fpm_get_status_basic.src.php:4:</small>
004+ <b>array</b> <i>(size=15)</i>
005+ 'pool' <font color='#888a85'>=&gt;</font> <small>string</small> <font color='#cc0000'>'unconfined'</font> <i>(length=10)</i>
006+ 'process-manager' <font color='#888a85'>=&gt;</font> <small>string</small> <font color='#cc0000'>'dynamic'</font> <i>(length=7)</i>
007+ 'start-time' <font color='#888a85'>=&gt;</font> <small>int</small> <font color='#4e9a06'>1557347417</font>
008+ 'start-since' <font color='#888a85'>=&gt;</font> <small>int</small> <font color='#4e9a06'>0</font>
009+ 'accepted-conn' <font color='#888a85'>=&gt;</font> <small>int</small> <font color='#4e9a06'>1</font>
010+ 'listen-queue' <font color='#888a85'>=&gt;</font> <small>int</small> <font color='#4e9a06'>0</font>
011+ 'max-listen-queue' <font color='#888a85'>=&gt;</font> <small>int</small> <font color='#4e9a06'>0</font>
012+ 'listen-queue-len' <font color='#888a85'>=&gt;</font> <small>int</small> <font color='#4e9a06'>128</font>
013+ 'idle-processes' <font color='#888a85'>=&gt;</font> <small>int</small> <font color='#4e9a06'>0</font>
014+ 'active-processes' <font color='#888a85'>=&gt;</font> <small>int</small> <font color='#4e9a06'>1</font>
015+ 'total-processes' <font color='#888a85'>=&gt;</font> <small>int</small> <font color='#4e9a06'>1</font>
016+ 'max-active-processes' <font color='#888a85'>=&gt;</font> <small>int</small> <font color='#4e9a06'>1</font>
017+ 'max-children-reached' <font color='#888a85'>=&gt;</font> <small>int</small> <font color='#4e9a06'>0</font>
018+ 'slow-requests' <font color='#888a85'>=&gt;</font> <small>int</small> <font color='#4e9a06'>0</font>
019+ 'procs' <font color='#888a85'>=&gt;</font>
020+ <b>array</b> <i>(size=1)</i>
021+ 0 <font color='#888a85'>=&gt;</font>
022+ <b>array</b> <i>(size=14)</i>
023+ 'pid' <font color='#888a85'>=&gt;</font> <small>int</small> <font color='#4e9a06'>6141</font>
024+ 'state' <font color='#888a85'>=&gt;</font> <small>string</small> <font color='#cc0000'>'Running'</font> <i>(length=7)</i>
025+ 'start-time' <font color='#888a85'>=&gt;</font> <small>int</small> <font color='#4e9a06'>1557347417</font>
026+ 'start-since' <font color='#888a85'>=&gt;</font> <small>int</small> <font color='#4e9a06'>0</font>
027+ 'requests' <font color='#888a85'>=&gt;</font> <small>int</small> <font color='#4e9a06'>1</font>
028+ 'request-duration' <font color='#888a85'>=&gt;</font> <small>int</small> <font color='#4e9a06'>800</font>
029+ 'request-method' <font color='#888a85'>=&gt;</font> <small>string</small> <font color='#cc0000'>'GET'</font> <i>(length=3)</i>
030+ 'request-uri' <font color='#888a85'>=&gt;</font> <small>string</small> <font color='#cc0000'>'/home/jessedev/Downloads/php-7.3.4/sapi/fpm/tests/fpm_get_status_basic.src.php'</font> <i>(length=78)</i>
031+ 'query-string' <font color='#888a85'>=&gt;</font> <small>string</small> <font color='#cc0000'>''</font> <i>(length=0)</i>
032+ 'request-length' <font color='#888a85'>=&gt;</font> <small>int</small> <font color='#4e9a06'>0</font>
033+ 'user' <font color='#888a85'>=&gt;</font> <small>string</small> <font color='#cc0000'>'-'</font> <i>(length=1)</i>
034+ 'script' <font color='#888a85'>=&gt;</font> <small>string</small> <font color='#cc0000'>'/home/jessedev/Downloads/php-7.3.4/sapi/fpm/tests/fpm_get_status_basic.src.php'</font> <i>(length=78)</i>
035+ 'last-request-cpu' <font color='#888a85'>=&gt;</font> <small>float</small> <font color='#f57900'>0</font>
036+ 'last-request-memory' <font color='#888a85'>=&gt;</font> <small>int</small> <font color='#4e9a06'>0</font>
037+ </pre>Test End
038+ Done
002- array(15) {
003- ["pool"]=>
004- string(10) "unconfined"
005- ["process-manager"]=>
006- string(7) "dynamic"
007- ["start-time"]=>
008- int(%d)
009- ["start-since"]=>
010- int(%d)
011- ["accepted-conn"]=>
012- int(1)
013- ["listen-queue"]=>
014- int(0)
015- ["max-listen-queue"]=>
016- int(0)
017- ["listen-queue-len"]=>
018- int(%d)
019- ["idle-processes"]=>
020- int(0)
021- ["active-processes"]=>
022- int(1)
023- ["total-processes"]=>
024- int(1)
025- ["max-active-processes"]=>
026- int(1)
027- ["max-children-reached"]=>
028- int(0)
029- ["slow-requests"]=>
030- int(0)
031- ["procs"]=>
032- array(1) {
033- [0]=>
034- array(14) {
035- ["pid"]=>
036- int(%d)
037- ["state"]=>
038- string(7) "Running"
039- ["start-time"]=>
040- int(%d)
041- ["start-since"]=>
042- int(%d)
043- ["requests"]=>
044- int(1)
045- ["request-duration"]=>
046- int(%d)
047- ["request-method"]=>
048- string(3) "GET"
049- ["request-uri"]=>
050- string(%d) "%s"
051- ["query-string"]=>
052- string(0) ""
053- ["request-length"]=>
054- int(0)
055- ["user"]=>
056- string(1) "-"
057- ["script"]=>
058- string(%d) "%s"
059- ["last-request-cpu"]=>
060- float(0)
061- ["last-request-memory"]=>
062- int(0)
063- }
064- }
065- }
066- Test End
067- Done
1 (33%)
001+ ERROR: The header X-Powered-By is not present
002+
003+ Done
001- Test Start
002- array(15) {
003- ["pool"]=>
004- string(10) "unconfined"
005- ["process-manager"]=>
006- string(7) "dynamic"
007- ["start-time"]=>
008- int(%d)
009- ["start-since"]=>
010- int(%d)
011- ["accepted-conn"]=>
012- int(1)
013- ["listen-queue"]=>
014- int(0)
015- ["max-listen-queue"]=>
016- int(0)
017- ["listen-queue-len"]=>
018- int(%d)
019- ["idle-processes"]=>
020- int(0)
021- ["active-processes"]=>
022- int(1)
023- ["total-processes"]=>
024- int(1)
025- ["max-active-processes"]=>
026- int(1)
027- ["max-children-reached"]=>
028- int(0)
029- ["slow-requests"]=>
030- int(0)
031- ["procs"]=>
032- array(1) {
033- [0]=>
034- array(14) {
035- ["pid"]=>
036- int(%d)
037- ["state"]=>
038- string(7) "Running"
039- ["start-time"]=>
040- int(%d)
041- ["start-since"]=>
042- int(%d)
043- ["requests"]=>
044- int(1)
045- ["request-duration"]=>
046- int(%d)
047- ["request-method"]=>
048- string(3) "GET"
049- ["request-uri"]=>
050- string(%d) "%s"
051- ["query-string"]=>
052- string(0) ""
053- ["request-length"]=>
054- int(0)
055- ["user"]=>
056- string(1) "-"
057- ["script"]=>
058- string(%d) "%s"
059- ["last-request-cpu"]=>
060- float(0)
061- ["last-request-memory"]=>
062- int(0)
063- }
064- }
065- }
066- Test End
067- Done
1 (33%)
001+ ERROR: The NOTICE does not match expected message:
002+ - PATTERN: /^\[\d\d-\w\w\w-\d{4} \d\d:\d\d:\d\d\] NOTICE: fpm is running, pid \d+$/
003+ - MESSAGE: [01-Nov-2021 16:53:26] ERROR: failed to retrieve TCP_INFO for socket: Protocol not available (92)
004+ - EXPECT: 'fpm is running, pid \d+'
005+ - ACTUAL: '2021 16:53:26] ERROR: failed to retrieve TCP_INFO for socket: Protocol not available (92)'
006+
007+ Done
001- Test Start
002- array(15) {
003- ["pool"]=>
004- string(10) "unconfined"
005- ["process-manager"]=>
006- string(7) "dynamic"
007- ["start-time"]=>
008- int(%d)
009- ["start-since"]=>
010- int(%d)
011- ["accepted-conn"]=>
012- int(1)
013- ["listen-queue"]=>
014- int(0)
015- ["max-listen-queue"]=>
016- int(0)
017- ["listen-queue-len"]=>
018- int(%d)
019- ["idle-processes"]=>
020- int(0)
021- ["active-processes"]=>
022- int(1)
023- ["total-processes"]=>
024- int(1)
025- ["max-active-processes"]=>
026- int(1)
027- ["max-children-reached"]=>
028- int(0)
029- ["slow-requests"]=>
030- int(0)
031- ["procs"]=>
032- array(1) {
033- [0]=>
034- array(14) {
035- ["pid"]=>
036- int(%d)
037- ["state"]=>
038- string(7) "Running"
039- ["start-time"]=>
040- int(%d)
041- ["start-since"]=>
042- int(%d)
043- ["requests"]=>
044- int(1)
045- ["request-duration"]=>
046- int(%d)
047- ["request-method"]=>
048- string(3) "GET"
049- ["request-uri"]=>
050- string(%d) "%s"
051- ["query-string"]=>
052- string(0) ""
053- ["request-length"]=>
054- int(0)
055- ["user"]=>
056- string(1) "-"
057- ["script"]=>
058- string(%d) "%s"
059- ["last-request-cpu"]=>
060- float(0)
061- ["last-request-memory"]=>
062- int(0)
063- }
064- }
065- }
066- Test End
067- Done