With some recent SSL libraries, the info reported by the health check on
server be3/srv may include an errno info after the "SSL handshake failure"
message (e.g. "SSL handshake failure (broken pipe)"), making the S3 syslog
expectation fail to match. The pattern now tolerates any suffix inside the
info quotes, after the two known messages.
syslog S3 -level notice {
recv
- expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Health check for server be3/srv failed, reason: Layer6 invalid response.+info: \"(Connection closed during SSL handshake|SSL handshake failure)\".+check duration: [[:digit:]]+ms, status: 0/1 DOWN."
+ expect ~ "[^:\\[ ]\\[${h1_pid}\\]: Health check for server be3/srv failed, reason: Layer6 invalid response.+info: \"(Connection closed during SSL handshake|SSL handshake failure).*\".+check duration: [[:digit:]]+ms, status: 0/1 DOWN."
} -start
syslog S4 -level notice {