(This page was automatically generated by the tools in the opsboy project on 08:27:39 31-Jan-2023 GMT.)

Detailed Test Report for ngx_postgres in linux x86_64 (wv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
1b95970b 2020-10-18 03:12:29 GMT 23 415 14 650 312 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 0e646b54

Compilation Errors

Unexpected Failures

File Name Details
000_init.t TEST 1: cats - drop table - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 04:17:19 [error] 20471\#20471: *1 postgres: connection failed: could not send startup packet: Resource temporarily unavailable" (req 0) while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /init HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost"
2020/10/18 04:17:19 [debug] 20471\#20471: *1 http next upstream, 2
2020/10/18 04:17:19 [debug] 20471\#20471: *1 postgres: free keepalive peer
2020/10/18 04:17:19 [debug] 20471\#20471: *1 poll del event: fd:8 ev:1
2020/10/18 04:17:19 [debug] 20471\#20471: *1 poll del index: 3
2020/10/18 04:17:19 [debug] 20471\#20471: *1 poll del event: fd:8 ev:4
2020/10/18 04:17:19 [debug] 20471\#20471: *1 finalize http upstream request: 502
2020/10/18 04:17:19 [debug] 20471\#20471: *1 postgres: free keepalive peer
2020/10/18 04:17:19 [debug] 20471\#20471: *1 http finalize request: 502, "/init?" a:1, c:1
'
000_init.t TEST 2: cats - create table - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 04:17:21 [error] 20473\#20473: *1 postgres: connection failed: could not send startup packet: Resource temporarily unavailable" (req 0) while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /init HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost"
2020/10/18 04:17:21 [debug] 20473\#20473: *1 http next upstream, 2
2020/10/18 04:17:21 [debug] 20473\#20473: *1 postgres: free keepalive peer
2020/10/18 04:17:21 [debug] 20473\#20473: *1 poll del event: fd:8 ev:1
2020/10/18 04:17:21 [debug] 20473\#20473: *1 poll del index: 3
2020/10/18 04:17:21 [debug] 20473\#20473: *1 poll del event: fd:8 ev:4
2020/10/18 04:17:21 [debug] 20473\#20473: *1 finalize http upstream request: 502
2020/10/18 04:17:21 [debug] 20473\#20473: *1 postgres: free keepalive peer
2020/10/18 04:17:21 [debug] 20473\#20473: *1 http finalize request: 502, "/init?" a:1, c:1
'
000_init.t TEST 3: cats - insert value - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 04:17:24 [error] 20475\#20475: *1 postgres: connection failed: could not send startup packet: Resource temporarily unavailable" (req 0) while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /init HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost"
2020/10/18 04:17:24 [debug] 20475\#20475: *1 http next upstream, 2
2020/10/18 04:17:24 [debug] 20475\#20475: *1 postgres: free keepalive peer
2020/10/18 04:17:24 [debug] 20475\#20475: *1 poll del event: fd:8 ev:1
2020/10/18 04:17:24 [debug] 20475\#20475: *1 poll del index: 3
2020/10/18 04:17:24 [debug] 20475\#20475: *1 poll del event: fd:8 ev:4
2020/10/18 04:17:24 [debug] 20475\#20475: *1 finalize http upstream request: 502
2020/10/18 04:17:24 [debug] 20475\#20475: *1 postgres: free keepalive peer
2020/10/18 04:17:24 [debug] 20475\#20475: *1 http finalize request: 502, "/init?" a:1, c:1
'
000_init.t TEST 4: cats - insert value - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 04:17:26 [error] 20478\#20478: *1 postgres: connection failed: could not send startup packet: Resource temporarily unavailable" (req 0) while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /init HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost"
2020/10/18 04:17:26 [debug] 20478\#20478: *1 http next upstream, 2
2020/10/18 04:17:26 [debug] 20478\#20478: *1 postgres: free keepalive peer
2020/10/18 04:17:26 [debug] 20478\#20478: *1 poll del event: fd:8 ev:1
2020/10/18 04:17:26 [debug] 20478\#20478: *1 poll del index: 3
2020/10/18 04:17:26 [debug] 20478\#20478: *1 poll del event: fd:8 ev:4
2020/10/18 04:17:26 [debug] 20478\#20478: *1 finalize http upstream request: 502
2020/10/18 04:17:26 [debug] 20478\#20478: *1 postgres: free keepalive peer
2020/10/18 04:17:26 [debug] 20478\#20478: *1 http finalize request: 502, "/init?" a:1, c:1
'
000_init.t TEST 5: numbers - drop table - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 04:17:28 [error] 20480\#20480: *1 postgres: connection failed: could not send startup packet: Resource temporarily unavailable" (req 0) while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /init HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost"
2020/10/18 04:17:28 [debug] 20480\#20480: *1 http next upstream, 2
2020/10/18 04:17:28 [debug] 20480\#20480: *1 postgres: free keepalive peer
2020/10/18 04:17:28 [debug] 20480\#20480: *1 poll del event: fd:8 ev:1
2020/10/18 04:17:28 [debug] 20480\#20480: *1 poll del index: 3
2020/10/18 04:17:28 [debug] 20480\#20480: *1 poll del event: fd:8 ev:4
2020/10/18 04:17:28 [debug] 20480\#20480: *1 finalize http upstream request: 502
2020/10/18 04:17:28 [debug] 20480\#20480: *1 postgres: free keepalive peer
2020/10/18 04:17:28 [debug] 20480\#20480: *1 http finalize request: 502, "/init?" a:1, c:1
'
000_init.t TEST 6: numbers - create table - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 04:17:30 [error] 20482\#20482: *1 postgres: connection failed: could not send startup packet: Resource temporarily unavailable" (req 0) while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /init HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost"
2020/10/18 04:17:30 [debug] 20482\#20482: *1 http next upstream, 2
2020/10/18 04:17:30 [debug] 20482\#20482: *1 postgres: free keepalive peer
2020/10/18 04:17:30 [debug] 20482\#20482: *1 poll del event: fd:8 ev:1
2020/10/18 04:17:30 [debug] 20482\#20482: *1 poll del index: 3
2020/10/18 04:17:30 [debug] 20482\#20482: *1 poll del event: fd:8 ev:4
2020/10/18 04:17:30 [debug] 20482\#20482: *1 finalize http upstream request: 502
2020/10/18 04:17:30 [debug] 20482\#20482: *1 postgres: free keepalive peer
2020/10/18 04:17:30 [debug] 20482\#20482: *1 http finalize request: 502, "/init?" a:1, c:1
'
000_init.t TEST 7: users - drop table - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 04:17:32 [error] 20484\#20484: *1 postgres: connection failed: could not send startup packet: Resource temporarily unavailable" (req 0) while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /init HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost"
2020/10/18 04:17:32 [debug] 20484\#20484: *1 http next upstream, 2
2020/10/18 04:17:32 [debug] 20484\#20484: *1 postgres: free keepalive peer
2020/10/18 04:17:32 [debug] 20484\#20484: *1 poll del event: fd:8 ev:1
2020/10/18 04:17:32 [debug] 20484\#20484: *1 poll del index: 3
2020/10/18 04:17:32 [debug] 20484\#20484: *1 poll del event: fd:8 ev:4
2020/10/18 04:17:32 [debug] 20484\#20484: *1 finalize http upstream request: 502
2020/10/18 04:17:32 [debug] 20484\#20484: *1 postgres: free keepalive peer
2020/10/18 04:17:32 [debug] 20484\#20484: *1 http finalize request: 502, "/init?" a:1, c:1
'
000_init.t TEST 8: users - create table - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 04:17:34 [error] 20486\#20486: *1 postgres: connection failed: could not send startup packet: Resource temporarily unavailable" (req 0) while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /init HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost"
2020/10/18 04:17:34 [debug] 20486\#20486: *1 http next upstream, 2
2020/10/18 04:17:34 [debug] 20486\#20486: *1 postgres: free keepalive peer
2020/10/18 04:17:34 [debug] 20486\#20486: *1 poll del event: fd:8 ev:1
2020/10/18 04:17:34 [debug] 20486\#20486: *1 poll del index: 3
2020/10/18 04:17:34 [debug] 20486\#20486: *1 poll del event: fd:8 ev:4
2020/10/18 04:17:34 [debug] 20486\#20486: *1 finalize http upstream request: 502
2020/10/18 04:17:34 [debug] 20486\#20486: *1 postgres: free keepalive peer
2020/10/18 04:17:34 [debug] 20486\#20486: *1 http finalize request: 502, "/init?" a:1, c:1
'
000_init.t TEST 9: users - insert value - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 04:17:36 [error] 20488\#20488: *1 postgres: connection failed: could not send startup packet: Resource temporarily unavailable" (req 0) while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /init HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost"
2020/10/18 04:17:36 [debug] 20488\#20488: *1 http next upstream, 2
2020/10/18 04:17:36 [debug] 20488\#20488: *1 postgres: free keepalive peer
2020/10/18 04:17:36 [debug] 20488\#20488: *1 poll del event: fd:8 ev:1
2020/10/18 04:17:36 [debug] 20488\#20488: *1 poll del index: 3
2020/10/18 04:17:36 [debug] 20488\#20488: *1 poll del event: fd:8 ev:4
2020/10/18 04:17:36 [debug] 20488\#20488: *1 finalize http upstream request: 502
2020/10/18 04:17:36 [debug] 20488\#20488: *1 postgres: free keepalive peer
2020/10/18 04:17:36 [debug] 20488\#20488: *1 http finalize request: 502, "/init?" a:1, c:1
'
sanity.t TEST 6: HEAD request - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 04:21:29 [error] 20774\#20774: *1 postgres: connection failed: could not send startup packet: Resource temporarily unavailable" (req 0) while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "HEAD /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost"
2020/10/18 04:21:29 [debug] 20774\#20774: *1 http next upstream, 2
2020/10/18 04:21:29 [debug] 20774\#20774: *1 postgres: free keepalive peer
2020/10/18 04:21:29 [debug] 20774\#20774: *1 poll del event: fd:8 ev:1
2020/10/18 04:21:29 [debug] 20774\#20774: *1 poll del index: 3
2020/10/18 04:21:29 [debug] 20774\#20774: *1 poll del event: fd:8 ev:4
2020/10/18 04:21:29 [debug] 20774\#20774: *1 finalize http upstream request: 502
2020/10/18 04:21:29 [debug] 20774\#20774: *1 postgres: free keepalive peer
2020/10/18 04:21:29 [debug] 20774\#20774: *1 http finalize request: 502, "/postgres?" a:1, c:1
'
sanity.t TEST 6: HEAD request - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 04:21:29 [error] 20774\#20774: *3 postgres: connection failed: could not send startup packet: Resource temporarily unavailable" (req 1) while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "HEAD /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost"
2020/10/18 04:21:29 [debug] 20774\#20774: *3 http next upstream, 2
2020/10/18 04:21:29 [debug] 20774\#20774: *3 postgres: free keepalive peer
2020/10/18 04:21:29 [debug] 20774\#20774: *3 poll del event: fd:8 ev:1
2020/10/18 04:21:29 [debug] 20774\#20774: *3 poll del index: 3
2020/10/18 04:21:29 [debug] 20774\#20774: *3 poll del event: fd:8 ev:4
2020/10/18 04:21:29 [debug] 20774\#20774: *3 finalize http upstream request: 502
2020/10/18 04:21:29 [debug] 20774\#20774: *3 postgres: free keepalive peer
2020/10/18 04:21:29 [debug] 20774\#20774: *3 http finalize request: 502, "/postgres?" a:1, c:1
'
sanity.t TEST 2: keep-alive - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 04:21:31 [error] 20777\#20777: *1 postgres: connection failed: could not send startup packet: Resource temporarily unavailable" (req 0) while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost"
2020/10/18 04:21:31 [debug] 20777\#20777: *1 http next upstream, 2
2020/10/18 04:21:31 [debug] 20777\#20777: *1 postgres: free keepalive peer
2020/10/18 04:21:31 [debug] 20777\#20777: *1 poll del event: fd:8 ev:1
2020/10/18 04:21:31 [debug] 20777\#20777: *1 poll del index: 3
2020/10/18 04:21:31 [debug] 20777\#20777: *1 poll del event: fd:8 ev:4
2020/10/18 04:21:31 [debug] 20777\#20777: *1 finalize http upstream request: 502
2020/10/18 04:21:31 [debug] 20777\#20777: *1 postgres: free keepalive peer
2020/10/18 04:21:31 [debug] 20777\#20777: *1 http finalize request: 502, "/postgres?" a:1, c:1
'
sanity.t TEST 2: keep-alive - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 04:21:31 [error] 20777\#20777: *3 postgres: connection failed: could not send startup packet: Resource temporarily unavailable" (req 1) while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost"
2020/10/18 04:21:31 [debug] 20777\#20777: *3 http next upstream, 2
2020/10/18 04:21:31 [debug] 20777\#20777: *3 postgres: free keepalive peer
2020/10/18 04:21:31 [debug] 20777\#20777: *3 poll del event: fd:8 ev:1
2020/10/18 04:21:31 [debug] 20777\#20777: *3 poll del index: 3
2020/10/18 04:21:31 [debug] 20777\#20777: *3 poll del event: fd:8 ev:4
2020/10/18 04:21:31 [debug] 20777\#20777: *3 finalize http upstream request: 502
2020/10/18 04:21:31 [debug] 20777\#20777: *3 postgres: free keepalive peer
2020/10/18 04:21:31 [debug] 20777\#20777: *3 http finalize request: 502, "/postgres?" a:1, c:1
'
sanity.t TEST 5: variables in postgres_pass - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 04:21:33 [error] 20780\#20780: *1 postgres: connection failed: could not send startup packet: Resource temporarily unavailable" (req 0) while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost"
2020/10/18 04:21:33 [debug] 20780\#20780: *1 http next upstream, 2
2020/10/18 04:21:33 [debug] 20780\#20780: *1 postgres: free keepalive peer
2020/10/18 04:21:33 [debug] 20780\#20780: *1 poll del event: fd:8 ev:1
2020/10/18 04:21:33 [debug] 20780\#20780: *1 poll del index: 3
2020/10/18 04:21:33 [debug] 20780\#20780: *1 poll del event: fd:8 ev:4
2020/10/18 04:21:33 [debug] 20780\#20780: *1 finalize http upstream request: 502
2020/10/18 04:21:33 [debug] 20780\#20780: *1 postgres: free keepalive peer
2020/10/18 04:21:33 [debug] 20780\#20780: *1 http finalize request: 502, "/postgres?" a:1, c:1
'
sanity.t TEST 5: variables in postgres_pass - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 04:21:34 [error] 20780\#20780: *3 postgres: connection failed: could not send startup packet: Resource temporarily unavailable" (req 1) while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost"
2020/10/18 04:21:34 [debug] 20780\#20780: *3 http next upstream, 2
2020/10/18 04:21:34 [debug] 20780\#20780: *3 postgres: free keepalive peer
2020/10/18 04:21:34 [debug] 20780\#20780: *3 poll del event: fd:8 ev:1
2020/10/18 04:21:34 [debug] 20780\#20780: *3 poll del index: 3
2020/10/18 04:21:34 [debug] 20780\#20780: *3 poll del event: fd:8 ev:4
2020/10/18 04:21:34 [debug] 20780\#20780: *3 finalize http upstream request: 502
2020/10/18 04:21:34 [debug] 20780\#20780: *3 postgres: free keepalive peer
2020/10/18 04:21:34 [debug] 20780\#20780: *3 http finalize request: 502, "/postgres?" a:1, c:1
'
sanity.t TEST 3: update - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 04:21:36 [error] 20783\#20783: *1 postgres: connection failed: could not send startup packet: Resource temporarily unavailable" (req 0) while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost"
2020/10/18 04:21:36 [debug] 20783\#20783: *1 http next upstream, 2
2020/10/18 04:21:36 [debug] 20783\#20783: *1 postgres: free keepalive peer
2020/10/18 04:21:36 [debug] 20783\#20783: *1 poll del event: fd:8 ev:1
2020/10/18 04:21:36 [debug] 20783\#20783: *1 poll del index: 3
2020/10/18 04:21:36 [debug] 20783\#20783: *1 poll del event: fd:8 ev:4
2020/10/18 04:21:36 [debug] 20783\#20783: *1 finalize http upstream request: 502
2020/10/18 04:21:36 [debug] 20783\#20783: *1 postgres: free keepalive peer
2020/10/18 04:21:36 [debug] 20783\#20783: *1 http finalize request: 502, "/postgres?" a:1, c:1
'
sanity.t TEST 3: update - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 04:21:36 [error] 20783\#20783: *3 postgres: connection failed: could not send startup packet: Resource temporarily unavailable" (req 1) while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost"
2020/10/18 04:21:36 [debug] 20783\#20783: *3 http next upstream, 2
2020/10/18 04:21:36 [debug] 20783\#20783: *3 postgres: free keepalive peer
2020/10/18 04:21:36 [debug] 20783\#20783: *3 poll del event: fd:8 ev:1
2020/10/18 04:21:36 [debug] 20783\#20783: *3 poll del index: 3
2020/10/18 04:21:36 [debug] 20783\#20783: *3 poll del event: fd:8 ev:4
2020/10/18 04:21:36 [debug] 20783\#20783: *3 finalize http upstream request: 502
2020/10/18 04:21:36 [debug] 20783\#20783: *3 postgres: free keepalive peer
2020/10/18 04:21:36 [debug] 20783\#20783: *3 http finalize request: 502, "/postgres?" a:1, c:1
'
sanity.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 04:21:38 [error] 20786\#20786: *1 postgres: connection failed: could not send startup packet: Resource temporarily unavailable" (req 0) while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost"
2020/10/18 04:21:38 [debug] 20786\#20786: *1 http next upstream, 2
2020/10/18 04:21:38 [debug] 20786\#20786: *1 poll del event: fd:8 ev:1
2020/10/18 04:21:38 [debug] 20786\#20786: *1 poll del index: 3
2020/10/18 04:21:38 [debug] 20786\#20786: *1 poll del event: fd:8 ev:4
2020/10/18 04:21:38 [debug] 20786\#20786: *1 finalize http upstream request: 502
2020/10/18 04:21:38 [debug] 20786\#20786: *1 http finalize request: 502, "/postgres?" a:1, c:1
2020/10/18 04:21:38 [debug] 20786\#20786: *1 http special response: 502, "/postgres?"
2020/10/18 04:21:38 [debug] 20786\#20786: *1 http set discard body
'
sanity.t TEST 1: sanity - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 04:21:38 [error] 20786\#20786: *3 postgres: connection failed: could not send startup packet: Resource temporarily unavailable" (req 1) while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost"
2020/10/18 04:21:38 [debug] 20786\#20786: *3 http next upstream, 2
2020/10/18 04:21:38 [debug] 20786\#20786: *3 poll del event: fd:8 ev:1
2020/10/18 04:21:38 [debug] 20786\#20786: *3 poll del index: 3
2020/10/18 04:21:38 [debug] 20786\#20786: *3 poll del event: fd:8 ev:4
2020/10/18 04:21:38 [debug] 20786\#20786: *3 finalize http upstream request: 502
2020/10/18 04:21:38 [debug] 20786\#20786: *3 http finalize request: 502, "/postgres?" a:1, c:1
2020/10/18 04:21:38 [debug] 20786\#20786: *3 http special response: 502, "/postgres?"
2020/10/18 04:21:38 [debug] 20786\#20786: *3 http set discard body
'
sanity.t TEST 7: "if" pseudo-location - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 04:21:40 [error] 20789\#20789: *1 postgres: connection failed: could not send startup packet: Resource temporarily unavailable" (req 0) while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres?foo=1 HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost"
2020/10/18 04:21:40 [debug] 20789\#20789: *1 http next upstream, 2
2020/10/18 04:21:40 [debug] 20789\#20789: *1 postgres: free keepalive peer
2020/10/18 04:21:40 [debug] 20789\#20789: *1 poll del event: fd:8 ev:1
2020/10/18 04:21:40 [debug] 20789\#20789: *1 poll del index: 3
2020/10/18 04:21:40 [debug] 20789\#20789: *1 poll del event: fd:8 ev:4
2020/10/18 04:21:40 [debug] 20789\#20789: *1 finalize http upstream request: 502
2020/10/18 04:21:40 [debug] 20789\#20789: *1 postgres: free keepalive peer
2020/10/18 04:21:40 [debug] 20789\#20789: *1 http finalize request: 502, "/postgres?foo=1" a:1, c:1
'
sanity.t TEST 7: "if" pseudo-location - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 04:21:41 [error] 20789\#20789: *3 postgres: connection failed: could not send startup packet: Resource temporarily unavailable" (req 1) while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres?foo=1 HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost"
2020/10/18 04:21:41 [debug] 20789\#20789: *3 http next upstream, 2
2020/10/18 04:21:41 [debug] 20789\#20789: *3 postgres: free keepalive peer
2020/10/18 04:21:41 [debug] 20789\#20789: *3 poll del event: fd:8 ev:1
2020/10/18 04:21:41 [debug] 20789\#20789: *3 poll del index: 3
2020/10/18 04:21:41 [debug] 20789\#20789: *3 poll del event: fd:8 ev:4
2020/10/18 04:21:41 [debug] 20789\#20789: *3 finalize http upstream request: 502
2020/10/18 04:21:41 [debug] 20789\#20789: *3 postgres: free keepalive peer
2020/10/18 04:21:41 [debug] 20789\#20789: *3 http finalize request: 502, "/postgres?foo=1" a:1, c:1
'
sanity.t TEST 4: select empty result - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 04:21:43 [error] 20793\#20793: *1 postgres: connection failed: could not send startup packet: Resource temporarily unavailable" (req 0) while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost"
2020/10/18 04:21:43 [debug] 20793\#20793: *1 http next upstream, 2
2020/10/18 04:21:43 [debug] 20793\#20793: *1 postgres: free keepalive peer
2020/10/18 04:21:43 [debug] 20793\#20793: *1 poll del event: fd:8 ev:1
2020/10/18 04:21:43 [debug] 20793\#20793: *1 poll del index: 3
2020/10/18 04:21:43 [debug] 20793\#20793: *1 poll del event: fd:8 ev:4
2020/10/18 04:21:43 [debug] 20793\#20793: *1 finalize http upstream request: 502
2020/10/18 04:21:43 [debug] 20793\#20793: *1 postgres: free keepalive peer
2020/10/18 04:21:43 [debug] 20793\#20793: *1 http finalize request: 502, "/postgres?" a:1, c:1
'
sanity.t TEST 4: select empty result - pattern "[error]" should not match any line in error.log but matches line "2020/10/18 04:21:43 [error] 20793\#20793: *3 postgres: connection failed: could not send startup packet: Resource temporarily unavailable" (req 1) while connecting to PostgreSQL database, client: 127.0.0.1, server: localhost, request: "GET /postgres HTTP/1.1", upstream: "postgres://127.0.0.1:5432", host: "localhost"
2020/10/18 04:21:43 [debug] 20793\#20793: *3 http next upstream, 2
2020/10/18 04:21:43 [debug] 20793\#20793: *3 postgres: free keepalive peer
2020/10/18 04:21:43 [debug] 20793\#20793: *3 poll del event: fd:8 ev:1
2020/10/18 04:21:43 [debug] 20793\#20793: *3 poll del index: 3
2020/10/18 04:21:43 [debug] 20793\#20793: *3 poll del event: fd:8 ev:4
2020/10/18 04:21:43 [debug] 20793\#20793: *3 finalize http upstream request: 502
2020/10/18 04:21:43 [debug] 20793\#20793: *3 postgres: free keepalive peer
2020/10/18 04:21:43 [debug] 20793\#20793: *3 http finalize request: 502, "/postgres?" a:1, c:1
'

Expected Failures

File Name Details
000_init.t TEST 1: cats - drop table - status code ok got: '502'
expected: '200'
000_init.t TEST 2: cats - create table - status code ok got: '502'
expected: '200'
000_init.t TEST 3: cats - insert value - status code ok got: '502'
expected: '200'
000_init.t TEST 4: cats - insert value - status code ok got: '502'
expected: '200'
000_init.t TEST 5: numbers - drop table - status code ok got: '502'
expected: '200'
000_init.t TEST 6: numbers - create table - status code ok got: '502'
expected: '200'
000_init.t TEST 7: users - drop table - status code ok got: '502'
expected: '200'
000_init.t TEST 8: users - create table - status code ok got: '502'
expected: '200'
000_init.t TEST 9: users - insert value - status code ok got: '502'
expected: '200'
auth.t TEST 1: authorized (auth basic) - status code ok got: '500'
expected: '200'
auth.t TEST 1: authorized (auth basic) - header Content-Type ok got: 'text/html'
expected: 'text/plain'
auth.t TEST 1: authorized (auth basic) - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "hi, ngx_test!"
length: 13
strings begin to differ at char 1 (line 1 column 1)
auth.t TEST 1: authorized (auth basic) - status code ok got: '500'
expected: '200'
auth.t TEST 1: authorized (auth basic) - header Content-Type ok got: 'text/html'
expected: 'text/plain'
auth.t TEST 1: authorized (auth basic) - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "hi, ngx_test!"
length: 13
strings begin to differ at char 1 (line 1 column 1)
auth.t TEST 2: unauthorized (auth basic) - status code ok got: '500'
expected: '403'
auth.t TEST 3: unauthorized (no authorization header) - status code ok got: '500'
expected: '403'
bigpipe.t TEST 3: asynchronous (with echo filter) - response_body - response is expected (repeated req 0, req 0) got: ..."der.load( <html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 499
expected: ..."der.load( [{"id":2,"name":null},{"id":3,"name":"bo"...
length: 253
strings begin to differ at char 93 (line 2 column 45)
bigpipe.t TEST 3: asynchronous (with echo filter) - response_body - response is expected (repeated req 1, req 0) got: ..."der.load( <html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 499
expected: ..."der.load( [{"id":2,"name":null},{"id":3,"name":"bo"...
length: 253
strings begin to differ at char 93 (line 2 column 45)
bigpipe.t TEST 1: synchronous - response_body - response is expected (repeated req 0, req 0) got: ..."ader.load(<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 498
expected: ..."ader.load([{"id":2,"name":null},{"id":3,"name":"bo"...
length: 252
strings begin to differ at char 92 (line 2 column 44)
bigpipe.t TEST 1: synchronous - response_body - response is expected (repeated req 1, req 0) got: ..."ader.load(<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 498
expected: ..."ader.load([{"id":2,"name":null},{"id":3,"name":"bo"...
length: 252
strings begin to differ at char 92 (line 2 column 44)
bigpipe.t TEST 2: asynchronous (without echo filter) - response_body - response is expected (repeated req 0, req 0) got: ..."ader.load(<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 498
expected: ..."ader.load([{"id":2,"name":null},{"id":3,"name":"bo"...
length: 252
strings begin to differ at char 92 (line 2 column 44)
bigpipe.t TEST 2: asynchronous (without echo filter) - response_body - response is expected (repeated req 1, req 0) got: ..."ader.load(<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 498
expected: ..."ader.load([{"id":2,"name":null},{"id":3,"name":"bo"...
length: 252
strings begin to differ at char 92 (line 2 column 44)
errors.t TEST 4: multiple queries - status code ok got: '502'
expected: '500'
errors.t TEST 1: bad query - status code ok got: '502'
expected: '500'
errors.t TEST 8: non-existing table - status code ok got: '502'
expected: '500'
eval.t TEST 2: sanity (simple case) - response_body - response is expected (repeated req 0, req 0) got: ""
length: 0
expected: "test"
length: 4
strings begin to differ at char 1 (line 1 column 1)
eval.t TEST 2: sanity (simple case) - response_body - response is expected (repeated req 1, req 0) got: ""
length: 0
expected: "test"
length: 4
strings begin to differ at char 1 (line 1 column 1)
eval.t TEST 1: sanity - status code ok got: '500'
expected: '200'
eval.t TEST 1: sanity - header Content-Type ok got: 'text/html'
expected: 'text/plain'
eval.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "it works!"
length: 9
strings begin to differ at char 1 (line 1 column 1)
eval.t TEST 1: sanity - status code ok got: '500'
expected: '200'
eval.t TEST 1: sanity - header Content-Type ok got: 'text/html'
expected: 'text/plain'
eval.t TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "it works!"
length: 9
strings begin to differ at char 1 (line 1 column 1)
form.t TEST 1: sanity - status code ok got: '502'
expected: '200'
form.t TEST 1: sanity - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
form.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{01}\x{01}"...
length: 72
strings begin to differ at char 1 (line 1 column 1)
form.t TEST 1: sanity - status code ok got: '502'
expected: '200'
form.t TEST 1: sanity - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
form.t TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{01}\x{01}"...
length: 72
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 2: method-specific query - status code ok got: '502'
expected: '200'
methods.t TEST 2: method-specific query - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 2: method-specific query - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{03}\x{00}\x{00}\x{00}GET\x{00}"
length: 49
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 2: method-specific query - status code ok got: '502'
expected: '200'
methods.t TEST 2: method-specific query - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 2: method-specific query - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{03}\x{00}\x{00}\x{00}GET\x{00}"
length: 49
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 10: HTTP PATCH request method - status code ok got: '502'
expected: '200'
methods.t TEST 10: HTTP PATCH request method - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 10: HTTP PATCH request method - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{05}\x{00}\x{00}\x{00}PATCH"...
length: 51
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 10: HTTP PATCH request method - status code ok got: '502'
expected: '200'
methods.t TEST 10: HTTP PATCH request method - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 10: HTTP PATCH request method - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{05}\x{00}\x{00}\x{00}PATCH"...
length: 51
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 1: default query - status code ok got: '502'
expected: '200'
methods.t TEST 1: default query - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 1: default query - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{07}\x{00}\x{00}\x{00}defau"...
length: 53
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 1: default query - status code ok got: '502'
expected: '200'
methods.t TEST 1: default query - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 1: default query - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{07}\x{00}\x{00}\x{00}defau"...
length: 53
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 4: method-specific complex query (check 2) - status code ok got: '502'
expected: '200'
methods.t TEST 4: method-specific complex query (check 2) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 4: method-specific complex query (check 2) - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{04}\x{00}\x{00}\x{00}LOCK\x{00}"
length: 50
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 4: method-specific complex query (check 2) - status code ok got: '502'
expected: '200'
methods.t TEST 4: method-specific complex query (check 2) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 4: method-specific complex query (check 2) - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{04}\x{00}\x{00}\x{00}LOCK\x{00}"
length: 50
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 3: method-specific complex query (check 1) - status code ok got: '502'
expected: '200'
methods.t TEST 3: method-specific complex query (check 1) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 3: method-specific complex query (check 1) - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{03}\x{00}\x{00}\x{00}GET\x{00}"
length: 49
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 3: method-specific complex query (check 1) - status code ok got: '502'
expected: '200'
methods.t TEST 3: method-specific complex query (check 1) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 3: method-specific complex query (check 1) - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{03}\x{00}\x{00}\x{00}GET\x{00}"
length: 49
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 7: method-specific query and default query (using other method) - status code ok got: '502'
expected: '200'
methods.t TEST 7: method-specific query and default query (using other method) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 7: method-specific query and default query (using other method) - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{07}\x{00}\x{00}\x{00}defau"...
length: 53
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 7: method-specific query and default query (using other method) - status code ok got: '502'
expected: '200'
methods.t TEST 7: method-specific query and default query (using other method) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 7: method-specific query and default query (using other method) - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{07}\x{00}\x{00}\x{00}defau"...
length: 53
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 8: inheritance - status code ok got: '502'
expected: '200'
methods.t TEST 8: inheritance - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 8: inheritance - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{03}\x{00}\x{00}\x{00}GET\x{00}"
length: 49
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 8: inheritance - status code ok got: '502'
expected: '200'
methods.t TEST 8: inheritance - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 8: inheritance - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{03}\x{00}\x{00}\x{00}GET\x{00}"
length: 49
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 6: method-specific query and default query (using defined method) - status code ok got: '502'
expected: '200'
methods.t TEST 6: method-specific query and default query (using defined method) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 6: method-specific query and default query (using defined method) - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{03}\x{00}\x{00}\x{00}GET\x{00}"
length: 49
strings begin to differ at char 1 (line 1 column 1)
methods.t TEST 6: method-specific query and default query (using defined method) - status code ok got: '502'
expected: '200'
methods.t TEST 6: method-specific query and default query (using defined method) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
methods.t TEST 6: method-specific query and default query (using defined method) - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{03}\x{00}\x{00}\x{00}GET\x{00}"
length: 49
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 17: text - empty result - status code ok got: '502'
expected: '200'
output.t TEST 17: text - empty result - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 17: text - empty result - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: ""
length: 0
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 17: text - empty result - status code ok got: '502'
expected: '200'
output.t TEST 17: text - empty result - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 17: text - empty result - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: ""
length: 0
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 7: rds - sanity (configured) - status code ok got: '502'
expected: '200'
output.t TEST 7: rds - sanity (configured) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
output.t TEST 7: rds - sanity (configured) - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{07}\x{00}\x{00}\x{00}defau"...
length: 53
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 7: rds - sanity (configured) - status code ok got: '502'
expected: '200'
output.t TEST 7: rds - sanity (configured) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
output.t TEST 7: rds - sanity (configured) - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{07}\x{00}\x{00}\x{00}defau"...
length: 53
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 6: text - sanity - status code ok got: '502'
expected: '200'
output.t TEST 6: text - sanity - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 6: text - sanity - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "a\x{0a}b\x{0a}c\x{0a}d"
length: 7
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 6: text - sanity - status code ok got: '502'
expected: '200'
output.t TEST 6: text - sanity - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 6: text - sanity - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "a\x{0a}b\x{0a}c\x{0a}d"
length: 7
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 11: value - sanity (request with known extension) - status code ok got: '502'
expected: '200'
output.t TEST 11: value - sanity (request with known extension) - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 11: value - sanity (request with known extension) - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "test"
length: 4
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 11: value - sanity (request with known extension) - status code ok got: '502'
expected: '200'
output.t TEST 11: value - sanity (request with known extension) - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 11: value - sanity (request with known extension) - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "test"
length: 4
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 3: value - sanity (with different default_type) - status code ok got: '502'
expected: '200'
output.t TEST 3: value - sanity (with different default_type) - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "test"
length: 4
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 3: value - sanity (with different default_type) - status code ok got: '502'
expected: '200'
output.t TEST 3: value - sanity (with different default_type) - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "test"
length: 4
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 12: value - bytea returned in text format - status code ok got: '502'
expected: '200'
output.t TEST 12: value - bytea returned in text format - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 12: value - bytea returned in text format - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.3 (no pool)</center> </body> </html>) '<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^(?:\\001|\\x01)$)'
output.t TEST 12: value - bytea returned in text format - status code ok got: '502'
expected: '200'
output.t TEST 12: value - bytea returned in text format - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 12: value - bytea returned in text format - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.19.3 (no pool)</center> </body> </html>) '<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^(?:\\001|\\x01)$)'
output.t TEST 9: inheritance - status code ok got: '502'
expected: '200'
output.t TEST 9: inheritance - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 9: inheritance - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "test"
length: 4
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 9: inheritance - status code ok got: '502'
expected: '200'
output.t TEST 9: inheritance - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 9: inheritance - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "test"
length: 4
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 8: rds - sanity (default) - status code ok got: '502'
expected: '200'
output.t TEST 8: rds - sanity (default) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
output.t TEST 8: rds - sanity (default) - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{07}\x{00}\x{00}\x{00}defau"...
length: 53
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 8: rds - sanity (default) - status code ok got: '502'
expected: '200'
output.t TEST 8: rds - sanity (default) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
output.t TEST 8: rds - sanity (default) - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{07}\x{00}\x{00}\x{00}defau"...
length: 53
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 15: value - "if" pseudo-location - status code ok got: '502'
expected: '200'
output.t TEST 15: value - "if" pseudo-location - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 15: value - "if" pseudo-location - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "2"
length: 1
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 15: value - "if" pseudo-location - status code ok got: '502'
expected: '200'
output.t TEST 15: value - "if" pseudo-location - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 15: value - "if" pseudo-location - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "2"
length: 1
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 13: binary value - bytea returned in binary format - status code ok got: '502'
expected: '200'
output.t TEST 13: binary value - bytea returned in binary format - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 13: binary value - bytea returned in binary format - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{01}"
length: 1
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 13: binary value - bytea returned in binary format - status code ok got: '502'
expected: '200'
output.t TEST 13: binary value - bytea returned in binary format - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 13: binary value - bytea returned in binary format - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{01}"
length: 1
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 10: inheritance (mixed, don't inherit) - status code ok got: '502'
expected: '200'
output.t TEST 10: inheritance (mixed, don't inherit) - header Content-Type not present in the raw headers 'HTTP/1.1 502 Bad Gateway
Server: nginx/1.19.3 (no pool)
Date: Sun, 18 Oct 2020 04:19:46 GMT
Content-Type: text/html
Content-Length: 167
Connection: close
'
matches '(?^ms:^\s*Content\-Type\s*:)'
output.t TEST 10: inheritance (mixed, don't inherit) - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: ""
length: 0
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 10: inheritance (mixed, don't inherit) - status code ok got: '502'
expected: '200'
output.t TEST 10: inheritance (mixed, don't inherit) - header Content-Type not present in the raw headers 'HTTP/1.1 502 Bad Gateway
Server: nginx/1.19.3 (no pool)
Date: Sun, 18 Oct 2020 04:19:47 GMT
Content-Type: text/html
Content-Length: 167
Connection: close
'
matches '(?^ms:^\s*Content\-Type\s*:)'
output.t TEST 10: inheritance (mixed, don't inherit) - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: ""
length: 0
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 1: none - sanity - status code ok got: '502'
expected: '200'
output.t TEST 1: none - sanity - header Content-Type not present in the raw headers 'HTTP/1.1 502 Bad Gateway
Server: nginx/1.19.3 (no pool)
Date: Sun, 18 Oct 2020 04:19:49 GMT
Content-Type: text/html
Content-Length: 167
Connection: close
'
matches '(?^ms:^\s*Content\-Type\s*:)'
output.t TEST 1: none - sanity - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: ""
length: 0
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 1: none - sanity - status code ok got: '502'
expected: '200'
output.t TEST 1: none - sanity - header Content-Type not present in the raw headers 'HTTP/1.1 502 Bad Gateway
Server: nginx/1.19.3 (no pool)
Date: Sun, 18 Oct 2020 04:19:49 GMT
Content-Type: text/html
Content-Length: 167
Connection: close
'
matches '(?^ms:^\s*Content\-Type\s*:)'
output.t TEST 1: none - sanity - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: ""
length: 0
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 19: value - too many values - status code ok got: '502'
expected: '500'
output.t TEST 4: value - NULL value - status code ok got: '502'
expected: '500'
output.t TEST 2: value - sanity - status code ok got: '502'
expected: '200'
output.t TEST 2: value - sanity - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 2: value - sanity - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "test"
length: 4
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 2: value - sanity - status code ok got: '502'
expected: '200'
output.t TEST 2: value - sanity - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 2: value - sanity - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "test"
length: 4
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 14: binary value - int2 returned in binary format - status code ok got: '502'
expected: '200'
output.t TEST 14: binary value - int2 returned in binary format - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 14: binary value - int2 returned in binary format - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}"
length: 2
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 14: binary value - int2 returned in binary format - status code ok got: '502'
expected: '200'
output.t TEST 14: binary value - int2 returned in binary format - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 14: binary value - int2 returned in binary format - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}"
length: 2
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 18: value - empty result - status code ok got: '502'
expected: '500'
output.t TEST 5: value - empty value - status code ok got: '502'
expected: '500'
output.t TEST 16: text - NULL value - status code ok got: '502'
expected: '200'
output.t TEST 16: text - NULL value - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 16: text - NULL value - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "2\x{0a}(null)\x{0a}3\x{0a}bob"
length: 14
strings begin to differ at char 1 (line 1 column 1)
output.t TEST 16: text - NULL value - status code ok got: '502'
expected: '200'
output.t TEST 16: text - NULL value - header Content-Type ok got: 'text/html'
expected: 'text/plain'
output.t TEST 16: text - NULL value - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "2\x{0a}(null)\x{0a}3\x{0a}bob"
length: 14
strings begin to differ at char 1 (line 1 column 1)
restful.t TEST 1: clean collection - status code ok got: '500'
expected: '204'
restful.t TEST 1: clean collection - header Content-Type not present in the raw headers 'HTTP/1.1 500 Internal Server Error
Server: nginx/1.19.3 (no pool)
Date: Sun, 18 Oct 2020 04:20:07 GMT
Content-Type: text/html
Content-Length: 187
Connection: close
'
matches '(?^ms:^\s*Content\-Type\s*:)'
restful.t TEST 1: clean collection - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: ""
length: 0
strings begin to differ at char 1 (line 1 column 1)
restful.t TEST 2: list empty collection - status code ok got: '500'
expected: '200'
restful.t TEST 2: list empty collection - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
restful.t TEST 2: list empty collection - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{09}\x{00}\x{17}\x{00}\x{06}\x{00}number\x{00}"
length: 43
strings begin to differ at char 1 (line 1 column 1)
restful.t TEST 3: insert resource into collection - status code ok got: '500'
expected: '201'
restful.t TEST 3: insert resource into collection - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
restful.t TEST 3: insert resource into collection - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{09}\x{00}\x{17}\x{00}\x{06}\x{00}number\x{01}\x{03}\x{00}\x{00}\x{00}123"...
length: 51
strings begin to differ at char 1 (line 1 column 1)
restful.t TEST 4: list collection - status code ok got: '500'
expected: '200'
restful.t TEST 4: list collection - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
restful.t TEST 4: list collection - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{09}\x{00}\x{17}\x{00}\x{06}\x{00}number\x{01}\x{03}\x{00}\x{00}\x{00}123"...
length: 51
strings begin to differ at char 1 (line 1 column 1)
restful.t TEST 5: get resource - status code ok got: '500'
expected: '200'
restful.t TEST 5: get resource - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
restful.t TEST 5: get resource - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{09}\x{00}\x{17}\x{00}\x{06}\x{00}number\x{01}\x{03}\x{00}\x{00}\x{00}123"...
length: 51
strings begin to differ at char 1 (line 1 column 1)
restful.t TEST 6: update resource - status code ok got: '500'
expected: '200'
restful.t TEST 6: update resource - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
restful.t TEST 6: update resource - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{09}\x{00}\x{17}\x{00}\x{06}\x{00}number\x{01}\x{03}\x{00}\x{00}\x{00}123"...
length: 51
strings begin to differ at char 1 (line 1 column 1)
restful.t TEST 7: remove resource - status code ok got: '500'
expected: '204'
restful.t TEST 7: remove resource - header Content-Type not present in the raw headers 'HTTP/1.1 500 Internal Server Error
Server: nginx/1.19.3 (no pool)
Date: Sun, 18 Oct 2020 04:20:20 GMT
Content-Type: text/html
Content-Length: 187
Connection: close
'
matches '(?^ms:^\s*Content\-Type\s*:)'
restful.t TEST 7: remove resource - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: ""
length: 0
strings begin to differ at char 1 (line 1 column 1)
restful.t TEST 8: update non-existing resource - status code ok got: '500'
expected: '410'
restful.t TEST 8: update non-existing resource - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.19.3 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:410 Gone)'
restful.t TEST 9: get non-existing resource - status code ok got: '500'
expected: '410'
restful.t TEST 9: get non-existing resource - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.19.3 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:410 Gone)'
restful.t TEST 10: remove non-existing resource - status code ok got: '500'
expected: '410'
restful.t TEST 10: remove non-existing resource - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.19.3 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:410 Gone)'
restful.t TEST 11: list empty collection (done) - status code ok got: '500'
expected: '200'
restful.t TEST 11: list empty collection (done) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
restful.t TEST 11: list empty collection (done) - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{09}\x{00}\x{17}\x{00}\x{06}\x{00}number\x{00}"
length: 43
strings begin to differ at char 1 (line 1 column 1)
restful_json.t TEST 1: clean collection - status code ok got: '500'
expected: '204'
restful_json.t TEST 1: clean collection - header Content-Type not present in the raw headers 'HTTP/1.1 500 Internal Server Error
Server: nginx/1.19.3 (no pool)
Date: Sun, 18 Oct 2020 04:20:31 GMT
Content-Type: text/html
Content-Length: 187
Connection: close
'
matches '(?^ms:^\s*Content\-Type\s*:)'
restful_json.t TEST 1: clean collection - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: ""
length: 0
strings begin to differ at char 1 (line 1 column 1)
restful_json.t TEST 2: list empty collection - status code ok got: '500'
expected: '200'
restful_json.t TEST 2: list empty collection - header Content-Type ok got: 'text/html'
expected: 'application/json'
restful_json.t TEST 2: list empty collection - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "[]"
length: 2
strings begin to differ at char 1 (line 1 column 1)
restful_json.t TEST 3: insert resource into collection - status code ok got: '500'
expected: '201'
restful_json.t TEST 3: insert resource into collection - header Content-Type ok got: 'text/html'
expected: 'application/json'
restful_json.t TEST 3: insert resource into collection - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "[{"number":123}]"
length: 16
strings begin to differ at char 1 (line 1 column 1)
restful_json.t TEST 4: list collection - status code ok got: '500'
expected: '200'
restful_json.t TEST 4: list collection - header Content-Type ok got: 'text/html'
expected: 'application/json'
restful_json.t TEST 4: list collection - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "[{"number":123}]"
length: 16
strings begin to differ at char 1 (line 1 column 1)
restful_json.t TEST 5: get resource - status code ok got: '500'
expected: '200'
restful_json.t TEST 5: get resource - header Content-Type ok got: 'text/html'
expected: 'application/json'
restful_json.t TEST 5: get resource - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "[{"number":123}]"
length: 16
strings begin to differ at char 1 (line 1 column 1)
restful_json.t TEST 6: update resource - status code ok got: '500'
expected: '200'
restful_json.t TEST 6: update resource - header Content-Type ok got: 'text/html'
expected: 'application/json'
restful_json.t TEST 6: update resource - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "[{"number":123}]"
length: 16
strings begin to differ at char 1 (line 1 column 1)
restful_json.t TEST 7: remove resource - status code ok got: '500'
expected: '204'
restful_json.t TEST 7: remove resource - header Content-Type not present in the raw headers 'HTTP/1.1 500 Internal Server Error
Server: nginx/1.19.3 (no pool)
Date: Sun, 18 Oct 2020 04:20:44 GMT
Content-Type: text/html
Content-Length: 187
Connection: close
'
matches '(?^ms:^\s*Content\-Type\s*:)'
restful_json.t TEST 7: remove resource - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: ""
length: 0
strings begin to differ at char 1 (line 1 column 1)
restful_json.t TEST 8: update non-existing resource - status code ok got: '500'
expected: '410'
restful_json.t TEST 8: update non-existing resource - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.19.3 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:410 Gone)'
restful_json.t TEST 9: get non-existing resource - status code ok got: '500'
expected: '410'
restful_json.t TEST 9: get non-existing resource - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.19.3 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:410 Gone)'
restful_json.t TEST 10: remove non-existing resource - status code ok got: '500'
expected: '410'
restful_json.t TEST 10: remove non-existing resource - response_body_like - response is expected (<html> <head><title>500 Internal Server Error</title></head> <body> <center><h1>500 Internal Server Error</h1></center> <hr><center>nginx/1.19.3 (no pool)</center> </body> </html>) '<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx/1.19.3 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:410 Gone)'
restful_json.t TEST 11: list empty collection (done) - status code ok got: '500'
expected: '200'
restful_json.t TEST 11: list empty collection (done) - header Content-Type ok got: 'text/html'
expected: 'application/json'
restful_json.t TEST 11: list empty collection (done) - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>500 Internal Server Error</ti"...
length: 187
expected: "[]"
length: 2
strings begin to differ at char 1 (line 1 column 1)
rewrites.t TEST 1: no changes (SELECT) - status code ok got: '502'
expected: '200'
rewrites.t TEST 1: no changes (SELECT) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 1: no changes (SELECT) - status code ok got: '502'
expected: '200'
rewrites.t TEST 1: no changes (SELECT) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 5: no rows - status code ok got: '502'
expected: '410'
rewrites.t TEST 2: no changes (UPDATE) - status code ok got: '502'
expected: '206'
rewrites.t TEST 2: no changes (UPDATE) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 2: no changes (UPDATE) - status code ok got: '502'
expected: '206'
rewrites.t TEST 2: no changes (UPDATE) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 12: no changes (UPDATE) with 409 response - status code ok got: '502'
expected: '409'
rewrites.t TEST 8: rows (method-specific) - status code ok got: '502'
expected: '206'
rewrites.t TEST 8: rows (method-specific) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 8: rows (method-specific) - status code ok got: '502'
expected: '206'
rewrites.t TEST 8: rows (method-specific) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 4: rows - status code ok got: '502'
expected: '206'
rewrites.t TEST 4: rows - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 4: rows - status code ok got: '502'
expected: '206'
rewrites.t TEST 4: rows - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 10: rows (none) - status code ok got: '502'
expected: '200'
rewrites.t TEST 10: rows (none) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 10: rows (none) - status code ok got: '502'
expected: '200'
rewrites.t TEST 10: rows (none) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 11: no changes (UPDATE) with 202 response - status code ok got: '502'
expected: '202'
rewrites.t TEST 11: no changes (UPDATE) with 202 response - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 11: no changes (UPDATE) with 202 response - status code ok got: '502'
expected: '202'
rewrites.t TEST 11: no changes (UPDATE) with 202 response - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 15: rows - "if" pseudo-location - status code ok got: '502'
expected: '206'
rewrites.t TEST 15: rows - "if" pseudo-location - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 15: rows - "if" pseudo-location - status code ok got: '502'
expected: '206'
rewrites.t TEST 15: rows - "if" pseudo-location - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 7: inheritance (mixed, don't inherit) - status code ok got: '502'
expected: '206'
rewrites.t TEST 7: inheritance (mixed, don't inherit) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 7: inheritance (mixed, don't inherit) - status code ok got: '502'
expected: '206'
rewrites.t TEST 7: inheritance (mixed, don't inherit) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 14: rows with 409 status and our body (with integrity check) - status code ok got: '502'
expected: '409'
rewrites.t TEST 14: rows with 409 status and our body (with integrity check) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 14: rows with 409 status and our body (with integrity check) - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{01}\x{01}"...
length: 72
strings begin to differ at char 1 (line 1 column 1)
rewrites.t TEST 14: rows with 409 status and our body (with integrity check) - status code ok got: '502'
expected: '409'
rewrites.t TEST 14: rows with 409 status and our body (with integrity check) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 14: rows with 409 status and our body (with integrity check) - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{01}\x{01}"...
length: 72
strings begin to differ at char 1 (line 1 column 1)
rewrites.t TEST 6: inheritance - status code ok got: '502'
expected: '206'
rewrites.t TEST 6: inheritance - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 6: inheritance - status code ok got: '502'
expected: '206'
rewrites.t TEST 6: inheritance - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 9: rows (default) - status code ok got: '502'
expected: '206'
rewrites.t TEST 9: rows (default) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 9: rows (default) - status code ok got: '502'
expected: '206'
rewrites.t TEST 9: rows (default) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 13: no changes (UPDATE) with 409 status and our body - status code ok got: '502'
expected: '409'
rewrites.t TEST 13: no changes (UPDATE) with 409 status and our body - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 13: no changes (UPDATE) with 409 status and our body - status code ok got: '502'
expected: '409'
rewrites.t TEST 13: no changes (UPDATE) with 409 status and our body - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 3: one change - status code ok got: '502'
expected: '206'
rewrites.t TEST 3: one change - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
rewrites.t TEST 3: one change - status code ok got: '502'
expected: '206'
rewrites.t TEST 3: one change - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 6: HEAD request - status code ok got: '502'
expected: '200'
sanity.t TEST 6: HEAD request - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 6: HEAD request - status code ok got: '502'
expected: '200'
sanity.t TEST 6: HEAD request - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 2: keep-alive - status code ok got: '502'
expected: '200'
sanity.t TEST 2: keep-alive - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 2: keep-alive - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{01}\x{01}"...
length: 72
strings begin to differ at char 1 (line 1 column 1)
sanity.t TEST 2: keep-alive - status code ok got: '502'
expected: '200'
sanity.t TEST 2: keep-alive - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 2: keep-alive - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{01}\x{01}"...
length: 72
strings begin to differ at char 1 (line 1 column 1)
sanity.t TEST 5: variables in postgres_pass - status code ok got: '502'
expected: '200'
sanity.t TEST 5: variables in postgres_pass - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 5: variables in postgres_pass - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}"
length: 30
strings begin to differ at char 1 (line 1 column 1)
sanity.t TEST 5: variables in postgres_pass - status code ok got: '502'
expected: '200'
sanity.t TEST 5: variables in postgres_pass - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 5: variables in postgres_pass - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}"
length: 30
strings begin to differ at char 1 (line 1 column 1)
sanity.t TEST 3: update - status code ok got: '502'
expected: '200'
sanity.t TEST 3: update - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 3: update - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}"
length: 30
strings begin to differ at char 1 (line 1 column 1)
sanity.t TEST 3: update - status code ok got: '502'
expected: '200'
sanity.t TEST 3: update - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 3: update - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}"
length: 30
strings begin to differ at char 1 (line 1 column 1)
sanity.t TEST 1: sanity - status code ok got: '502'
expected: '200'
sanity.t TEST 1: sanity - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{01}\x{01}"...
length: 72
strings begin to differ at char 1 (line 1 column 1)
sanity.t TEST 1: sanity - status code ok got: '502'
expected: '200'
sanity.t TEST 1: sanity - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{01}\x{01}"...
length: 72
strings begin to differ at char 1 (line 1 column 1)
sanity.t TEST 7: "if" pseudo-location - status code ok got: '502'
expected: '200'
sanity.t TEST 7: "if" pseudo-location - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 7: "if" pseudo-location - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{01}\x{01}"...
length: 72
strings begin to differ at char 1 (line 1 column 1)
sanity.t TEST 7: "if" pseudo-location - status code ok got: '502'
expected: '200'
sanity.t TEST 7: "if" pseudo-location - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 7: "if" pseudo-location - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{01}\x{01}"...
length: 72
strings begin to differ at char 1 (line 1 column 1)
sanity.t TEST 4: select empty result - status code ok got: '502'
expected: '200'
sanity.t TEST 4: select empty result - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 4: select empty result - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{00}"
length: 49
strings begin to differ at char 1 (line 1 column 1)
sanity.t TEST 4: select empty result - status code ok got: '502'
expected: '200'
sanity.t TEST 4: select empty result - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
sanity.t TEST 4: select empty result - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{09}\x{00}\x{17}\x{00}\x{02}\x{00}id\x{06}\x{80}\x{19}\x{00}\x{04}\x{00}name\x{00}"
length: 49
strings begin to differ at char 1 (line 1 column 1)
variables.t TEST 10: $postgres_query (simple value) - status code ok got: '502'
expected: '200'
variables.t TEST 10: $postgres_query (simple value) - header X-Query ok got: ''
expected: 'select 'test' as echo'
variables.t TEST 10: $postgres_query (simple value) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 10: $postgres_query (simple value) - status code ok got: '502'
expected: '200'
variables.t TEST 10: $postgres_query (simple value) - header X-Query ok got: ''
expected: 'select 'test' as echo'
variables.t TEST 10: $postgres_query (simple value) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 11: $postgres_query (simple value) - status code ok got: '502'
expected: '200'
variables.t TEST 11: $postgres_query (simple value) - header X-Query ok got: ''
expected: 'select 'GET' as echo'
variables.t TEST 11: $postgres_query (simple value) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 11: $postgres_query (simple value) - status code ok got: '502'
expected: '200'
variables.t TEST 11: $postgres_query (simple value) - header X-Query ok got: ''
expected: 'select 'GET' as echo'
variables.t TEST 11: $postgres_query (simple value) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 2: out-of-range value (optional) - status code ok got: '502'
expected: '200'
variables.t TEST 2: out-of-range value (optional) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 2: out-of-range value (optional) - status code ok got: '502'
expected: '200'
variables.t TEST 2: out-of-range value (optional) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 6: NULL value (required) - status code ok got: '502'
expected: '500'
variables.t TEST 13: $postgres_affected (SELECT) - status code ok got: '502'
expected: '200'
variables.t TEST 13: $postgres_affected (SELECT) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 13: $postgres_affected (SELECT) - status code ok got: '502'
expected: '200'
variables.t TEST 13: $postgres_affected (SELECT) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 4: zero-length value (optional) - status code ok got: '502'
expected: '200'
variables.t TEST 4: zero-length value (optional) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 4: zero-length value (optional) - status code ok got: '502'
expected: '200'
variables.t TEST 4: zero-length value (optional) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 16: inheritance - status code ok got: '502'
expected: '500'
variables.t TEST 5: out-of-range value (required) - status code ok got: '502'
expected: '500'
variables.t TEST 3: NULL value (optional) - status code ok got: '502'
expected: '200'
variables.t TEST 3: NULL value (optional) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 3: NULL value (optional) - status code ok got: '502'
expected: '200'
variables.t TEST 3: NULL value (optional) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 9: $postgres_rows - status code ok got: '502'
expected: '200'
variables.t TEST 9: $postgres_rows - header X-Rows ok got: ''
expected: '1'
variables.t TEST 9: $postgres_rows - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 9: $postgres_rows - status code ok got: '502'
expected: '200'
variables.t TEST 9: $postgres_rows - header X-Rows ok got: ''
expected: '1'
variables.t TEST 9: $postgres_rows - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 7: zero-length value (required) - status code ok got: '502'
expected: '500'
variables.t TEST 19: column by name (not existing, optional) - status code ok got: '502'
expected: '200'
variables.t TEST 19: column by name (not existing, optional) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 19: column by name (not existing, optional) - status code ok got: '502'
expected: '200'
variables.t TEST 19: column by name (not existing, optional) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 14: $postgres_affected (UPDATE, no changes) - status code ok got: '502'
expected: '200'
variables.t TEST 14: $postgres_affected (UPDATE, no changes) - header X-Affected ok got: ''
expected: '0'
variables.t TEST 14: $postgres_affected (UPDATE, no changes) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 14: $postgres_affected (UPDATE, no changes) - status code ok got: '502'
expected: '200'
variables.t TEST 14: $postgres_affected (UPDATE, no changes) - header X-Affected ok got: ''
expected: '0'
variables.t TEST 14: $postgres_affected (UPDATE, no changes) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 1: sanity - status code ok got: '502'
expected: '200'
variables.t TEST 1: sanity - header X-Test ok got: ''
expected: 'test'
variables.t TEST 1: sanity - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 1: sanity - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{04}\x{00}\x{00}\x{00}test\x{00}"
length: 50
strings begin to differ at char 1 (line 1 column 1)
variables.t TEST 1: sanity - status code ok got: '502'
expected: '200'
variables.t TEST 1: sanity - header X-Test ok got: ''
expected: 'test'
variables.t TEST 1: sanity - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 1: sanity - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "\x{00}\x{03}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{02}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{00}\x{01}\x{00}\x{00}\x{80}\x{c1}\x{02}\x{04}\x{00}echo\x{01}\x{04}\x{00}\x{00}\x{00}test\x{00}"
length: 50
strings begin to differ at char 1 (line 1 column 1)
variables.t TEST 17: inheritance (mixed, don't inherit) - status code ok got: '502'
expected: '200'
variables.t TEST 17: inheritance (mixed, don't inherit) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 17: inheritance (mixed, don't inherit) - status code ok got: '502'
expected: '200'
variables.t TEST 17: inheritance (mixed, don't inherit) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 18: column by name (existing) - status code ok got: '502'
expected: '200'
variables.t TEST 18: column by name (existing) - header X-Test ok got: ''
expected: 'test'
variables.t TEST 18: column by name (existing) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 18: column by name (existing) - status code ok got: '502'
expected: '200'
variables.t TEST 18: column by name (existing) - header X-Test ok got: ''
expected: 'test'
variables.t TEST 18: column by name (existing) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 15: $postgres_affected (UPDATE, one change) - status code ok got: '502'
expected: '200'
variables.t TEST 15: $postgres_affected (UPDATE, one change) - header X-Affected ok got: ''
expected: '1'
variables.t TEST 15: $postgres_affected (UPDATE, one change) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 15: $postgres_affected (UPDATE, one change) - status code ok got: '502'
expected: '200'
variables.t TEST 15: $postgres_affected (UPDATE, one change) - header X-Affected ok got: ''
expected: '1'
variables.t TEST 15: $postgres_affected (UPDATE, one change) - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 20: column by name (not existing, required) - status code ok got: '502'
expected: '500'
variables.t TEST 8: $postgres_columns - status code ok got: '502'
expected: '200'
variables.t TEST 8: $postgres_columns - header X-Columns ok got: ''
expected: '3'
variables.t TEST 8: $postgres_columns - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'
variables.t TEST 8: $postgres_columns - status code ok got: '502'
expected: '200'
variables.t TEST 8: $postgres_columns - header X-Columns ok got: ''
expected: '3'
variables.t TEST 8: $postgres_columns - header Content-Type ok got: 'text/html'
expected: 'application/x-resty-dbd-stream'

Warnings

(none)

Go back to the index page.