001+ ERROR: Expected body does not match pattern
001- Done
002+ BODY:
003+ string(372) "pool: unconfined
004+ process manager: static
005+ start time: 17/Jun/2019:22:31:57 UTC
006+ start since: 0
007+ accepted conn: 2
008+ listen queue: 0
009+ max listen queue: 0
010+ listen queue len: 0
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+0
027+ active processes:\s+1
028+ total processes:\s+1
029+ max active processes:\s+1
030+ max children reached:\s+0
031+ slow requests:\s+0|"
032+ ERROR: Expected body does not match pattern
033+ BODY:
034+ string(902) "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
035+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
036+ <head><title>PHP-FPM Status Page</title></head>
037+ <body>
038+ <table>
039+ <tr><th>pool</th><td>unconfined</td></tr>
040+ <tr><th>process manager</th><td>static</td></tr>
041+ <tr><th>start time</th><td>17/Jun/2019:22:31:57 UTC</td></tr>
042+ <tr><th>start since</th><td>0</td></tr>
043+ <tr><th>accepted conn</th><td>3</td></tr>
044+ <tr><th>listen queue</th><td>0</td></tr>
045+ <tr><th>max listen queue</th><td>0</td></tr>
046+ <tr><th>listen queue len</th><td>0</td></tr>
047+ <tr><th>idle processes</th><td>0</td></tr>
048+ <tr><th>active processes</th><td>1</td></tr>
049+ <tr><th>total processes</th><td>1</td></tr>
050+ <tr><th>max active processes</th><td>1</td></tr>
051+ <tr><th>max children reached</th><td>0</td></tr>
052+ <tr><th>slow requests</th><td>0</td></tr>
053+ </table>
054+ </body></html>"
055+ PATTERN:
056+ string(932) "|<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
057+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
058+ <head><title>PHP-FPM Status Page</title></head>
059+ <body>
060+ <table>
061+ <tr><th>pool</th><td>unconfined</td></tr>
062+ <tr><th>process manager</th><td>static</td></tr>
063+ <tr><th>start time</th><td>\d+\/\w{3}\/\d{4}:\d{2}:\d{2}:\d{2}\s[+-]\d{4}</td></tr>
064+ <tr><th>start since</th><td>\d+</td></tr>
065+ <tr><th>accepted conn</th><td>\d+</td></tr>
066+ <tr><th>listen queue</th><td>0</td></tr>
067+ <tr><th>max listen queue</th><td>0</td></tr>
068+ <tr><th>listen queue len</th><td>\d+</td></tr>
069+ <tr><th>idle processes</th><td>0</td></tr>
070+ <tr><th>active processes</th><td>1</td></tr>
071+ <tr><th>total processes</th><td>1</td></tr>
072+ <tr><th>max active processes</th><td>1</td></tr>
073+ <tr><th>max children reached</th><td>0</td></tr>
074+ <tr><th>slow requests</th><td>0</td></tr>
075+ </table>
076+ </body></html>|"
077+ Done