http::ProxyRequired ==== Contents of test case: http::config -proxyhost [info hostname] -proxyport $port set token [http::geturl $url] http::wait $token http::config -proxyhost {} -proxyport {} upvar #0 $token data set data(body) ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: couldn't open socket: host is unreachable (No address associated with hostname) while executing "http::geturl $url" ("uplevel" body line 3) invoked from within "uplevel 1 $script" ---- errorCode: NONE
the error occurs when do http.test Line 125: set url //[info hostname]:$port tcl try to resolve hostname but failed. So run: # echo "127.0.0.1 `hostname`" >> /etc/hosts will make the test passed.
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=30b44d9e67493dbd5771817dc3a9e6edc4471352