Skip to content

Instantly share code, notes, and snippets.

@hellais
Created November 29, 2012 10:09
Show Gist options
  • Save hellais/4167969 to your computer and use it in GitHub Desktop.
Save hellais/4167969 to your computer and use it in GitHub Desktop.
(ooni)~ooni - [evilmerge●] » ./bin/ooniprobe nettests/blocking/http_body_length.py -u http://google.com
INFO:ooniprobe:Log opened.
INFO:ooniprobe:No test deck detected
DEBUG:ooniprobe:processing options
DEBUG:ooniprobe:Running [(<class 'http_body_length.HTTPBodyLength'>, 'test_get')]
DEBUG:ooniprobe:Options {'inputs': [None], 'version': '0.1', 'name': 'HTTP Body length test'}
DEBUG:ooniprobe:cmd_line_options {'pcapfile': None, 'help': 0, 'subargs': ('-u', 'http://google.com'), 'resume': 0, 'test': 'nettests/blocking/http_body_length.py', 'logfile': None, 'collector': None, 'reportfile': None}
DEBUG:ooniprobe:Creating report_http_body_length_29_November_2012_10-09-28.yamloo
DEBUG:ooniprobe:Writing report with YAML reporter
INFO:ooniprobe:Reporting to file report_http_body_length_29_November_2012_10-09-28.yamloo
DEBUG:ooniprobe:Not going to resume http_body_length.py
INFO:ooniprobe:Setting up progress meters
DEBUG:ooniprobe:input_unit_items: 1.0
DEBUG:ooniprobe:test_case_number: 1.0
DEBUG:ooniprobe:Test case number: 1.0
DEBUG:ooniprobe:Total iterations: 1.0
DEBUG:ooniprobe:Current iteration: 0.0
DEBUG:ooniprobe:Running http_body_length.py with input unit <<class 'ooni.inputunit.InputUnit'> inputs=<listiterator object at 0x2b14e50>>
DEBUG:ooniprobe:Running test cases with input unit
DEBUG:ooniprobe:Running test with this input None
DEBUG:ooniprobe:Processing test_get
INFO:ooniprobe:Running test_get with None...
DEBUG:ooniprobe:Finished test setup
INFO:ooniprobe:Performing request http://google.com GET {}
DEBUG:ooniprobe:Randomizing user agent
INFO:ooniprobe:Starting factory <ooni.utils.txagentwithsocks._HTTP11ClientFactory instance at 0x2b17cb0>
DEBUG:ooniprobe:Using Tor for the request to http://google.com
INFO:ooniprobe:Performing request shttp://google.com GET {'User-Agent': [('Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6', 'Firefox 2.0, Windows XP')]}
DEBUG:ooniprobe:Randomizing user agent
INFO:ooniprobe:Starting factory <ooni.utils.txagentwithsocks._HTTP11ClientFactory instance at 0x2b19098>
INFO:ooniprobe:[http_body_length.py] 0.0%
INFO:ooniprobe:('127.0.0.1', 9050)
INFO:ooniprobe:('127.0.0.1', 9050)
INFO:ooniprobe:('173.194.35.161', 80)
INFO:ooniprobe:('173.194.35.161', 80)
DEBUG:ooniprobe:Got response <twisted.web._newclient.Response object at 0x2b1ce90>
DEBUG:ooniprobe:Processing response body
DEBUG:ooniprobe:Adding {'url': 'http://google.com', 'headers': {'User-Agent': [('Mozilla/4.0 (compatible; MSIE 5.0; Windows NT 5.1; .NET CLR 1.1.4322)', 'Internet Explorer 5, Windows XP')]}, 'body': None, 'method': 'GET'} to report
INFO:ooniprobe:Stopping factory <ooni.utils.txagentwithsocks._HTTP11ClientFactory instance at 0x2b17cb0>
DEBUG:ooniprobe:Got response <twisted.web._newclient.Response object at 0x2b1cd10>
DEBUG:ooniprobe:Processing response body
DEBUG:ooniprobe:Adding {'url': 'shttp://google.com', 'headers': {'User-Agent': [('Mozilla/4.0 (compatible; MSIE 5.0; Windows NT 5.1; .NET CLR 1.1.4322)', 'Internet Explorer 5, Windows XP')]}, 'body': None, 'method': 'GET'} to report
INFO:ooniprobe:Successfully finished running test_get
DEBUG:ooniprobe:Deferred callback result: [(True, None), (True, None)]
INFO:ooniprobe:Finished running test_get
DEBUG:ooniprobe:Writing report with YAML reporter
DEBUG:ooniprobe:No post processor configured
DEBUG:ooniprobe:Acquiring lock for http_body_length.py
DEBUG:ooniprobe:Releasing lock for http_body_length.py
INFO:ooniprobe:Setting up progress meters
DEBUG:ooniprobe:input_unit_items: 1.0
DEBUG:ooniprobe:test_case_number: 1.0
DEBUG:ooniprobe:Test case number: 1.0
DEBUG:ooniprobe:Total iterations: 1.0
DEBUG:ooniprobe:Current iteration: 1.0
DEBUG:ooniprobe:testsEnded: Finished running all tests
INFO:ooniprobe:Stopping factory <ooni.utils.txagentwithsocks._HTTP11ClientFactory instance at 0x2b19098>
INFO:ooniprobe:Main loop terminated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment