Re: Running StandaloneTalos test

alice nodelman <[email protected]> Tue, 05 Feb 2008 13:51:22 -0800
Newsgroups gmane.comp.mozilla.performance
Message-ID <[email protected]>
If it is attempting to open http://tinderbox that means that the 
pageloader (step 3 in First Steps) isn't in the right location.  The 
chrome and components directories created by generate-tpcomponent.py 
need to end up in the talos/page_load_test directory.

alice.


[email protected] wrote:
> On Feb 5, 11:54 am, alice nodelman <[email protected]> wrote:
>> This final error looks like the proxy server is attempting to use port
>> 9011 while the browser is expecting the proxy at port 9001.  So, you
>> should be able to reconfigure the proxy to get past this.
>>
>> alice.
>>
>>
>>
>>>            I reran the test again. This time, firefox started and at the blink
>>> of an eye, it closed again.
>>>            Then I got the browser window with the message
>>>             "The proxy server is refusing connections, firefox is configured to
>>> use a proxy server that is refusing connections, check the proxy
>>> settings to make sure that they are correct"
>>>            The proxy set up (while running the test) is as follows:
>>>            Manual proxy configuration/HTTP proxy: localhost, port: 9011
> 
> Per the instruction in http://wiki.mozilla.org/StandaloneTalos, the
> proxy server is run with port 9011 whereas the talos/standalone/
> proxy_server.config sets up the preferences for the network port to
> 9001. So, When running the test, the browser preference is changed to
> use port 9001. This explains why the connection is refused.
> 
> I changed the proxyserver to run with port 9001 instead. The test
> runs, but.. initially the browser comes up and shuts down quickly.
> Then browser is fed with http://tinderbox and there is nothing
> displayed on the page except that it displays Done at the bottom. On
> the server side, there is a bunch of errors.
> 
> Do I need to bring any more set up code?
> 
> thanks for help,
> 
> - mouli
> 
> Detailed log below:
> 
> 
> On the test side:
> -----------------
> 
> [root@localhost talos]# python run_tests.py standalone/
> proxy_setup.config
> standalone_setup_proxy:
>                 Started Tue, 05 Feb 2008 12:30:53
> Running test tp:
>                 Started Tue, 05 Feb 2008 12:30:53
> WARNING: failed to terminate: 3173
>         Screen width/height:1024/768
>         colorDepth:24
>         Browser inner width/height: 1024/585
>         Browser outer width/height: 1024/698
> 
> 
> python standalone/proxyserver.py -p 9001
> ----------------------------------------
> Exception happened during processing of request from ('127.0.0.1',
> 45267)
> Traceback (most recent call last):
>   File "/usr/lib64/python2.5/SocketServer.py", line 464, in
> process_request_thread
>     self.finish_request(request, client_address)
>   File "/usr/lib64/python2.5/SocketServer.py", line 254, in
> finish_request
>     self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib64/python2.5/SocketServer.py", line 522, in __init__
>     self.handle()
>   File "/usr/lib64/python2.5/BaseHTTPServer.py", line 316, in handle
>     self.handle_one_request()
>   File "/usr/lib64/python2.5/BaseHTTPServer.py", line 310, in
> handle_one_request
>     method()
>   File "standalone/proxyserver.py", line 64, in do_GET
>     content = self.send_head()
>   File "standalone/proxyserver.py", line 109, in send_head
>     conn.request("GET", reqstring, headers=headers)
>   File "/usr/lib64/python2.5/httplib.py", line 862, in request
>     self._send_request(method, url, body, headers)
>   File "/usr/lib64/python2.5/httplib.py", line 885, in _send_request
>     self.endheaders()
>   File "/usr/lib64/python2.5/httplib.py", line 856, in endheaders
>     self._send_output()
>   File "/usr/lib64/python2.5/httplib.py", line 728, in _send_output
>     self.send(msg)
>   File "/usr/lib64/python2.5/httplib.py", line 695, in send
>     self.connect()
>   File "/usr/lib64/python2.5/httplib.py", line 663, in connect
>     socket.SOCK_STREAM):
> gaierror: (-2, 'Name or service not known')
> ----------------------------------------
> ----------------------------------------
> Exception happened during processing of request from ('127.0.0.1',
> 45268)
> Traceback (most recent call last):
>   File "/usr/lib64/python2.5/SocketServer.py", line 464, in
> process_request_thread
>     self.finish_request(request, client_address)
>   File "/usr/lib64/python2.5/SocketServer.py", line 254, in
> finish_request
>     self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib64/python2.5/SocketServer.py", line 522, in __init__
>     self.handle()
>   File "/usr/lib64/python2.5/BaseHTTPServer.py", line 316, in handle
>     self.handle_one_request()
>   File "/usr/lib64/python2.5/BaseHTTPServer.py", line 310, in
> handle_one_request
>     method()
>   File "standalone/proxyserver.py", line 64, in do_GET
>     content = self.send_head()
>   File "standalone/proxyserver.py", line 109, in send_head
>     conn.request("GET", reqstring, headers=headers)
>   File "/usr/lib64/python2.5/httplib.py", line 862, in request
>     self._send_request(method, url, body, headers)
>   File "/usr/lib64/python2.5/httplib.py", line 885, in _send_request
>     self.endheaders()
>   File "/usr/lib64/python2.5/httplib.py", line 856, in endheaders
>     self._send_output()
>   File "/usr/lib64/python2.5/httplib.py", line 728, in _send_output
>     self.send(msg)
>   File "/usr/lib64/python2.5/httplib.py", line 695, in send
>     self.connect()
>   File "/usr/lib64/python2.5/httplib.py", line 663, in connect
>     socket.SOCK_STREAM):
> gaierror: (-2, 'Name or service not known')
> ----------------------------------------
> 
> 
>