(This page was automatically generated by the tools in the opsboy project on 09:46:44 03-Nov-2020 GMT.)

Detailed Test Report for lua-resty-core in linux i386 (h)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
12abf47c 2020-10-27 03:33:36 GMT 1194 74 78 8785 1671 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 70f88773

OpenSSL

OpenSSL 1.1.1h 22 Sep 2020

Compilation Errors

Unexpected Failures

File Name Details
ctx.t TEST 4: ngx.ctx in ssl_certificate_by_lua (share objects) - status code ok got: ''
expected: '200'
ctx.t TEST 4: ngx.ctx in ssl_certificate_by_lua (share objects) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "received: 1\x{0a}received: 2\x{0a}"
length: 24
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 4: ngx.ctx in ssl_certificate_by_lua (share objects) - status code ok got: ''
expected: '200'
ctx.t TEST 4: ngx.ctx in ssl_certificate_by_lua (share objects) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "received: 1\x{0a}received: 2\x{0a}"
length: 24
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 8: ngx.ctx in ssl_session_fetch_by_lua - status code ok got: ''
expected: '200'
ctx.t TEST 8: ngx.ctx in ssl_session_fetch_by_lua - status code ok got: ''
expected: '200'
ctx.t TEST 8: ngx.ctx in ssl_session_fetch_by_lua - grep_error_log_out (req 1) got: ""
length: 0
expected: "lua release ngx.ctx at ref 2\x{0a}received: 42\x{0a}received"...
length: 137
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 3: ngx.ctx in ssl_certificate_by_lua - status code ok got: ''
expected: '200'
ctx.t TEST 3: ngx.ctx in ssl_certificate_by_lua - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "received: 42\x{0a}received: 1\x{0a}received: 42\x{0a}received: 1\x{0a}"
length: 50
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 3: ngx.ctx in ssl_certificate_by_lua - grep_error_log_out (req 0) got: ""
length: 0
expected: "lua release ngx.ctx at ref 2\x{0a}lua release ngx.ctx a"...
length: 87
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 3: ngx.ctx in ssl_certificate_by_lua - status code ok got: ''
expected: '200'
ctx.t TEST 3: ngx.ctx in ssl_certificate_by_lua - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "received: 42\x{0a}received: 1\x{0a}received: 42\x{0a}received: 1\x{0a}"
length: 50
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 3: ngx.ctx in ssl_certificate_by_lua - grep_error_log_out (req 1) got: ""
length: 0
expected: "lua release ngx.ctx at ref 2\x{0a}lua release ngx.ctx a"...
length: 174
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 10: ngx.ctx in ssl* and other phases - status code ok got: ''
expected: '200'
ctx.t TEST 10: ngx.ctx in ssl* and other phases - grep_error_log_out (req 0) got: ""
length: 0
expected: "lua release ngx.ctx at ref 2\x{0a}received: 102\x{0a}lua rel"...
length: 115
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 10: ngx.ctx in ssl* and other phases - status code ok got: ''
expected: '200'
ctx.t TEST 10: ngx.ctx in ssl* and other phases - grep_error_log_out (req 1) got: ""
length: 0
expected: "lua release ngx.ctx at ref 2\x{0a}received: 102\x{0a}lua rel"...
length: 230
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 6: ngx.ctx in ssl_session_store_by_lua - status code ok got: ''
expected: '200'
ctx.t TEST 6: ngx.ctx in ssl_session_store_by_lua - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "received: 42\x{0a}received: 1\x{0a}received: 42\x{0a}received: 1\x{0a}"
length: 50
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 6: ngx.ctx in ssl_session_store_by_lua - grep_error_log_out (req 0) got: ""
length: 0
expected: "lua release ngx.ctx at ref 2\x{0a}lua release ngx.ctx a"...
length: 87
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 6: ngx.ctx in ssl_session_store_by_lua - status code ok got: ''
expected: '200'
ctx.t TEST 6: ngx.ctx in ssl_session_store_by_lua - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "received: 42\x{0a}received: 1\x{0a}received: 42\x{0a}received: 1\x{0a}"
length: 50
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 6: ngx.ctx in ssl_session_store_by_lua - grep_error_log_out (req 1) got: ""
length: 0
expected: "lua release ngx.ctx at ref 2\x{0a}lua release ngx.ctx a"...
length: 174
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 11: overwrite values will only take affect in the current http request - status code ok got: ''
expected: '200'
ctx.t TEST 11: overwrite values will only take affect in the current http request - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "received: 0\x{0a}received: 0\x{0a}"
length: 24
strings begin to differ at char 1 (line 1 column 1)
ctx.t TEST 11: overwrite values will only take affect in the current http request - status code ok got: ''
expected: '200'
ctx.t TEST 11: overwrite values will only take affect in the current http request - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "received: 0\x{0a}received: 0\x{0a}"
length: 24
strings begin to differ at char 1 (line 1 column 1)
pipe-stdin.t TEST 11: write process, aborted by uthread kill, with graceful shutdown - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-stdout: ok
+stdout err: timeout
-stderr err: closed
+stderr err: timeout
'
pipe-stdin.t TEST 11: write process, aborted by uthread kill, with graceful shutdown - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,7 @@
-stdout: ok
+stdout err: timeout
-stderr err: closed
+stderr: 2020/10/27 05:14:51 [error] 7203\#0: *2 lua entry thread aborted: runtime error: init_worker_by_lua:14: API disabled in the context of ngx.timer
+stack traceback:
+coroutine 0:
+ [C]: in function 'say'
+ init_worker_by_lua:14: in function <init_worker_by_lua:2>, context: ngx.timer
+
'
shdict.t TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - response_body - response is expected (repeated req 0, req 0) got: 'ttl: 0
'
expected: 'ttl: 2147483648
'
shdict.t TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - response_body - response is expected (repeated req 1, req 0) got: 'ttl: 0
'
expected: 'ttl: 2147483648
'
shdict.t TEST 47: exptime uses long type to avoid overflow in set() + ttl() - response_body - response is expected (repeated req 0, req 0) got: 'ttl: 0
'
expected: 'ttl: 2147483648
'
shdict.t TEST 47: exptime uses long type to avoid overflow in set() + ttl() - response_body - response is expected (repeated req 1, req 0) got: 'ttl: 0
'
expected: 'ttl: 2147483648
'
shdict.t TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - response_body - response is expected (repeated req 0, req 0) got: 'ttl: 0
'
expected: 'ttl: 2147483648
'
shdict.t TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - response_body - response is expected (repeated req 1, req 0) got: 'ttl: 0
'
expected: 'ttl: 2147483648
'
ssl.t TEST 9: read PEM cert chain but set DER cert chain - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 9: read PEM cert chain but set DER cert chain - status code ok got: ''
expected: '200'
ssl.t TEST 9: read PEM cert chain but set DER cert chain - response_body - response is expected (repeated req 0, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 9: read PEM cert chain but set DER cert chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:22 [alert] 17070\#0: worker process 17071 exited on signal 11" (req 0) 2020/10/27 05:25:22 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:22 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:22 [debug] 17070\#0: reap children
2020/10/27 05:25:22 [debug] 17070\#0: child: 0 17071 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:22 [debug] 17070\#0: channel 3:9
2020/10/27 05:25:22 [notice] 17070\#0: start worker process 17072
2020/10/27 05:25:22 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:22 [debug] 17072\#0: malloc: 08D1A408:12
2020/10/27 05:25:22 [debug] 17072\#0: malloc: 08D1C4B0:8
'
ssl.t TEST 9: read PEM cert chain but set DER cert chain - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 9: read PEM cert chain but set DER cert chain - status code ok got: ''
expected: '200'
ssl.t TEST 9: read PEM cert chain but set DER cert chain - response_body - response is expected (repeated req 1, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 9: read PEM cert chain but set DER cert chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:22 [alert] 17070\#0: worker process 17072 exited on signal 11" (req 1) 2020/10/27 05:25:22 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:22 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:22 [debug] 17070\#0: reap children
2020/10/27 05:25:22 [debug] 17070\#0: child: 0 17072 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:22 [debug] 17070\#0: channel 3:9
2020/10/27 05:25:22 [notice] 17070\#0: start worker process 17073
2020/10/27 05:25:22 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:22 [debug] 17073\#0: malloc: 08D1A408:12
2020/10/27 05:25:22 [debug] 17073\#0: malloc: 08D1C4B0:8
'
ssl.t TEST 4: read SNI name via ssl.server_name() when no SNI name specified - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 4: read SNI name via ssl.server_name() when no SNI name specified - status code ok got: ''
expected: '200'
ssl.t TEST 4: read SNI name via ssl.server_name() when no SNI name specified - response_body - response is expected (repeated req 0, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 4: read SNI name via ssl.server_name() when no SNI name specified - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:23 [alert] 17070\#0: worker process 17080 exited on signal 11" (req 0) 2020/10/27 05:25:23 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:23 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:23 [debug] 17070\#0: reap children
2020/10/27 05:25:23 [debug] 17070\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:25:23 [debug] 17070\#0: child: 1 17080 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:23 [debug] 17070\#0: channel 3:4
2020/10/27 05:25:23 [notice] 17070\#0: start worker process 17105
2020/10/27 05:25:23 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:23 [debug] 17105\#0: malloc: 08D14F18:12
'
ssl.t TEST 4: read SNI name via ssl.server_name() when no SNI name specified - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 4: read SNI name via ssl.server_name() when no SNI name specified - status code ok got: ''
expected: '200'
ssl.t TEST 4: read SNI name via ssl.server_name() when no SNI name specified - response_body - response is expected (repeated req 1, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 4: read SNI name via ssl.server_name() when no SNI name specified - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:24 [alert] 17070\#0: worker process 17105 exited on signal 11" (req 1) 2020/10/27 05:25:24 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:24 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:24 [debug] 17070\#0: reap children
2020/10/27 05:25:24 [debug] 17070\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:25:24 [debug] 17070\#0: child: 1 17105 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:24 [debug] 17070\#0: channel 3:4
2020/10/27 05:25:24 [notice] 17070\#0: start worker process 17106
2020/10/27 05:25:24 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:24 [debug] 17106\#0: malloc: 08D14F18:12
'
ssl.t TEST 16: parse PEM cert and key to cdata - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 16: parse PEM cert and key to cdata - status code ok got: ''
expected: '200'
ssl.t TEST 16: parse PEM cert and key to cdata - response_body - response is expected (repeated req 0, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 16: parse PEM cert and key to cdata - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:27 [alert] 17070\#0: worker process 17141 exited on signal 11" (req 0) 2020/10/27 05:25:27 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:27 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:27 [debug] 17070\#0: reap children
2020/10/27 05:25:27 [debug] 17070\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:25:27 [debug] 17070\#0: child: 1 17141 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:27 [debug] 17070\#0: channel 3:4
2020/10/27 05:25:27 [notice] 17070\#0: start worker process 17163
2020/10/27 05:25:27 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:27 [debug] 17163\#0: malloc: 08D14F18:12
'
ssl.t TEST 16: parse PEM cert and key to cdata - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 16: parse PEM cert and key to cdata - status code ok got: ''
expected: '200'
ssl.t TEST 16: parse PEM cert and key to cdata - response_body - response is expected (repeated req 1, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 16: parse PEM cert and key to cdata - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:27 [alert] 17070\#0: worker process 17163 exited on signal 11" (req 1) 2020/10/27 05:25:27 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:27 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:27 [debug] 17070\#0: reap children
2020/10/27 05:25:27 [debug] 17070\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:25:27 [debug] 17070\#0: child: 1 17163 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:27 [debug] 17070\#0: channel 3:4
2020/10/27 05:25:27 [notice] 17070\#0: start worker process 17164
2020/10/27 05:25:27 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:27 [debug] 17164\#0: malloc: 08D14F18:12
'
ssl.t TEST 26: read server port via ssl.server_port() with ipv4 - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 26: read server port via ssl.server_port() with ipv4 - status code ok got: ''
expected: '200'
ssl.t TEST 26: read server port via ssl.server_port() with ipv4 - response_body - response is expected (repeated req 0, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 26: read server port via ssl.server_port() with ipv4 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:32 [alert] 17070\#0: worker process 17227 exited on signal 11" (req 0) 2020/10/27 05:25:32 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:32 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:32 [debug] 17070\#0: reap children
2020/10/27 05:25:32 [debug] 17070\#0: child: 0 17227 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:32 [debug] 17070\#0: channel 3:4
2020/10/27 05:25:32 [notice] 17070\#0: start worker process 17249
2020/10/27 05:25:32 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:32 [debug] 17249\#0: malloc: 08D1A408:12
2020/10/27 05:25:32 [debug] 17249\#0: malloc: 08D1C4B0:8
'
ssl.t TEST 26: read server port via ssl.server_port() with ipv4 - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 26: read server port via ssl.server_port() with ipv4 - status code ok got: ''
expected: '200'
ssl.t TEST 26: read server port via ssl.server_port() with ipv4 - response_body - response is expected (repeated req 1, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 26: read server port via ssl.server_port() with ipv4 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:32 [alert] 17070\#0: worker process 17249 exited on signal 11" (req 1) 2020/10/27 05:25:32 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:32 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:32 [debug] 17070\#0: reap children
2020/10/27 05:25:32 [debug] 17070\#0: child: 0 17249 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:32 [debug] 17070\#0: channel 3:4
2020/10/27 05:25:32 [notice] 17070\#0: start worker process 17250
2020/10/27 05:25:32 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:32 [debug] 17250\#0: malloc: 08D1A408:12
2020/10/27 05:25:32 [debug] 17250\#0: malloc: 08D1C4B0:8
'
ssl.t TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - status code ok got: ''
expected: '200'
ssl.t TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - response_body - response is expected (repeated req 0, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:34 [alert] 17070\#0: worker process 17257 exited on signal 11" (req 0) 2020/10/27 05:25:34 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:34 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:34 [debug] 17070\#0: reap children
2020/10/27 05:25:34 [debug] 17070\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:25:34 [debug] 17070\#0: child: 1 17257 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:34 [debug] 17070\#0: channel 3:4
2020/10/27 05:25:34 [notice] 17070\#0: start worker process 17279
2020/10/27 05:25:34 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:34 [debug] 17279\#0: malloc: 08D14F18:12
'
ssl.t TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - status code ok got: ''
expected: '200'
ssl.t TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - response_body - response is expected (repeated req 1, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:34 [alert] 17070\#0: worker process 17279 exited on signal 11" (req 1) 2020/10/27 05:25:34 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:34 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:34 [debug] 17070\#0: reap children
2020/10/27 05:25:34 [debug] 17070\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:25:34 [debug] 17070\#0: child: 1 17279 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:34 [debug] 17070\#0: channel 3:4
2020/10/27 05:25:34 [notice] 17070\#0: start worker process 17280
2020/10/27 05:25:34 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:34 [debug] 17280\#0: malloc: 08D14F18:12
'
ssl.t TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - status code ok got: ''
expected: '200'
ssl.t TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - response_body - response is expected (repeated req 0, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:36 [alert] 17070\#0: worker process 17289 exited on signal 11" (req 0) 2020/10/27 05:25:36 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:36 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:36 [debug] 17070\#0: reap children
2020/10/27 05:25:36 [debug] 17070\#0: child: 0 17289 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:36 [debug] 17070\#0: channel 3:4
2020/10/27 05:25:36 [notice] 17070\#0: start worker process 17311
2020/10/27 05:25:36 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:36 [debug] 17311\#0: malloc: 08D1A408:12
2020/10/27 05:25:36 [debug] 17311\#0: malloc: 08D1C4B0:8
'
ssl.t TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - status code ok got: ''
expected: '200'
ssl.t TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - response_body - response is expected (repeated req 1, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:36 [alert] 17070\#0: worker process 17311 exited on signal 11" (req 1) 2020/10/27 05:25:36 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:36 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:36 [debug] 17070\#0: reap children
2020/10/27 05:25:36 [debug] 17070\#0: child: 0 17311 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:36 [debug] 17070\#0: channel 3:4
2020/10/27 05:25:36 [notice] 17070\#0: start worker process 17312
2020/10/27 05:25:36 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:36 [debug] 17312\#0: malloc: 08D1A408:12
2020/10/27 05:25:36 [debug] 17312\#0: malloc: 08D1C4B0:8
'
ssl.t TEST 27: read server port via ssl.server_port() with unix domain socket - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 27: read server port via ssl.server_port() with unix domain socket - status code ok got: ''
expected: '200'
ssl.t TEST 27: read server port via ssl.server_port() with unix domain socket - response_body - response is expected (repeated req 0, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 27: read server port via ssl.server_port() with unix domain socket - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:41 [alert] 17070\#0: worker process 17375 exited on signal 11" (req 0) 2020/10/27 05:25:41 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:41 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:41 [debug] 17070\#0: reap children
2020/10/27 05:25:41 [debug] 17070\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:25:41 [debug] 17070\#0: child: 1 17375 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:41 [debug] 17070\#0: channel 3:4
2020/10/27 05:25:41 [notice] 17070\#0: start worker process 17397
2020/10/27 05:25:41 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:41 [debug] 17397\#0: malloc: 08D14F18:12
'
ssl.t TEST 27: read server port via ssl.server_port() with unix domain socket - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 27: read server port via ssl.server_port() with unix domain socket - status code ok got: ''
expected: '200'
ssl.t TEST 27: read server port via ssl.server_port() with unix domain socket - response_body - response is expected (repeated req 1, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 27: read server port via ssl.server_port() with unix domain socket - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:42 [alert] 17070\#0: worker process 17397 exited on signal 11" (req 1) 2020/10/27 05:25:42 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:42 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:42 [debug] 17070\#0: reap children
2020/10/27 05:25:42 [debug] 17070\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:25:42 [debug] 17070\#0: child: 1 17397 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:42 [debug] 17070\#0: channel 3:4
2020/10/27 05:25:42 [notice] 17070\#0: start worker process 17398
2020/10/27 05:25:42 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:42 [debug] 17398\#0: malloc: 08D14F18:12
'
ssl.t TEST 2: set DER cert and private key - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 2: set DER cert and private key - status code ok got: ''
expected: '200'
ssl.t TEST 2: set DER cert and private key - response_body - response is expected (repeated req 0, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 2: set DER cert and private key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:47 [alert] 17070\#0: worker process 17469 exited on signal 11" (req 0) 2020/10/27 05:25:47 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:47 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:47 [debug] 17070\#0: reap children
2020/10/27 05:25:47 [debug] 17070\#0: child: 0 17469 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:47 [debug] 17070\#0: channel 3:4
2020/10/27 05:25:47 [notice] 17070\#0: start worker process 17491
2020/10/27 05:25:47 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:47 [debug] 17491\#0: malloc: 08D1A408:12
2020/10/27 05:25:47 [debug] 17491\#0: malloc: 08D1C4B0:8
'
ssl.t TEST 2: set DER cert and private key - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 2: set DER cert and private key - status code ok got: ''
expected: '200'
ssl.t TEST 2: set DER cert and private key - response_body - response is expected (repeated req 1, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 2: set DER cert and private key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:47 [alert] 17070\#0: worker process 17491 exited on signal 11" (req 1) 2020/10/27 05:25:47 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:47 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:47 [debug] 17070\#0: reap children
2020/10/27 05:25:47 [debug] 17070\#0: child: 0 17491 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:47 [debug] 17070\#0: channel 3:4
2020/10/27 05:25:47 [notice] 17070\#0: start worker process 17492
2020/10/27 05:25:47 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:47 [debug] 17492\#0: malloc: 08D1A408:12
2020/10/27 05:25:47 [debug] 17492\#0: malloc: 08D1C4B0:8
'
ssl.t TEST 8: set DER cert chain - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 8: set DER cert chain - status code ok got: ''
expected: '200'
ssl.t TEST 8: set DER cert chain - response_body - response is expected (repeated req 0, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 8: set DER cert chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:49 [alert] 17070\#0: worker process 17499 exited on signal 11" (req 0) 2020/10/27 05:25:49 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:49 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:49 [debug] 17070\#0: reap children
2020/10/27 05:25:49 [debug] 17070\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:25:49 [debug] 17070\#0: child: 1 17499 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:49 [debug] 17070\#0: channel 3:4
2020/10/27 05:25:49 [notice] 17070\#0: start worker process 17521
2020/10/27 05:25:49 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:49 [debug] 17521\#0: malloc: 08D14F18:12
'
ssl.t TEST 8: set DER cert chain - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 8: set DER cert chain - status code ok got: ''
expected: '200'
ssl.t TEST 8: set DER cert chain - response_body - response is expected (repeated req 1, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 8: set DER cert chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:49 [alert] 17070\#0: worker process 17521 exited on signal 11" (req 1) 2020/10/27 05:25:49 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:49 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:49 [debug] 17070\#0: reap children
2020/10/27 05:25:49 [debug] 17070\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:25:49 [debug] 17070\#0: child: 1 17521 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:49 [debug] 17070\#0: channel 3:4
2020/10/27 05:25:49 [notice] 17070\#0: start worker process 17522
2020/10/27 05:25:49 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:49 [debug] 17522\#0: malloc: 08D14F18:12
'
ssl.t TEST 20: read client addr via ssl.raw_client_addr() - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 20: read client addr via ssl.raw_client_addr() - status code ok got: ''
expected: '200'
ssl.t TEST 20: read client addr via ssl.raw_client_addr() - response_body - response is expected (repeated req 0, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 20: read client addr via ssl.raw_client_addr() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:54 [alert] 17070\#0: worker process 17585 exited on signal 11" (req 0) 2020/10/27 05:25:54 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:54 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:54 [debug] 17070\#0: reap children
2020/10/27 05:25:54 [debug] 17070\#0: child: 0 17585 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:54 [debug] 17070\#0: channel 3:4
2020/10/27 05:25:54 [notice] 17070\#0: start worker process 17607
2020/10/27 05:25:54 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:54 [debug] 17607\#0: malloc: 08D1A408:12
2020/10/27 05:25:54 [debug] 17607\#0: malloc: 08D1C4B0:8
'
ssl.t TEST 20: read client addr via ssl.raw_client_addr() - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 20: read client addr via ssl.raw_client_addr() - status code ok got: ''
expected: '200'
ssl.t TEST 20: read client addr via ssl.raw_client_addr() - response_body - response is expected (repeated req 1, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 20: read client addr via ssl.raw_client_addr() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:54 [alert] 17070\#0: worker process 17607 exited on signal 11" (req 1) 2020/10/27 05:25:54 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:54 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:54 [debug] 17070\#0: reap children
2020/10/27 05:25:54 [debug] 17070\#0: child: 0 17607 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:54 [debug] 17070\#0: channel 3:4
2020/10/27 05:25:54 [notice] 17070\#0: start worker process 17608
2020/10/27 05:25:54 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:54 [debug] 17608\#0: malloc: 08D1A408:12
2020/10/27 05:25:54 [debug] 17608\#0: malloc: 08D1C4B0:8
'
ssl.t TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - status code ok got: ''
expected: '200'
ssl.t TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - response_body - response is expected (repeated req 0, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:56 [alert] 17070\#0: worker process 17615 exited on signal 11" (req 0) 2020/10/27 05:25:56 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:56 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:56 [debug] 17070\#0: reap children
2020/10/27 05:25:56 [debug] 17070\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:25:56 [debug] 17070\#0: child: 1 17615 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:56 [debug] 17070\#0: channel 3:4
2020/10/27 05:25:56 [notice] 17070\#0: start worker process 17637
2020/10/27 05:25:56 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:56 [debug] 17637\#0: malloc: 08D14F18:12
'
ssl.t TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - status code ok got: ''
expected: '200'
ssl.t TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - response_body - response is expected (repeated req 1, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:56 [alert] 17070\#0: worker process 17637 exited on signal 11" (req 1) 2020/10/27 05:25:56 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:56 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:56 [debug] 17070\#0: reap children
2020/10/27 05:25:56 [debug] 17070\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:25:56 [debug] 17070\#0: child: 1 17637 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:56 [debug] 17070\#0: channel 3:4
2020/10/27 05:25:56 [notice] 17070\#0: start worker process 17638
2020/10/27 05:25:56 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:56 [debug] 17638\#0: malloc: 08D14F18:12
'
ssl.t TEST 3: read SNI name via ssl.server_name() - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 3: read SNI name via ssl.server_name() - status code ok got: ''
expected: '200'
ssl.t TEST 3: read SNI name via ssl.server_name() - response_body - response is expected (repeated req 0, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 3: read SNI name via ssl.server_name() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:58 [alert] 17070\#0: worker process 17645 exited on signal 11" (req 0) 2020/10/27 05:25:58 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:58 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:58 [debug] 17070\#0: reap children
2020/10/27 05:25:58 [debug] 17070\#0: child: 0 17645 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:58 [debug] 17070\#0: channel 3:4
2020/10/27 05:25:58 [notice] 17070\#0: start worker process 17667
2020/10/27 05:25:58 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:58 [debug] 17667\#0: malloc: 08D1A408:12
2020/10/27 05:25:58 [debug] 17667\#0: malloc: 08D1C4B0:8
'
ssl.t TEST 3: read SNI name via ssl.server_name() - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 3: read SNI name via ssl.server_name() - status code ok got: ''
expected: '200'
ssl.t TEST 3: read SNI name via ssl.server_name() - response_body - response is expected (repeated req 1, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 3: read SNI name via ssl.server_name() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:25:58 [alert] 17070\#0: worker process 17667 exited on signal 11" (req 1) 2020/10/27 05:25:58 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:25:58 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:25:58 [debug] 17070\#0: reap children
2020/10/27 05:25:58 [debug] 17070\#0: child: 0 17667 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:25:58 [debug] 17070\#0: channel 3:4
2020/10/27 05:25:58 [notice] 17070\#0: start worker process 17668
2020/10/27 05:25:58 [debug] 17070\#0: sigsuspend
2020/10/27 05:25:58 [debug] 17668\#0: malloc: 08D1A408:12
2020/10/27 05:25:58 [debug] 17668\#0: malloc: 08D1C4B0:8
'
ssl.t TEST 15: read PEM key chain but set DER key chain - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 15: read PEM key chain but set DER key chain - status code ok got: ''
expected: '200'
ssl.t TEST 15: read PEM key chain but set DER key chain - response_body - response is expected (repeated req 0, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 15: read PEM key chain but set DER key chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:26:04 [alert] 17070\#0: worker process 17731 exited on signal 11" (req 0) 2020/10/27 05:26:04 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:26:04 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:26:04 [debug] 17070\#0: reap children
2020/10/27 05:26:04 [debug] 17070\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:26:04 [debug] 17070\#0: child: 1 17731 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:26:04 [debug] 17070\#0: channel 3:4
2020/10/27 05:26:04 [notice] 17070\#0: start worker process 17753
2020/10/27 05:26:04 [debug] 17070\#0: sigsuspend
2020/10/27 05:26:04 [debug] 17753\#0: malloc: 08D14F18:12
'
ssl.t TEST 15: read PEM key chain but set DER key chain - no last chunk found - d connected: 1

18
ssl handshake: userdata

1d
sent http request: 56 bytes.

'
ssl.t TEST 15: read PEM key chain but set DER key chain - status code ok got: ''
expected: '200'
ssl.t TEST 15: read PEM key chain but set DER key chain - response_body - response is expected (repeated req 1, req 0) got: undef
expected: 'connected: 1
ssl handshake: userdata
sent http request: 56 bytes.
received: HTTP/1.1 201 Created
received: Server: nginx
received: Content-Type: text/plain
received: Content-Length: 4
received: Connection: close
received:
received: foo
close: 1 nil
'
ssl.t TEST 15: read PEM key chain but set DER key chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:26:04 [alert] 17070\#0: worker process 17753 exited on signal 11" (req 1) 2020/10/27 05:26:04 [debug] 17070\#0: shmtx forced unlock
2020/10/27 05:26:04 [debug] 17070\#0: wake up, sigio 0
2020/10/27 05:26:04 [debug] 17070\#0: reap children
2020/10/27 05:26:04 [debug] 17070\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:26:04 [debug] 17070\#0: child: 1 17753 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:26:04 [debug] 17070\#0: channel 3:4
2020/10/27 05:26:04 [notice] 17070\#0: start worker process 17754
2020/10/27 05:26:04 [debug] 17070\#0: sigsuspend
2020/10/27 05:26:04 [debug] 17754\#0: malloc: 08D14F18:12
'
stream/balancer-timeout.t TEST 9: set read timeout to 0 - status code ok got: ''
expected: '200'
stream/balancer-timeout.t TEST 9: set read timeout to 0 - status code ok got: ''
expected: '200'
stream/balancer-timeout.t TEST 11: set_timeouts called in a wrong context - status code ok got: ''
expected: '200'
stream/balancer-timeout.t TEST 11: set_timeouts called in a wrong context - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'failed to call: API disabled in the current context
'
stream/balancer-timeout.t TEST 11: set_timeouts called in a wrong context - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:26:17 [alert] 17884\#0: worker process 17894 exited on signal 11" (req 0) 2020/10/27 05:26:17 [debug] 17884\#0: shmtx forced unlock
2020/10/27 05:26:17 [debug] 17884\#0: wake up, sigio 0
2020/10/27 05:26:17 [debug] 17884\#0: reap children
2020/10/27 05:26:17 [debug] 17884\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:26:17 [debug] 17884\#0: child: 1 17894 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:26:17 [debug] 17884\#0: channel 3:4
2020/10/27 05:26:17 [notice] 17884\#0: start worker process 17915
2020/10/27 05:26:17 [debug] 17884\#0: sigsuspend
2020/10/27 05:26:17 [debug] 17915\#0: malloc: 0A132F18:12
'
stream/balancer-timeout.t TEST 11: set_timeouts called in a wrong context - status code ok got: ''
expected: '200'
stream/balancer-timeout.t TEST 11: set_timeouts called in a wrong context - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'failed to call: API disabled in the current context
'
stream/balancer-timeout.t TEST 11: set_timeouts called in a wrong context - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:26:18 [alert] 17884\#0: worker process 17915 exited on signal 11" (req 1) 2020/10/27 05:26:18 [debug] 17884\#0: shmtx forced unlock
2020/10/27 05:26:18 [debug] 17884\#0: wake up, sigio 0
2020/10/27 05:26:18 [debug] 17884\#0: reap children
2020/10/27 05:26:18 [debug] 17884\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:26:18 [debug] 17884\#0: child: 1 17915 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:26:18 [debug] 17884\#0: channel 3:4
2020/10/27 05:26:18 [notice] 17884\#0: start worker process 17916
2020/10/27 05:26:18 [debug] 17884\#0: sigsuspend
2020/10/27 05:26:18 [debug] 17916\#0: malloc: 0A132F18:12
'
stream/balancer-timeout.t TEST 10 set read timeout to -1 - status code ok got: ''
expected: '200'
stream/balancer-timeout.t TEST 10 set read timeout to -1 - status code ok got: ''
expected: '200'
stream/balancer-timeout.t TEST 12: set_timeouts called with a non-numerical parameter - status code ok got: ''
expected: '200'
stream/balancer-timeout.t TEST 12: set_timeouts called with a non-numerical parameter - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:26:29 [alert] 17884\#0: worker process 17952 exited on signal 11" (req 0) 2020/10/27 05:26:29 [debug] 17884\#0: shmtx forced unlock
2020/10/27 05:26:29 [debug] 17884\#0: wake up, sigio 0
2020/10/27 05:26:29 [debug] 17884\#0: reap children
2020/10/27 05:26:29 [debug] 17884\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:26:29 [debug] 17884\#0: child: 1 17952 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:26:29 [debug] 17884\#0: channel 3:4
2020/10/27 05:26:29 [notice] 17884\#0: start worker process 17973
2020/10/27 05:26:29 [debug] 17884\#0: sigsuspend
2020/10/27 05:26:29 [debug] 17973\#0: malloc: 0A132F18:12
'
stream/balancer-timeout.t TEST 12: set_timeouts called with a non-numerical parameter - status code ok got: ''
expected: '200'
stream/balancer-timeout.t TEST 12: set_timeouts called with a non-numerical parameter - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:26:29 [alert] 17884\#0: worker process 17973 exited on signal 11" (req 1) 2020/10/27 05:26:29 [debug] 17884\#0: shmtx forced unlock
2020/10/27 05:26:29 [debug] 17884\#0: wake up, sigio 0
2020/10/27 05:26:29 [debug] 17884\#0: reap children
2020/10/27 05:26:29 [debug] 17884\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:26:29 [debug] 17884\#0: child: 1 17973 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:26:29 [debug] 17884\#0: channel 3:4
2020/10/27 05:26:29 [notice] 17884\#0: start worker process 17974
2020/10/27 05:26:29 [debug] 17884\#0: sigsuspend
2020/10/27 05:26:29 [debug] 17974\#0: malloc: 0A132F18:12
'
stream/balancer-timeout.t TEST 2: set_timeouts (nil connect timeout) - status code ok got: ''
expected: '200'
stream/balancer-timeout.t TEST 2: set_timeouts (nil connect timeout) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'fake origin
'
stream/balancer-timeout.t TEST 2: set_timeouts (nil connect timeout) - status code ok got: ''
expected: '200'
stream/balancer-timeout.t TEST 2: set_timeouts (nil connect timeout) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'fake origin
'
stream/balancer-timeout.t TEST 7: set send timeout to 0 - status code ok got: ''
expected: '200'
stream/balancer-timeout.t TEST 7: set send timeout to 0 - status code ok got: ''
expected: '200'
stream/balancer-timeout.t TEST 3: set_timeouts (nil send timeout) - status code ok got: ''
expected: '200'
stream/balancer-timeout.t TEST 3: set_timeouts (nil send timeout) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'fake origin
'
stream/balancer-timeout.t TEST 3: set_timeouts (nil send timeout) - status code ok got: ''
expected: '200'
stream/balancer-timeout.t TEST 3: set_timeouts (nil send timeout) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'fake origin
'
stream/balancer-timeout.t TEST 4: set_timeouts (nil read timeout) - status code ok got: ''
expected: '200'
stream/balancer-timeout.t TEST 4: set_timeouts (nil read timeout) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'fake origin
'
stream/balancer-timeout.t TEST 4: set_timeouts (nil read timeout) - status code ok got: ''
expected: '200'
stream/balancer-timeout.t TEST 4: set_timeouts (nil read timeout) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'fake origin
'
stream/balancer-timeout.t TEST 5: set connect timeout to 0 - status code ok got: ''
expected: '200'
stream/balancer-timeout.t TEST 5: set connect timeout to 0 - status code ok got: ''
expected: '200'
stream/balancer-timeout.t TEST 6: set connect timeout to -1 - status code ok got: ''
expected: '200'
stream/balancer-timeout.t TEST 6: set connect timeout to -1 - status code ok got: ''
expected: '200'
stream/balancer-timeout.t TEST 1: set_timeouts - status code ok got: ''
expected: '200'
stream/balancer-timeout.t TEST 1: set_timeouts - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'fake origin
'
stream/balancer-timeout.t TEST 1: set_timeouts - status code ok got: ''
expected: '200'
stream/balancer-timeout.t TEST 1: set_timeouts - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'fake origin
'
stream/balancer-timeout.t TEST 8: set send timeout to -1 - status code ok got: ''
expected: '200'
stream/balancer-timeout.t TEST 8: set send timeout to -1 - status code ok got: ''
expected: '200'
stream/balancer.t TEST 2: set current peer & next upstream (3 tries) - status code ok got: ''
expected: '200'
stream/balancer.t TEST 2: set current peer & next upstream (3 tries) - status code ok got: ''
expected: '200'
stream/balancer.t TEST 4: set current peer & next upstream (3 tries exceeding the limit) - status code ok got: ''
expected: '200'
stream/balancer.t TEST 4: set current peer & next upstream (3 tries exceeding the limit) - status code ok got: ''
expected: '200'
stream/balancer.t TEST 1: set current peer (separate addr and port) - status code ok got: ''
expected: '200'
stream/balancer.t TEST 1: set current peer (separate addr and port) - status code ok got: ''
expected: '200'
stream/balancer.t TEST 3: set current peer & next upstream (no retries) - status code ok got: ''
expected: '200'
stream/balancer.t TEST 3: set current peer & next upstream (no retries) - status code ok got: ''
expected: '200'
stream/balancer.t TEST 6: set current peer (port embedded in addr) - status code ok got: ''
expected: '200'
stream/balancer.t TEST 6: set current peer (port embedded in addr) - status code ok got: ''
expected: '200'
stream/balancer.t TEST 5: get last peer failure status (connect failed) - status code ok got: ''
expected: '200'
stream/balancer.t TEST 5: get last peer failure status (connect failed) - status code ok got: ''
expected: '200'
stream/ctx.t TEST 1: ngx.ctx in ssl_certificate_by_lua - status code ok got: ''
expected: '200'
stream/ctx.t TEST 1: ngx.ctx in ssl_certificate_by_lua - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-received: 42
-received: 1
'
stream/ctx.t TEST 1: ngx.ctx in ssl_certificate_by_lua - grep_error_log_out (req 0) @@ -1,2 +0,0 @@
-lua release ngx.ctx at ref 2
-lua release ngx.ctx at ref 1
'
stream/ctx.t TEST 1: ngx.ctx in ssl_certificate_by_lua - status code ok got: ''
expected: '200'
stream/ctx.t TEST 1: ngx.ctx in ssl_certificate_by_lua - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-received: 42
-received: 1
'
stream/ctx.t TEST 1: ngx.ctx in ssl_certificate_by_lua - grep_error_log_out (req 1) @@ -1,4 +0,0 @@
-lua release ngx.ctx at ref 2
-lua release ngx.ctx at ref 1
-lua release ngx.ctx at ref 2
-lua release ngx.ctx at ref 1
'
stream/ctx.t TEST 2: ngx.ctx in ssl_certificate_by_lua (share objects) - status code ok got: ''
expected: '200'
stream/ctx.t TEST 2: ngx.ctx in ssl_certificate_by_lua (share objects) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'received: 1
'
stream/ctx.t TEST 2: ngx.ctx in ssl_certificate_by_lua (share objects) - status code ok got: ''
expected: '200'
stream/ctx.t TEST 2: ngx.ctx in ssl_certificate_by_lua (share objects) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'received: 1
'
stream/ctx.t TEST 3: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) - status code ok got: ''
expected: '200'
stream/ctx.t TEST 3: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'failed to do SSL handshake: handshake failed
'
stream/ctx.t TEST 3: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) - status code ok got: ''
expected: '200'
stream/ctx.t TEST 3: ngx.ctx in ssl_certificate_by_lua (release ctx when client aborted) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'failed to do SSL handshake: handshake failed
'
stream/errlog.t TEST 23: the system default filter level is "debug" - status code ok got: ''
expected: '200'
stream/errlog.t TEST 23: the system default filter level is "debug" - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'Is "debug" the system default filter level? true'
stream/errlog.t TEST 23: the system default filter level is "debug" - status code ok got: ''
expected: '200'
stream/errlog.t TEST 23: the system default filter level is "debug" - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'Is "debug" the system default filter level? true'
stream/misc.t TEST 1: base.check_subsystem - status code ok got: ''
expected: '200'
stream/misc.t TEST 1: base.check_subsystem - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
stream/misc.t TEST 1: base.check_subsystem - status code ok got: ''
expected: '200'
stream/misc.t TEST 1: base.check_subsystem - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ok
'
stream/misc.t TEST 2: base.check_subsystem with non-stream subsystem - status code ok got: ''
expected: '200'
stream/misc.t TEST 2: base.check_subsystem with non-stream subsystem - status code ok got: ''
expected: '200'
stream/os-getenv-hup.t TEST 1: env directive explicit value is visible within init_by_lua* - status code ok got: ''
expected: '200'
stream/os-getenv-hup.t TEST 1: env directive explicit value is visible within init_by_lua* - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "old\x{0a}"
length: 4
strings begin to differ at char 1 (line 1 column 1)
stream/os-getenv-hup.t TEST 2: HUP reload changes env value (1/3) - status code ok got: ''
expected: '200'
stream/os-getenv-hup.t TEST 2: HUP reload changes env value (1/3) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "new\x{0a}"
length: 4
strings begin to differ at char 1 (line 1 column 1)
stream/os-getenv-hup.t TEST 3: HUP reload changes env value (2/3) - status code ok got: ''
expected: '200'
stream/os-getenv-hup.t TEST 3: HUP reload changes env value (2/3) - response_body_like - response is expected () ''
doesn't match '(?^s:\s)'
stream/os-getenv-hup.t TEST 4: HUP reload changes env value (3/3) - status code ok got: ''
expected: '200'
stream/os-getenv-hup.t TEST 4: HUP reload changes env value (3/3) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "nil\x{0a}"
length: 4
strings begin to differ at char 1 (line 1 column 1)
stream/os-getenv-hup.t TEST 5: HUP reload changes visible environment variable (1/2) - status code ok got: ''
expected: '200'
stream/os-getenv-hup.t TEST 5: HUP reload changes visible environment variable (1/2) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "old\x{0a}"
length: 4
strings begin to differ at char 1 (line 1 column 1)
stream/os-getenv-hup.t TEST 6: HUP reload changes visible environment variable (2/2) - status code ok got: ''
expected: '200'
stream/os-getenv-hup.t TEST 6: HUP reload changes visible environment variable (2/2) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "new\x{0a}"
length: 4
strings begin to differ at char 1 (line 1 column 1)
stream/os-getenv.t TEST 2: env directive explicit value is visible within init_by_lua* with lua_shared_dict - status code ok got: ''
expected: '200'
stream/os-getenv.t TEST 2: env directive explicit value is visible within init_by_lua* with lua_shared_dict - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "hello\x{0a}hello\x{0a}"
length: 12
strings begin to differ at char 1 (line 1 column 1)
stream/os-getenv.t TEST 5: env is visible from environment - status code ok got: ''
expected: '200'
stream/os-getenv.t TEST 5: env is visible from environment - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "world\x{0a}world\x{0a}"
length: 12
strings begin to differ at char 1 (line 1 column 1)
stream/os-getenv.t TEST 4: env directives with no value are ignored - status code ok got: ''
expected: '200'
stream/os-getenv.t TEST 4: env directives with no value are ignored - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "nil\x{0a}nil\x{0a}"
length: 8
strings begin to differ at char 1 (line 1 column 1)
stream/os-getenv.t TEST 6: env explicit set vs environment set - status code ok got: ''
expected: '200'
stream/os-getenv.t TEST 6: env explicit set vs environment set - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "goodbye\x{0a}goodbye\x{0a}"
length: 16
strings begin to differ at char 1 (line 1 column 1)
stream/os-getenv.t TEST 9: os.getenv() can be localized after loading resty.core - status code ok got: ''
expected: '200'
stream/os-getenv.t TEST 9: os.getenv() can be localized after loading resty.core - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "os.getenv() overwrite was reverted\x{0a}"
length: 35
strings begin to differ at char 1 (line 1 column 1)
stream/os-getenv.t TEST 8: os.getenv() overwrite is reverted in worker phases - status code ok got: ''
expected: '200'
stream/os-getenv.t TEST 8: os.getenv() overwrite is reverted in worker phases - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "FOO=hello\x{0a}os.getenv() overwrite was reverted\x{0a}"
length: 45
strings begin to differ at char 1 (line 1 column 1)
stream/os-getenv.t TEST 3: env directive explicit value is case-sensitive within init_by_lua* - status code ok got: ''
expected: '200'
stream/os-getenv.t TEST 3: env directive explicit value is case-sensitive within init_by_lua* - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "nil\x{0a}nil\x{0a}"
length: 8
strings begin to differ at char 1 (line 1 column 1)
stream/os-getenv.t TEST 1: env directive explicit value is visible within init_by_lua* - status code ok got: ''
expected: '200'
stream/os-getenv.t TEST 1: env directive explicit value is visible within init_by_lua* - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "hello\x{0a}hello\x{0a}"
length: 12
strings begin to differ at char 1 (line 1 column 1)
stream/os-getenv.t TEST 7: env directive with empty value - status code ok got: ''
expected: '200'
stream/os-getenv.t TEST 7: env directive with empty value - response_body_like - response is expected () ''
doesn't match '(?^s:in init:\s+
in content:\s+
)'
stream/re-base.t TEST 1: bad pattern - status code ok got: ''
expected: '200'
stream/re-base.t TEST 1: bad pattern - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'error: pcre_compile() failed: missing ) in "(abc"
'
stream/re-base.t TEST 1: bad pattern - status code ok got: ''
expected: '200'
stream/re-base.t TEST 1: bad pattern - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'error: pcre_compile() failed: missing ) in "(abc"
'
stream/re-base.t TEST 6: just not hit match limit - status code ok got: ''
expected: '200'
stream/re-base.t TEST 6: just not hit match limit - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'failed to match
'
stream/re-base.t TEST 6: just not hit match limit - status code ok got: ''
expected: '200'
stream/re-base.t TEST 6: just not hit match limit - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'failed to match
'
stream/re-base.t TEST 4: UTF-8 mode with UTF-8 sequence checks - status code ok got: ''
expected: '200'
stream/re-base.t TEST 4: UTF-8 mode with UTF-8 sequence checks - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ä½ 
'
stream/re-base.t TEST 4: UTF-8 mode with UTF-8 sequence checks - status code ok got: ''
expected: '200'
stream/re-base.t TEST 4: UTF-8 mode with UTF-8 sequence checks - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ä½ 
'
stream/re-base.t TEST 3: UTF-8 mode without UTF-8 sequence checks - status code ok got: ''
expected: '200'
stream/re-base.t TEST 3: UTF-8 mode without UTF-8 sequence checks - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ä½ 
'
stream/re-base.t TEST 3: UTF-8 mode without UTF-8 sequence checks - status code ok got: ''
expected: '200'
stream/re-base.t TEST 3: UTF-8 mode without UTF-8 sequence checks - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ä½ 
'
stream/re-base.t TEST 5: just hit match limit - status code ok got: ''
expected: '200'
stream/re-base.t TEST 5: just hit match limit - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'error: pcre_exec() failed: -8
'
stream/re-base.t TEST 5: just hit match limit - status code ok got: ''
expected: '200'
stream/re-base.t TEST 5: just hit match limit - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'error: pcre_exec() failed: -8
'
stream/re-base.t TEST 2: bad UTF-8 - status code ok got: ''
expected: '200'
stream/re-base.t TEST 2: bad UTF-8 - response_body_like - response is expected () ''
doesn't match '(?^s:error: pcre_exec\(\) failed: -10)'
stream/re-base.t TEST 2: bad UTF-8 - status code ok got: ''
expected: '200'
stream/re-base.t TEST 2: bad UTF-8 - response_body_like - response is expected () ''
doesn't match '(?^s:error: pcre_exec\(\) failed: -10)'
stream/re-find.t TEST 5: nil submatch (1st) - status code ok got: ''
expected: '200'
stream/re-find.t TEST 5: nil submatch (1st) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'not matched!
'
stream/re-find.t TEST 5: nil submatch (1st) - status code ok got: ''
expected: '200'
stream/re-find.t TEST 5: nil submatch (1st) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'not matched!
'
stream/re-find.t TEST 3: not matched, no submatch, jit compile, regex cache - status code ok got: ''
expected: '200'
stream/re-find.t TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'no match
'
stream/re-find.t TEST 3: not matched, no submatch, jit compile, regex cache - status code ok got: ''
expected: '200'
stream/re-find.t TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'no match
'
stream/re-find.t TEST 4: nil submatch (2nd) - status code ok got: ''
expected: '200'
stream/re-find.t TEST 4: nil submatch (2nd) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'not matched!
'
stream/re-find.t TEST 4: nil submatch (2nd) - status code ok got: ''
expected: '200'
stream/re-find.t TEST 4: nil submatch (2nd) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'not matched!
'
stream/re-find.t TEST 2: matched, no submatch, jit compile, regex cache - status code ok got: ''
expected: '200'
stream/re-find.t TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-from: 1
-to: 1
-matched: a
'
stream/re-find.t TEST 2: matched, no submatch, jit compile, regex cache - status code ok got: ''
expected: '200'
stream/re-find.t TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-from: 1
-to: 1
-matched: a
'
stream/re-find.t TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok got: ''
expected: '200'
stream/re-find.t TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-from: 1
-to: 1
-matched: a
'
stream/re-find.t TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok got: ''
expected: '200'
stream/re-find.t TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-from: 1
-to: 1
-matched: a
'
stream/re-find.t TEST 6: specify the group (2) - status code ok got: ''
expected: '200'
stream/re-find.t TEST 6: specify the group (2) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-from: 9
-to: 11
-matched: 234
'
stream/re-find.t TEST 6: specify the group (2) - status code ok got: ''
expected: '200'
stream/re-find.t TEST 6: specify the group (2) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-from: 9
-to: 11
-matched: 234
'
stream/re-gmatch.t TEST 8: unmatched captures are false - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 8: unmatched captures are false - response_body - response is expected (repeated req 0, req 0) @@ -1,8 +0,0 @@
-hello!
-hello
-false
-!
-world!
-world
-false
-!
'
stream/re-gmatch.t TEST 8: unmatched captures are false - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 8: unmatched captures are false - response_body - response is expected (repeated req 1, req 0) @@ -1,8 +0,0 @@
-hello!
-hello
-false
-!
-world!
-world
-false
-!
'
stream/re-gmatch.t TEST 15: gmatch (empty matched string) - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 15: gmatch (empty matched string) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-matched: []
-matched: []
-matched: []
-matched: []
-matched: []
-matched: []
'
stream/re-gmatch.t TEST 15: gmatch (empty matched string) - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 15: gmatch (empty matched string) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-matched: []
-matched: []
-matched: []
-matched: []
-matched: []
-matched: []
'
stream/re-gmatch.t TEST 7: named submatches - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 7: named submatches - response_body - response is expected (repeated req 0, req 0) @@ -1,10 +0,0 @@
-matched: hello
-$1: h
-$2: ello
-$first: h
-$second: nil
-matched: world
-$1: w
-$2: orld
-$first: w
-$second: nil
'
stream/re-gmatch.t TEST 7: named submatches - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 7: named submatches - response_body - response is expected (repeated req 1, req 0) @@ -1,10 +0,0 @@
-matched: hello
-$1: h
-$2: ello
-$first: h
-$second: nil
-matched: world
-$1: w
-$2: orld
-$first: w
-$second: nil
'
stream/re-gmatch.t TEST 3: not matched, no submatch, jit compile, regex cache - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'no match
'
stream/re-gmatch.t TEST 3: not matched, no submatch, jit compile, regex cache - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'no match
'
stream/re-gmatch.t TEST 4: not matched, no submatch, no jit compile, no regex cache - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 4: not matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'no match
'
stream/re-gmatch.t TEST 4: not matched, no submatch, no jit compile, no regex cache - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 4: not matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'no match
'
stream/re-gmatch.t TEST 2: matched, no submatch, jit compile, regex cache - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-matched: hello
-matched: world
'
stream/re-gmatch.t TEST 2: matched, no submatch, jit compile, regex cache - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-matched: hello
-matched: world
'
stream/re-gmatch.t TEST 14: each gmatch iterator is separate - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 14: each gmatch iterator is separate - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-matched iter1 (1/2): 9
-matched iter2 (1/2): 1
-matched iter1 (2/2): 8
-matched iter2 (2/2): 2
'
stream/re-gmatch.t TEST 14: each gmatch iterator is separate - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 14: each gmatch iterator is separate - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-matched iter1 (1/2): 9
-matched iter2 (1/2): 1
-matched iter1 (2/2): 8
-matched iter2 (2/2): 2
'
stream/re-gmatch.t TEST 10: unmatched named captures are false - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 10: unmatched named captures are false - response_body - response is expected (repeated req 0, req 0) @@ -1,14 +0,0 @@
-hello!
-hello
-false
-!
-hello
-false
-!
-world!
-world
-false
-!
-world
-false
-!
'
stream/re-gmatch.t TEST 10: unmatched named captures are false - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 10: unmatched named captures are false - response_body - response is expected (repeated req 1, req 0) @@ -1,14 +0,0 @@
-hello!
-hello
-false
-!
-hello
-false
-!
-world!
-world
-false
-!
-world
-false
-!
'
stream/re-gmatch.t TEST 12: an exhausted gmatch iterator should return nil - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 12: an exhausted gmatch iterator should return nil - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-matched: hello
-matched: nil
-matched: nil
'
stream/re-gmatch.t TEST 12: an exhausted gmatch iterator should return nil - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 12: an exhausted gmatch iterator should return nil - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-matched: hello
-matched: nil
-matched: nil
'
stream/re-gmatch.t TEST 6: submatches, matched, with regex cache - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 6: submatches, matched, with regex cache - response_body - response is expected (repeated req 0, req 0) @@ -1,8 +0,0 @@
-matched: hello
-$1: h
-$2: ello
-$3: nil
-matched: world
-$1: w
-$2: orld
-$3: nil
'
stream/re-gmatch.t TEST 6: submatches, matched, with regex cache - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 6: submatches, matched, with regex cache - response_body - response is expected (repeated req 1, req 0) @@ -1,8 +0,0 @@
-matched: hello
-$1: h
-$2: ello
-$3: nil
-matched: world
-$1: w
-$2: orld
-$3: nil
'
stream/re-gmatch.t TEST 9: unmatched trailing captures are false - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 9: unmatched trailing captures are false - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-hello
-hello
-false
-false
'
stream/re-gmatch.t TEST 9: unmatched trailing captures are false - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 9: unmatched trailing captures are false - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-hello
-hello
-false
-false
'
stream/re-gmatch.t TEST 5: submatches, matched, no regex cache - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 5: submatches, matched, no regex cache - response_body - response is expected (repeated req 0, req 0) @@ -1,8 +0,0 @@
-matched: hello
-$1: h
-$2: ello
-$3: nil
-matched: world
-$1: w
-$2: orld
-$3: nil
'
stream/re-gmatch.t TEST 5: submatches, matched, no regex cache - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 5: submatches, matched, no regex cache - response_body - response is expected (repeated req 1, req 0) @@ -1,8 +0,0 @@
-matched: hello
-$1: h
-$2: ello
-$3: nil
-matched: world
-$1: w
-$2: orld
-$3: nil
'
stream/re-gmatch.t TEST 11: subject is not a string type - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 11: subject is not a string type - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-12
-345
'
stream/re-gmatch.t TEST 11: subject is not a string type - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 11: subject is not a string type - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-12
-345
'
stream/re-gmatch.t TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-matched: hello
-matched: world
'
stream/re-gmatch.t TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-matched: hello
-matched: world
'
stream/re-gmatch.t TEST 13: an error-ed out gmatch iterator should return nil - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 13: an error-ed out gmatch iterator should return nil - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-error: pcre_exec() failed: -10
-not matched
'
stream/re-gmatch.t TEST 13: an error-ed out gmatch iterator should return nil - status code ok got: ''
expected: '200'
stream/re-gmatch.t TEST 13: an error-ed out gmatch iterator should return nil - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-error: pcre_exec() failed: -10
-not matched
'
stream/re-match.t TEST 11: unmatched captures are false - status code ok got: ''
expected: '200'
stream/re-match.t TEST 11: unmatched captures are false - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-hello!
-hello
-false
-!
'
stream/re-match.t TEST 11: unmatched captures are false - status code ok got: ''
expected: '200'
stream/re-match.t TEST 11: unmatched captures are false - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-hello!
-hello
-false
-!
'
stream/re-match.t TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - status code ok got: ''
expected: '200'
stream/re-match.t TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - response_body_like - response is expected () ''
doesn't match '(?^s:hello, 1234
h
ello
h|ello
nil
)'
stream/re-match.t TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - status code ok got: ''
expected: '200'
stream/re-match.t TEST 9: named subpatterns w/ extraction (use of duplicate names in duplicate mode) - response_body_like - response is expected () ''
doesn't match '(?^s:hello, 1234
h
ello
h|ello
nil
)'
stream/re-match.t TEST 6: submatches, matched, with regex cache - status code ok got: ''
expected: '200'
stream/re-match.t TEST 6: submatches, matched, with regex cache - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-matched: 1234
-$1: 1
-$2: 234
-$3: nil
'
stream/re-match.t TEST 6: submatches, matched, with regex cache - status code ok got: ''
expected: '200'
stream/re-match.t TEST 6: submatches, matched, with regex cache - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-matched: 1234
-$1: 1
-$2: 234
-$3: nil
'
stream/re-match.t TEST 3: not matched, no submatch, jit compile, regex cache - status code ok got: ''
expected: '200'
stream/re-match.t TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'no match
'
stream/re-match.t TEST 3: not matched, no submatch, jit compile, regex cache - status code ok got: ''
expected: '200'
stream/re-match.t TEST 3: not matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'no match
'
stream/re-match.t TEST 4: not matched, no submatch, no jit compile, no regex cache - status code ok got: ''
expected: '200'
stream/re-match.t TEST 4: not matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'no match
'
stream/re-match.t TEST 4: not matched, no submatch, no jit compile, no regex cache - status code ok got: ''
expected: '200'
stream/re-match.t TEST 4: not matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'no match
'
stream/re-match.t TEST 14: subject is not a string type - status code ok got: ''
expected: '200'
stream/re-match.t TEST 14: subject is not a string type - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-12345
-12345
'
stream/re-match.t TEST 14: subject is not a string type - status code ok got: ''
expected: '200'
stream/re-match.t TEST 14: subject is not a string type - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-12345
-12345
'
stream/re-match.t TEST 5: submatches, matched, no regex cache - status code ok got: ''
expected: '200'
stream/re-match.t TEST 5: submatches, matched, no regex cache - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-matched: 1234
-$1: 1
-$2: 234
-$3: nil
'
stream/re-match.t TEST 5: submatches, matched, no regex cache - status code ok got: ''
expected: '200'
stream/re-match.t TEST 5: submatches, matched, no regex cache - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-matched: 1234
-$1: 1
-$2: 234
-$3: nil
'
stream/re-match.t TEST 15: subject is not a string type - status code ok got: ''
expected: '200'
stream/re-match.t TEST 15: subject is not a string type - response_body - response is expected (repeated req 0, req 0) got: ''
expected: '123
'
stream/re-match.t TEST 15: subject is not a string type - status code ok got: ''
expected: '200'
stream/re-match.t TEST 15: subject is not a string type - response_body - response is expected (repeated req 1, req 0) got: ''
expected: '123
'
stream/re-match.t TEST 10: captures input table in ngx.re.match - status code ok got: ''
expected: '200'
stream/re-match.t TEST 10: captures input table in ngx.re.match - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +0,0 @@
-1234
-1
-2
-3
-4
-hello
'
stream/re-match.t TEST 10: captures input table in ngx.re.match - status code ok got: ''
expected: '200'
stream/re-match.t TEST 10: captures input table in ngx.re.match - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +0,0 @@
-1234
-1
-2
-3
-4
-hello
'
stream/re-match.t TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok got: ''
expected: '200'
stream/re-match.t TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-matched: a
-$1: nil
'
stream/re-match.t TEST 1: matched, no submatch, no jit compile, no regex cache - status code ok got: ''
expected: '200'
stream/re-match.t TEST 1: matched, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-matched: a
-$1: nil
'
stream/re-match.t TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - status code ok got: ''
expected: '200'
stream/re-match.t TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - response_body_like - response is expected () ''
doesn't match '(?^s:error: pcre_compile\(\) failed: two named subpatterns have the same name)'
stream/re-match.t TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - status code ok got: ''
expected: '200'
stream/re-match.t TEST 8: named subpatterns w/ extraction (use of duplicate names in non-duplicate mode) - response_body_like - response is expected () ''
doesn't match '(?^s:error: pcre_compile\(\) failed: two named subpatterns have the same name)'
stream/re-match.t TEST 12: unmatched trailing captures are false - status code ok got: ''
expected: '200'
stream/re-match.t TEST 12: unmatched trailing captures are false - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-hello
-hello
-false
-false
'
stream/re-match.t TEST 12: unmatched trailing captures are false - status code ok got: ''
expected: '200'
stream/re-match.t TEST 12: unmatched trailing captures are false - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-hello
-hello
-false
-false
'
stream/re-match.t TEST 7: named subpatterns w/ extraction (matched) - status code ok got: ''
expected: '200'
stream/re-match.t TEST 7: named subpatterns w/ extraction (matched) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-hello, 1234
-hello
-hello
-nil
'
stream/re-match.t TEST 7: named subpatterns w/ extraction (matched) - status code ok got: ''
expected: '200'
stream/re-match.t TEST 7: named subpatterns w/ extraction (matched) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-hello, 1234
-hello
-hello
-nil
'
stream/re-match.t TEST 2: matched, no submatch, jit compile, regex cache - status code ok got: ''
expected: '200'
stream/re-match.t TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-matched: a
-$1: nil
'
stream/re-match.t TEST 2: matched, no submatch, jit compile, regex cache - status code ok got: ''
expected: '200'
stream/re-match.t TEST 2: matched, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-matched: a
-$1: nil
'
stream/re-match.t TEST 13: unmatched named captures are false - status code ok got: ''
expected: '200'
stream/re-match.t TEST 13: unmatched named captures are false - response_body - response is expected (repeated req 0, req 0) @@ -1,7 +0,0 @@
-hello!
-hello
-false
-!
-hello
-false
-!
'
stream/re-match.t TEST 13: unmatched named captures are false - status code ok got: ''
expected: '200'
stream/re-match.t TEST 13: unmatched named captures are false - response_body - response is expected (repeated req 1, req 0) @@ -1,7 +0,0 @@
-hello!
-hello
-false
-!
-hello
-false
-!
'
stream/re-opt.t TEST 2: increase jit_stack_size - status code ok got: ''
expected: '200'
stream/re-opt.t TEST 2: increase jit_stack_size - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'from: 1
to: 1563
'
stream/re-opt.t TEST 2: increase jit_stack_size - status code ok got: ''
expected: '200'
stream/re-opt.t TEST 2: increase jit_stack_size - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'from: 1
to: 1563
'
stream/re-opt.t TEST 3: jit_stack_size change disallowed once regex cache is populated - status code ok got: ''
expected: '200'
stream/re-opt.t TEST 3: jit_stack_size change disallowed once regex cache is populated - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'from: 8
to: 8
'
stream/re-opt.t TEST 3: jit_stack_size change disallowed once regex cache is populated - status code ok got: ''
expected: '200'
stream/re-opt.t TEST 3: jit_stack_size change disallowed once regex cache is populated - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'from: 8
to: 8
'
stream/re-opt.t TEST 3: jit_stack_size change disallowed once regex cache is populated - grep_error_log_out (req 1) got: ''
expected: 'changing jit stack size is not allowed when some regexs have already been compiled and cached
'
stream/re-opt.t TEST 1: default jit_stack_size too small - status code ok got: ''
expected: '200'
stream/re-opt.t TEST 1: default jit_stack_size too small - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'error: pcre_exec() failed: -27
'
stream/re-opt.t TEST 1: default jit_stack_size too small - status code ok got: ''
expected: '200'
stream/re-opt.t TEST 1: default jit_stack_size too small - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'error: pcre_exec() failed: -27
'
stream/re-opt.t TEST 4: passing unknown options to ngx_re.opt throws an error - status code ok got: ''
expected: '200'
stream/re-opt.t TEST 4: passing unknown options to ngx_re.opt throws an error - response_body_like - response is expected () ''
doesn't match '(?^s:unrecognized option name$)'
stream/re-opt.t TEST 4: passing unknown options to ngx_re.opt throws an error - status code ok got: ''
expected: '200'
stream/re-opt.t TEST 4: passing unknown options to ngx_re.opt throws an error - response_body_like - response is expected () ''
doesn't match '(?^s:unrecognized option name$)'
stream/re-split.t TEST 16: split matches, ctx arg - status code ok got: ''
expected: '200'
stream/re-split.t TEST 16: split matches, ctx arg - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'c
d
e
'
stream/re-split.t TEST 16: split matches, ctx arg - status code ok got: ''
expected: '200'
stream/re-split.t TEST 16: split matches, ctx arg - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'c
d
e
'
stream/re-split.t TEST 5: split matches + submatch (not matching) - status code ok got: ''
expected: '200'
stream/re-split.t TEST 5: split matches + submatch (not matching) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'a
b
c
d
e
'
stream/re-split.t TEST 5: split matches + submatch (not matching) - status code ok got: ''
expected: '200'
stream/re-split.t TEST 5: split matches + submatch (not matching) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'a
b
c
d
e
'
stream/re-split.t TEST 6: split matches + max limiter - status code ok got: ''
expected: '200'
stream/re-split.t TEST 6: split matches + max limiter - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'a
b
c,d,e
'
stream/re-split.t TEST 6: split matches + max limiter - status code ok got: ''
expected: '200'
stream/re-split.t TEST 6: split matches + max limiter - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'a
b
c,d,e
'
stream/re-split.t TEST 14: split matches, provided res table (non-cleared) + max limiter - status code ok got: ''
expected: '200'
stream/re-split.t TEST 14: split matches, provided res table (non-cleared) + max limiter - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'a
b
c,d,e
'
stream/re-split.t TEST 14: split matches, provided res table (non-cleared) + max limiter - status code ok got: ''
expected: '200'
stream/re-split.t TEST 14: split matches, provided res table (non-cleared) + max limiter - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'a
b
c,d,e
'
stream/re-split.t TEST 17: split matches, trailing subjects - status code ok got: ''
expected: '200'
stream/re-split.t TEST 17: split matches, trailing subjects - response_body - response is expected (repeated req 0, req 0) got: ''
expected: '_blank_
a
b
c
d
'
stream/re-split.t TEST 17: split matches, trailing subjects - status code ok got: ''
expected: '200'
stream/re-split.t TEST 17: split matches, trailing subjects - response_body - response is expected (repeated req 1, req 0) got: ''
expected: '_blank_
a
b
c
d
'
stream/re-split.t TEST 2: split matches, no submatch, no jit compile, no regex cache - status code ok got: ''
expected: '200'
stream/re-split.t TEST 2: split matches, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'a
b
c
d;e
'
stream/re-split.t TEST 2: split matches, no submatch, no jit compile, no regex cache - status code ok got: ''
expected: '200'
stream/re-split.t TEST 2: split matches, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'a
b
c
d;e
'
stream/re-split.t TEST 21: split matches, pos is larger than subject length - status code ok got: ''
expected: '200'
stream/re-split.t TEST 21: split matches, pos is larger than subject length - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'len: 0
'
stream/re-split.t TEST 21: split matches, pos is larger than subject length - status code ok got: ''
expected: '200'
stream/re-split.t TEST 21: split matches, pos is larger than subject length - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'len: 0
'
stream/re-split.t TEST 33: behavior with /^/m & max - status code ok got: ''
expected: '200'
stream/re-split.t TEST 33: behavior with /^/m & max - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ab
:cd
ef
len: 2
'
stream/re-split.t TEST 33: behavior with /^/m & max - status code ok got: ''
expected: '200'
stream/re-split.t TEST 33: behavior with /^/m & max - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ab
:cd
ef
len: 2
'
stream/re-split.t TEST 34: behavior with /^\d/m - status code ok got: ''
expected: '200'
stream/re-split.t TEST 34: behavior with /^\d/m - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ab
:cdefg
:hij
len: 3
'
stream/re-split.t TEST 34: behavior with /^\d/m - status code ok got: ''
expected: '200'
stream/re-split.t TEST 34: behavior with /^\d/m - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ab
:cdefg
:hij
len: 3
'
stream/re-split.t TEST 22: regex is "" - status code ok got: ''
expected: '200'
stream/re-split.t TEST 22: regex is "" - response_body - response is expected (repeated req 0, req 0) got: ''
expected: '1
2
3
4
5
len: 5
'
stream/re-split.t TEST 22: regex is "" - status code ok got: ''
expected: '200'
stream/re-split.t TEST 22: regex is "" - response_body - response is expected (repeated req 1, req 0) got: ''
expected: '1
2
3
4
5
len: 5
'
stream/re-split.t TEST 26: regex is "" with pos & max - status code ok got: ''
expected: '200'
stream/re-split.t TEST 26: regex is "" with pos & max - response_body - response is expected (repeated req 0, req 0) got: ''
expected: '2
345
len: 2
'
stream/re-split.t TEST 26: regex is "" with pos & max - status code ok got: ''
expected: '200'
stream/re-split.t TEST 26: regex is "" with pos & max - response_body - response is expected (repeated req 1, req 0) got: ''
expected: '2
345
len: 2
'
stream/re-split.t TEST 28: no match separator (github issue \#104) & max - status code ok got: ''
expected: '200'
stream/re-split.t TEST 28: no match separator (github issue \#104) & max - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'a:bcd
len: 2
'
stream/re-split.t TEST 28: no match separator (github issue \#104) & max - status code ok got: ''
expected: '200'
stream/re-split.t TEST 28: no match separator (github issue \#104) & max - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'a:bcd
len: 2
'
stream/re-split.t TEST 10: split matches + max limiter set to 1 - status code ok got: ''
expected: '200'
stream/re-split.t TEST 10: split matches + max limiter set to 1 - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'a,b,c,d,e
'
stream/re-split.t TEST 10: split matches + max limiter set to 1 - status code ok got: ''
expected: '200'
stream/re-split.t TEST 10: split matches + max limiter set to 1 - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'a,b,c,d,e
'
stream/re-split.t TEST 1: split matches, no submatch, no jit compile, no regex cache - status code ok got: ''
expected: '200'
stream/re-split.t TEST 1: split matches, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'a
b
c
d
'
stream/re-split.t TEST 1: split matches, no submatch, no jit compile, no regex cache - status code ok got: ''
expected: '200'
stream/re-split.t TEST 1: split matches, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'a
b
c
d
'
stream/re-split.t TEST 27: no match separator (github issue \#104) - status code ok got: ''
expected: '200'
stream/re-split.t TEST 27: no match separator (github issue \#104) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'a:b:c:d
len: 4
'
stream/re-split.t TEST 27: no match separator (github issue \#104) - status code ok got: ''
expected: '200'
stream/re-split.t TEST 27: no match separator (github issue \#104) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'a:b:c:d
len: 4
'
stream/re-split.t TEST 35: behavior with /^(\d)/m (capture) - status code ok got: ''
expected: '200'
stream/re-split.t TEST 35: behavior with /^(\d)/m (capture) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ab
:1:cdefg
:2:hij
len: 5
'
stream/re-split.t TEST 35: behavior with /^(\d)/m (capture) - status code ok got: ''
expected: '200'
stream/re-split.t TEST 35: behavior with /^(\d)/m (capture) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ab
:1:cdefg
:2:hij
len: 5
'
stream/re-split.t TEST 30: behavior with /^/ differs from Perl's split - status code ok got: ''
expected: '200'
stream/re-split.t TEST 30: behavior with /^/ differs from Perl's split - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ab
cd
ef
len: 1
'
stream/re-split.t TEST 30: behavior with /^/ differs from Perl's split - status code ok got: ''
expected: '200'
stream/re-split.t TEST 30: behavior with /^/ differs from Perl's split - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ab
cd
ef
len: 1
'
stream/re-split.t TEST 12: split matches, provided res table (non-cleared) - status code ok got: ''
expected: '200'
stream/re-split.t TEST 12: split matches, provided res table (non-cleared) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'a
b
c
d
e
'
stream/re-split.t TEST 12: split matches, provided res table (non-cleared) - status code ok got: ''
expected: '200'
stream/re-split.t TEST 12: split matches, provided res table (non-cleared) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'a
b
c
d
e
'
stream/re-split.t TEST 7: split matches + submatch + max limiter - status code ok got: ''
expected: '200'
stream/re-split.t TEST 7: split matches + submatch + max limiter - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'a
,
b
,
c,d,e
'
stream/re-split.t TEST 7: split matches + submatch + max limiter - status code ok got: ''
expected: '200'
stream/re-split.t TEST 7: split matches + submatch + max limiter - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'a
,
b
,
c,d,e
'
stream/re-split.t TEST 9: split matches + max limiter set to a negative value - status code ok got: ''
expected: '200'
stream/re-split.t TEST 9: split matches + max limiter set to a negative value - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'a
b
c
d
e
'
stream/re-split.t TEST 9: split matches + max limiter set to a negative value - status code ok got: ''
expected: '200'
stream/re-split.t TEST 9: split matches + max limiter set to a negative value - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'a
b
c
d
e
'
stream/re-split.t TEST 39: remaining characters are matched by regex (with max) - status code ok got: ''
expected: '200'
stream/re-split.t TEST 39: remaining characters are matched by regex (with max) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: '1 a,b,cd,,,
2 a|b,cd,,,
3 a|b|cd,,,
4 a|b|cd|,,
5 a|b|cd||,
6 a|b|cd|||
6 a|b|cd|||
'
stream/re-split.t TEST 39: remaining characters are matched by regex (with max) - status code ok got: ''
expected: '200'
stream/re-split.t TEST 39: remaining characters are matched by regex (with max) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: '1 a,b,cd,,,
2 a|b,cd,,,
3 a|b|cd,,,
4 a|b|cd|,,
5 a|b|cd||,
6 a|b|cd|||
6 a|b|cd|||
'
stream/re-split.t TEST 20: subject is not a string type - status code ok got: ''
expected: '200'
stream/re-split.t TEST 20: subject is not a string type - response_body - response is expected (repeated req 0, req 0) got: ''
expected: '1
451
45
'
stream/re-split.t TEST 20: subject is not a string type - status code ok got: ''
expected: '200'
stream/re-split.t TEST 20: subject is not a string type - response_body - response is expected (repeated req 1, req 0) got: ''
expected: '1
451
45
'
stream/re-split.t TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - status code ok got: ''
expected: '200'
stream/re-split.t TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: '15 1|T|||||||||||||15
15 1|T|T||||||||||||15
15 1|T|T|T|||||||||||15
'
stream/re-split.t TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - status code ok got: ''
expected: '200'
stream/re-split.t TEST 36: split by unit separator 1/2 (GH issue lua-nginx-module \#1217) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: '15 1|T|||||||||||||15
15 1|T|T||||||||||||15
15 1|T|T|T|||||||||||15
'
stream/re-split.t TEST 32: behavior with /^()/m (capture) - status code ok got: ''
expected: '200'
stream/re-split.t TEST 32: behavior with /^()/m (capture) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ab
::cd
::ef
len: 5
'
stream/re-split.t TEST 32: behavior with /^()/m (capture) - status code ok got: ''
expected: '200'
stream/re-split.t TEST 32: behavior with /^()/m (capture) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ab
::cd
::ef
len: 5
'
stream/re-split.t TEST 38: remaining characters are matched by regex (without max) - status code ok got: ''
expected: '200'
stream/re-split.t TEST 38: remaining characters are matched by regex (without max) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: '3 a|b|cd
'
stream/re-split.t TEST 38: remaining characters are matched by regex (without max) - status code ok got: ''
expected: '200'
stream/re-split.t TEST 38: remaining characters are matched by regex (without max) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: '3 a|b|cd
'
stream/re-split.t TEST 8: split matches + max limiter set to 0 - status code ok got: ''
expected: '200'
stream/re-split.t TEST 8: split matches + max limiter set to 0 - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'a
b
c
d
e
'
stream/re-split.t TEST 8: split matches + max limiter set to 0 - status code ok got: ''
expected: '200'
stream/re-split.t TEST 8: split matches + max limiter set to 0 - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'a
b
c
d
e
'
stream/re-split.t TEST 24: regex is "" with pos - status code ok got: ''
expected: '200'
stream/re-split.t TEST 24: regex is "" with pos - response_body - response is expected (repeated req 0, req 0) got: ''
expected: '2
3
4
5
len: 4
'
stream/re-split.t TEST 24: regex is "" with pos - status code ok got: ''
expected: '200'
stream/re-split.t TEST 24: regex is "" with pos - response_body - response is expected (repeated req 1, req 0) got: ''
expected: '2
3
4
5
len: 4
'
stream/re-split.t TEST 11: split matches, provided res table - status code ok got: ''
expected: '200'
stream/re-split.t TEST 11: split matches, provided res table - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'a
b
c
d
e
'
stream/re-split.t TEST 11: split matches, provided res table - status code ok got: ''
expected: '200'
stream/re-split.t TEST 11: split matches, provided res table - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'a
b
c
d
e
'
stream/re-split.t TEST 23: regex is "" with max - status code ok got: ''
expected: '200'
stream/re-split.t TEST 23: regex is "" with max - response_body - response is expected (repeated req 0, req 0) got: ''
expected: '1
2
345
len: 3
'
stream/re-split.t TEST 23: regex is "" with max - status code ok got: ''
expected: '200'
stream/re-split.t TEST 23: regex is "" with max - response_body - response is expected (repeated req 1, req 0) got: ''
expected: '1
2
345
len: 3
'
stream/re-split.t TEST 4: split matches + submatch (matching) - status code ok got: ''
expected: '200'
stream/re-split.t TEST 4: split matches + submatch (matching) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'a
;
b
;
c
;
d,e
'
stream/re-split.t TEST 4: split matches + submatch (matching) - status code ok got: ''
expected: '200'
stream/re-split.t TEST 4: split matches + submatch (matching) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'a
;
b
;
c
;
d,e
'
stream/re-split.t TEST 15: split matches, provided res table + max limiter + sub-match capturing group - status code ok got: ''
expected: '200'
stream/re-split.t TEST 15: split matches, provided res table + max limiter + sub-match capturing group - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'a
,
b
,
c,d,e
'
stream/re-split.t TEST 15: split matches, provided res table + max limiter + sub-match capturing group - status code ok got: ''
expected: '200'
stream/re-split.t TEST 15: split matches, provided res table + max limiter + sub-match capturing group - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'a
,
b
,
c,d,e
'
stream/re-split.t TEST 3: split matches, no submatch, jit compile, regex cache - status code ok got: ''
expected: '200'
stream/re-split.t TEST 3: split matches, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'a
b
c
d
'
stream/re-split.t TEST 3: split matches, no submatch, jit compile, regex cache - status code ok got: ''
expected: '200'
stream/re-split.t TEST 3: split matches, no submatch, jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'a
b
c
d
'
stream/re-split.t TEST 19: split no matches - status code ok got: ''
expected: '200'
stream/re-split.t TEST 19: split no matches - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'abcd
'
stream/re-split.t TEST 19: split no matches - status code ok got: ''
expected: '200'
stream/re-split.t TEST 19: split no matches - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'abcd
'
stream/re-split.t TEST 29: no match separator bis (github issue \#104) - status code ok got: ''
expected: '200'
stream/re-split.t TEST 29: no match separator bis (github issue \#104) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'a::b::c::d
len: 7
'
stream/re-split.t TEST 29: no match separator bis (github issue \#104) - status code ok got: ''
expected: '200'
stream/re-split.t TEST 29: no match separator bis (github issue \#104) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'a::b::c::d
len: 7
'
stream/re-split.t TEST 37: split by unit separator 2/2 (with ctx.pos) - status code ok got: ''
expected: '200'
stream/re-split.t TEST 37: split by unit separator 2/2 (with ctx.pos) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: '12 |||||||||||15
13 ||||||||||||15
13 |T|||||||||||15
'
stream/re-split.t TEST 37: split by unit separator 2/2 (with ctx.pos) - status code ok got: ''
expected: '200'
stream/re-split.t TEST 37: split by unit separator 2/2 (with ctx.pos) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: '12 |||||||||||15
13 ||||||||||||15
13 |T|||||||||||15
'
stream/re-split.t TEST 18: split matches, real use-case - status code ok got: ''
expected: '200'
stream/re-split.t TEST 18: split matches, real use-case - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'abcd
erfg
ghij
hello world
aaa
'
stream/re-split.t TEST 18: split matches, real use-case - status code ok got: ''
expected: '200'
stream/re-split.t TEST 18: split matches, real use-case - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'abcd
erfg
ghij
hello world
aaa
'
stream/re-split.t TEST 13: split matches, provided res table + max limiter - status code ok got: ''
expected: '200'
stream/re-split.t TEST 13: split matches, provided res table + max limiter - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'a
b
c,d,e
'
stream/re-split.t TEST 13: split matches, provided res table + max limiter - status code ok got: ''
expected: '200'
stream/re-split.t TEST 13: split matches, provided res table + max limiter - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'a
b
c,d,e
'
stream/re-split.t TEST 31: behavior with /^/m - status code ok got: ''
expected: '200'
stream/re-split.t TEST 31: behavior with /^/m - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ab
:cd
:ef
len: 3
'
stream/re-split.t TEST 31: behavior with /^/m - status code ok got: ''
expected: '200'
stream/re-split.t TEST 31: behavior with /^/m - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ab
:cd
:ef
len: 3
'
stream/re-split.t TEST 25: regex is "" with pos larger than subject length - status code ok got: ''
expected: '200'
stream/re-split.t TEST 25: regex is "" with pos larger than subject length - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'len: 0
'
stream/re-split.t TEST 25: regex is "" with pos larger than subject length - status code ok got: ''
expected: '200'
stream/re-split.t TEST 25: regex is "" with pos larger than subject length - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'len: 0
'
stream/re-sub.t TEST 8: string replace subj is not a string type - status code ok got: ''
expected: '200'
stream/re-sub.t TEST 8: string replace subj is not a string type - response_body - response is expected (repeated req 0, req 0) got: ''
expected: '534
'
stream/re-sub.t TEST 8: string replace subj is not a string type - status code ok got: ''
expected: '200'
stream/re-sub.t TEST 8: string replace subj is not a string type - response_body - response is expected (repeated req 1, req 0) got: ''
expected: '534
'
stream/re-sub.t TEST 1: sub, no submatch, no jit compile, regex cache - status code ok got: ''
expected: '200'
stream/re-sub.t TEST 1: sub, no submatch, no jit compile, regex cache - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-s: aBcbd
-n: 1
'
stream/re-sub.t TEST 1: sub, no submatch, no jit compile, regex cache - status code ok got: ''
expected: '200'
stream/re-sub.t TEST 1: sub, no submatch, no jit compile, regex cache - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-s: aBcbd
-n: 1
'
stream/re-sub.t TEST 4: replace template + submatches - status code ok got: ''
expected: '200'
stream/re-sub.t TEST 4: replace template + submatches - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-s: a[bc(c)]bd
-n: 1
'
stream/re-sub.t TEST 4: replace template + submatches - status code ok got: ''
expected: '200'
stream/re-sub.t TEST 4: replace template + submatches - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-s: a[bc(c)]bd
-n: 1
'
stream/re-sub.t TEST 3: func + submatches - status code ok got: ''
expected: '200'
stream/re-sub.t TEST 3: func + submatches - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-s: a[bc(c)]bd
-n: 1
'
stream/re-sub.t TEST 3: func + submatches - status code ok got: ''
expected: '200'
stream/re-sub.t TEST 3: func + submatches - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-s: a[bc(c)]bd
-n: 1
'
stream/re-sub.t TEST 6: ngx.re.gsub: use of resty.core's API in the user callback - status code ok got: ''
expected: '200'
stream/re-sub.t TEST 6: ngx.re.gsub: use of resty.core's API in the user callback - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
- INNER_REPLACED
- INNER_REPLACED
'
stream/re-sub.t TEST 6: ngx.re.gsub: use of resty.core's API in the user callback - status code ok got: ''
expected: '200'
stream/re-sub.t TEST 6: ngx.re.gsub: use of resty.core's API in the user callback - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
- INNER_REPLACED
- INNER_REPLACED
'
stream/re-sub.t TEST 5: replace template + submatches (exceeding buffers) - status code ok got: ''
expected: '200'
stream/re-sub.t TEST 5: replace template + submatches (exceeding buffers) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-s: [bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[b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c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd
-n: 2048
'
stream/re-sub.t TEST 5: replace template + submatches (exceeding buffers) - status code ok got: ''
expected: '200'
stream/re-sub.t TEST 5: replace template + submatches (exceeding buffers) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-s: [bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]b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bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd[bc(c)]bd
-n: 2048
'
stream/re-sub.t TEST 9: func replace return is not a string type (ngx.re.sub) - status code ok got: ''
expected: '200'
stream/re-sub.t TEST 9: func replace return is not a string type (ngx.re.sub) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'hello, 534
'
stream/re-sub.t TEST 9: func replace return is not a string type (ngx.re.sub) - status code ok got: ''
expected: '200'
stream/re-sub.t TEST 9: func replace return is not a string type (ngx.re.sub) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'hello, 534
'
stream/re-sub.t TEST 10: func replace return is not a string type (ngx.re.gsub) - status code ok got: ''
expected: '200'
stream/re-sub.t TEST 10: func replace return is not a string type (ngx.re.gsub) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'hello, 55
'
stream/re-sub.t TEST 10: func replace return is not a string type (ngx.re.gsub) - status code ok got: ''
expected: '200'
stream/re-sub.t TEST 10: func replace return is not a string type (ngx.re.gsub) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'hello, 55
'
stream/re-sub.t TEST 2: sub, no submatch, no jit compile, no regex cache - status code ok got: ''
expected: '200'
stream/re-sub.t TEST 2: sub, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-s: aBcbd
-n: 1
'
stream/re-sub.t TEST 2: sub, no submatch, no jit compile, no regex cache - status code ok got: ''
expected: '200'
stream/re-sub.t TEST 2: sub, no submatch, no jit compile, no regex cache - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-s: aBcbd
-n: 1
'
stream/re-sub.t TEST 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - status code ok got: ''
expected: '200'
stream/re-sub.t TEST 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
- OUTER {FIRST}
- OUTER REPLACED
'
stream/re-sub.t TEST 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - status code ok got: ''
expected: '200'
stream/re-sub.t TEST 7: ngx.re.gsub: recursive calling (github openresty/lua-nginx-module\#445) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
- OUTER {FIRST}
- OUTER REPLACED
'
stream/request.t TEST 1: ngx.req.start_time() - status code ok got: ''
expected: '200'
stream/request.t TEST 1: ngx.req.start_time() - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-true
->= 0.099: true
-< 0.11: true
'
stream/request.t TEST 1: ngx.req.start_time() - status code ok got: ''
expected: '200'
stream/request.t TEST 1: ngx.req.start_time() - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-true
->= 0.099: true
-< 0.11: true
'
stream/semaphore.t TEST 22: semaphore wait time is zero - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 22: semaphore wait time is zero - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'timeout
'
stream/semaphore.t TEST 22: semaphore wait time is zero - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 22: semaphore wait time is zero - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'timeout
'
stream/semaphore.t TEST 3: semaphore wait time=0 - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 3: semaphore wait time=0 - response_body - response is expected (repeated req 0, req 0) @@ -1,10 +0,0 @@
-wait success
-err: timeout
-enter 1s wait
-back in main thread
-err: timeout
-err: timeout
-still in main thread
-wait success in 1s wait
-wait success
-main thread end
'
stream/semaphore.t TEST 3: semaphore wait time=0 - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 3: semaphore wait time=0 - response_body - response is expected (repeated req 1, req 0) @@ -1,10 +0,0 @@
-wait success
-err: timeout
-enter 1s wait
-back in main thread
-err: timeout
-err: timeout
-still in main thread
-wait success in 1s wait
-wait success
-main thread end
'
stream/semaphore.t TEST 1: basic semaphore in uthread - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 1: basic semaphore in uthread - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-enter waiting
-back in main thread
-still in main thread
-wait success
-main thread end
'
stream/semaphore.t TEST 1: basic semaphore in uthread - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 1: basic semaphore in uthread - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-enter waiting
-back in main thread
-still in main thread
-wait success
-main thread end
'
stream/semaphore.t TEST 24: basic semaphore_mm alloc - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 24: basic semaphore_mm alloc - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
stream/semaphore.t TEST 24: basic semaphore_mm alloc - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 24: basic semaphore_mm alloc - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ok
'
stream/semaphore.t TEST 26: basic semaphore_mm free insert head - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 26: basic semaphore_mm free insert head - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
stream/semaphore.t TEST 26: basic semaphore_mm free insert head - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 26: basic semaphore_mm free insert head - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ok
'
stream/semaphore.t TEST 21: multi wait and mult post with one semaphore - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 21: multi wait and mult post with one semaphore - response_body - response is expected (repeated req 0, req 0) @@ -1,9 +0,0 @@
-wait: 1
-wait: 2
-wait: 3
-post: 1
-post: 2
-post: 3
-wait success: 1
-wait success: 2
-wait success: 3
'
stream/semaphore.t TEST 21: multi wait and mult post with one semaphore - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 21: multi wait and mult post with one semaphore - response_body - response is expected (repeated req 1, req 0) @@ -1,9 +0,0 @@
-wait: 1
-wait: 2
-wait: 3
-post: 1
-post: 2
-post: 3
-wait success: 1
-wait success: 2
-wait success: 3
'
stream/semaphore.t TEST 19: a light thread that is going to exit is waiting on a semaphore - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 19: a light thread that is going to exit is waiting on a semaphore - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-sem waiting
-ok
'
stream/semaphore.t TEST 19: a light thread that is going to exit is waiting on a semaphore - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 19: a light thread that is going to exit is waiting on a semaphore - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-sem waiting
-ok
'
stream/semaphore.t TEST 14: semaphore wait in timer.at - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 14: semaphore wait in timer.at - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
stream/semaphore.t TEST 14: semaphore wait in timer.at - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 14: semaphore wait in timer.at - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ok
'
stream/semaphore.t TEST 29: basic semaphore count (negative number) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 29: basic semaphore count (negative number) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-0
--1
'
stream/semaphore.t TEST 29: basic semaphore count (negative number) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 29: basic semaphore count (negative number) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-0
--1
'
stream/semaphore.t TEST 11: semaphore in ngx.timer (all allowed) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 11: semaphore in ngx.timer (all allowed) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
stream/semaphore.t TEST 11: semaphore in ngx.timer (all allowed) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 11: semaphore in ngx.timer (all allowed) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ok
'
stream/semaphore.t TEST 6: semaphore in init_worker_by_lua (wait is not allowed) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 6: semaphore in init_worker_by_lua (wait is not allowed) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok'
stream/semaphore.t TEST 6: semaphore in init_worker_by_lua (wait is not allowed) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 6: semaphore in init_worker_by_lua (wait is not allowed) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ok'
stream/semaphore.t TEST 2: semaphore wait order - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 2: semaphore wait order - response_body - response is expected (repeated req 0, req 0) @@ -1,9 +0,0 @@
-enter waiting, id: 1
-enter waiting, id: 2
-back in main thread
-wait failed in main thread: timeout
-still in main thread
-wait success, id: 1
-wait success, id: 2
-wait failed in main thread: timeout
-main thread end
'
stream/semaphore.t TEST 2: semaphore wait order - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 2: semaphore wait order - response_body - response is expected (repeated req 1, req 0) @@ -1,9 +0,0 @@
-enter waiting, id: 1
-enter waiting, id: 2
-back in main thread
-wait failed in main thread: timeout
-still in main thread
-wait success, id: 1
-wait success, id: 2
-wait failed in main thread: timeout
-main thread end
'
stream/semaphore.t TEST 30: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 30: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'true, nil
'
stream/semaphore.t TEST 30: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 30: bugfix: semaphore instance can't be garbage collected when someone is waiting on it - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'true, nil
'
stream/semaphore.t TEST 7: semaphore in init_worker_by_lua (new and post) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 7: semaphore in init_worker_by_lua (new and post) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'sem wait successfully.
'
stream/semaphore.t TEST 7: semaphore in init_worker_by_lua (new and post) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 7: semaphore in init_worker_by_lua (new and post) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'sem wait successfully.
'
stream/semaphore.t TEST 25: basic semaphore_mm free insert tail - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 25: basic semaphore_mm free insert tail - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
stream/semaphore.t TEST 25: basic semaphore_mm free insert tail - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 25: basic semaphore_mm free insert tail - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ok
'
stream/semaphore.t TEST 13: semaphore wait post in preread_by_lua - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 13: semaphore wait post in preread_by_lua - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-enter wait
-enter post
-post success
-wait success
-done'
stream/semaphore.t TEST 13: semaphore wait post in preread_by_lua - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 13: semaphore wait post in preread_by_lua - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-enter wait
-enter post
-post success
-wait success
-done'
stream/semaphore.t TEST 18: kill a thread that is waiting on another thread that is waiting on semaphore - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 18: kill a thread that is waiting on another thread that is waiting on semaphore - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +0,0 @@
-sem waiting start
-thread waiting start
-thread kill success
-sem wait err: timeout
-sem waiting done
'
stream/semaphore.t TEST 18: kill a thread that is waiting on another thread that is waiting on semaphore - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 18: kill a thread that is waiting on another thread that is waiting on semaphore - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +0,0 @@
-sem waiting start
-thread waiting start
-thread kill success
-sem wait err: timeout
-sem waiting done
'
stream/semaphore.t TEST 17: kill a light thread that is waiting on a semaphore (after post) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 17: kill a light thread that is waiting on a semaphore (after post) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-ok
-count: 1
'
stream/semaphore.t TEST 17: kill a light thread that is waiting on a semaphore (after post) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 17: kill a light thread that is waiting on a semaphore (after post) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-ok
-count: 1
'
stream/semaphore.t TEST 20: main thread wait a light thread that is waiting on a semaphore - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 20: main thread wait a light thread that is waiting on a semaphore - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'err: timeout
'
stream/semaphore.t TEST 20: main thread wait a light thread that is waiting on a semaphore - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 20: main thread wait a light thread that is waiting on a semaphore - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'err: timeout
'
stream/semaphore.t TEST 15: two thread wait for each other - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 15: two thread wait for each other - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-count in B: 0
-count in A: 0
'
stream/semaphore.t TEST 15: two thread wait for each other - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 15: two thread wait for each other - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-count in B: 0
-count in A: 0
'
stream/semaphore.t TEST 16: kill a light thread that is waiting on a semaphore (no resource) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 16: kill a light thread that is waiting on a semaphore (no resource) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
stream/semaphore.t TEST 16: kill a light thread that is waiting on a semaphore (no resource) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 16: kill a light thread that is waiting on a semaphore (no resource) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ok
'
stream/semaphore.t TEST 4: semaphore.new in init_by_lua* (w/o shdict) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 4: semaphore.new in init_by_lua* (w/o shdict) - response_body_like - response is expected () ''
doesn't match '(?^s:sem count: [12]
waited successfully.
)'
stream/semaphore.t TEST 4: semaphore.new in init_by_lua* (w/o shdict) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 4: semaphore.new in init_by_lua* (w/o shdict) - response_body_like - response is expected () ''
doesn't match '(?^s:sem count: [12]
waited successfully.
)'
stream/semaphore.t TEST 9: semaphore in content_by_lua (all allowed) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 9: semaphore in content_by_lua (all allowed) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
stream/semaphore.t TEST 9: semaphore in content_by_lua (all allowed) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 9: semaphore in content_by_lua (all allowed) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ok
'
stream/semaphore.t TEST 10: semaphore in log_by_lua (wait not allowed) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 10: semaphore in log_by_lua (wait not allowed) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok'
stream/semaphore.t TEST 10: semaphore in log_by_lua (wait not allowed) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 10: semaphore in log_by_lua (wait not allowed) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ok'
stream/semaphore.t TEST 23: test semaphore gc - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 23: test semaphore gc - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'success
'
stream/semaphore.t TEST 23: test semaphore gc - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 23: test semaphore gc - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'success
'
stream/semaphore.t TEST 8: semaphore in preread_by_lua (all allowed) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 8: semaphore in preread_by_lua (all allowed) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok'
stream/semaphore.t TEST 8: semaphore in preread_by_lua (all allowed) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 8: semaphore in preread_by_lua (all allowed) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ok'
stream/semaphore.t TEST 5: semaphore.new in init_by_lua* (with shdict) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 5: semaphore.new in init_by_lua* (with shdict) - response_body_like - response is expected () ''
doesn't match '(?^s:sem count: [12]
waited successfully.
)'
stream/semaphore.t TEST 5: semaphore.new in init_by_lua* (with shdict) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 5: semaphore.new in init_by_lua* (with shdict) - response_body_like - response is expected () ''
doesn't match '(?^s:sem count: [12]
waited successfully.
)'
stream/semaphore.t TEST 12: semaphore post in all phase (in a request) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 12: semaphore post in all phase (in a request) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
stream/semaphore.t TEST 12: semaphore post in all phase (in a request) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 12: semaphore post in all phase (in a request) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ok
'
stream/semaphore.t TEST 27: semaphore_mm free block (load <= 50% & the on the older side) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 27: semaphore_mm free block (load <= 50% & the on the older side) - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
stream/semaphore.t TEST 27: semaphore_mm free block (load <= 50% & the on the older side) - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 27: semaphore_mm free block (load <= 50% & the on the older side) - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ok
'
stream/semaphore.t TEST 28: basic semaphore count - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 28: basic semaphore count - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-10
-9
-12
'
stream/semaphore.t TEST 28: basic semaphore count - status code ok got: ''
expected: '200'
stream/semaphore.t TEST 28: basic semaphore count - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-10
-9
-12
'
stream/shdict.t TEST 1: get a string value - status code ok got: ''
expected: '200'
stream/shdict.t TEST 1: get a string value - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-value type: string
-value: bar
-flags: 72
'
stream/shdict.t TEST 1: get a string value - status code ok got: ''
expected: '200'
stream/shdict.t TEST 1: get a string value - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-value type: string
-value: bar
-flags: 72
'
stream/shdict.t TEST 45: incr key with init and init_ttl (key expired and size matched) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 45: incr key with init and init_ttl (key expired and size matched) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-incr: 10502 nil
-foo = 10502
-foo after init_ttl = nil
'
stream/shdict.t TEST 45: incr key with init and init_ttl (key expired and size matched) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:32:40 [alert] 23432\#0: worker process 23443 exited on signal 11" (req 0) 2020/10/27 05:32:40 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:40 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:40 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:40 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:40 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:32:40 [debug] 23432\#0: reap children
2020/10/27 05:32:40 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:32:40 [debug] 23432\#0: child: 1 23443 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:32:40 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 45: incr key with init and init_ttl (key expired and size matched) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 45: incr key with init and init_ttl (key expired and size matched) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-incr: 10502 nil
-foo = 10502
-foo after init_ttl = nil
'
stream/shdict.t TEST 45: incr key with init and init_ttl (key expired and size matched) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:32:40 [alert] 23432\#0: worker process 23443 exited on signal 11" (req 1) 2020/10/27 05:32:40 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:40 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:40 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:40 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:40 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:32:40 [debug] 23432\#0: reap children
2020/10/27 05:32:40 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:32:40 [debug] 23432\#0: child: 1 23443 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:32:40 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 45: incr key with init and init_ttl (key expired and size matched) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:32:40 [alert] 23432\#0: worker process 23464 exited on signal 11" (req 1) 2020/10/27 05:32:40 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:40 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:40 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:40 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:40 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:32:40 [debug] 23432\#0: reap children
2020/10/27 05:32:40 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:32:40 [debug] 23432\#0: child: 1 23464 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:32:40 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 13: set a boolean value (true) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 13: set a boolean value (true) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-value type: boolean
-value: true
-flags: 5678
'
stream/shdict.t TEST 13: set a boolean value (true) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 13: set a boolean value (true) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-value type: boolean
-value: true
-flags: 5678
'
stream/shdict.t TEST 16: set a number value (double) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 16: set a number value (double) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-value type: number
-value: 3.1415926
-flags: 78
'
stream/shdict.t TEST 16: set a number value (double) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 16: set a number value (double) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-value type: number
-value: 3.1415926
-flags: 78
'
stream/shdict.t TEST 17: set a number value and a nil - status code ok got: ''
expected: '200'
stream/shdict.t TEST 17: set a number value and a nil - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-value type: nil
-value: nil
-flags: nil
'
stream/shdict.t TEST 17: set a number value and a nil - status code ok got: ''
expected: '200'
stream/shdict.t TEST 17: set a number value and a nil - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-value type: nil
-value: nil
-flags: nil
'
stream/shdict.t TEST 29: incr with init - status code ok got: ''
expected: '200'
stream/shdict.t TEST 29: incr with init - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-failed to incr: not found
-incr ok, value: 20, forcible: false
'
stream/shdict.t TEST 29: incr with init - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:32:47 [alert] 23432\#0: worker process 23562 exited on signal 11" (req 0) 2020/10/27 05:32:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:47 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:32:47 [debug] 23432\#0: reap children
2020/10/27 05:32:47 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:32:47 [debug] 23432\#0: child: 1 23562 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:32:47 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 29: incr with init - status code ok got: ''
expected: '200'
stream/shdict.t TEST 29: incr with init - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-failed to incr: not found
-incr ok, value: 20, forcible: false
'
stream/shdict.t TEST 29: incr with init - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:32:47 [alert] 23432\#0: worker process 23562 exited on signal 11" (req 1) 2020/10/27 05:32:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:47 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:32:47 [debug] 23432\#0: reap children
2020/10/27 05:32:47 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:32:47 [debug] 23432\#0: child: 1 23562 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:32:47 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 29: incr with init - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:32:47 [alert] 23432\#0: worker process 23584 exited on signal 11" (req 1) 2020/10/27 05:32:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:47 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:32:47 [debug] 23432\#0: reap children
2020/10/27 05:32:47 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:32:47 [debug] 23432\#0: child: 1 23584 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:32:47 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 18: safe set a number value - status code ok got: ''
expected: '200'
stream/shdict.t TEST 18: safe set a number value - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-value type: number
-value: 3.1415926
-flags: 78
'
stream/shdict.t TEST 18: safe set a number value - status code ok got: ''
expected: '200'
stream/shdict.t TEST 18: safe set a number value - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-value type: number
-value: 3.1415926
-flags: 78
'
stream/shdict.t TEST 5: get a number value (int) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 5: get a number value (int) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-value type: number
-value: 51203
-flags: nil
'
stream/shdict.t TEST 5: get a number value (int) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 5: get a number value (int) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-value type: number
-value: 51203
-flags: nil
'
stream/shdict.t TEST 32: free_space, empty (16k zone) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 32: free_space, empty (16k zone) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-free_page_bytes type: number
-free_page_bytes: 4096
'
stream/shdict.t TEST 32: free_space, empty (16k zone) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:32:53 [alert] 23432\#0: worker process 23652 exited on signal 11" (req 0) 2020/10/27 05:32:53 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:53 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:53 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:53 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:53 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:32:53 [debug] 23432\#0: reap children
2020/10/27 05:32:53 [debug] 23432\#0: child: 0 23652 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:32:53 [debug] 23432\#0: channel 3:4
2020/10/27 05:32:53 [notice] 23432\#0: start worker process 23674
'
stream/shdict.t TEST 32: free_space, empty (16k zone) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 32: free_space, empty (16k zone) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-free_page_bytes type: number
-free_page_bytes: 4096
'
stream/shdict.t TEST 32: free_space, empty (16k zone) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:32:53 [alert] 23432\#0: worker process 23652 exited on signal 11" (req 1) 2020/10/27 05:32:53 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:53 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:53 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:53 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:53 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:32:53 [debug] 23432\#0: reap children
2020/10/27 05:32:53 [debug] 23432\#0: child: 0 23652 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:32:53 [debug] 23432\#0: channel 3:4
2020/10/27 05:32:53 [notice] 23432\#0: start worker process 23674
'
stream/shdict.t TEST 32: free_space, empty (16k zone) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:32:53 [alert] 23432\#0: worker process 23674 exited on signal 11" (req 1) 2020/10/27 05:32:53 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:53 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:53 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:53 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:53 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:32:53 [debug] 23432\#0: reap children
2020/10/27 05:32:53 [debug] 23432\#0: child: 0 23674 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:32:53 [debug] 23432\#0: channel 3:4
2020/10/27 05:32:53 [notice] 23432\#0: start worker process 23675
'
stream/shdict.t TEST 41: incr init_ttl argument without init - status code ok got: ''
expected: '200'
stream/shdict.t TEST 41: incr init_ttl argument without init - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'not ok: must provide "init" when providing "init_ttl"
'
stream/shdict.t TEST 41: incr init_ttl argument without init - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:32:54 [alert] 23432\#0: worker process 23682 exited on signal 11" (req 0) 2020/10/27 05:32:54 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:54 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:54 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:54 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:54 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:32:54 [debug] 23432\#0: reap children
2020/10/27 05:32:54 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:32:54 [debug] 23432\#0: child: 1 23682 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:32:54 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 41: incr init_ttl argument without init - status code ok got: ''
expected: '200'
stream/shdict.t TEST 41: incr init_ttl argument without init - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'not ok: must provide "init" when providing "init_ttl"
'
stream/shdict.t TEST 41: incr init_ttl argument without init - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:32:54 [alert] 23432\#0: worker process 23682 exited on signal 11" (req 1) 2020/10/27 05:32:54 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:54 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:54 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:54 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:54 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:32:54 [debug] 23432\#0: reap children
2020/10/27 05:32:54 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:32:54 [debug] 23432\#0: child: 1 23682 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:32:54 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 41: incr init_ttl argument without init - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:32:55 [alert] 23432\#0: worker process 23704 exited on signal 11" (req 1) 2020/10/27 05:32:55 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:55 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:55 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:55 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:55 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:32:55 [debug] 23432\#0: reap children
2020/10/27 05:32:55 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:32:55 [debug] 23432\#0: child: 1 23704 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:32:55 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 43: incr key with init and init_ttl (key not exists) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 43: incr key with init and init_ttl (key not exists) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-incr: 10503 nil
-foo = 10503
-foo after init_ttl = nil
'
stream/shdict.t TEST 43: incr key with init and init_ttl (key not exists) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:32:56 [alert] 23432\#0: worker process 23712 exited on signal 11" (req 0) 2020/10/27 05:32:56 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:56 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:56 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:56 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:56 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:32:56 [debug] 23432\#0: reap children
2020/10/27 05:32:56 [debug] 23432\#0: child: 0 23712 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:32:56 [debug] 23432\#0: channel 3:4
2020/10/27 05:32:56 [notice] 23432\#0: start worker process 23734
'
stream/shdict.t TEST 43: incr key with init and init_ttl (key not exists) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 43: incr key with init and init_ttl (key not exists) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-incr: 10503 nil
-foo = 10503
-foo after init_ttl = nil
'
stream/shdict.t TEST 43: incr key with init and init_ttl (key not exists) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:32:56 [alert] 23432\#0: worker process 23712 exited on signal 11" (req 1) 2020/10/27 05:32:56 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:56 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:56 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:56 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:56 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:32:56 [debug] 23432\#0: reap children
2020/10/27 05:32:56 [debug] 23432\#0: child: 0 23712 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:32:56 [debug] 23432\#0: channel 3:4
2020/10/27 05:32:56 [notice] 23432\#0: start worker process 23734
'
stream/shdict.t TEST 43: incr key with init and init_ttl (key not exists) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:32:56 [alert] 23432\#0: worker process 23734 exited on signal 11" (req 1) 2020/10/27 05:32:56 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:56 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:56 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:56 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:32:56 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:32:56 [debug] 23432\#0: reap children
2020/10/27 05:32:56 [debug] 23432\#0: child: 0 23734 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:32:56 [debug] 23432\#0: channel 3:4
2020/10/27 05:32:56 [notice] 23432\#0: start worker process 23735
'
stream/shdict.t TEST 20: safe add a string value - status code ok got: ''
expected: '200'
stream/shdict.t TEST 20: safe add a string value - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-value type: string
-value: bar
-flags: 72
'
stream/shdict.t TEST 20: safe add a string value - status code ok got: ''
expected: '200'
stream/shdict.t TEST 20: safe add a string value - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-value type: string
-value: bar
-flags: 72
'
stream/shdict.t TEST 12: set a string value - status code ok got: ''
expected: '200'
stream/shdict.t TEST 12: set a string value - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-value type: string
-value: bar
-flags: 72
'
stream/shdict.t TEST 12: set a string value - status code ok got: ''
expected: '200'
stream/shdict.t TEST 12: set a string value - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-value type: string
-value: bar
-flags: 72
'
stream/shdict.t TEST 44: incr key with init and init_ttl as string (key not exists) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 44: incr key with init and init_ttl as string (key not exists) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-incr: 10503 nil
-foo = 10503
-foo after init_ttl = nil
'
stream/shdict.t TEST 44: incr key with init and init_ttl as string (key not exists) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:02 [alert] 23432\#0: worker process 23802 exited on signal 11" (req 0) 2020/10/27 05:33:02 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:02 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:02 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:02 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:02 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:02 [debug] 23432\#0: reap children
2020/10/27 05:33:02 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:02 [debug] 23432\#0: child: 1 23802 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:02 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 44: incr key with init and init_ttl as string (key not exists) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 44: incr key with init and init_ttl as string (key not exists) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-incr: 10503 nil
-foo = 10503
-foo after init_ttl = nil
'
stream/shdict.t TEST 44: incr key with init and init_ttl as string (key not exists) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:02 [alert] 23432\#0: worker process 23802 exited on signal 11" (req 1) 2020/10/27 05:33:02 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:02 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:02 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:02 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:02 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:02 [debug] 23432\#0: reap children
2020/10/27 05:33:02 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:02 [debug] 23432\#0: child: 1 23802 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:02 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 44: incr key with init and init_ttl as string (key not exists) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:02 [alert] 23432\#0: worker process 23824 exited on signal 11" (req 1) 2020/10/27 05:33:02 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:02 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:02 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:02 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:02 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:02 [debug] 23432\#0: reap children
2020/10/27 05:33:02 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:02 [debug] 23432\#0: child: 1 23824 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:02 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 25: get stale key - status code ok got: ''
expected: '200'
stream/shdict.t TEST 25: get stale key - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'failed to get stale: nil key
'
stream/shdict.t TEST 25: get stale key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:04 [alert] 23432\#0: worker process 23832 exited on signal 11" (req 0) 2020/10/27 05:33:04 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:04 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:04 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:04 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:04 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:04 [debug] 23432\#0: reap children
2020/10/27 05:33:04 [debug] 23432\#0: child: 0 23832 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:04 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:04 [notice] 23432\#0: start worker process 23854
'
stream/shdict.t TEST 25: get stale key - status code ok got: ''
expected: '200'
stream/shdict.t TEST 25: get stale key - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'failed to get stale: nil key
'
stream/shdict.t TEST 25: get stale key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:04 [alert] 23432\#0: worker process 23832 exited on signal 11" (req 1) 2020/10/27 05:33:04 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:04 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:04 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:04 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:04 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:04 [debug] 23432\#0: reap children
2020/10/27 05:33:04 [debug] 23432\#0: child: 0 23832 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:04 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:04 [notice] 23432\#0: start worker process 23854
'
stream/shdict.t TEST 25: get stale key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:04 [alert] 23432\#0: worker process 23854 exited on signal 11" (req 1) 2020/10/27 05:33:04 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:04 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:04 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:04 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:04 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:04 [debug] 23432\#0: reap children
2020/10/27 05:33:04 [debug] 23432\#0: child: 0 23854 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:04 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:04 [notice] 23432\#0: start worker process 23855
'
stream/shdict.t TEST 23: set nil key - status code ok got: ''
expected: '200'
stream/shdict.t TEST 23: set nil key - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'failed to set: nil key
'
stream/shdict.t TEST 23: set nil key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:05 [alert] 23432\#0: worker process 23862 exited on signal 11" (req 0) 2020/10/27 05:33:05 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:05 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:05 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:05 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:05 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:05 [debug] 23432\#0: reap children
2020/10/27 05:33:05 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:05 [debug] 23432\#0: child: 1 23862 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:05 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 23: set nil key - status code ok got: ''
expected: '200'
stream/shdict.t TEST 23: set nil key - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'failed to set: nil key
'
stream/shdict.t TEST 23: set nil key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:05 [alert] 23432\#0: worker process 23862 exited on signal 11" (req 1) 2020/10/27 05:33:05 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:05 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:05 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:05 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:05 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:05 [debug] 23432\#0: reap children
2020/10/27 05:33:05 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:05 [debug] 23432\#0: child: 1 23862 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:05 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 23: set nil key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:05 [alert] 23432\#0: worker process 23884 exited on signal 11" (req 1) 2020/10/27 05:33:05 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:05 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:05 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:05 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:05 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:05 [debug] 23432\#0: reap children
2020/10/27 05:33:05 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:05 [debug] 23432\#0: child: 1 23884 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:05 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 2: get an nonexistent key - status code ok got: ''
expected: '200'
stream/shdict.t TEST 2: get an nonexistent key - status code ok got: ''
expected: '200'
stream/shdict.t TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - status code ok got: ''
expected: '200'
stream/shdict.t TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ttl: 2147483648
'
stream/shdict.t TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:09 [alert] 23432\#0: worker process 23922 exited on signal 11" (req 0) 2020/10/27 05:33:09 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:09 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:09 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:09 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:09 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:09 [debug] 23432\#0: reap children
2020/10/27 05:33:09 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:09 [debug] 23432\#0: child: 1 23922 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:09 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - status code ok got: ''
expected: '200'
stream/shdict.t TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ttl: 2147483648
'
stream/shdict.t TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:09 [alert] 23432\#0: worker process 23922 exited on signal 11" (req 1) 2020/10/27 05:33:09 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:09 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:09 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:09 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:09 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:09 [debug] 23432\#0: reap children
2020/10/27 05:33:09 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:09 [debug] 23432\#0: child: 1 23922 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:09 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 48: exptime uses long type to avoid overflow in expire() + ttl() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:09 [alert] 23432\#0: worker process 23944 exited on signal 11" (req 1) 2020/10/27 05:33:09 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:09 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:09 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:09 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:09 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:09 [debug] 23432\#0: reap children
2020/10/27 05:33:09 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:09 [debug] 23432\#0: child: 1 23944 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:09 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 34: free_space, about half full, one page left - status code ok got: ''
expected: '200'
stream/shdict.t TEST 34: free_space, about half full, one page left - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-free_page_bytes type: number
-free_page_bytes: 4096
'
stream/shdict.t TEST 34: free_space, about half full, one page left - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:11 [alert] 23432\#0: worker process 23952 exited on signal 11" (req 0) 2020/10/27 05:33:11 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:11 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:11 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:11 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:11 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:11 [debug] 23432\#0: reap children
2020/10/27 05:33:11 [debug] 23432\#0: child: 0 23952 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:11 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:11 [notice] 23432\#0: start worker process 23974
'
stream/shdict.t TEST 34: free_space, about half full, one page left - status code ok got: ''
expected: '200'
stream/shdict.t TEST 34: free_space, about half full, one page left - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-free_page_bytes type: number
-free_page_bytes: 4096
'
stream/shdict.t TEST 34: free_space, about half full, one page left - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:11 [alert] 23432\#0: worker process 23952 exited on signal 11" (req 1) 2020/10/27 05:33:11 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:11 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:11 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:11 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:11 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:11 [debug] 23432\#0: reap children
2020/10/27 05:33:11 [debug] 23432\#0: child: 0 23952 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:11 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:11 [notice] 23432\#0: start worker process 23974
'
stream/shdict.t TEST 34: free_space, about half full, one page left - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:11 [alert] 23432\#0: worker process 23974 exited on signal 11" (req 1) 2020/10/27 05:33:11 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:11 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:11 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:11 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:11 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:11 [debug] 23432\#0: reap children
2020/10/27 05:33:11 [debug] 23432\#0: child: 0 23974 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:11 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:11 [notice] 23432\#0: start worker process 23975
'
stream/shdict.t TEST 30: incr, init is not number - status code ok got: ''
expected: '200'
stream/shdict.t TEST 30: incr, init is not number - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:13 [alert] 23432\#0: worker process 23982 exited on signal 11" (req 0) 2020/10/27 05:33:13 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:13 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:13 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:13 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:13 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:13 [debug] 23432\#0: reap children
2020/10/27 05:33:13 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:13 [debug] 23432\#0: child: 1 23982 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:13 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 30: incr, init is not number - status code ok got: ''
expected: '200'
stream/shdict.t TEST 30: incr, init is not number - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:13 [alert] 23432\#0: worker process 23982 exited on signal 11" (req 1) 2020/10/27 05:33:13 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:13 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:13 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:13 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:13 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:13 [debug] 23432\#0: reap children
2020/10/27 05:33:13 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:13 [debug] 23432\#0: child: 1 23982 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:13 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 30: incr, init is not number - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:13 [alert] 23432\#0: worker process 24004 exited on signal 11" (req 1) 2020/10/27 05:33:13 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:13 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:13 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:13 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:13 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:13 [debug] 23432\#0: reap children
2020/10/27 05:33:13 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:13 [debug] 23432\#0: child: 1 24004 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:13 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 47: exptime uses long type to avoid overflow in set() + ttl() - status code ok got: ''
expected: '200'
stream/shdict.t TEST 47: exptime uses long type to avoid overflow in set() + ttl() - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ttl: 2147483648
'
stream/shdict.t TEST 47: exptime uses long type to avoid overflow in set() + ttl() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:14 [alert] 23432\#0: worker process 24012 exited on signal 11" (req 0) 2020/10/27 05:33:14 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:14 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:14 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:14 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:14 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:14 [debug] 23432\#0: reap children
2020/10/27 05:33:14 [debug] 23432\#0: child: 0 24012 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:14 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:14 [notice] 23432\#0: start worker process 24034
'
stream/shdict.t TEST 47: exptime uses long type to avoid overflow in set() + ttl() - status code ok got: ''
expected: '200'
stream/shdict.t TEST 47: exptime uses long type to avoid overflow in set() + ttl() - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ttl: 2147483648
'
stream/shdict.t TEST 47: exptime uses long type to avoid overflow in set() + ttl() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:14 [alert] 23432\#0: worker process 24012 exited on signal 11" (req 1) 2020/10/27 05:33:14 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:14 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:14 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:14 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:14 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:14 [debug] 23432\#0: reap children
2020/10/27 05:33:14 [debug] 23432\#0: child: 0 24012 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:14 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:14 [notice] 23432\#0: start worker process 24034
'
stream/shdict.t TEST 47: exptime uses long type to avoid overflow in set() + ttl() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:14 [alert] 23432\#0: worker process 24034 exited on signal 11" (req 1) 2020/10/27 05:33:14 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:14 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:14 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:14 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:14 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:14 [debug] 23432\#0: reap children
2020/10/27 05:33:14 [debug] 23432\#0: child: 0 24034 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:14 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:14 [notice] 23432\#0: start worker process 24035
'
stream/shdict.t TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-incr: 10502 nil false
-incr: 10502 nil true
-foo = 10502
-foo after init_ttl = nil
'
stream/shdict.t TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:16 [alert] 23432\#0: worker process 24042 exited on signal 11" (req 0) 2020/10/27 05:33:16 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:16 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:16 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:16 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:16 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:16 [debug] 23432\#0: reap children
2020/10/27 05:33:16 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:16 [debug] 23432\#0: child: 1 24042 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:16 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-incr: 10502 nil false
-incr: 10502 nil true
-foo = 10502
-foo after init_ttl = nil
'
stream/shdict.t TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:16 [alert] 23432\#0: worker process 24042 exited on signal 11" (req 1) 2020/10/27 05:33:16 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:16 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:16 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:16 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:16 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:16 [debug] 23432\#0: reap children
2020/10/27 05:33:16 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:16 [debug] 23432\#0: child: 1 24042 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:16 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 46: incr key with init and init_ttl (forcibly override other valid entries) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:16 [alert] 23432\#0: worker process 24064 exited on signal 11" (req 1) 2020/10/27 05:33:16 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:16 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:16 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:16 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:16 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:16 [debug] 23432\#0: reap children
2020/10/27 05:33:16 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:16 [debug] 23432\#0: child: 1 24064 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:16 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 3: get a boolean value (true) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 3: get a boolean value (true) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-value type: boolean
-value: true
-flags: 5678
'
stream/shdict.t TEST 3: get a boolean value (true) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 3: get a boolean value (true) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-value type: boolean
-value: true
-flags: 5678
'
stream/shdict.t TEST 15: set a number value (int) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 15: set a number value (int) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-value type: number
-value: 51203
-flags: nil
'
stream/shdict.t TEST 15: set a number value (int) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 15: set a number value (int) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-value type: number
-value: 51203
-flags: nil
'
stream/shdict.t TEST 28: incr, value is not number - status code ok got: ''
expected: '200'
stream/shdict.t TEST 28: incr, value is not number - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:22 [alert] 23432\#0: worker process 24132 exited on signal 11" (req 0) 2020/10/27 05:33:22 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:22 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:22 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:22 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:22 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:22 [debug] 23432\#0: reap children
2020/10/27 05:33:22 [debug] 23432\#0: child: 0 24132 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:22 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:22 [notice] 23432\#0: start worker process 24154
'
stream/shdict.t TEST 28: incr, value is not number - status code ok got: ''
expected: '200'
stream/shdict.t TEST 28: incr, value is not number - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:22 [alert] 23432\#0: worker process 24132 exited on signal 11" (req 1) 2020/10/27 05:33:22 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:22 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:22 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:22 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:22 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:22 [debug] 23432\#0: reap children
2020/10/27 05:33:22 [debug] 23432\#0: child: 0 24132 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:22 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:22 [notice] 23432\#0: start worker process 24154
'
stream/shdict.t TEST 28: incr, value is not number - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:22 [alert] 23432\#0: worker process 24154 exited on signal 11" (req 1) 2020/10/27 05:33:22 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:22 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:22 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:22 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:22 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:22 [debug] 23432\#0: reap children
2020/10/27 05:33:22 [debug] 23432\#0: child: 0 24154 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:22 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:22 [notice] 23432\#0: start worker process 24155
'
stream/shdict.t TEST 24: get nil key - status code ok got: ''
expected: '200'
stream/shdict.t TEST 24: get nil key - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'failed to get: nil key
'
stream/shdict.t TEST 24: get nil key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:24 [alert] 23432\#0: worker process 24162 exited on signal 11" (req 0) 2020/10/27 05:33:24 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:24 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:24 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:24 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:24 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:24 [debug] 23432\#0: reap children
2020/10/27 05:33:24 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:24 [debug] 23432\#0: child: 1 24162 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:24 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 24: get nil key - status code ok got: ''
expected: '200'
stream/shdict.t TEST 24: get nil key - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'failed to get: nil key
'
stream/shdict.t TEST 24: get nil key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:24 [alert] 23432\#0: worker process 24162 exited on signal 11" (req 1) 2020/10/27 05:33:24 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:24 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:24 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:24 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:24 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:24 [debug] 23432\#0: reap children
2020/10/27 05:33:24 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:24 [debug] 23432\#0: child: 1 24162 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:24 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 24: get nil key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:24 [alert] 23432\#0: worker process 24184 exited on signal 11" (req 1) 2020/10/27 05:33:24 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:24 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:24 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:24 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:24 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:24 [debug] 23432\#0: reap children
2020/10/27 05:33:24 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:24 [debug] 23432\#0: child: 1 24184 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:24 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 37: free_space, got forcible - status code ok got: ''
expected: '200'
stream/shdict.t TEST 37: free_space, got forcible - response_body_like - response is expected () ''
doesn't match '(?^s:\A(?:got forcible, i=64
)?free_page_bytes type: number
free_page_bytes: 0
\z)'
stream/shdict.t TEST 37: free_space, got forcible - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:25 [alert] 23432\#0: worker process 24192 exited on signal 11" (req 0) 2020/10/27 05:33:25 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:25 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:25 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:25 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:25 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:25 [debug] 23432\#0: reap children
2020/10/27 05:33:25 [debug] 23432\#0: child: 0 24192 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:25 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:25 [notice] 23432\#0: start worker process 24214
'
stream/shdict.t TEST 37: free_space, got forcible - status code ok got: ''
expected: '200'
stream/shdict.t TEST 37: free_space, got forcible - response_body_like - response is expected () ''
doesn't match '(?^s:\A(?:got forcible, i=64
)?free_page_bytes type: number
free_page_bytes: 0
\z)'
stream/shdict.t TEST 37: free_space, got forcible - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:25 [alert] 23432\#0: worker process 24192 exited on signal 11" (req 1) 2020/10/27 05:33:25 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:25 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:25 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:25 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:25 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:25 [debug] 23432\#0: reap children
2020/10/27 05:33:25 [debug] 23432\#0: child: 0 24192 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:25 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:25 [notice] 23432\#0: start worker process 24214
'
stream/shdict.t TEST 37: free_space, got forcible - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:26 [alert] 23432\#0: worker process 24214 exited on signal 11" (req 1) 2020/10/27 05:33:26 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:26 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:26 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:26 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:26 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:26 [debug] 23432\#0: reap children
2020/10/27 05:33:26 [debug] 23432\#0: child: 0 24214 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:26 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:26 [notice] 23432\#0: start worker process 24215
'
stream/shdict.t TEST 33: free_space, empty (100k zone) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 33: free_space, empty (100k zone) - response_body_like - response is expected () ''
doesn't match '(?^s:\Afree_page_bytes type: number
free_page_bytes: (?:90112|94208)
\z)'
stream/shdict.t TEST 33: free_space, empty (100k zone) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:27 [alert] 23432\#0: worker process 24222 exited on signal 11" (req 0) 2020/10/27 05:33:27 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:27 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:27 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:27 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:27 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:27 [debug] 23432\#0: reap children
2020/10/27 05:33:27 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:27 [debug] 23432\#0: child: 1 24222 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:27 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 33: free_space, empty (100k zone) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 33: free_space, empty (100k zone) - response_body_like - response is expected () ''
doesn't match '(?^s:\Afree_page_bytes type: number
free_page_bytes: (?:90112|94208)
\z)'
stream/shdict.t TEST 33: free_space, empty (100k zone) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:27 [alert] 23432\#0: worker process 24222 exited on signal 11" (req 1) 2020/10/27 05:33:27 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:27 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:27 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:27 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:27 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:27 [debug] 23432\#0: reap children
2020/10/27 05:33:27 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:27 [debug] 23432\#0: child: 1 24222 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:27 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 33: free_space, empty (100k zone) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:27 [alert] 23432\#0: worker process 24244 exited on signal 11" (req 1) 2020/10/27 05:33:27 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:27 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:27 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:27 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:27 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:27 [debug] 23432\#0: reap children
2020/10/27 05:33:27 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:27 [debug] 23432\#0: child: 1 24244 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:27 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 40: incr init_ttl argument is not a number - status code ok got: ''
expected: '200'
stream/shdict.t TEST 40: incr init_ttl argument is not a number - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'not ok: bad init_ttl arg: number expected, got string
'
stream/shdict.t TEST 40: incr init_ttl argument is not a number - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:29 [alert] 23432\#0: worker process 24252 exited on signal 11" (req 0) 2020/10/27 05:33:29 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:29 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:29 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:29 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:29 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:29 [debug] 23432\#0: reap children
2020/10/27 05:33:29 [debug] 23432\#0: child: 0 24252 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:29 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:29 [notice] 23432\#0: start worker process 24274
'
stream/shdict.t TEST 40: incr init_ttl argument is not a number - status code ok got: ''
expected: '200'
stream/shdict.t TEST 40: incr init_ttl argument is not a number - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'not ok: bad init_ttl arg: number expected, got string
'
stream/shdict.t TEST 40: incr init_ttl argument is not a number - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:29 [alert] 23432\#0: worker process 24252 exited on signal 11" (req 1) 2020/10/27 05:33:29 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:29 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:29 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:29 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:29 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:29 [debug] 23432\#0: reap children
2020/10/27 05:33:29 [debug] 23432\#0: child: 0 24252 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:29 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:29 [notice] 23432\#0: start worker process 24274
'
stream/shdict.t TEST 40: incr init_ttl argument is not a number - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:29 [alert] 23432\#0: worker process 24274 exited on signal 11" (req 1) 2020/10/27 05:33:29 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:29 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:29 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:29 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:29 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:29 [debug] 23432\#0: reap children
2020/10/27 05:33:29 [debug] 23432\#0: child: 0 24274 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:29 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:29 [notice] 23432\#0: start worker process 24275
'
stream/shdict.t TEST 7: get a large string value - status code ok got: ''
expected: '200'
stream/shdict.t TEST 7: get a large string value - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-value type: string
-value: bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb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bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbba
-flags: 912
'
stream/shdict.t TEST 7: get a large string value - status code ok got: ''
expected: '200'
stream/shdict.t TEST 7: get a large string value - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-value type: string
-value: bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb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bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbba
-flags: 912
'
stream/shdict.t TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - status code ok got: ''
expected: '200'
stream/shdict.t TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ttl: 2147483648
'
stream/shdict.t TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:33 [alert] 23432\#0: worker process 24312 exited on signal 11" (req 0) 2020/10/27 05:33:33 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:33 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:33 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:33 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:33 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:33 [debug] 23432\#0: reap children
2020/10/27 05:33:33 [debug] 23432\#0: child: 0 24312 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:33 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:33 [notice] 23432\#0: start worker process 24334
'
stream/shdict.t TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - status code ok got: ''
expected: '200'
stream/shdict.t TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ttl: 2147483648
'
stream/shdict.t TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:33 [alert] 23432\#0: worker process 24312 exited on signal 11" (req 1) 2020/10/27 05:33:33 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:33 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:33 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:33 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:33 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:33 [debug] 23432\#0: reap children
2020/10/27 05:33:33 [debug] 23432\#0: child: 0 24312 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:33 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:33 [notice] 23432\#0: start worker process 24334
'
stream/shdict.t TEST 49: init_ttl uses long type to avoid overflow in incr() + ttl() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:33 [alert] 23432\#0: worker process 24334 exited on signal 11" (req 1) 2020/10/27 05:33:33 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:33 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:33 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:33 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:33 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:33 [debug] 23432\#0: reap children
2020/10/27 05:33:33 [debug] 23432\#0: child: 0 24334 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:33 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:33 [notice] 23432\#0: start worker process 24335
'
stream/shdict.t TEST 22: set a number value and delete - status code ok got: ''
expected: '200'
stream/shdict.t TEST 22: set a number value and delete - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-value type: nil
-value: nil
-flags: nil
'
stream/shdict.t TEST 22: set a number value and delete - status code ok got: ''
expected: '200'
stream/shdict.t TEST 22: set a number value and delete - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-value type: nil
-value: nil
-flags: nil
'
stream/shdict.t TEST 19: add a string value - status code ok got: ''
expected: '200'
stream/shdict.t TEST 19: add a string value - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-value type: string
-value: bar
-flags: 72
'
stream/shdict.t TEST 19: add a string value - status code ok got: ''
expected: '200'
stream/shdict.t TEST 19: add a string value - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-value type: string
-value: bar
-flags: 72
'
stream/shdict.t TEST 35: free_space, about half full, no page left - status code ok got: ''
expected: '200'
stream/shdict.t TEST 35: free_space, about half full, no page left - response_body_like - response is expected () ''
doesn't match '(?^s:\Afree_page_bytes type: number
free_page_bytes: (?:0|4096)
\z)'
stream/shdict.t TEST 35: free_space, about half full, no page left - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:38 [alert] 23432\#0: worker process 24402 exited on signal 11" (req 0) 2020/10/27 05:33:38 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:38 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:38 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:38 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:38 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:38 [debug] 23432\#0: reap children
2020/10/27 05:33:38 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:38 [debug] 23432\#0: child: 1 24402 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:38 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 35: free_space, about half full, no page left - status code ok got: ''
expected: '200'
stream/shdict.t TEST 35: free_space, about half full, no page left - response_body_like - response is expected () ''
doesn't match '(?^s:\Afree_page_bytes type: number
free_page_bytes: (?:0|4096)
\z)'
stream/shdict.t TEST 35: free_space, about half full, no page left - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:38 [alert] 23432\#0: worker process 24402 exited on signal 11" (req 1) 2020/10/27 05:33:38 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:38 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:38 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:38 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:38 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:38 [debug] 23432\#0: reap children
2020/10/27 05:33:38 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:38 [debug] 23432\#0: child: 1 24402 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:38 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 35: free_space, about half full, no page left - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:38 [alert] 23432\#0: worker process 24426 exited on signal 11" (req 1) 2020/10/27 05:33:38 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:38 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:38 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:38 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:38 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:38 [debug] 23432\#0: reap children
2020/10/27 05:33:38 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:38 [debug] 23432\#0: child: 1 24426 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:38 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 9: get_stale (true) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 9: get_stale (true) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-value type: string
-value: bar
-flags: 72
-stale: true
'
stream/shdict.t TEST 9: get_stale (true) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 9: get_stale (true) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-value type: string
-value: bar
-flags: 72
-stale: true
'
stream/shdict.t TEST 31: capacity - status code ok got: ''
expected: '200'
stream/shdict.t TEST 31: capacity - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-capacity type: number
-capacity: 16384
'
stream/shdict.t TEST 31: capacity - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:42 [alert] 23432\#0: worker process 24464 exited on signal 11" (req 0) 2020/10/27 05:33:42 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:42 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:42 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:42 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:42 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:42 [debug] 23432\#0: reap children
2020/10/27 05:33:42 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:42 [debug] 23432\#0: child: 1 24464 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:42 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 31: capacity - status code ok got: ''
expected: '200'
stream/shdict.t TEST 31: capacity - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-capacity type: number
-capacity: 16384
'
stream/shdict.t TEST 31: capacity - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:42 [alert] 23432\#0: worker process 24464 exited on signal 11" (req 1) 2020/10/27 05:33:42 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:42 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:42 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:42 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:42 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:42 [debug] 23432\#0: reap children
2020/10/27 05:33:42 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:42 [debug] 23432\#0: child: 1 24464 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:42 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 31: capacity - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:42 [alert] 23432\#0: worker process 24486 exited on signal 11" (req 1) 2020/10/27 05:33:42 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:42 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:42 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:42 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:42 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:42 [debug] 23432\#0: reap children
2020/10/27 05:33:42 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:42 [debug] 23432\#0: child: 1 24486 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:42 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 6: get a number value (double) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 6: get a number value (double) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-value type: number
-value: 3.1415926
-flags: 78
'
stream/shdict.t TEST 6: get a number value (double) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 6: get a number value (double) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-value type: number
-value: 3.1415926
-flags: 78
'
stream/shdict.t TEST 26: incr key - status code ok got: ''
expected: '200'
stream/shdict.t TEST 26: incr key - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'failed to incr: nil key
'
stream/shdict.t TEST 26: incr key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:45 [alert] 23432\#0: worker process 24524 exited on signal 11" (req 0) 2020/10/27 05:33:45 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:45 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:45 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:45 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:45 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:45 [debug] 23432\#0: reap children
2020/10/27 05:33:45 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:45 [debug] 23432\#0: child: 1 24524 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:45 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 26: incr key - status code ok got: ''
expected: '200'
stream/shdict.t TEST 26: incr key - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'failed to incr: nil key
'
stream/shdict.t TEST 26: incr key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:45 [alert] 23432\#0: worker process 24524 exited on signal 11" (req 1) 2020/10/27 05:33:45 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:45 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:45 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:45 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:45 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:45 [debug] 23432\#0: reap children
2020/10/27 05:33:45 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:45 [debug] 23432\#0: child: 1 24524 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:45 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 26: incr key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:46 [alert] 23432\#0: worker process 24546 exited on signal 11" (req 1) 2020/10/27 05:33:46 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:46 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:46 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:46 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:46 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:46 [debug] 23432\#0: reap children
2020/10/27 05:33:46 [debug] 23432\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:33:46 [debug] 23432\#0: child: 1 24546 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:46 [debug] 23432\#0: channel 3:4
'
stream/shdict.t TEST 39: incr bad init_ttl argument - status code ok got: ''
expected: '200'
stream/shdict.t TEST 39: incr bad init_ttl argument - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'not ok: bad "init_ttl" argument
'
stream/shdict.t TEST 39: incr bad init_ttl argument - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:47 [alert] 23432\#0: worker process 24554 exited on signal 11" (req 0) 2020/10/27 05:33:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:47 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:47 [debug] 23432\#0: reap children
2020/10/27 05:33:47 [debug] 23432\#0: child: 0 24554 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:47 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:47 [notice] 23432\#0: start worker process 24576
'
stream/shdict.t TEST 39: incr bad init_ttl argument - status code ok got: ''
expected: '200'
stream/shdict.t TEST 39: incr bad init_ttl argument - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'not ok: bad "init_ttl" argument
'
stream/shdict.t TEST 39: incr bad init_ttl argument - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:47 [alert] 23432\#0: worker process 24554 exited on signal 11" (req 1) 2020/10/27 05:33:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:47 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:47 [debug] 23432\#0: reap children
2020/10/27 05:33:47 [debug] 23432\#0: child: 0 24554 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:47 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:47 [notice] 23432\#0: start worker process 24576
'
stream/shdict.t TEST 39: incr bad init_ttl argument - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:47 [alert] 23432\#0: worker process 24576 exited on signal 11" (req 1) 2020/10/27 05:33:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:47 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:47 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:47 [debug] 23432\#0: reap children
2020/10/27 05:33:47 [debug] 23432\#0: child: 0 24576 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:47 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:47 [notice] 23432\#0: start worker process 24577
'
stream/shdict.t TEST 10: incr int - status code ok got: ''
expected: '200'
stream/shdict.t TEST 10: incr int - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-value: 256
-err: nil
'
stream/shdict.t TEST 10: incr int - status code ok got: ''
expected: '200'
stream/shdict.t TEST 10: incr int - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-value: 256
-err: nil
'
stream/shdict.t TEST 8: get_stale (false) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 8: get_stale (false) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-value type: string
-value: bar
-flags: 72
-stale: false
'
stream/shdict.t TEST 8: get_stale (false) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 8: get_stale (false) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-value type: string
-value: bar
-flags: 72
-stale: false
'
stream/shdict.t TEST 14: set a boolean value (false) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 14: set a boolean value (false) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-value type: boolean
-value: false
-flags: 777
'
stream/shdict.t TEST 14: set a boolean value (false) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 14: set a boolean value (false) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-value type: boolean
-value: false
-flags: 777
'
stream/shdict.t TEST 36: free_space, full - status code ok got: ''
expected: '200'
stream/shdict.t TEST 36: free_space, full - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-free_page_bytes type: number
-free_page_bytes: 0
'
stream/shdict.t TEST 36: free_space, full - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:55 [alert] 23432\#0: worker process 24674 exited on signal 11" (req 0) 2020/10/27 05:33:55 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:55 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:55 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:55 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:55 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:55 [debug] 23432\#0: reap children
2020/10/27 05:33:55 [debug] 23432\#0: child: 0 24674 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:55 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:55 [notice] 23432\#0: start worker process 24696
'
stream/shdict.t TEST 36: free_space, full - status code ok got: ''
expected: '200'
stream/shdict.t TEST 36: free_space, full - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-free_page_bytes type: number
-free_page_bytes: 0
'
stream/shdict.t TEST 36: free_space, full - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:55 [alert] 23432\#0: worker process 24674 exited on signal 11" (req 1) 2020/10/27 05:33:55 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:55 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:55 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:55 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:55 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:55 [debug] 23432\#0: reap children
2020/10/27 05:33:55 [debug] 23432\#0: child: 0 24674 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:55 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:55 [notice] 23432\#0: start worker process 24696
'
stream/shdict.t TEST 36: free_space, full - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:55 [alert] 23432\#0: worker process 24696 exited on signal 11" (req 1) 2020/10/27 05:33:55 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:55 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:55 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:55 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:55 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:55 [debug] 23432\#0: reap children
2020/10/27 05:33:55 [debug] 23432\#0: child: 0 24696 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:55 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:55 [notice] 23432\#0: start worker process 24697
'
stream/shdict.t TEST 27: flush_all - status code ok got: ''
expected: '200'
stream/shdict.t TEST 27: flush_all - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-value type: nil
-value: nil
-flags: nil
'
stream/shdict.t TEST 27: flush_all - status code ok got: ''
expected: '200'
stream/shdict.t TEST 27: flush_all - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-value type: nil
-value: nil
-flags: nil
'
stream/shdict.t TEST 38: free_space, full (100k) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 38: free_space, full (100k) - response_body_like - response is expected () ''
doesn't match '(?^s:\A(?:got forcible, i=736
)?free_page_bytes type: number
free_page_bytes: (?:0|32768)
\z)'
stream/shdict.t TEST 38: free_space, full (100k) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:58 [alert] 23432\#0: worker process 24734 exited on signal 11" (req 0) 2020/10/27 05:33:58 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:58 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:58 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:58 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:58 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:58 [debug] 23432\#0: reap children
2020/10/27 05:33:58 [debug] 23432\#0: child: 0 24734 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:58 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:58 [notice] 23432\#0: start worker process 24756
'
stream/shdict.t TEST 38: free_space, full (100k) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 38: free_space, full (100k) - response_body_like - response is expected () ''
doesn't match '(?^s:\A(?:got forcible, i=736
)?free_page_bytes type: number
free_page_bytes: (?:0|32768)
\z)'
stream/shdict.t TEST 38: free_space, full (100k) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:58 [alert] 23432\#0: worker process 24734 exited on signal 11" (req 1) 2020/10/27 05:33:58 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:58 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:58 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:58 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:58 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:58 [debug] 23432\#0: reap children
2020/10/27 05:33:58 [debug] 23432\#0: child: 0 24734 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:58 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:58 [notice] 23432\#0: start worker process 24756
'
stream/shdict.t TEST 38: free_space, full (100k) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:33:59 [alert] 23432\#0: worker process 24756 exited on signal 11" (req 1) 2020/10/27 05:33:59 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:59 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:59 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:59 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:33:59 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:33:59 [debug] 23432\#0: reap children
2020/10/27 05:33:59 [debug] 23432\#0: child: 0 24756 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:33:59 [debug] 23432\#0: channel 3:4
2020/10/27 05:33:59 [notice] 23432\#0: start worker process 24757
'
stream/shdict.t TEST 11: incr double - status code ok got: ''
expected: '200'
stream/shdict.t TEST 11: incr double - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-value: 371
-err: nil
'
stream/shdict.t TEST 11: incr double - status code ok got: ''
expected: '200'
stream/shdict.t TEST 11: incr double - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-value: 371
-err: nil
'
stream/shdict.t TEST 21: replace a string value - status code ok got: ''
expected: '200'
stream/shdict.t TEST 21: replace a string value - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-value type: string
-value: bar100
-flags: 72
'
stream/shdict.t TEST 21: replace a string value - status code ok got: ''
expected: '200'
stream/shdict.t TEST 21: replace a string value - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-value type: string
-value: bar100
-flags: 72
'
stream/shdict.t TEST 4: get a boolean value (false) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 4: get a boolean value (false) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-value type: boolean
-value: false
-flags: 777
'
stream/shdict.t TEST 4: get a boolean value (false) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 4: get a boolean value (false) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-value type: boolean
-value: false
-flags: 777
'
stream/shdict.t TEST 42: incr key with init_ttl (key exists) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 42: incr key with init_ttl (key exists) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-incr: 10534 nil
-foo = 10534
-foo after incr init_ttl = 10534
'
stream/shdict.t TEST 42: incr key with init_ttl (key exists) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:06 [alert] 23432\#0: worker process 24854 exited on signal 11" (req 0) 2020/10/27 05:34:06 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:34:06 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:34:06 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:34:06 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:34:06 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:34:06 [debug] 23432\#0: reap children
2020/10/27 05:34:06 [debug] 23432\#0: child: 0 24854 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:06 [debug] 23432\#0: channel 3:4
2020/10/27 05:34:06 [notice] 23432\#0: start worker process 24876
'
stream/shdict.t TEST 42: incr key with init_ttl (key exists) - status code ok got: ''
expected: '200'
stream/shdict.t TEST 42: incr key with init_ttl (key exists) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-incr: 10534 nil
-foo = 10534
-foo after incr init_ttl = 10534
'
stream/shdict.t TEST 42: incr key with init_ttl (key exists) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:06 [alert] 23432\#0: worker process 24854 exited on signal 11" (req 1) 2020/10/27 05:34:06 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:34:06 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:34:06 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:34:06 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:34:06 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:34:06 [debug] 23432\#0: reap children
2020/10/27 05:34:06 [debug] 23432\#0: child: 0 24854 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:06 [debug] 23432\#0: channel 3:4
2020/10/27 05:34:06 [notice] 23432\#0: start worker process 24876
'
stream/shdict.t TEST 42: incr key with init_ttl (key exists) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:06 [alert] 23432\#0: worker process 24876 exited on signal 11" (req 1) 2020/10/27 05:34:06 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:34:06 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:34:06 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:34:06 [debug] 23432\#0: shmtx forced unlock
2020/10/27 05:34:06 [debug] 23432\#0: wake up, sigio 0
2020/10/27 05:34:06 [debug] 23432\#0: reap children
2020/10/27 05:34:06 [debug] 23432\#0: child: 0 24876 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:06 [debug] 23432\#0: channel 3:4
2020/10/27 05:34:06 [notice] 23432\#0: start worker process 24877
'
stream/ssl.t TEST 10: tls version - SSLv3 - status code ok got: ''
expected: '200'
stream/ssl.t TEST 10: tls version - SSLv3 - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-connected: 1
-ssl handshake: boolean
'
stream/ssl.t TEST 10: tls version - SSLv3 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:07 [alert] 24887\#0: worker process 24888 exited on signal 11" (req 0) 2020/10/27 05:34:07 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:07 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:07 [debug] 24887\#0: reap children
2020/10/27 05:34:07 [debug] 24887\#0: child: 0 24888 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:07 [debug] 24887\#0: channel 3:10
2020/10/27 05:34:07 [notice] 24887\#0: start worker process 24889
2020/10/27 05:34:07 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:07 [debug] 24889\#0: malloc: 087A52F8:12
2020/10/27 05:34:07 [debug] 24889\#0: malloc: 087A99F8:8
'
stream/ssl.t TEST 10: tls version - SSLv3 - status code ok got: ''
expected: '200'
stream/ssl.t TEST 10: tls version - SSLv3 - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-connected: 1
-ssl handshake: boolean
'
stream/ssl.t TEST 10: tls version - SSLv3 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:07 [alert] 24887\#0: worker process 24889 exited on signal 11" (req 1) 2020/10/27 05:34:07 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:07 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:07 [debug] 24887\#0: reap children
2020/10/27 05:34:07 [debug] 24887\#0: child: 0 24889 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:07 [debug] 24887\#0: channel 3:10
2020/10/27 05:34:07 [notice] 24887\#0: start worker process 24890
2020/10/27 05:34:07 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:07 [debug] 24890\#0: malloc: 087A52F8:12
2020/10/27 05:34:07 [debug] 24890\#0: malloc: 087A99F8:8
'
stream/ssl.t TEST 4: read SNI name via ssl.server_name() when no SNI name specified - status code ok got: ''
expected: '200'
stream/ssl.t TEST 4: read SNI name via ssl.server_name() when no SNI name specified - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-ssl handshake: userdata
-received: it works!
-close: 1 nil
'
stream/ssl.t TEST 4: read SNI name via ssl.server_name() when no SNI name specified - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:09 [alert] 24887\#0: worker process 24898 exited on signal 11" (req 0) 2020/10/27 05:34:09 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:09 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:09 [debug] 24887\#0: reap children
2020/10/27 05:34:09 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:09 [debug] 24887\#0: child: 1 24898 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:09 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:09 [notice] 24887\#0: start worker process 24919
2020/10/27 05:34:09 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:09 [debug] 24919\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 4: read SNI name via ssl.server_name() when no SNI name specified - status code ok got: ''
expected: '200'
stream/ssl.t TEST 4: read SNI name via ssl.server_name() when no SNI name specified - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-ssl handshake: userdata
-received: it works!
-close: 1 nil
'
stream/ssl.t TEST 4: read SNI name via ssl.server_name() when no SNI name specified - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:09 [alert] 24887\#0: worker process 24919 exited on signal 11" (req 1) 2020/10/27 05:34:09 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:09 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:09 [debug] 24887\#0: reap children
2020/10/27 05:34:09 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:09 [debug] 24887\#0: child: 1 24919 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:09 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:09 [notice] 24887\#0: start worker process 24920
2020/10/27 05:34:09 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:09 [debug] 24920\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 2: set DER cert and private key - status code ok got: ''
expected: '200'
stream/ssl.t TEST 2: set DER cert and private key - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-ssl handshake: userdata
-received: it works!
-close: 1 nil
'
stream/ssl.t TEST 2: set DER cert and private key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:11 [alert] 24887\#0: worker process 24927 exited on signal 11" (req 0) 2020/10/27 05:34:11 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:11 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:11 [debug] 24887\#0: reap children
2020/10/27 05:34:11 [debug] 24887\#0: child: 0 24927 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:11 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:11 [notice] 24887\#0: start worker process 24949
2020/10/27 05:34:11 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:11 [debug] 24949\#0: malloc: 087A52F8:12
2020/10/27 05:34:11 [debug] 24949\#0: malloc: 087A99F8:8
'
stream/ssl.t TEST 2: set DER cert and private key - status code ok got: ''
expected: '200'
stream/ssl.t TEST 2: set DER cert and private key - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-ssl handshake: userdata
-received: it works!
-close: 1 nil
'
stream/ssl.t TEST 2: set DER cert and private key - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:11 [alert] 24887\#0: worker process 24949 exited on signal 11" (req 1) 2020/10/27 05:34:11 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:11 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:11 [debug] 24887\#0: reap children
2020/10/27 05:34:11 [debug] 24887\#0: child: 0 24949 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:11 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:11 [notice] 24887\#0: start worker process 24950
2020/10/27 05:34:11 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:11 [debug] 24950\#0: malloc: 087A52F8:12
2020/10/27 05:34:11 [debug] 24950\#0: malloc: 087A99F8:8
'
stream/ssl.t TEST 19: parse PEM cert and key to cdata (bad priv key) - status code ok got: ''
expected: '200'
stream/ssl.t TEST 19: parse PEM cert and key to cdata (bad priv key) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-connected: 1
-failed to do SSL handshake: handshake failed
'
stream/ssl.t TEST 19: parse PEM cert and key to cdata (bad priv key) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:12 [alert] 24887\#0: worker process 24957 exited on signal 11" (req 0) 2020/10/27 05:34:12 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:12 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:12 [debug] 24887\#0: reap children
2020/10/27 05:34:12 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:12 [debug] 24887\#0: child: 1 24957 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:12 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:12 [notice] 24887\#0: start worker process 24979
2020/10/27 05:34:12 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:12 [debug] 24979\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 19: parse PEM cert and key to cdata (bad priv key) - status code ok got: ''
expected: '200'
stream/ssl.t TEST 19: parse PEM cert and key to cdata (bad priv key) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-connected: 1
-failed to do SSL handshake: handshake failed
'
stream/ssl.t TEST 19: parse PEM cert and key to cdata (bad priv key) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:13 [alert] 24887\#0: worker process 24979 exited on signal 11" (req 1) 2020/10/27 05:34:13 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:13 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:13 [debug] 24887\#0: reap children
2020/10/27 05:34:13 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:13 [debug] 24887\#0: child: 1 24979 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:13 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:13 [notice] 24887\#0: start worker process 24980
2020/10/27 05:34:13 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:13 [debug] 24980\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 12: tls version - TLSv1.1 - status code ok got: ''
expected: '200'
stream/ssl.t TEST 12: tls version - TLSv1.1 - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-connected: 1
-ssl handshake: boolean
'
stream/ssl.t TEST 12: tls version - TLSv1.1 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:14 [alert] 24887\#0: worker process 24987 exited on signal 11" (req 0) 2020/10/27 05:34:14 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:14 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:14 [debug] 24887\#0: reap children
2020/10/27 05:34:14 [debug] 24887\#0: child: 0 24987 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:14 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:14 [notice] 24887\#0: start worker process 25009
2020/10/27 05:34:14 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:14 [debug] 25009\#0: malloc: 087A52F8:12
2020/10/27 05:34:14 [debug] 25009\#0: malloc: 087A99F8:8
'
stream/ssl.t TEST 12: tls version - TLSv1.1 - status code ok got: ''
expected: '200'
stream/ssl.t TEST 12: tls version - TLSv1.1 - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-connected: 1
-ssl handshake: boolean
'
stream/ssl.t TEST 12: tls version - TLSv1.1 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:14 [alert] 24887\#0: worker process 25009 exited on signal 11" (req 1) 2020/10/27 05:34:14 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:14 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:14 [debug] 24887\#0: reap children
2020/10/27 05:34:14 [debug] 24887\#0: child: 0 25009 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:14 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:14 [notice] 24887\#0: start worker process 25010
2020/10/27 05:34:14 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:14 [debug] 25010\#0: malloc: 087A52F8:12
2020/10/27 05:34:14 [debug] 25010\#0: malloc: 087A99F8:8
'
stream/ssl.t TEST 9: read PEM cert chain but set DER cert chain - status code ok got: ''
expected: '200'
stream/ssl.t TEST 9: read PEM cert chain but set DER cert chain - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-ssl handshake: userdata
-received: it works!
-close: 1 nil
'
stream/ssl.t TEST 9: read PEM cert chain but set DER cert chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:16 [alert] 24887\#0: worker process 25017 exited on signal 11" (req 0) 2020/10/27 05:34:16 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:16 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:16 [debug] 24887\#0: reap children
2020/10/27 05:34:16 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:16 [debug] 24887\#0: child: 1 25017 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:16 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:16 [notice] 24887\#0: start worker process 25039
2020/10/27 05:34:16 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:16 [debug] 25039\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 9: read PEM cert chain but set DER cert chain - status code ok got: ''
expected: '200'
stream/ssl.t TEST 9: read PEM cert chain but set DER cert chain - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-ssl handshake: userdata
-received: it works!
-close: 1 nil
'
stream/ssl.t TEST 9: read PEM cert chain but set DER cert chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:16 [alert] 24887\#0: worker process 25039 exited on signal 11" (req 1) 2020/10/27 05:34:16 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:16 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:16 [debug] 24887\#0: reap children
2020/10/27 05:34:16 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:16 [debug] 24887\#0: child: 1 25039 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:16 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:16 [notice] 24887\#0: start worker process 25040
2020/10/27 05:34:16 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:16 [debug] 25040\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - status code ok got: ''
expected: '200'
stream/ssl.t TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-ssl handshake: userdata
-received: it works!
-close: 1 nil
'
stream/ssl.t TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:18 [alert] 24887\#0: worker process 25047 exited on signal 11" (req 0) 2020/10/27 05:34:18 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:18 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:18 [debug] 24887\#0: reap children
2020/10/27 05:34:18 [debug] 24887\#0: child: 0 25047 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:18 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:18 [notice] 24887\#0: start worker process 25069
2020/10/27 05:34:18 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:18 [debug] 25069\#0: malloc: 087A52F8:12
2020/10/27 05:34:18 [debug] 25069\#0: malloc: 087A99F8:8
'
stream/ssl.t TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - status code ok got: ''
expected: '200'
stream/ssl.t TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-ssl handshake: userdata
-received: it works!
-close: 1 nil
'
stream/ssl.t TEST 6: read raw server addr via ssl.raw_server_addr() (IPv4) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:18 [alert] 24887\#0: worker process 25069 exited on signal 11" (req 1) 2020/10/27 05:34:18 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:18 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:18 [debug] 24887\#0: reap children
2020/10/27 05:34:18 [debug] 24887\#0: child: 0 25069 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:18 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:18 [notice] 24887\#0: start worker process 25070
2020/10/27 05:34:18 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:18 [debug] 25070\#0: malloc: 087A52F8:12
2020/10/27 05:34:18 [debug] 25070\#0: malloc: 087A99F8:8
'
stream/ssl.t TEST 20: read client addr via ssl.raw_client_addr() - status code ok got: ''
expected: '200'
stream/ssl.t TEST 20: read client addr via ssl.raw_client_addr() - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-ssl handshake: userdata
-received: it works!
-close: 1 nil
'
stream/ssl.t TEST 20: read client addr via ssl.raw_client_addr() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:20 [alert] 24887\#0: worker process 25077 exited on signal 11" (req 0) 2020/10/27 05:34:20 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:20 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:20 [debug] 24887\#0: reap children
2020/10/27 05:34:20 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:20 [debug] 24887\#0: child: 1 25077 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:20 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:20 [notice] 24887\#0: start worker process 25099
2020/10/27 05:34:20 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:20 [debug] 25099\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 20: read client addr via ssl.raw_client_addr() - status code ok got: ''
expected: '200'
stream/ssl.t TEST 20: read client addr via ssl.raw_client_addr() - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-ssl handshake: userdata
-received: it works!
-close: 1 nil
'
stream/ssl.t TEST 20: read client addr via ssl.raw_client_addr() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:20 [alert] 24887\#0: worker process 25099 exited on signal 11" (req 1) 2020/10/27 05:34:20 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:20 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:20 [debug] 24887\#0: reap children
2020/10/27 05:34:20 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:20 [debug] 24887\#0: child: 1 25099 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:20 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:20 [notice] 24887\#0: start worker process 25100
2020/10/27 05:34:20 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:20 [debug] 25100\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 24: verify client without CA certificates - status code ok got: ''
expected: '200'
stream/ssl.t TEST 24: verify client without CA certificates - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'FAILED:self signed certificate
'
stream/ssl.t TEST 24: verify client without CA certificates - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:21 [alert] 24887\#0: worker process 25107 exited on signal 11" (req 0) 2020/10/27 05:34:21 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:21 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:21 [debug] 24887\#0: reap children
2020/10/27 05:34:21 [debug] 24887\#0: child: 0 25107 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:21 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:21 [notice] 24887\#0: start worker process 25129
2020/10/27 05:34:21 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:21 [debug] 25129\#0: malloc: 087A52F8:12
2020/10/27 05:34:21 [debug] 25129\#0: malloc: 087A99F8:8
'
stream/ssl.t TEST 24: verify client without CA certificates - status code ok got: ''
expected: '200'
stream/ssl.t TEST 24: verify client without CA certificates - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'FAILED:self signed certificate
'
stream/ssl.t TEST 24: verify client without CA certificates - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:22 [alert] 24887\#0: worker process 25129 exited on signal 11" (req 1) 2020/10/27 05:34:22 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:22 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:22 [debug] 24887\#0: reap children
2020/10/27 05:34:22 [debug] 24887\#0: child: 0 25129 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:22 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:22 [notice] 24887\#0: start worker process 25130
2020/10/27 05:34:22 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:22 [debug] 25130\#0: malloc: 087A52F8:12
2020/10/27 05:34:22 [debug] 25130\#0: malloc: 087A99F8:8
'
stream/ssl.t TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - status code ok got: ''
expected: '200'
stream/ssl.t TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-ssl handshake: userdata
-received: it works!
-close: 1 nil
'
stream/ssl.t TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:23 [alert] 24887\#0: worker process 25137 exited on signal 11" (req 0) 2020/10/27 05:34:23 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:23 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:23 [debug] 24887\#0: reap children
2020/10/27 05:34:23 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:23 [debug] 24887\#0: child: 1 25137 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:23 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:23 [notice] 24887\#0: start worker process 25159
2020/10/27 05:34:23 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:23 [debug] 25159\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - status code ok got: ''
expected: '200'
stream/ssl.t TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-ssl handshake: userdata
-received: it works!
-close: 1 nil
'
stream/ssl.t TEST 5: read raw server addr via ssl.raw_server_addr() (unix domain socket) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:23 [alert] 24887\#0: worker process 25159 exited on signal 11" (req 1) 2020/10/27 05:34:23 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:23 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:23 [debug] 24887\#0: reap children
2020/10/27 05:34:23 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:23 [debug] 24887\#0: child: 1 25159 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:23 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:23 [notice] 24887\#0: start worker process 25160
2020/10/27 05:34:23 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:23 [debug] 25160\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 15: read PEM key chain but set DER key chain - status code ok got: ''
expected: '200'
stream/ssl.t TEST 15: read PEM key chain but set DER key chain - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-ssl handshake: userdata
-received: it works!
-close: 1 nil
'
stream/ssl.t TEST 15: read PEM key chain but set DER key chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:25 [alert] 24887\#0: worker process 25167 exited on signal 11" (req 0) 2020/10/27 05:34:25 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:25 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:25 [debug] 24887\#0: reap children
2020/10/27 05:34:25 [debug] 24887\#0: child: 0 25167 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:25 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:25 [notice] 24887\#0: start worker process 25189
2020/10/27 05:34:25 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:25 [debug] 25189\#0: malloc: 087A52F8:12
2020/10/27 05:34:25 [debug] 25189\#0: malloc: 087A99F8:8
'
stream/ssl.t TEST 15: read PEM key chain but set DER key chain - status code ok got: ''
expected: '200'
stream/ssl.t TEST 15: read PEM key chain but set DER key chain - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-ssl handshake: userdata
-received: it works!
-close: 1 nil
'
stream/ssl.t TEST 15: read PEM key chain but set DER key chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:25 [alert] 24887\#0: worker process 25189 exited on signal 11" (req 1) 2020/10/27 05:34:25 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:25 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:25 [debug] 24887\#0: reap children
2020/10/27 05:34:25 [debug] 24887\#0: child: 0 25189 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:25 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:25 [notice] 24887\#0: start worker process 25190
2020/10/27 05:34:25 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:25 [debug] 25190\#0: malloc: 087A52F8:12
2020/10/27 05:34:25 [debug] 25190\#0: malloc: 087A99F8:8
'
stream/ssl.t TEST 8: set DER cert chain - status code ok got: ''
expected: '200'
stream/ssl.t TEST 8: set DER cert chain - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-ssl handshake: userdata
-received: it works!
-close: 1 nil
'
stream/ssl.t TEST 8: set DER cert chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:27 [alert] 24887\#0: worker process 25197 exited on signal 11" (req 0) 2020/10/27 05:34:27 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:27 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:27 [debug] 24887\#0: reap children
2020/10/27 05:34:27 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:27 [debug] 24887\#0: child: 1 25197 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:27 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:27 [notice] 24887\#0: start worker process 25219
2020/10/27 05:34:27 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:27 [debug] 25219\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 8: set DER cert chain - status code ok got: ''
expected: '200'
stream/ssl.t TEST 8: set DER cert chain - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-ssl handshake: userdata
-received: it works!
-close: 1 nil
'
stream/ssl.t TEST 8: set DER cert chain - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:27 [alert] 24887\#0: worker process 25219 exited on signal 11" (req 1) 2020/10/27 05:34:27 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:27 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:27 [debug] 24887\#0: reap children
2020/10/27 05:34:27 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:27 [debug] 24887\#0: child: 1 25219 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:27 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:27 [notice] 24887\#0: start worker process 25220
2020/10/27 05:34:27 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:27 [debug] 25220\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 23: verify client with CA certificates - status code ok got: ''
expected: '200'
stream/ssl.t TEST 23: verify client with CA certificates - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'SUCCESS
'
stream/ssl.t TEST 23: verify client with CA certificates - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:29 [alert] 24887\#0: worker process 25227 exited on signal 11" (req 0) 2020/10/27 05:34:29 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:29 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:29 [debug] 24887\#0: reap children
2020/10/27 05:34:29 [debug] 24887\#0: child: 0 25227 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:29 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:29 [notice] 24887\#0: start worker process 25249
2020/10/27 05:34:29 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:29 [debug] 25249\#0: malloc: 087A52F8:12
2020/10/27 05:34:29 [debug] 25249\#0: malloc: 087A99F8:8
'
stream/ssl.t TEST 23: verify client with CA certificates - status code ok got: ''
expected: '200'
stream/ssl.t TEST 23: verify client with CA certificates - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'SUCCESS
'
stream/ssl.t TEST 23: verify client with CA certificates - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:29 [alert] 24887\#0: worker process 25249 exited on signal 11" (req 1) 2020/10/27 05:34:29 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:29 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:29 [debug] 24887\#0: reap children
2020/10/27 05:34:29 [debug] 24887\#0: child: 0 25249 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:29 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:29 [notice] 24887\#0: start worker process 25250
2020/10/27 05:34:29 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:29 [debug] 25250\#0: malloc: 087A52F8:12
2020/10/27 05:34:29 [debug] 25250\#0: malloc: 087A99F8:8
'
stream/ssl.t TEST 3: read SNI name via ssl.server_name() - status code ok got: ''
expected: '200'
stream/ssl.t TEST 3: read SNI name via ssl.server_name() - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-ssl handshake: userdata
-received: it works!
-close: 1 nil
'
stream/ssl.t TEST 3: read SNI name via ssl.server_name() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:31 [alert] 24887\#0: worker process 25257 exited on signal 11" (req 0) 2020/10/27 05:34:31 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:31 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:31 [debug] 24887\#0: reap children
2020/10/27 05:34:31 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:31 [debug] 24887\#0: child: 1 25257 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:31 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:31 [notice] 24887\#0: start worker process 25279
2020/10/27 05:34:31 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:31 [debug] 25279\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 3: read SNI name via ssl.server_name() - status code ok got: ''
expected: '200'
stream/ssl.t TEST 3: read SNI name via ssl.server_name() - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-ssl handshake: userdata
-received: it works!
-close: 1 nil
'
stream/ssl.t TEST 3: read SNI name via ssl.server_name() - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:31 [alert] 24887\#0: worker process 25279 exited on signal 11" (req 1) 2020/10/27 05:34:31 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:31 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:31 [debug] 24887\#0: reap children
2020/10/27 05:34:31 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:31 [debug] 24887\#0: child: 1 25279 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:31 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:31 [notice] 24887\#0: start worker process 25280
2020/10/27 05:34:31 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:31 [debug] 25280\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) - status code ok got: ''
expected: '200'
stream/ssl.t TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-connected: 1
-failed to do SSL handshake: handshake failed
'
stream/ssl.t TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:32 [alert] 24887\#0: worker process 25287 exited on signal 11" (req 0) 2020/10/27 05:34:32 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:32 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:32 [debug] 24887\#0: reap children
2020/10/27 05:34:32 [debug] 24887\#0: child: 0 25287 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:32 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:32 [notice] 24887\#0: start worker process 25309
2020/10/27 05:34:32 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:32 [debug] 25309\#0: malloc: 087A52F8:12
2020/10/27 05:34:32 [debug] 25309\#0: malloc: 087A99F8:8
'
stream/ssl.t TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) - status code ok got: ''
expected: '200'
stream/ssl.t TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-connected: 1
-failed to do SSL handshake: handshake failed
'
stream/ssl.t TEST 18: parse PEM cert and key to cdata (bad cert 2 in the chain) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:33 [alert] 24887\#0: worker process 25309 exited on signal 11" (req 1) 2020/10/27 05:34:33 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:33 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:33 [debug] 24887\#0: reap children
2020/10/27 05:34:33 [debug] 24887\#0: child: 0 25309 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:33 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:33 [notice] 24887\#0: start worker process 25310
2020/10/27 05:34:33 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:33 [debug] 25310\#0: malloc: 087A52F8:12
2020/10/27 05:34:33 [debug] 25310\#0: malloc: 087A99F8:8
'
stream/ssl.t TEST 1: clear certs - status code ok got: ''
expected: '200'
stream/ssl.t TEST 1: clear certs - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-connected: 1
-failed to do SSL handshake: handshake failed
'
stream/ssl.t TEST 1: clear certs - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:34 [alert] 24887\#0: worker process 25317 exited on signal 11" (req 0) 2020/10/27 05:34:34 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:34 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:34 [debug] 24887\#0: reap children
2020/10/27 05:34:34 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:34 [debug] 24887\#0: child: 1 25317 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:34 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:34 [notice] 24887\#0: start worker process 25339
2020/10/27 05:34:34 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:34 [debug] 25339\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 1: clear certs - status code ok got: ''
expected: '200'
stream/ssl.t TEST 1: clear certs - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-connected: 1
-failed to do SSL handshake: handshake failed
'
stream/ssl.t TEST 1: clear certs - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:34 [alert] 24887\#0: worker process 25339 exited on signal 11" (req 1) 2020/10/27 05:34:34 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:34 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:34 [debug] 24887\#0: reap children
2020/10/27 05:34:34 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:34 [debug] 24887\#0: child: 1 25339 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:34 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:34 [notice] 24887\#0: start worker process 25340
2020/10/27 05:34:34 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:34 [debug] 25340\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 11: tls version - TLSv1 - status code ok got: ''
expected: '200'
stream/ssl.t TEST 11: tls version - TLSv1 - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-connected: 1
-ssl handshake: boolean
'
stream/ssl.t TEST 11: tls version - TLSv1 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:36 [alert] 24887\#0: worker process 25347 exited on signal 11" (req 0) 2020/10/27 05:34:36 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:36 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:36 [debug] 24887\#0: reap children
2020/10/27 05:34:36 [debug] 24887\#0: child: 0 25347 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:36 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:36 [notice] 24887\#0: start worker process 25369
2020/10/27 05:34:36 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:36 [debug] 25369\#0: malloc: 087A52F8:12
2020/10/27 05:34:36 [debug] 25369\#0: malloc: 087A99F8:8
'
stream/ssl.t TEST 11: tls version - TLSv1 - status code ok got: ''
expected: '200'
stream/ssl.t TEST 11: tls version - TLSv1 - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-connected: 1
-ssl handshake: boolean
'
stream/ssl.t TEST 11: tls version - TLSv1 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:36 [alert] 24887\#0: worker process 25369 exited on signal 11" (req 1) 2020/10/27 05:34:36 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:36 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:36 [debug] 24887\#0: reap children
2020/10/27 05:34:36 [debug] 24887\#0: child: 0 25369 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:36 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:36 [notice] 24887\#0: start worker process 25370
2020/10/27 05:34:36 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:36 [debug] 25370\#0: malloc: 087A52F8:12
2020/10/27 05:34:36 [debug] 25370\#0: malloc: 087A99F8:8
'
stream/ssl.t TEST 16: parse PEM cert and key to cdata - status code ok got: ''
expected: '200'
stream/ssl.t TEST 16: parse PEM cert and key to cdata - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-ssl handshake: userdata
-received: it works!
-close: 1 nil
'
stream/ssl.t TEST 16: parse PEM cert and key to cdata - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:38 [alert] 24887\#0: worker process 25377 exited on signal 11" (req 0) 2020/10/27 05:34:38 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:38 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:38 [debug] 24887\#0: reap children
2020/10/27 05:34:38 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:38 [debug] 24887\#0: child: 1 25377 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:38 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:38 [notice] 24887\#0: start worker process 25399
2020/10/27 05:34:38 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:38 [debug] 25399\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 16: parse PEM cert and key to cdata - status code ok got: ''
expected: '200'
stream/ssl.t TEST 16: parse PEM cert and key to cdata - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-ssl handshake: userdata
-received: it works!
-close: 1 nil
'
stream/ssl.t TEST 16: parse PEM cert and key to cdata - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:38 [alert] 24887\#0: worker process 25399 exited on signal 11" (req 1) 2020/10/27 05:34:38 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:38 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:38 [debug] 24887\#0: reap children
2020/10/27 05:34:38 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:38 [debug] 24887\#0: child: 1 25399 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:38 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:38 [notice] 24887\#0: start worker process 25400
2020/10/27 05:34:38 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:38 [debug] 25400\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 25: verify client but client provides no certificate - status code ok got: ''
expected: '200'
stream/ssl.t TEST 25: verify client but client provides no certificate - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'NONE
'
stream/ssl.t TEST 25: verify client but client provides no certificate - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:40 [alert] 24887\#0: worker process 25407 exited on signal 11" (req 0) 2020/10/27 05:34:40 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:40 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:40 [debug] 24887\#0: reap children
2020/10/27 05:34:40 [debug] 24887\#0: child: 0 25407 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:40 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:40 [notice] 24887\#0: start worker process 25429
2020/10/27 05:34:40 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:40 [debug] 25429\#0: malloc: 087A52F8:12
2020/10/27 05:34:40 [debug] 25429\#0: malloc: 087A99F8:8
'
stream/ssl.t TEST 25: verify client but client provides no certificate - status code ok got: ''
expected: '200'
stream/ssl.t TEST 25: verify client but client provides no certificate - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'NONE
'
stream/ssl.t TEST 25: verify client but client provides no certificate - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:40 [alert] 24887\#0: worker process 25429 exited on signal 11" (req 1) 2020/10/27 05:34:40 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:40 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:40 [debug] 24887\#0: reap children
2020/10/27 05:34:40 [debug] 24887\#0: child: 0 25429 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:40 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:40 [notice] 24887\#0: start worker process 25430
2020/10/27 05:34:40 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:40 [debug] 25430\#0: malloc: 087A52F8:12
2020/10/27 05:34:40 [debug] 25430\#0: malloc: 087A99F8:8
'
stream/ssl.t TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) - status code ok got: ''
expected: '200'
stream/ssl.t TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-connected: 1
-failed to do SSL handshake: handshake failed
'
stream/ssl.t TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:41 [alert] 24887\#0: worker process 25437 exited on signal 11" (req 0) 2020/10/27 05:34:41 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:41 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:41 [debug] 24887\#0: reap children
2020/10/27 05:34:41 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:41 [debug] 24887\#0: child: 1 25437 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:41 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:41 [notice] 24887\#0: start worker process 25459
2020/10/27 05:34:41 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:41 [debug] 25459\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) - status code ok got: ''
expected: '200'
stream/ssl.t TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-connected: 1
-failed to do SSL handshake: handshake failed
'
stream/ssl.t TEST 17: parse PEM cert and key to cdata (bad cert 0 in the chain) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:42 [alert] 24887\#0: worker process 25459 exited on signal 11" (req 1) 2020/10/27 05:34:42 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:42 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:42 [debug] 24887\#0: reap children
2020/10/27 05:34:42 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:42 [debug] 24887\#0: child: 1 25459 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:42 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:42 [notice] 24887\#0: start worker process 25460
2020/10/27 05:34:42 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:42 [debug] 25460\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 14: ngx.semaphore in ssl_certificate_by_lua* - status code ok got: ''
expected: '200'
stream/ssl.t TEST 14: ngx.semaphore in ssl_certificate_by_lua* - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-connected: 1
-ssl handshake: boolean
'
stream/ssl.t TEST 14: ngx.semaphore in ssl_certificate_by_lua* - grep_error_log_out (req 0) @@ -1,4 +1,3 @@
stream lua semaphore new
stream lua semaphore wait
stream lua semaphore wait yielding
-stream lua semaphore post
'
stream/ssl.t TEST 14: ngx.semaphore in ssl_certificate_by_lua* - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:43 [alert] 24887\#0: worker process 25467 exited on signal 11" (req 0) 2020/10/27 05:34:43 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:43 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:43 [debug] 24887\#0: reap children
2020/10/27 05:34:43 [debug] 24887\#0: child: 0 25467 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:43 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:43 [notice] 24887\#0: start worker process 25489
2020/10/27 05:34:43 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:43 [debug] 25489\#0: malloc: 087A52F8:12
2020/10/27 05:34:43 [debug] 25489\#0: malloc: 087A99F8:8
'
stream/ssl.t TEST 14: ngx.semaphore in ssl_certificate_by_lua* - status code ok got: ''
expected: '200'
stream/ssl.t TEST 14: ngx.semaphore in ssl_certificate_by_lua* - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-connected: 1
-ssl handshake: boolean
'
stream/ssl.t TEST 14: ngx.semaphore in ssl_certificate_by_lua* - grep_error_log_out (req 1) @@ -1,4 +1,3 @@
stream lua semaphore new
stream lua semaphore wait
stream lua semaphore wait yielding
-stream lua semaphore post
'
stream/ssl.t TEST 14: ngx.semaphore in ssl_certificate_by_lua* - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:43 [alert] 24887\#0: worker process 25489 exited on signal 11" (req 1) 2020/10/27 05:34:43 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:43 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:43 [debug] 24887\#0: reap children
2020/10/27 05:34:43 [debug] 24887\#0: child: 0 25489 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:43 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:43 [notice] 24887\#0: start worker process 25490
2020/10/27 05:34:43 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:43 [debug] 25490\#0: malloc: 087A52F8:12
2020/10/27 05:34:43 [debug] 25490\#0: malloc: 087A99F8:8
'
stream/ssl.t TEST 13: tls version - TLSv1.2 - status code ok got: ''
expected: '200'
stream/ssl.t TEST 13: tls version - TLSv1.2 - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-connected: 1
-ssl handshake: boolean
'
stream/ssl.t TEST 13: tls version - TLSv1.2 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:45 [alert] 24887\#0: worker process 25497 exited on signal 11" (req 0) 2020/10/27 05:34:45 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:45 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:45 [debug] 24887\#0: reap children
2020/10/27 05:34:45 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:45 [debug] 24887\#0: child: 1 25497 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:45 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:45 [notice] 24887\#0: start worker process 25519
2020/10/27 05:34:45 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:45 [debug] 25519\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 13: tls version - TLSv1.2 - status code ok got: ''
expected: '200'
stream/ssl.t TEST 13: tls version - TLSv1.2 - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-connected: 1
-ssl handshake: boolean
'
stream/ssl.t TEST 13: tls version - TLSv1.2 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:45 [alert] 24887\#0: worker process 25519 exited on signal 11" (req 1) 2020/10/27 05:34:45 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:45 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:45 [debug] 24887\#0: reap children
2020/10/27 05:34:45 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:45 [debug] 24887\#0: child: 1 25519 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:45 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:45 [notice] 24887\#0: start worker process 25520
2020/10/27 05:34:45 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:45 [debug] 25520\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 21: yield during doing handshake with client which uses low version OpenSSL - status code ok got: ''
expected: '200'
stream/ssl.t TEST 21: yield during doing handshake with client which uses low version OpenSSL - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'ok
'
stream/ssl.t TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:47 [alert] 24887\#0: worker process 25527 exited on signal 11" (req 0) 2020/10/27 05:34:47 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:47 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:47 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:47 [debug] 24887\#0: reap children
2020/10/27 05:34:47 [debug] 24887\#0: child: 0 25527 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:47 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:47 [notice] 24887\#0: start worker process 25553
2020/10/27 05:34:47 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:47 [debug] 25553\#0: malloc: 087A52F8:12
'
stream/ssl.t TEST 21: yield during doing handshake with client which uses low version OpenSSL - status code ok got: ''
expected: '200'
stream/ssl.t TEST 21: yield during doing handshake with client which uses low version OpenSSL - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'ok
'
stream/ssl.t TEST 21: yield during doing handshake with client which uses low version OpenSSL - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:47 [alert] 24887\#0: worker process 25553 exited on signal 11" (req 1) 2020/10/27 05:34:47 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:47 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:47 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:47 [debug] 24887\#0: reap children
2020/10/27 05:34:47 [debug] 24887\#0: child: 0 25553 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:47 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:47 [notice] 24887\#0: start worker process 25558
2020/10/27 05:34:47 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:47 [debug] 25558\#0: malloc: 087A52F8:12
'
stream/ssl.t TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - status code ok got: ''
expected: '200'
stream/ssl.t TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +0,0 @@
-connected: 1
-ssl handshake: userdata
-received: it works!
-close: 1 nil
'
stream/ssl.t TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:49 [alert] 24887\#0: worker process 25567 exited on signal 11" (req 0) 2020/10/27 05:34:49 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:49 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:49 [debug] 24887\#0: reap children
2020/10/27 05:34:49 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:49 [debug] 24887\#0: child: 1 25567 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:49 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:49 [notice] 24887\#0: start worker process 25589
2020/10/27 05:34:49 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:49 [debug] 25589\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - status code ok got: ''
expected: '200'
stream/ssl.t TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +0,0 @@
-connected: 1
-ssl handshake: userdata
-received: it works!
-close: 1 nil
'
stream/ssl.t TEST 7: read raw server addr via ssl.raw_server_addr() (IPv6) - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:49 [alert] 24887\#0: worker process 25589 exited on signal 11" (req 1) 2020/10/27 05:34:49 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:49 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:49 [debug] 24887\#0: reap children
2020/10/27 05:34:49 [debug] 24887\#0: child: 0 -1 e:1 t:1 d:0 r:1 j:0
2020/10/27 05:34:49 [debug] 24887\#0: child: 1 25589 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:49 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:49 [notice] 24887\#0: start worker process 25590
2020/10/27 05:34:49 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:49 [debug] 25590\#0: malloc: 0879FF18:12
'
stream/ssl.t TEST 22: tls version - TLSv1.3 - status code ok got: ''
expected: '200'
stream/ssl.t TEST 22: tls version - TLSv1.3 - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-connected: 1
-ssl handshake: boolean
'
stream/ssl.t TEST 22: tls version - TLSv1.3 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:51 [alert] 24887\#0: worker process 25597 exited on signal 11" (req 0) 2020/10/27 05:34:51 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:51 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:51 [debug] 24887\#0: reap children
2020/10/27 05:34:51 [debug] 24887\#0: child: 0 25597 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:51 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:51 [notice] 24887\#0: start worker process 25619
2020/10/27 05:34:51 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:51 [debug] 25619\#0: malloc: 087A52F8:12
2020/10/27 05:34:51 [debug] 25619\#0: malloc: 087A99F8:8
'
stream/ssl.t TEST 22: tls version - TLSv1.3 - status code ok got: ''
expected: '200'
stream/ssl.t TEST 22: tls version - TLSv1.3 - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-connected: 1
-ssl handshake: boolean
'
stream/ssl.t TEST 22: tls version - TLSv1.3 - pattern "[alert]" should not match any line in error.log but matches line "2020/10/27 05:34:51 [alert] 24887\#0: worker process 25619 exited on signal 11" (req 1) 2020/10/27 05:34:51 [debug] 24887\#0: shmtx forced unlock
2020/10/27 05:34:51 [debug] 24887\#0: wake up, sigio 0
2020/10/27 05:34:51 [debug] 24887\#0: reap children
2020/10/27 05:34:51 [debug] 24887\#0: child: 0 25619 e:0 t:1 d:0 r:1 j:0
2020/10/27 05:34:51 [debug] 24887\#0: channel 3:4
2020/10/27 05:34:51 [notice] 24887\#0: start worker process 25620
2020/10/27 05:34:51 [debug] 24887\#0: sigsuspend
2020/10/27 05:34:51 [debug] 25620\#0: malloc: 087A52F8:12
2020/10/27 05:34:51 [debug] 25620\#0: malloc: 087A99F8:8
'
stream/time.t TEST 1: ngx.now() - status code ok got: ''
expected: '200'
stream/time.t TEST 1: ngx.now() - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-true
->= 0.099: true
-< 0.11: true
'
stream/time.t TEST 1: ngx.now() - status code ok got: ''
expected: '200'
stream/time.t TEST 1: ngx.now() - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-true
->= 0.099: true
-< 0.11: true
'
stream/time.t TEST 5: ngx.localtime() - status code ok got: ''
expected: '200'
stream/time.t TEST 5: ngx.localtime() - response_body_like - response is expected () ''
doesn't match '(?^s:^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$)'
stream/time.t TEST 5: ngx.localtime() - status code ok got: ''
expected: '200'
stream/time.t TEST 5: ngx.localtime() - response_body_like - response is expected () ''
doesn't match '(?^s:^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$)'
stream/time.t TEST 2: ngx.time() - status code ok got: ''
expected: '200'
stream/time.t TEST 2: ngx.time() - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-true
-true
'
stream/time.t TEST 2: ngx.time() - status code ok got: ''
expected: '200'
stream/time.t TEST 2: ngx.time() - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-true
-true
'
stream/time.t TEST 3: ngx.update_time() - status code ok got: ''
expected: '200'
stream/time.t TEST 3: ngx.update_time() - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'true
'
stream/time.t TEST 3: ngx.update_time() - status code ok got: ''
expected: '200'
stream/time.t TEST 3: ngx.update_time() - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'true
'
stream/time.t TEST 4: ngx.today() - status code ok got: ''
expected: '200'
stream/time.t TEST 4: ngx.today() - response_body_like - response is expected () ''
doesn't match '(?^s:^\d{4}-\d{2}-\d{2})'
stream/time.t TEST 4: ngx.today() - status code ok got: ''
expected: '200'
stream/time.t TEST 4: ngx.today() - response_body_like - response is expected () ''
doesn't match '(?^s:^\d{4}-\d{2}-\d{2})'
stream/time.t TEST 6: ngx.utctime() - status code ok got: ''
expected: '200'
stream/time.t TEST 6: ngx.utctime() - response_body_like - response is expected () ''
doesn't match '(?^s:^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$)'
stream/time.t TEST 6: ngx.utctime() - status code ok got: ''
expected: '200'
stream/time.t TEST 6: ngx.utctime() - response_body_like - response is expected () ''
doesn't match '(?^s:^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$)'
time.t TEST 7: ngx.cookie_time() - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
Thu, 18-Nov-10 11:27:35 GMT
-Sun, 18-Sep-2039 23:06:40 GMT
+Thu, 01-Jan-70 00:00:00 GMT
'
time.t TEST 7: ngx.cookie_time() - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
Thu, 18-Nov-10 11:27:35 GMT
-Sun, 18-Sep-2039 23:06:40 GMT
+Thu, 01-Jan-70 00:00:00 GMT
'

Expected Failures

File Name Details
errlog.t TEST 31: ringbuf sentinel bug2 - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
log lines: \#18
-log lines: \#8
+log lines: \#10
'
errlog.t nginx: [emerg] invalid number of arguments in "lua_capture_error_log" directive in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:25
errlog.t nginx: [emerg] invalid capture error log size "3k", minimum size is 4096 in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:25
errlog.t TEST 22: user-supplied Lua table to hold the result (get one log + no log) - response_body_like - response is expected (maybe log lines: \#10 log level:6 log body:2020/10/27 05:10:59 [notice] 3337\#0: start worker processes log level:7 log body:2020/10/27 05:11:00 [info] 3425\#0: *74 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:00 [info] 3425\#0: *75 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:00 [info] 3425\#0: *76 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:00 [info] 3425\#0: *77 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:00 [info] 3425\#0: *78 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:00 [info] 3425\#0: *79 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:00 [info] 3425\#0: *80 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:00 [info] 3425\#0: *81 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:00 [info] 3425\#0: *82 client 127.0.0.1 closed keepalive connection end maybe log lines: \#10 log level:7 log body:2020/10/27 05:11:00 [info] 3425\#0: *83 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:00 [info] 3425\#0: *84 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:00 [info] 3425\#0: *85 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:00 [info] 3425\#0: *86 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:00 [info] 3425\#0: *87 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:00 [info] 3425\#0: *88 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:00 [info] 3425\#0: *89 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:00 [info] 3425\#0: *90 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:00 [info] 3425\#0: *91 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:01 [info] 3425\#0: *92 client 127.0.0.1 closed keepalive connection end) 'maybe log lines: #10
log level:6
log body:2020/10/27 05:10:59 [notice] 3337#0: start worker processes
log level:7
log body:2020/10/27 05:11:00 [info] 3425#0: *74 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:00 [info] 3425#0: *75 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:00 [info] 3425#0: *76 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:00 [info] 3425#0: *77 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:00 [info] 3425#0: *78 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:00 [info] 3425#0: *79 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:00 [info] 3425#0: *80 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:00 [info] 3425#0: *81 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:00 [info] 3425#0: *82 client 127.0.0.1 closed keepalive connection
end
maybe log lines: #10
log level:7
log body:2020/10/27 05:11:00 [info] 3425#0: *83 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:00 [info] 3425#0: *84 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:00 [info] 3425#0: *85 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:00 [info] 3425#0: *86 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:00 [info] 3425#0: *87 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:00 [info] 3425#0: *88 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:00 [info] 3425#0: *89 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:00 [info] 3425#0: *90 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:00 [info] 3425#0: *91 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:01 [info] 3425#0: *92 client 127.0.0.1 closed keepalive connection
end
'
doesn't match '(?^s:\Amaybe log lines: #1
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: -->
new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
end
maybe log lines: #1
end
\z)'
errlog.t TEST 22: user-supplied Lua table to hold the result (get one log + no log) - response_body_like - response is expected (maybe log lines: \#3 log level:7 log body:2020/10/27 05:11:01 [info] 3425\#0: *93 client 127.0.0.1 closed keepalive connection log level:4 log body:2020/10/27 05:11:01 [error] 3425\#0: *94 [lua] access_by_lua(nginx.conf:66):8: --> new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level:4 log body:2020/10/27 05:11:01 [error] 3425\#0: *95 [lua] access_by_lua(nginx.conf:66):8: --> new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" end maybe log lines: \#3 end) 'maybe log lines: #3
log level:7
log body:2020/10/27 05:11:01 [info] 3425#0: *93 client 127.0.0.1 closed keepalive connection
log level:4
log body:2020/10/27 05:11:01 [error] 3425#0: *94 [lua] access_by_lua(nginx.conf:66):8: -->
new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:2020/10/27 05:11:01 [error] 3425#0: *95 [lua] access_by_lua(nginx.conf:66):8: -->
new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
end
maybe log lines: #3
end
'
doesn't match '(?^s:\Amaybe log lines: #1
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: -->
new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
end
maybe log lines: #1
end
\z)'
errlog.t TEST 29: ringbuf overflow bug - response_body_like - response is expected (log level: 4 log time: 1603775465.321 log body: 2020/10/27 05:11:05 [error] 3506\#0: *163 [lua] content_by_lua(nginx.conf:84):8: **********21, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603775465.321 log body: 2020/10/27 05:11:05 [error] 3506\#0: *163 [lua] content_by_lua(nginx.conf:84):8: **********22, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603775465.321 log body: 2020/10/27 05:11:05 [error] 3506\#0: *163 [lua] content_by_lua(nginx.conf:84):8: **********23, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603775465.321 log body: 2020/10/27 05:11:05 [error] 3506\#0: *163 [lua] content_by_lua(nginx.conf:84):8: **********24, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603775465.321 log body: 2020/10/27 05:11:05 [error] 3506\#0: *163 [lua] content_by_lua(nginx.conf:84):8: **********25, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603775465.321 log body: 2020/10/27 05:11:05 [error] 3506\#0: *163 [lua] content_by_lua(nginx.conf:84):8: **********26, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603775465.321 log body: 2020/10/27 05:11:05 [error] 3506\#0: *163 [lua] content_by_lua(nginx.conf:84):8: **********27, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603775465.321 log body: 2020/10/27 05:11:05 [error] 3506\#0: *163 [lua] content_by_lua(nginx.conf:84):8: **********28, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603775465.321 log body: 2020/10/27 05:11:05 [error] 3506\#0: *163 [lua] content_by_lua(nginx.conf:84):8: **********29, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603775465.321 log body: 2020/10/27 05:11:05 [error] 3506\#0: *163 [lua] content_by_lua(nginx.conf:84):8: **********30, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost") 'log level: 4
log time: 1603775465.321
log body: 2020/10/27 05:11:05 [error] 3506#0: *163 [lua] content_by_lua(nginx.conf:84):8: **********21, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1603775465.321
log body: 2020/10/27 05:11:05 [error] 3506#0: *163 [lua] content_by_lua(nginx.conf:84):8: **********22, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1603775465.321
log body: 2020/10/27 05:11:05 [error] 3506#0: *163 [lua] content_by_lua(nginx.conf:84):8: **********23, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1603775465.321
log body: 2020/10/27 05:11:05 [error] 3506#0: *163 [lua] content_by_lua(nginx.conf:84):8: **********24, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1603775465.321
log body: 2020/10/27 05:11:05 [error] 3506#0: *163 [lua] content_by_lua(nginx.conf:84):8: **********25, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1603775465.321
log body: 2020/10/27 05:11:05 [error] 3506#0: *163 [lua] content_by_lua(nginx.conf:84):8: **********26, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1603775465.321
log body: 2020/10/27 05:11:05 [error] 3506#0: *163 [lua] content_by_lua(nginx.conf:84):8: **********27, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1603775465.321
log body: 2020/10/27 05:11:05 [error] 3506#0: *163 [lua] content_by_lua(nginx.conf:84):8: **********28, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1603775465.321
log body: 2020/10/27 05:11:05 [error] 3506#0: *163 [lua] content_by_lua(nginx.conf:84):8: **********29, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1603775465.321
log body: 2020/10/27 05:11:05 [error] 3506#0: *163 [lua] content_by_lua(nginx.conf:84):8: **********30, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
'
doesn't match '(?^s:log level: 4
log time: \d+(?:\.\d+)?
log body: \d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: \*\*\*\*\*\*\*\*\*\*39, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: \d{10}(?:\.\d+)?
log body: \d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: \*\*\*\*\*\*\*\*\*\*40, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost")'
errlog.t TEST 29: ringbuf overflow bug - response_body_like - response is expected (log level: 4 log time: 1603775465.383 log body: 2020/10/27 05:11:05 [error] 3506\#0: *164 [lua] content_by_lua(nginx.conf:84):8: **********29, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603775465.383 log body: 2020/10/27 05:11:05 [error] 3506\#0: *164 [lua] content_by_lua(nginx.conf:84):8: **********30, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603775465.383 log body: 2020/10/27 05:11:05 [error] 3506\#0: *164 [lua] content_by_lua(nginx.conf:84):8: **********31, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603775465.383 log body: 2020/10/27 05:11:05 [error] 3506\#0: *164 [lua] content_by_lua(nginx.conf:84):8: **********32, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603775465.383 log body: 2020/10/27 05:11:05 [error] 3506\#0: *164 [lua] content_by_lua(nginx.conf:84):8: **********33, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603775465.383 log body: 2020/10/27 05:11:05 [error] 3506\#0: *164 [lua] content_by_lua(nginx.conf:84):8: **********34, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603775465.383 log body: 2020/10/27 05:11:05 [error] 3506\#0: *164 [lua] content_by_lua(nginx.conf:84):8: **********35, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603775465.383 log body: 2020/10/27 05:11:05 [error] 3506\#0: *164 [lua] content_by_lua(nginx.conf:84):8: **********36, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603775465.383 log body: 2020/10/27 05:11:05 [error] 3506\#0: *164 [lua] content_by_lua(nginx.conf:84):8: **********37, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost" log level: 4 log time: 1603775465.383 log body: 2020/10/27 05:11:05 [error] 3506\#0: *164 [lua] content_by_lua(nginx.conf:84):8: **********38, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost") 'log level: 4
log time: 1603775465.383
log body: 2020/10/27 05:11:05 [error] 3506#0: *164 [lua] content_by_lua(nginx.conf:84):8: **********29, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1603775465.383
log body: 2020/10/27 05:11:05 [error] 3506#0: *164 [lua] content_by_lua(nginx.conf:84):8: **********30, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1603775465.383
log body: 2020/10/27 05:11:05 [error] 3506#0: *164 [lua] content_by_lua(nginx.conf:84):8: **********31, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1603775465.383
log body: 2020/10/27 05:11:05 [error] 3506#0: *164 [lua] content_by_lua(nginx.conf:84):8: **********32, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1603775465.383
log body: 2020/10/27 05:11:05 [error] 3506#0: *164 [lua] content_by_lua(nginx.conf:84):8: **********33, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1603775465.383
log body: 2020/10/27 05:11:05 [error] 3506#0: *164 [lua] content_by_lua(nginx.conf:84):8: **********34, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1603775465.383
log body: 2020/10/27 05:11:05 [error] 3506#0: *164 [lua] content_by_lua(nginx.conf:84):8: **********35, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1603775465.383
log body: 2020/10/27 05:11:05 [error] 3506#0: *164 [lua] content_by_lua(nginx.conf:84):8: **********36, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1603775465.383
log body: 2020/10/27 05:11:05 [error] 3506#0: *164 [lua] content_by_lua(nginx.conf:84):8: **********37, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: 1603775465.383
log body: 2020/10/27 05:11:05 [error] 3506#0: *164 [lua] content_by_lua(nginx.conf:84):8: **********38, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
'
doesn't match '(?^s:log level: 4
log time: \d+(?:\.\d+)?
log body: \d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: \*\*\*\*\*\*\*\*\*\*39, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level: 4
log time: \d{10}(?:\.\d+)?
log body: \d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: \*\*\*\*\*\*\*\*\*\*40, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost")'
errlog.t TEST 13: filter log by level(ngx.CRIT) - response_body - response is expected (repeated req 0, req 0) got: 'log lines:10
'
expected: 'log lines:0
'
errlog.t TEST 13: filter log by level(ngx.CRIT) - response_body - response is expected (repeated req 1, req 0) got: 'log lines:10
'
expected: 'log lines:0
'
errlog.t TEST 12: filter log by level(ngx.WARN) - response_body - response is expected (repeated req 0, req 0) got: 'log lines:10
'
expected: 'log lines:2
'
errlog.t TEST 12: filter log by level(ngx.WARN) - response_body - response is expected (repeated req 1, req 0) got: 'log lines:10
'
expected: 'log lines:2
'
errlog.t TEST 11: filter log by level(ngx.INFO) - response_body - response is expected (repeated req 0, req 0) got: 'log lines:10
'
expected: 'log lines:3
'
errlog.t TEST 11: filter log by level(ngx.INFO) - response_body - response is expected (repeated req 1, req 0) got: 'log lines:10
'
expected: 'log lines:3
'
errlog.t TEST 16: check the captured error log body - response_body_like - response is expected (log level:6 log body:2020/10/27 05:11:11 [notice] 3337\#0: start worker processes log level:7 log body:2020/10/27 05:11:11 [info] 3641\#0: *258 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:11 [info] 3641\#0: *259 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:11 [info] 3641\#0: *260 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:11 [info] 3641\#0: *261 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:11 [info] 3641\#0: *262 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:11 [info] 3641\#0: *263 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:11 [info] 3641\#0: *264 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:11 [info] 3641\#0: *265 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:11 [info] 3641\#0: *266 client 127.0.0.1 closed keepalive connection) 'log level:6
log body:2020/10/27 05:11:11 [notice] 3337#0: start worker processes
log level:7
log body:2020/10/27 05:11:11 [info] 3641#0: *258 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:11 [info] 3641#0: *259 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:11 [info] 3641#0: *260 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:11 [info] 3641#0: *261 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:11 [info] 3641#0: *262 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:11 [info] 3641#0: *263 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:11 [info] 3641#0: *264 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:11 [info] 3641#0: *265 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:11 [info] 3641#0: *266 client 127.0.0.1 closed keepalive connection
'
doesn't match '(?^s:log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: -->2, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: -->3, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
)'
errlog.t TEST 16: check the captured error log body - response_body_like - response is expected (log level:7 log body:2020/10/27 05:11:11 [info] 3641\#0: *267 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:11 [info] 3641\#0: *268 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:11 [info] 3641\#0: *269 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:11 [info] 3641\#0: *270 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:12 [info] 3641\#0: *271 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:12 [info] 3641\#0: *272 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:12 [info] 3641\#0: *273 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:12 [info] 3641\#0: *274 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:12 [info] 3641\#0: *275 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:12 [info] 3641\#0: *276 client 127.0.0.1 closed keepalive connection) 'log level:7
log body:2020/10/27 05:11:11 [info] 3641#0: *267 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:11 [info] 3641#0: *268 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:11 [info] 3641#0: *269 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:11 [info] 3641#0: *270 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:12 [info] 3641#0: *271 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:12 [info] 3641#0: *272 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:12 [info] 3641#0: *273 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:12 [info] 3641#0: *274 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:12 [info] 3641#0: *275 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:12 [info] 3641#0: *276 client 127.0.0.1 closed keepalive connection
'
doesn't match '(?^s:log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: -->2, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: -->3, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
)'
errlog.t TEST 21: multi-line error log - response_body_like - response is expected (log lines: \#10 log level:6 log body:2020/10/27 05:11:13 [notice] 3337\#0: start worker processes log level:7 log body:2020/10/27 05:11:14 [info] 3695\#0: *304 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:14 [info] 3695\#0: *305 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:14 [info] 3695\#0: *306 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:14 [info] 3695\#0: *307 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:14 [info] 3695\#0: *308 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:14 [info] 3695\#0: *309 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:14 [info] 3695\#0: *310 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:14 [info] 3695\#0: *311 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:14 [info] 3695\#0: *312 client 127.0.0.1 closed keepalive connection) 'log lines: #10
log level:6
log body:2020/10/27 05:11:13 [notice] 3337#0: start worker processes
log level:7
log body:2020/10/27 05:11:14 [info] 3695#0: *304 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:14 [info] 3695#0: *305 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:14 [info] 3695#0: *306 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:14 [info] 3695#0: *307 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:14 [info] 3695#0: *308 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:14 [info] 3695#0: *309 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:14 [info] 3695#0: *310 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:14 [info] 3695#0: *311 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:14 [info] 3695#0: *312 client 127.0.0.1 closed keepalive connection
'
doesn't match '(?^s:\Alog lines: #1
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: -->
new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
\z)'
errlog.t TEST 21: multi-line error log - response_body_like - response is expected (log lines: \#10 log level:7 log body:2020/10/27 05:11:14 [info] 3695\#0: *313 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:14 [info] 3695\#0: *314 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:14 [info] 3695\#0: *315 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:14 [info] 3695\#0: *316 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:14 [info] 3695\#0: *317 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:14 [info] 3695\#0: *318 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:14 [info] 3695\#0: *319 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:14 [info] 3695\#0: *320 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:15 [info] 3695\#0: *321 client 127.0.0.1 closed keepalive connection log level:7 log body:2020/10/27 05:11:15 [info] 3695\#0: *322 client 127.0.0.1 closed keepalive connection) 'log lines: #10
log level:7
log body:2020/10/27 05:11:14 [info] 3695#0: *313 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:14 [info] 3695#0: *314 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:14 [info] 3695#0: *315 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:14 [info] 3695#0: *316 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:14 [info] 3695#0: *317 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:14 [info] 3695#0: *318 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:14 [info] 3695#0: *319 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:14 [info] 3695#0: *320 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:15 [info] 3695#0: *321 client 127.0.0.1 closed keepalive connection
log level:7
log body:2020/10/27 05:11:15 [info] 3695#0: *322 client 127.0.0.1 closed keepalive connection
'
doesn't match '(?^s:\Alog lines: #1
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*access_by_lua\(nginx.conf:\d+\):\d+: -->
new line, client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: "localhost"
\z)'
errlog.t TEST 30: ringbuf sentinel bug1 - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
log lines: \#2
-AAA
+aaa
aaa
'
process-type-single.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) got: "process type: worker\x{0a}"
length: 21
expected: "process type: single\x{0a}"
length: 21
strings begin to differ at char 15 (line 1 column 15)
process-type-single.t TEST 1: sanity - grep_error_log_out (req 0) '[TRACE 1 init_by_lua:18 loop]
[TRACE 2 init_worker_by_lua:4 loop]
[TRACE 2 content_by_lua(nginx.conf:84):4 loop]
process type in init_by_lua*: master
init_worker_by_lua:10: process type: worker
'
doesn't match '(?^:\[TRACE\s+\d+ init_by_lua:\d+ loop\]
\[TRACE\s+\d+ init_worker_by_lua:\d+ loop\]
\[TRACE\s+\d+ content_by_lua\(nginx.conf:\d+\):4 loop\]
process type in init_by_lua\*: single
init_worker_by_lua:10: process type: single
)'
process-type-single.t TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) got: "process type: worker\x{0a}"
length: 21
expected: "process type: single\x{0a}"
length: 21
strings begin to differ at char 15 (line 1 column 15)
process-type-single.t TEST 1: sanity - grep_error_log_out (req 1) '[TRACE 1 init_by_lua:18 loop]
[TRACE 2 init_worker_by_lua:4 loop]
[TRACE 2 content_by_lua(nginx.conf:84):4 loop]
process type in init_by_lua*: master
init_worker_by_lua:10: process type: worker
'
doesn't match '(?^:\[TRACE\s+\d+ init_by_lua:\d+ loop\]
\[TRACE\s+\d+ init_worker_by_lua:\d+ loop\]
\[TRACE\s+\d+ content_by_lua\(nginx.conf:\d+\):4 loop\]
process type in init_by_lua\*: single
init_worker_by_lua:10: process type: single
)'
re-opt.t TEST 1: default jit_stack_size too small - response_body - response is expected (repeated req 0, req 0) got: 'from: 1
to: 1563
'
expected: 'error: pcre_exec() failed: -27
'
re-opt.t TEST 1: default jit_stack_size too small - response_body - response is expected (repeated req 1, req 0) got: 'from: 1
to: 1563
'
expected: 'error: pcre_exec() failed: -27
'
semaphore.t TEST 17: semaphore post in all phase (in a request) - grep_error_log_out (req 0) got: 'sem: timeout,
sem: 6 times,
'
expected: 'sem: 6 times,
'
semaphore.t TEST 18: semaphore wait post in access_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:22:10 [error] 13999\#0: *637 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/10/27 05:22:10 [debug] 13999\#0: http lua semaphore wait: 097175E4, timeout: 1000, resources: 0, event posted: 0
2020/10/27 05:22:10 [debug] 13999\#0: *637 event timer add: 0: 1000:6565721
2020/10/27 05:22:10 [debug] 13999\#0: http lua semaphore wait yielding
2020/10/27 05:22:10 [debug] 13999\#0: *637 lua resume returned 1
2020/10/27 05:22:10 [debug] 13999\#0: *637 lua thread yielded
2020/10/27 05:22:10 [debug] 13999\#0: *637 lua run thread returned -2
2020/10/27 05:22:10 [debug] 13999\#0: worker cycle
2020/10/27 05:22:10 [debug] 13999\#0: epoll timer: 1000
2020/10/27 05:22:10 [debug] 14027\#0: epoll: fd:7 ev:0001 d:096F2488
'
semaphore.t TEST 18: semaphore wait post in access_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:22:11 [error] 13999\#0: *637 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 1) 2020/10/27 05:22:11 [debug] 13999\#0: http lua semaphore wait: 097175E4, timeout: 1000, resources: 0, event posted: 0
2020/10/27 05:22:11 [debug] 13999\#0: *637 event timer add: 0: 1000:6566721
2020/10/27 05:22:11 [debug] 13999\#0: http lua semaphore wait yielding
2020/10/27 05:22:11 [debug] 13999\#0: *637 lua resume returned 1
2020/10/27 05:22:11 [debug] 13999\#0: *637 lua thread yielded
2020/10/27 05:22:11 [debug] 13999\#0: *637 lua run thread returned -2
2020/10/27 05:22:11 [debug] 13999\#0: worker cycle
'
semaphore.t TEST 9: semaphore in set_by_lua (wait is not allowed) - grep_error_log_out (req 0) @@ -1,2 +1,4 @@
+sem: timeout,
+sem: 6 times,
sem: 1,
sem: API disabled in the context of set_by_lua*,
'
semaphore.t TEST 3: semaphore wait time=0 - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:22:13 [error] 13999\#0: *637 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/10/27 05:22:13 [debug] 13264\#0: malloc: 096FA478:8
2020/10/27 05:22:13 [debug] 13999\#0: http lua semaphore wait: 097175E4, timeout: 1000, resources: 0, event posted: 0
2020/10/27 05:22:13 [debug] 13264\#0: malloc: 096D5D00:8
2020/10/27 05:22:13 [debug] 13999\#0: *637 event timer add: 0: 1000:6568721
2020/10/27 05:22:13 [debug] 13264\#0: malloc: 09710390:8
2020/10/27 05:22:13 [debug] 13999\#0: http lua semaphore wait yielding
2020/10/27 05:22:13 [debug] 13264\#0: malloc: 097103A0:272
2020/10/27 05:22:13 [debug] 13999\#0: *637 lua resume returned 1
2020/10/27 05:22:13 [debug] 13264\#0: malloc: 097104B8:8
'
semaphore.t TEST 3: semaphore wait time=0 - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:22:14 [error] 13999\#0: *637 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/10/27 05:22:14 [debug] 14083\#0: timer delta: 4
2020/10/27 05:22:14 [debug] 13999\#0: http lua semaphore wait: 097175E4, timeout: 1000, resources: 0, event posted: 0
2020/10/27 05:22:14 [debug] 14083\#0: worker cycle
2020/10/27 05:22:14 [debug] 13999\#0: *637 event timer add: 0: 1000:6569721
2020/10/27 05:22:14 [debug] 14083\#0: epoll timer: -1
2020/10/27 05:22:14 [debug] 13999\#0: http lua semaphore wait yielding
2020/10/27 05:22:14 [debug] 13999\#0: *637 lua resume returned 1
2020/10/27 05:22:14 [debug] 13999\#0: *637 lua thread yielded
2020/10/27 05:22:14 [debug] 13999\#0: *637 lua run thread returned -2
'
semaphore.t TEST 39: basic semaphore count (negative number) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:22:15 [error] 13999\#0: *637 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/10/27 05:22:15 [debug] 14110\#0: *734 free: 096CBCD0, unused: 0
2020/10/27 05:22:15 [debug] 13999\#0: http lua semaphore wait: 097175E4, timeout: 1000, resources: 0, event posted: 0
2020/10/27 05:22:15 [debug] 14110\#0: *734 free: 096D1898, unused: 0
2020/10/27 05:22:15 [debug] 13999\#0: *637 event timer add: 0: 1000:6570721
2020/10/27 05:22:15 [debug] 14110\#0: *734 free: 096C8F10, unused: 0
2020/10/27 05:22:15 [debug] 13999\#0: http lua semaphore wait yielding
2020/10/27 05:22:15 [debug] 14110\#0: *734 free: 096E88A0, unused: 0
2020/10/27 05:22:15 [debug] 13999\#0: *637 lua resume returned 1
2020/10/27 05:22:15 [debug] 14110\#0: timer delta: 4
'
semaphore.t TEST 39: basic semaphore count (negative number) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:22:16 [error] 13999\#0: *637 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/10/27 05:22:16 [debug] 13999\#0: http lua semaphore wait: 097175E4, timeout: 1000, resources: 0, event posted: 0
2020/10/27 05:22:16 [debug] 13999\#0: *637 event timer add: 0: 1000:6571721
2020/10/27 05:22:16 [debug] 13999\#0: http lua semaphore wait yielding
2020/10/27 05:22:16 [debug] 13999\#0: *637 lua resume returned 1
2020/10/27 05:22:16 [debug] 13999\#0: *637 lua thread yielded
2020/10/27 05:22:16 [debug] 13999\#0: *637 lua run thread returned -2
2020/10/27 05:22:16 [debug] 13999\#0: worker cycle
2020/10/27 05:22:16 [debug] 13999\#0: epoll timer: 1000
2020/10/27 05:22:16 [debug] 14110\#0: epoll: fd:7 ev:0001 d:096EF020
'
semaphore.t TEST 38: basic semaphore count - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:22:19 [error] 13999\#0: *637 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/10/27 05:22:19 [debug] 13999\#0: http lua semaphore wait: 097175E4, timeout: 1000, resources: 0, event posted: 0
2020/10/27 05:22:19 [debug] 13999\#0: *637 event timer add: 0: 1000:6574725
2020/10/27 05:22:19 [debug] 13999\#0: http lua semaphore wait yielding
2020/10/27 05:22:19 [debug] 13999\#0: *637 lua resume returned 1
2020/10/27 05:22:19 [debug] 13999\#0: *637 lua thread yielded
2020/10/27 05:22:19 [debug] 13999\#0: *637 lua run thread returned -2
2020/10/27 05:22:19 [debug] 13999\#0: worker cycle
2020/10/27 05:22:19 [debug] 13999\#0: epoll timer: 1000
2020/10/27 05:22:19 [debug] 14166\#0: epoll: fd:7 ev:0001 d:096ED818
'
semaphore.t TEST 23: semaphore post in set_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:22:20 [error] 13999\#0: *637 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/10/27 05:22:20 [debug] 13999\#0: http lua semaphore wait: 097175E4, timeout: 1000, resources: 0, event posted: 0
2020/10/27 05:22:20 [debug] 13999\#0: *637 event timer add: 0: 1000:6575725
2020/10/27 05:22:20 [debug] 13999\#0: http lua semaphore wait yielding
2020/10/27 05:22:20 [debug] 13999\#0: *637 lua resume returned 1
2020/10/27 05:22:20 [debug] 13999\#0: *637 lua thread yielded
2020/10/27 05:22:20 [debug] 13999\#0: *637 lua run thread returned -2
2020/10/27 05:22:20 [debug] 13999\#0: worker cycle
2020/10/27 05:22:20 [debug] 13999\#0: epoll timer: 1000
2020/10/27 05:22:20 [notice] 13264\#0: signal 1 (SIGHUP) received from 14192, reconfiguring
'
semaphore.t TEST 23: semaphore post in set_by_lua - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:22:21 [error] 13999\#0: *637 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/10/27 05:22:21 [debug] 13999\#0: http lua semaphore wait: 097175E4, timeout: 1000, resources: 0, event posted: 0
2020/10/27 05:22:21 [debug] 13999\#0: *637 event timer add: 0: 1000:6576725
2020/10/27 05:22:21 [debug] 13999\#0: http lua semaphore wait yielding
2020/10/27 05:22:21 [debug] 13999\#0: *637 lua resume returned 1
2020/10/27 05:22:21 [debug] 13999\#0: *637 lua thread yielded
2020/10/27 05:22:21 [debug] 13999\#0: *637 lua run thread returned -2
2020/10/27 05:22:21 [debug] 13999\#0: worker cycle
2020/10/27 05:22:21 [debug] 13999\#0: epoll timer: 1000
2020/10/27 05:22:21 [debug] 14194\#0: epoll: fd:7 ev:0001 d:096F2488
'
semaphore.t TEST 31: multi wait and mult post with one semaphore - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:22:25 [error] 13999\#0: *637 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/10/27 05:22:25 [debug] 14249\#0: *857 free: 096C8D80, unused: 0
2020/10/27 05:22:25 [debug] 13999\#0: http lua semaphore wait: 097175E4, timeout: 1000, resources: 0, event posted: 0
2020/10/27 05:22:25 [debug] 14249\#0: *857 free: 096D2640, unused: 0
2020/10/27 05:22:25 [debug] 13999\#0: *637 event timer add: 0: 1000:6580729
2020/10/27 05:22:25 [debug] 14249\#0: *857 free: 096CBA70, unused: 0
2020/10/27 05:22:25 [debug] 13999\#0: http lua semaphore wait yielding
2020/10/27 05:22:25 [debug] 14249\#0: *857 free: 096F2468, unused: 0
2020/10/27 05:22:25 [debug] 13999\#0: *637 lua resume returned 1
2020/10/27 05:22:25 [debug] 14249\#0: *857 free: 096F6860, unused: 0
'
semaphore.t TEST 31: multi wait and mult post with one semaphore - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:22:26 [error] 13999\#0: *637 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/10/27 05:22:26 [debug] 13999\#0: http lua semaphore wait: 097175E4, timeout: 1000, resources: 0, event posted: 0
2020/10/27 05:22:26 [debug] 13999\#0: *637 event timer add: 0: 1000:6581730
2020/10/27 05:22:26 [debug] 13999\#0: http lua semaphore wait yielding
2020/10/27 05:22:26 [debug] 13999\#0: *637 lua resume returned 1
2020/10/27 05:22:26 [debug] 13999\#0: *637 lua thread yielded
2020/10/27 05:22:26 [debug] 13999\#0: *637 lua run thread returned -2
2020/10/27 05:22:26 [debug] 13999\#0: worker cycle
2020/10/27 05:22:26 [debug] 13999\#0: epoll timer: 1000
2020/10/27 05:22:26 [debug] 14249\#0: epoll: fd:7 ev:0001 d:09712BD8
'
semaphore.t TEST 32: semaphore wait time is zero - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:22:30 [error] 13999\#0: *637 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/10/27 05:22:30 [debug] 14277\#0: in lua gc, semaphore 09781914
2020/10/27 05:22:30 [error] 13999\#0: *637 [lua] init_worker_by_lua:18: sem: 6 times, context: ngx.timer
2020/10/27 05:22:30 [debug] 14277\#0: add to free queue head semaphore: 09781914 epoch: 2mid_epoch: 2 cur_epoch: 3
2020/10/27 05:22:30 [debug] 13999\#0: http lua semaphore wait: 097175E4, timeout: 1000, resources: 0, event posted: 0
2020/10/27 05:22:30 [debug] 14277\#0: in lua gc, semaphore 097FE6F4
2020/10/27 05:22:30 [debug] 13999\#0: *637 event timer add: 0: 1000:6585734
2020/10/27 05:22:30 [debug] 14277\#0: add to free queue head semaphore: 097FE6F4 epoch: 3mid_epoch: 2 cur_epoch: 3
2020/10/27 05:22:30 [debug] 13999\#0: http lua semaphore wait yielding
2020/10/27 05:22:30 [debug] 14277\#0: in lua gc, semaphore 09745544
'
semaphore.t TEST 32: semaphore wait time is zero - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:22:30 [error] 13999\#0: *637 [lua] init_worker_by_lua:18: sem: 6 times, context: ngx.timer" (req 0) 2020/10/27 05:22:30 [debug] 14277\#0: add to free queue head semaphore: 09781914 epoch: 2mid_epoch: 2 cur_epoch: 3
2020/10/27 05:22:30 [debug] 13999\#0: http lua semaphore wait: 097175E4, timeout: 1000, resources: 0, event posted: 0
2020/10/27 05:22:30 [debug] 14277\#0: in lua gc, semaphore 097FE6F4
2020/10/27 05:22:30 [debug] 13999\#0: *637 event timer add: 0: 1000:6585734
2020/10/27 05:22:30 [debug] 14277\#0: add to free queue head semaphore: 097FE6F4 epoch: 3mid_epoch: 2 cur_epoch: 3
2020/10/27 05:22:30 [debug] 13999\#0: http lua semaphore wait yielding
2020/10/27 05:22:30 [debug] 14277\#0: in lua gc, semaphore 09745544
2020/10/27 05:22:30 [debug] 13999\#0: *637 lua resume returned 1
2020/10/27 05:22:30 [debug] 14277\#0: add to free queue tail semaphore: 09745544 epoch: 1mid_epoch: 2 cur_epoch: 3
'
semaphore.t TEST 32: semaphore wait time is zero - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:22:31 [error] 13999\#0: *637 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/10/27 05:22:31 [debug] 13999\#0: http lua semaphore wait: 097175E4, timeout: 1000, resources: 0, event posted: 0
2020/10/27 05:22:31 [debug] 13999\#0: *637 event timer add: 0: 1000:6586734
2020/10/27 05:22:31 [debug] 13999\#0: http lua semaphore wait yielding
2020/10/27 05:22:31 [debug] 13999\#0: *637 lua resume returned 1
2020/10/27 05:22:31 [debug] 13999\#0: *637 lua thread yielded
2020/10/27 05:22:31 [debug] 13999\#0: *637 lua run thread returned -2
2020/10/27 05:22:31 [debug] 13999\#0: worker cycle
'
semaphore.t TEST 22: semaphore post in body_filter_by_lua (subrequest) - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:22:32 [error] 13999\#0: *637 [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/10/27 05:22:32 [debug] 13999\#0: http lua semaphore wait: 097175E4, timeout: 1000, resources: 0, event posted: 0
2020/10/27 05:22:32 [debug] 13999\#0: *637 event timer add: 0: 1000:6587734
2020/10/27 05:22:32 [debug] 13999\#0: http lua semaphore wait yielding
2020/10/27 05:22:32 [debug] 13999\#0: *637 lua resume returned 1
2020/10/27 05:22:32 [debug] 13999\#0: *637 lua thread yielded
2020/10/27 05:22:32 [debug] 13999\#0: *637 lua run thread returned -2
2020/10/27 05:22:32 [debug] 13999\#0: worker cycle
2020/10/27 05:22:32 [debug] 13999\#0: epoll timer: 1000
2020/10/27 05:22:32 [debug] 14333\#0: epoll: fd:7 ev:0001 d:096ED818
'
shared.t TEST 11: shared.expire returns error on not found key - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'failed to set ttl: not found
'
shared.t TEST 11: shared.expire returns error on not found key - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'failed to set ttl: not found
'
ssl-session-store.t TEST 3: store the session via timer to memcached - pattern "(?^s:received memc reply: STORED)" should match a line in error.log (req 0)
ssl-session-store.t TEST 3: store the session via timer to memcached - pattern "(?^s:received memc reply: STORED)" should match a line in error.log (req 1)
stream/errlog.t nginx: [emerg] invalid number of arguments in "lua_capture_error_log" directive in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:17
stream/errlog.t TEST 13: filter log by level(ngx.CRIT) - response_body - response is expected (repeated req 0, req 0) got: 'log lines:1
'
expected: 'log lines:0
'
stream/errlog.t TEST 18: flood the capturing buffer (5k) - response_body_like - response is expected (log lines: \#32 log level:5 log body:2020/10/27 05:27:49 [warn] 18807\#0: *139 stream [lua] content_by_lua(nginx.conf:78):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 05:27:49 [error] 18807\#0: *139 stream [lua] content_by_lua(nginx.conf:78):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 05:27:49 [warn] 18807\#0: *139 stream [lua] content_by_lua(nginx.conf:78):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 05:27:49 [error] 18807\#0: *139 stream [lua] content_by_lua(nginx.conf:78):11: --> 99, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 05:27:49 [warn] 18807\#0: *139 stream [lua] content_by_lua(nginx.conf:78):10: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 05:27:49 [error] 18807\#0: *139 stream [lua] content_by_lua(nginx.conf:78):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985) 'log lines: #32
log level:5
log body:2020/10/27 05:27:49 [warn] 18807#0: *139 stream [lua] content_by_lua(nginx.conf:78):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985
log level:4
log body:2020/10/27 05:27:49 [error] 18807#0: *139 stream [lua] content_by_lua(nginx.conf:78):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985
log level:5
log body:2020/10/27 05:27:49 [warn] 18807#0: *139 stream [lua] content_by_lua(nginx.conf:78):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985
log level:4
log body:2020/10/27 05:27:49 [error] 18807#0: *139 stream [lua] content_by_lua(nginx.conf:78):11: --> 99, client: 127.0.0.1, server: 0.0.0.0:1985
log level:5
log body:2020/10/27 05:27:49 [warn] 18807#0: *139 stream [lua] content_by_lua(nginx.conf:78):10: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985
log level:4
log body:2020/10/27 05:27:49 [error] 18807#0: *139 stream [lua] content_by_lua(nginx.conf:78):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985
'
doesn't match '(?^s:\A(?:log lines: #33
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 84, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 99, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+
)\z)'
stream/errlog.t TEST 18: flood the capturing buffer (5k) - response_body_like - response is expected (log lines: \#32 log level:5 log body:2020/10/27 05:27:49 [warn] 18807\#0: *142 stream [lua] content_by_lua(nginx.conf:78):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 05:27:49 [error] 18807\#0: *142 stream [lua] content_by_lua(nginx.conf:78):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 05:27:49 [warn] 18807\#0: *142 stream [lua] content_by_lua(nginx.conf:78):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 05:27:49 [error] 18807\#0: *142 stream [lua] content_by_lua(nginx.conf:78):11: --> 99, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 05:27:49 [warn] 18807\#0: *142 stream [lua] content_by_lua(nginx.conf:78):10: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 05:27:49 [error] 18807\#0: *142 stream [lua] content_by_lua(nginx.conf:78):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985) 'log lines: #32
log level:5
log body:2020/10/27 05:27:49 [warn] 18807#0: *142 stream [lua] content_by_lua(nginx.conf:78):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985
log level:4
log body:2020/10/27 05:27:49 [error] 18807#0: *142 stream [lua] content_by_lua(nginx.conf:78):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985
log level:5
log body:2020/10/27 05:27:49 [warn] 18807#0: *142 stream [lua] content_by_lua(nginx.conf:78):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985
log level:4
log body:2020/10/27 05:27:49 [error] 18807#0: *142 stream [lua] content_by_lua(nginx.conf:78):11: --> 99, client: 127.0.0.1, server: 0.0.0.0:1985
log level:5
log body:2020/10/27 05:27:49 [warn] 18807#0: *142 stream [lua] content_by_lua(nginx.conf:78):10: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985
log level:4
log body:2020/10/27 05:27:49 [error] 18807#0: *142 stream [lua] content_by_lua(nginx.conf:78):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985
'
doesn't match '(?^s:\A(?:log lines: #33
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 84, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 99, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+
)\z)'
stream/errlog.t TEST 11: filter log by level(ngx.INFO) - response_body - response is expected (repeated req 0, req 0) got: 'log lines:4
'
expected: 'log lines:3
'
stream/errlog.t TEST 20: fetch a few and generate a few, then fetch again (not overflown again) - response_body_like - response is expected (msg count: 3 log level:5 log body:2020/10/27 05:27:55 [warn] 18915\#0: *247 stream [lua] content_by_lua(nginx.conf:91):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 05:27:55 [error] 18915\#0: *247 stream [lua] content_by_lua(nginx.conf:91):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 05:27:55 [warn] 18915\#0: *247 stream [lua] content_by_lua(nginx.conf:91):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 msg count: 3 log level:4 log body:2020/10/27 05:27:55 [error] 18915\#0: *247 stream [lua] content_by_lua(nginx.conf:91):11: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 05:27:55 [warn] 18915\#0: *247 stream [lua] content_by_lua(nginx.conf:91):10: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 05:27:55 [error] 18915\#0: *247 stream [lua] content_by_lua(nginx.conf:91):11: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 05:27:55 [error] 18915\#0: *247 stream [lua] content_by_lua(nginx.conf:91):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 05:27:55 [error] 18915\#0: *247 stream [lua] content_by_lua(nginx.conf:91):23: howdy, something new!, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 05:27:55 [error] 18915\#0: *247 stream [lua] content_by_lua(nginx.conf:91):24: howdy, something even newer!, client: 127.0.0.1, server: 0.0.0.0:1985) 'msg count: 3
log level:5
log body:2020/10/27 05:27:55 [warn] 18915#0: *247 stream [lua] content_by_lua(nginx.conf:91):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985
log level:4
log body:2020/10/27 05:27:55 [error] 18915#0: *247 stream [lua] content_by_lua(nginx.conf:91):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985
log level:5
log body:2020/10/27 05:27:55 [warn] 18915#0: *247 stream [lua] content_by_lua(nginx.conf:91):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985
msg count: 3
log level:4
log body:2020/10/27 05:27:55 [error] 18915#0: *247 stream [lua] content_by_lua(nginx.conf:91):11: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985
log level:5
log body:2020/10/27 05:27:55 [warn] 18915#0: *247 stream [lua] content_by_lua(nginx.conf:91):10: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985
log level:4
log body:2020/10/27 05:27:55 [error] 18915#0: *247 stream [lua] content_by_lua(nginx.conf:91):11: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985
log level:4
log body:2020/10/27 05:27:55 [error] 18915#0: *247 stream [lua] content_by_lua(nginx.conf:91):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985
log level:4
log body:2020/10/27 05:27:55 [error] 18915#0: *247 stream [lua] content_by_lua(nginx.conf:91):23: howdy, something new!, client: 127.0.0.1, server: 0.0.0.0:1985
log level:4
log body:2020/10/27 05:27:55 [error] 18915#0: *247 stream [lua] content_by_lua(nginx.conf:91):24: howdy, something even newer!, client: 127.0.0.1, server: 0.0.0.0:1985
'
doesn't match '(?^s:\Amsg count: 3
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 84, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+
msg count: 3
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 86, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 86, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 87, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: howdy, something new!, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: howdy, something even newer!, client: 127.0.0.1, server: 0.0.0.0:\d+
\z)'
stream/errlog.t TEST 20: fetch a few and generate a few, then fetch again (not overflown again) - response_body_like - response is expected (msg count: 3 log level:5 log body:2020/10/27 05:27:55 [warn] 18915\#0: *250 stream [lua] content_by_lua(nginx.conf:91):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 05:27:55 [error] 18915\#0: *250 stream [lua] content_by_lua(nginx.conf:91):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 05:27:55 [warn] 18915\#0: *250 stream [lua] content_by_lua(nginx.conf:91):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 msg count: 3 log level:4 log body:2020/10/27 05:27:55 [error] 18915\#0: *250 stream [lua] content_by_lua(nginx.conf:91):11: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985 log level:5 log body:2020/10/27 05:27:55 [warn] 18915\#0: *250 stream [lua] content_by_lua(nginx.conf:91):10: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 05:27:55 [error] 18915\#0: *250 stream [lua] content_by_lua(nginx.conf:91):11: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 05:27:55 [error] 18915\#0: *250 stream [lua] content_by_lua(nginx.conf:91):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 05:27:55 [error] 18915\#0: *250 stream [lua] content_by_lua(nginx.conf:91):23: howdy, something new!, client: 127.0.0.1, server: 0.0.0.0:1985 log level:4 log body:2020/10/27 05:27:55 [error] 18915\#0: *250 stream [lua] content_by_lua(nginx.conf:91):24: howdy, something even newer!, client: 127.0.0.1, server: 0.0.0.0:1985) 'msg count: 3
log level:5
log body:2020/10/27 05:27:55 [warn] 18915#0: *250 stream [lua] content_by_lua(nginx.conf:91):10: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985
log level:4
log body:2020/10/27 05:27:55 [error] 18915#0: *250 stream [lua] content_by_lua(nginx.conf:91):11: --> 85, client: 127.0.0.1, server: 0.0.0.0:1985
log level:5
log body:2020/10/27 05:27:55 [warn] 18915#0: *250 stream [lua] content_by_lua(nginx.conf:91):10: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985
msg count: 3
log level:4
log body:2020/10/27 05:27:55 [error] 18915#0: *250 stream [lua] content_by_lua(nginx.conf:91):11: --> 86, client: 127.0.0.1, server: 0.0.0.0:1985
log level:5
log body:2020/10/27 05:27:55 [warn] 18915#0: *250 stream [lua] content_by_lua(nginx.conf:91):10: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985
log level:4
log body:2020/10/27 05:27:55 [error] 18915#0: *250 stream [lua] content_by_lua(nginx.conf:91):11: --> 87, client: 127.0.0.1, server: 0.0.0.0:1985
log level:4
log body:2020/10/27 05:27:55 [error] 18915#0: *250 stream [lua] content_by_lua(nginx.conf:91):11: --> 100, client: 127.0.0.1, server: 0.0.0.0:1985
log level:4
log body:2020/10/27 05:27:55 [error] 18915#0: *250 stream [lua] content_by_lua(nginx.conf:91):23: howdy, something new!, client: 127.0.0.1, server: 0.0.0.0:1985
log level:4
log body:2020/10/27 05:27:55 [error] 18915#0: *250 stream [lua] content_by_lua(nginx.conf:91):24: howdy, something even newer!, client: 127.0.0.1, server: 0.0.0.0:1985
'
doesn't match '(?^s:\Amsg count: 3
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 84, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 85, client: 127.0.0.1, server: 0.0.0.0:\d+
msg count: 3
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 86, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 86, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:5
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[warn\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 87, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: --> 100, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: howdy, something new!, client: 127.0.0.1, server: 0.0.0.0:\d+
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*?content_by_lua\(nginx.conf:\d+\):\d+: howdy, something even newer!, client: 127.0.0.1, server: 0.0.0.0:\d+
\z)'
stream/errlog.t nginx: [emerg] invalid capture error log size "3k", minimum size is 4096 in /home/ec2-user/git/lua-resty-core/t/servroot/conf/nginx.conf:17
stream/errlog.t TEST 22: user-supplied Lua table to hold the result (get one log + no log) - response_body_like - response is expected (maybe log lines: \#2 log level:6 log body:2020/10/27 05:27:57 [notice] 18972\#0: start worker processes log level:4 log body:2020/10/27 05:27:58 [error] 18979\#0: *30 stream [lua] content_by_lua(nginx.conf:75):8: --> new line, client: 127.0.0.1, server: 0.0.0.0:1985 end maybe log lines: \#2 end) 'maybe log lines: #2
log level:6
log body:2020/10/27 05:27:57 [notice] 18972#0: start worker processes
log level:4
log body:2020/10/27 05:27:58 [error] 18979#0: *30 stream [lua] content_by_lua(nginx.conf:75):8: -->
new line, client: 127.0.0.1, server: 0.0.0.0:1985
end
maybe log lines: #2
end
'
doesn't match '(?^s:\Amaybe log lines: #1
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: -->
new line, client: 127.0.0.1, server: 0.0.0.0:\d+
end
maybe log lines: #1
end
\z)'
stream/errlog.t TEST 21: multi-line error log - response_body_like - response is expected (log lines: \#2 log level:6 log body:2020/10/27 05:28:03 [notice] 18972\#0: start worker processes log level:4 log body:2020/10/27 05:28:04 [error] 19087\#0: *138 stream [lua] content_by_lua(nginx.conf:67):8: --> new line, client: 127.0.0.1, server: 0.0.0.0:1985) 'log lines: #2
log level:6
log body:2020/10/27 05:28:03 [notice] 18972#0: start worker processes
log level:4
log body:2020/10/27 05:28:04 [error] 19087#0: *138 stream [lua] content_by_lua(nginx.conf:67):8: -->
new line, client: 127.0.0.1, server: 0.0.0.0:1985
'
doesn't match '(?^s:\Alog lines: #1
log level:4
log body:\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} \[error\] (\d+).*content_by_lua\(nginx.conf:\d+\):\d+: -->
new line, client: 127.0.0.1, server: 0.0.0.0:\d+
\z)'
stream/errlog.t TEST 12: filter log by level(ngx.WARN) - response_body - response is expected (repeated req 0, req 0) got: 'log lines:3
'
expected: 'log lines:2
'
stream/errlog.t TEST 3: client connected info - grep_error_log_out (req 0) 'client 127.0.0.1:18025 connected to
capture log line:10
'
doesn't match '(?^:^client .*? connected to .*?
capture log line:1
$)'
stream/errlog.t TEST 3: client connected info - grep_error_log_out (req 1) 'client 127.0.0.1:18027 connected to
capture log line:10
'
doesn't match '(?^:^client .*? connected to .*?
capture log line:2
$)'
stream/semaphore.t TEST 24: basic semaphore_mm alloc - grep_error_log_out (req 1) got: 'new block, alloc semaphore
'
expected: 'from head of free queue, alloc semaphore
'
stream/semaphore.t TEST 6: semaphore in init_worker_by_lua (wait is not allowed) - grep_error_log_out (req 0) @@ -1,2 +1,4 @@
sem count: 1,
sem wait: API disabled in the context of init_worker_by_lua*,
+sem count: 1,
+sem wait: API disabled in the context of init_worker_by_lua*,
'
stream/semaphore.t TEST 6: semaphore in init_worker_by_lua (wait is not allowed) - grep_error_log_out (req 1) got: 'sem count: 1,
sem wait: API disabled in the context of init_worker_by_lua*,
'
expected: ''
stream/semaphore.t TEST 7: semaphore in init_worker_by_lua (new and post) - grep_error_log_out (req 0) got: 'sem count: 2,
sem count: 2,
'
expected: 'sem count: 2,
'
stream/semaphore.t TEST 7: semaphore in init_worker_by_lua (new and post) - grep_error_log_out (req 1) got: 'sem count: 2,
'
expected: ''
stream/semaphore.t TEST 12: semaphore post in all phase (in a request) - grep_error_log_out (req 0) got: 'sem: timeout,
sem: 3 times,
'
expected: 'sem: 3 times,
'
stream/semaphore.t TEST 27: semaphore_mm free block (load <= 50% & the on the older side) - grep_error_log_out (req 1) got: ''
expected: 'free semaphore block
'
stream/semaphore.t TEST 28: basic semaphore count - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:32:36 [error] 23362\#0: *780 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 0) 2020/10/27 05:32:36 [debug] 23362\#0: stream lua semaphore wait: 09A2E88C, timeout: 1000, resources: 0, event posted: 0
2020/10/27 05:32:36 [debug] 23362\#0: *780 event timer add: 0: 1000:7191818
2020/10/27 05:32:36 [debug] 23362\#0: stream lua semaphore wait yielding
2020/10/27 05:32:36 [debug] 23362\#0: *780 lua resume returned 1
2020/10/27 05:32:36 [debug] 23362\#0: *780 lua thread yielded
2020/10/27 05:32:36 [debug] 23362\#0: *780 lua run thread returned -2
2020/10/27 05:32:36 [debug] 23362\#0: worker cycle
2020/10/27 05:32:36 [debug] 23362\#0: epoll timer: 1000
2020/10/27 05:32:36 [debug] 23399\#0: epoll: fd:8 ev:0001 d:099E5DDC
'
stream/semaphore.t TEST 28: basic semaphore count - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:32:37 [error] 23362\#0: *780 stream [lua] init_worker_by_lua:14: sem: timeout, context: ngx.timer" (req 1) 2020/10/27 05:32:37 [debug] 23422\#0: setting SA_RESTART for signal 15
2020/10/27 05:32:37 [error] 23362\#0: *780 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer
2020/10/27 05:32:37 [debug] 23422\#0: setting SA_RESTART for signal 3
2020/10/27 05:32:37 [debug] 23362\#0: stream lua semaphore wait: 09A2E88C, timeout: 1000, resources: 0, event posted: 0
2020/10/27 05:32:37 [debug] 23422\#0: setting SA_RESTART for signal 12
2020/10/27 05:32:37 [debug] 23362\#0: *780 event timer add: 0: 1000:7192818
2020/10/27 05:32:37 [debug] 23422\#0: setting SA_RESTART for signal 14
2020/10/27 05:32:37 [debug] 23362\#0: stream lua semaphore wait yielding
2020/10/27 05:32:37 [debug] 23422\#0: setting SA_RESTART for signal 2
'
stream/semaphore.t TEST 28: basic semaphore count - pattern "[error]" should not match any line in error.log but matches line "2020/10/27 05:32:37 [error] 23362\#0: *780 stream [lua] init_worker_by_lua:18: sem: 3 times, context: ngx.timer" (req 1) 2020/10/27 05:32:37 [debug] 23422\#0: setting SA_RESTART for signal 3
2020/10/27 05:32:37 [debug] 23362\#0: stream lua semaphore wait: 09A2E88C, timeout: 1000, resources: 0, event posted: 0
2020/10/27 05:32:37 [debug] 23422\#0: setting SA_RESTART for signal 12
2020/10/27 05:32:37 [debug] 23362\#0: *780 event timer add: 0: 1000:7192818
2020/10/27 05:32:37 [debug] 23422\#0: setting SA_RESTART for signal 14
2020/10/27 05:32:37 [debug] 23362\#0: stream lua semaphore wait yielding
2020/10/27 05:32:37 [debug] 23422\#0: setting SA_RESTART for signal 2
2020/10/27 05:32:37 [debug] 23362\#0: *780 lua resume returned 1
2020/10/27 05:32:37 [debug] 23422\#0: setting SA_RESTART for signal 29
'
stream/shdict.t TEST 2: get an nonexistent key - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +0,0 @@
-value type: nil
-value: nil
-flags: nil
'
stream/shdict.t TEST 2: get an nonexistent key - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +0,0 @@
-value type: nil
-value: nil
-flags: nil
'
stream/ssl.t TEST 1: clear certs - pattern "sslv3 alert handshake failure" should match a line in error.log (req 0)
stream/ssl.t TEST 1: clear certs - pattern "sslv3 alert handshake failure" should match a line in error.log (req 1)
stream/ssl.t TEST 14: ngx.semaphore in ssl_certificate_by_lua* - pattern "ssl cert by lua done" should match a line in error.log (req 0)
stream/ssl.t TEST 14: ngx.semaphore in ssl_certificate_by_lua* - pattern "ssl cert by lua done" should match a line in error.log (req 1)

Warnings

Go back to the index page.