Project

General

Profile

Bug #8577 » test_http_client_address_output_4.5.0-rc1-52-g42a5ef9f.txt

Bruce Toll, 05/24/2021 09:09 PM

 
# 20210524 -- Note leading components of paths replaced with '...' for simplification

./test.http -x 0 -t 'http_client_address*'

Running 4 test cases...
[2021-May-24 14:47:41.941] 12115 - [info] "config: reading Wt config file: .../etc/wt/wt_config.xml (location = '')"
[2021-May-24 14:47:41.942] 12115 - [info] "WServer/wthttp: initializing built-in wthttpd"
[2021-May-24 14:47:41.943] 12115 - [info] "wthttp: started server: http://127.0.0.1:0"
127.0.0.1 - - [2021-May-24 14:47:41.946] "GET /test HTTP/1.1" 200 9
[2021-May-24 14:47:41.946] 12115 - [info] "WebRequest: took 0.342 ms"
[2021-May-24 14:47:41.946] 12115 - [info] "WebController: shutdown: stopping 0 sessions."
[2021-May-24 14:47:41.946] 12115 - [info] "WServer/wthttp: Shutdown: stopping web server."
[2021-May-24 14:47:41.947] 12115 - [info] "config: reading Wt config file: .../etc/wt/wt_config.xml (location = '')"
[2021-May-24 14:47:41.948] 12115 - [info] "WServer/wthttp: initializing built-in wthttpd"
[2021-May-24 14:47:41.948] 12115 - [info] "wthttp: started server: http://127.0.0.1:0"
127.0.0.1 - - [2021-May-24 14:47:41.949] "GET /test HTTP/1.1" 200 11
[2021-May-24 14:47:41.949] 12115 - [info] "WebRequest: took 0.171 ms"
.../test/http/HttpClientServerTest.C(399): fatal error: in "http_client_address_forwarded_for": critical check client.message().body() == "198.51.100.1" has failed
[2021-May-24 14:47:41.949] 12115 - [info] "WebController: shutdown: stopping 0 sessions."
[2021-May-24 14:47:41.949] 12115 - [info] "WServer/wthttp: Shutdown: stopping web server."
[2021-May-24 14:47:41.950] 12115 - [info] "config: reading Wt config file: .../etc/wt/wt_config.xml (location = '')"
[2021-May-24 14:47:41.950] 12115 - [info] "WServer/wthttp: initializing built-in wthttpd"
[2021-May-24 14:47:41.950] 12115 - [info] "wthttp: started server: http://127.0.0.1:0"
127.0.0.1 - - [2021-May-24 14:47:41.951] "GET /test HTTP/1.1" 200 9
[2021-May-24 14:47:41.951] 12115 - [info] "WebRequest: took 0.158 ms"
.../test/http/HttpClientServerTest.C(424): fatal error: in "http_client_address_client_ip": critical check client.message().body() == "203.0.113.1" has failed
[2021-May-24 14:47:41.951] 12115 - [info] "WebController: shutdown: stopping 0 sessions."
[2021-May-24 14:47:41.951] 12115 - [info] "WServer/wthttp: Shutdown: stopping web server."
[2021-May-24 14:47:41.952] 12115 - [info] "config: reading Wt config file: .../etc/wt/wt_config.xml (location = '')"
[2021-May-24 14:47:41.952] 12115 - [info] "WServer/wthttp: initializing built-in wthttpd"
[2021-May-24 14:47:41.953] 12115 - [info] "wthttp: started server: http://127.0.0.1:0"
127.0.0.1 - - [2021-May-24 14:47:41.953] "GET /test HTTP/1.1" 200 10
[2021-May-24 14:47:41.953] 12115 - [info] "WebRequest: took 0.176 ms"
[2021-May-24 14:47:41.953] 12115 - [info] "WebController: shutdown: stopping 0 sessions."
[2021-May-24 14:47:41.953] 12115 - [info] "WServer/wthttp: Shutdown: stopping web server."

*** 2 failures are detected in the test module "Master Test Suite"
(1-1/2)